retagged by
1,129 views
4 votes
4 votes
I wanted to convert my home modem to coffee shop and give internet to my customers . But due to security reasons users should register their mobile before they get access to inernet.

How can I build this project ?

Where should I start with ?

Currently i have got D-Link modem
retagged by

3 Answers

3 votes
3 votes
This is similar to what they do in Airports etc. I guess this is done by making the wifi free and all users once connected coming to a static webpage. Once they login they get connected to internet. i.e., a proxy manages the internet connectivity - nothing needs to be done with the modem. But this makes the wifi connectivity non-encrypted - not sure if any other solution for encryption exists.

Another easier way is to provide wifi password to customers and change it daily or at periodic intervals. I'm not sure if any modem supports multiple password.
0 votes
0 votes

I know this question is old now but I just found it out and got its solution. You are talking about Captive Portal:

https://en.wikipedia.org/wiki/Captive_portal

There are many tutorials for implementing that. Just Google them, or try this:

https://blog.trifork.com/2013/01/15/building-a-captive-portal-controlling-access-to-the-internet-from-your-network/

0 votes
0 votes

I think this is what you have been looking for http://nodogsplash.readthedocs.io/en/latest/install.html

You can implement it in OpenWRT Routers as well as on a Debian based Computer System.

You can modify the default HTML file and customize the splash screen according to your needs.

For making a system with mobile OTP, you need to allow general access to API domain and send API request for OTP, once user is authenticated you can remove the MAC filter so that user can access internet unrestrictedly.

There are lots of possibility and ways of implementing it. Add the code according to your needs.

Related questions

0 votes
0 votes
1 answer
1
Sara86568 asked Jun 21, 2022
968 views
The program runs in 100s. Multiplies 80 % of the program. Designer M can improve the speedup of multiply operations. Now, I am a user and I need to make MY program 5 time...
0 votes
0 votes
1 answer
2
0 votes
0 votes
1 answer
3
0 votes
0 votes
2 answers
4
CSHuB asked Jan 24, 2019
515 views
How to draw a DFA for the below language.$L$ = {$W | W \in$ $ (0, 1)^* $};$W$ ends with 0 and contains the substring 100 }No. of states in minimal DFA.