IAS/RADIUS Implementation in a Coffee Shop? 63
noyler asks: "I've been asked to decide on the best way for metering a 'free' wireless network at a local coffee shop. Here's the scenario: currently, local college students come to the coffee shop, grab a cup of coffee, and then spread out like it's a study hall for 6 to 10 hours at a time and use the free internet. The coffee shop loves this, but it's getting really crowded for the other customers that just come in for some coffee and have nowhere to sit. The management wants to implement a system that, upon buying a drink, grants a time-limited connection for that customer of 3 or 4 hours. If the customer wants more access, another drink will need to be purchased. The store network is a simple cable modem with wireless access point attached right now. After implementation, customers should be prompted for a username/password (which can come from his or her receipt) and then have access to the 'net. One limitation is that the customers should not have to install any third-party software to use it--no window for software corruption liability that way. The customer base is mostly Windows with an ever-growing number of Mac users as well. What are some good ideas for doing this? I've considered RADIUS, or some kind of portal software, but don't see any clear answers. Any suggestions for software to use?? The coffee shop is very low budget, so cheap hardware and free software would be best!"
Re:Simple Answer... (Score:4, Interesting)
The authentication server gets some sort of confirmation number from the user. (printed on the reciept, insert your own clever algorithm for unique, difficult-to-guess numbers here [even better if the time can be determined by the number, or if the numbers are saved to a database somewhere]). Using the (valid) confirmation number from the receipt, the firewall/proxy adds the source IP or MAC to the valid source address table, and if you want to be really nice, you could have passed the original requested url through from the initial page that redirected them to the authentication site, and now redirect them to that page.
Set up a cron script to clean out the tables for tickets that have expired (this is why it would be easier to have your tables named for the time they expire), and you're done. Once a source IP or MAC is removed from the table, all further traffic will send them back to your authentication page, which can inform them that purchases are required for access, and the cycle can repeat. It would be best to use the firewall as the access point (put in a wireless card that is capable of being an AP), so that you can use MAC addresses to filter, and avoid the possibility that someone could leave while they have time left and have another person get the same IP, but as a minimum, you should do the DHCP from the firewall, and must do NAT from the firewall for outbound (validated) connections.
randomiz(ed) guess (Score:1)
Re:randomiz(ed) guess (Score:3, Insightful)
Re:Give me a breakj (Score:2, Insightful)
Ugh, I just noticed the part about students sitting there for 6-10 hours. Sorry about that.
Wouldn't it be easier just to kick the students out after 3-4 hours if they don't buy another drink? Whether they use the network or not, I think the coffee shop needs to do that. A lot of restaurants already have that policy. Just have the wait staff keep track of these tables.
Re:Give me a breakj (Score:3, Interesting)
No interest? Don't comment. (Score:4, Insightful)
Please don't comment on stories in which you have no interest.
Re:Give me a breakj (Score:2)
In the event that you ignore our advice to not do $something, a simple Google search turned up rand(10000) responses that should answer your question.
Re:Give me a breakj (Score:2)
Caffeine-powered Internet access (Score:2, Funny)
Easy peasy.
Sounds complicated (Score:2)
What about your feet? (Score:5, Insightful)
Re:What about your feet? (Score:1)
What you need to do is have 'connectivity problems' when the place gets very crowded. When a geek complains, say: 'dude, we would upgrade the system, but we have no money allocated because people just come here to sit all day and suck our bandwidth witout buying drinks'.
That, or or put a little sign on a tabletent: two hours per drink maximum. Most of them will get the point and leave. Those that don't, you turn upp t
Re:What about your feet? (Score:5, Insightful)
Re:What about your feet? (Score:2)
Reading The Wall Street Journal, by any chance?
This isn't the "social engineering" boogeyman that fiscal conservatives like to scare Econ students with. It's a business owner looking for a way to run his own business in a way that's consistent with his own values. For example, maybe he puts some value on treating all people equally (i.e. people who come in later should have the same access to seats as the squatters). Maybe he doesn't like the idea
Re:What about your feet? (Score:2)
Re:What about your feet? (Score:2)
Not if the "consumers" are only paying for one drink and then staying for hours on end, leeching from your internet connection and (even worse) hogging table space.
While I agree that you shouldn't be rushing anybody out, I can understand that after a reasonable amount of time after your last consumption your welcome officially "runs out".
Most everyday people do this by themselves (either they consume something or they leave),
How to Build a Simple Wireless Authenticated Gatew (Score:5, Informative)
http://www.hackinthebox.org/article.php?sid=15607 [hackinthebox.org]
I'm pretty sure (Score:5, Informative)
NoCat [nocat.net]
ZyXEL ZyAIR B-4000 (Score:5, Informative)
Re:ZyXEL ZyAIR B-4000 (Score:4, Insightful)
(no, I don't work for ZyAIR.
Re:ZyXEL ZyAIR B-4000 (Score:2)
Personally I'd just throw some signs up around the store saying "Ask For Four Hours Free Internet Access with Purchase" (since four hours is more than anyone can really argue with) and then have some print that says that 24 hours of access is available for... Say... $5.
I
Re:ZyXEL ZyAIR B-4000 (Score:2)
Here's one... (Score:5, Funny)
No power outlets... (Score:3, Insightful)
Re:Here's one... (Score:2)
Gateway Product (Score:2)
When you buy a cup of coffee, you can get a free card. If the worker sees your laptop, he or she can give it to you automatically, or you can ask.
Then customers who connect wirelessly can use the the username / password combination to get online. When their time is up, they will be disconnected and will need to get a new username and password combination.
How about a bit different approach? (Score:4, Insightful)
Re:How about a bit different approach? (Score:3, Insightful)
A contraction and two words: Don't do it! (Score:4, Interesting)
Re:A contraction and two words: Don't do it! (Score:3, Funny)
From the article: it's getting really crowded for the other customers that just come in for some coffee and have nowhere to sit
I'm sure the shop would love to do things exactly the way you describe if they only had room to!
(Nice post though, even if was completely off-topic - you should be in sales!
Re:A contraction and two words: Don't do it! (Score:3, Interesting)
Are you kidding me? Perhaps if we didn't have people that assumed they had some kind of right or privilege to take up a chair all day using someone else's bandwidth and are rude enough that they can't fork out $3 every FOUR HOURS then there wouldn't be a problem to begin with? That's cheap compared to normal hourly rates some places charge! No
Public IP / Zone CD (Score:5, Informative)
m0n0wall or NoCat (Score:4, Informative)
http://www.m0n0.ch/wall
I stuck it on a Dell SFF. Incredibly robust. No downtime in a week (the entire project duration) for over 500 users.
M0n0wall is very easy to use and manage, NoCat had me wiped out trying to configure it. The main stumbler was that active development is only progressing on NoCatSplash, which AFAIK still doesn't do authentication, and NoCat doesn't intuitively run on BSD, tied as it is to Linux' firewall.
And as a BSD user, I was more drawn to m0n0wall anyhow.
Re:m0n0wall or NoCat (Score:3, Insightful)
I'm not trying to be offensive but, how is M0n0wall better than the likes of ZoneCD [publicip.net] or NoCat Auth [nocat.net]? I understand that 'you' found NoCat complicated as compared to M0n0wall but, is that an accurate assessment or is it simply you
Re:m0n0wall or NoCat (Score:2)
Re:m0n0wall or NoCat (Score:2)
1. ZoneCD requires an external management site-- you need to either require your users to register themselves, or you must submit usernames and passwords to a third party. You can run your own management site if you are willing to tolerate the requirements to do so. This was unacceptable to us, we wanted to manage the database ourselves using RADIUS.
2. NoCat Aut
BlueSocket (Score:1)
Re:BlueSocket (Score:2)
Just set up a PPTP server (VPN) and have username/passwords randomly added to the chap-secrets list with a timestamp in a comment for each one. Just configure a cron job every 10 minutes or so to remove old timestamped entries and kick off th
These are neat, but not exactly cheap... (Score:3, Interesting)
They have some quirks, as we're still playing around w/the one we have.. Like they seem to break VPN for example. They do a weird rewrite of DNS that screws up people trying to check their email via outlook over a VPN... But if you don't need VPN from behind then, they seem to do the job.
Transparently controls access to the internet, no configuration on the user's machine is needed. It intercepts any web traffic and makes the user login, as you were mentioning. You can set up user accounts locally on the VSG, or use a RADIUS server. You can control access time and bandwidth limits based on users and billing profiles that you set up on the box. The web interface seems a little "clunky" to me... think it was written in a different country and translated based on the wording of some of the error messages
Go Low-Tech (Score:2)
Re:Go Low-Tech (Score:2)
Re:Go Low-Tech (Score:2)
Nomadix (Score:1)
Nomadix is probably the leader in this space. Their products are good, fast, and relatively cheap considering the functionality and low maintenance requirements. For small sites there is the wireless gateway and for larger ones (up to 200 concurrent users) there is the HotSpot gateway. You can review the products and feature list here [nomadix.com]
Someone else mentioned ZoneCd [publicip.net] from publicip, which we looked into, but my client decided that a support contract was more in-line with their operational model. However
Could you make the WIFI more directional? (Score:1)
Isn't centralized solution available for you? (Score:2)
http://www.lattelekom.
Coffee shops (Score:3, Informative)
Re:Coffee shops (Score:2)
Signage (Score:1)
I agree that verbal warnings would be a bad solution. I've had exepriences at coffeeshops where the manager came out every hour to check the timestamp on everyone's receipts. If it was more than an hour old, you had to buy something or leave. Lets just say that this practice didn't bolster a sense of respect for the establisment.
I think some obvious, well placed signage reminding people that they should support the cafe appropriate to the time spent would be the best solution. That way, you don't have to b
Firewall rules and a webpage (Score:1)
I've seen this question in different forms before. I know there has to be something out there indexed on freshmeat that will handle it, but I have yet to see it done the way I would do it. And the idea is only in my head, I haven't yet the chance to play with an actual implementation so I may be mispeaking Linuxes capabilities or how specifically to go about this.
**DISCLAIMER OFF**
The way I would look at doing it would be a simple cheap linux box with a WiFi card and a LAN Card. You can tu
ChilliSpot, FreeRADIUS, iptables and a script or 2 (Score:2)
I ran this on an X-Box with a USB wireless adapter, and it would work quite happily on any IP based network setup.
No power outlets (Score:2)
Turnkey hotspot (Score:1)
This device comes with a printer and all you have to do is push a button to print authentication info for the users.
http://www.zyxel.com/product/model.php?indexcate=1 103876296&indexcate1=1085450343&indexFlagvalue=102 1876859