New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using CoovaChilli without internet access #212
Comments
Can you try to force coovachilli to resolve only for local domain ?
|
HS_UAMALIASNAME= will i add like this to the config file in chilli? |
My whole purpose is actually just triggering something that is gonna redirect people when they connect to wifi or type another adress. ATM I don't need an authorization system. |
The client must issue a HTTP request to be redirected, and it can only send HTTP if the DNS server respond. |
Thanks for your answers. I am still trying and i discovered something. I unplugged ADSL cable from my router but Pi is still connected to it via eth0. So no internet access (in coova config dns are google dns). When i connect to wi-fi coova works great. Whatever i type i am still redirected to coova login page. So i am guessing my router somehow is acting like a DNS server? |
Deniz use iptables for redirecting users for 80 |
Hi, |
add 2 zones into local DNS (bind server too resolves on UAMLISTEN IP, Port UDP 53) Example: Windows 10 and above use http://www.msftconnecttest.com/connecttest.txt zone: msftncsi.com zone: msftconnecttest.com Another and best option, uses RPZ (Response Policy Zones) in local zone: file db.rpz: 190.46.255.40 and 13.107.4.52 are the real IP addresses of each URL. It does not matter that you do not have internet, since coovachilli before login always responds to TCP ports 80 for any IP (not dropped on a Firewall or IPTABLES) In this way the DNS resolves the hosts and the browser redirects the page. Windows 10 it works perfect. For Android devices: I have scrips that check the status of the internet, so when there is no connection it redirects to an "internet temporarily out of service" page. The captive portal also has several interventions according to the needs of my clients. |
@denizerdi Can you help me to configure it without internet? Also does it still sending the login page of coova when no ethernet attached to pi? |
Hello
I am trying to make an offline media server with raspberry Pi. And i want to redirect people to the main page (IP of the device) when they connect to it through wifi hotspot. I managed to install coova and it works when Pi is connect to internet through eth0. But when i unplug the eth cable it doesnt work. I think i need to install a dns server inside Pi and make coova use it. But i cant seem to do this. Can anyone help me please?
Thanks
The text was updated successfully, but these errors were encountered: