Dan Letkeman wrote:
I would like to do this as well. What do hotels/wifi hotspots use?
Craig wrote:
Hi, I'm wondering if I can use squid to emulate the setup many hotels/wifi
hotspots have where a user must go through an acceptance page before their
computer is allowed to access the Internet. That acceptance page can either
be a simple 'yes' button or the user must fill in a code of some sort.
<snip>
Thanks.
Craig L. Bowser
It's not a turn key solution... but FWIW...
We use squid + squidGuard to do something along these lines but our
users aren't as transient as those in hotel/wifi situations would be.
Nor do they require an immediate response.
We set up a dhcp server to lease a small pool of address to all
requesters that, via squidGuard (by declaring that address pool to be
one that passes nothing and always redirects), will get them to exactly
one page (at least for HTTP - it would require a router to block that
range of addresses for other ports/protocols) which tells them their mac
address and gives them directions on what they need to do next. When
they follow the directions their mac address gets registered with dhcp
to give them an ip address in a range that has appropriate access.
Our situation (a public school district) has decided that 24 hour turn
around is acceptable for these initial set ups and some of the backend
is therefore manual (a call to the helpdesk). I'd expect in a hotel/wifi
setting you'd need some backend scripting from the "I Accept" page to do
some magic to automatically register their mac address with a dhcp
server so it would start working soonish.
--
Mike Rambo
"They that can give up essential liberty to obtain a little
temporary security, deserve neither liberty or security."
-Benjamin Franklin