How to limit access time to the Internet via Wi-Fi?

0 like 0 dislike
Lord, tell me please.

The situation is this:

There is a cafe with Internet access, I would like to limit the time "get-togethers" customers in the cafe for free Internet.

In General, to do the type came to the cafe, got coffee — got 30 minutes of free Internet.

It turns out that each client will have its own individual password for 30 minutes.

How to organize it all? What programs, what equipment?

Will Linksys Wireless G Access Point?
by | 10 views

3 Answers

0 like 0 dislike
1) using iptables all traffic driven to your http server, prompting you to enter a password
2) after entering the password added to the front of the iptables redirect rule, the traffic from this Mac address to drive in the intranet using snat
3) after the lapse of half an hour deleting the rule.
0 like 0 dislike
To set a proxy server script to generate the password and add the user to the allowed list. Another script to regularly check how much time has live password and clean if necessary.
From the equipment, not the computer. Of distribution of *nix and squid. If there are no experts on *nix, it is possible and on the distribution of Windows to spend.
0 like 0 dislike
If You have a place, and do not want to fool with software solution, it is possible to look in the direction of specialized hardware, like D-link DSA-3110 hotspot edition. Surely there are similar from other manufacturers. Of the benefits — it is easier to configure and maintain reliability when used by unskilled staff (cashier/waiter) above and any possible big price in comparison with the variant "old PC + Linux" will still pay off when use it in public.

Related questions

0 like 0 dislike
5 answers
0 like 0 dislike
1 answer
0 like 0 dislike
4 answers
0 like 0 dislike
7 answers
110,608 questions
257,186 answers
32,722 users