Z
Z
Zhakupov2014-01-21 12:20:59
linux
Zhakupov, 2014-01-21 12:20:59

How to distribute the Internet from a WIFI modem without authorization, but with browsing the site?

My friend has a coffee shop. Previously, he distributed the Internet for free, then freeloaders appeared who constantly surf the Internet and do not sit at the same time in a cafe. He asked me to do the following.
1. When connecting to a Wi-Fi network, clients were transferred to a local web server where they watched a commercial for a coffee shop for 30 seconds and only after that received a code for authorization on a proxy server.
2. Session of one user should not exceed 30 minutes.
3. The traffic spent by the user should not exceed 50 MB.
4. All this is configured on Linux.
Tell me which way to dig. If someone has come across or knows how to implement all this, please direct me on the right path.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
pomeo, 2014-01-21
@pomeo

Buy unifi, it costs ridiculous money, everything is already there, plus you can print checks with access codes.

I
Ilyas Masirov, 2014-01-21
@Ilyas Masirov

You need to dig towards the Captive Portal. The easiest solution to set up will be for you - pfSense. It has a quota setting, a shaper, issuing vouchers to users. The coffee shop movie can be inserted before the portal page is rendered.

N
Nikolai Vasilchuk, 2014-01-21
@Anonym

OpenWRT + Nodogsplash + Scheduler
Here's another article: Configure a guest WLAN

I
Ivan Donin, 2014-01-22
@reji

Two solutions:
1.1) "long" - a full-fledged hotspot with a radius and young ladies, everything can be configured.
1.2) "quick" - a stripped-down version of the hotspot, control "30 seconds before launching" to implement through the video display page.
2) "correct" - contact integrators.
There will be questions about the implementation - I can tell you, I ate a dog at hotspots :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question