-
Notifications
You must be signed in to change notification settings - Fork 0
Temporarily regaining internet access
Rachael Kemp edited this page Oct 17, 2019
·
1 revision
The GUI operates as a captive portal. This means it broadcasts as a WiFi access point but does not provide internet access. All traffic is redirected to the GUI webserver. If you wish to temporarily connect the Pi to the internet to download additional files, then the captive portal must be disabled.
- Open the traffic redirection settings:
sudo nano /etc/dnsmasq.conf
-
Comment out the line redirecting all requests to the Pi's local IP:
#address=/#/192.168.220.1
-
Uncomment the line setting the device's target DNS address:
server=1.1.1.1
-
Reboot the Pi:
sudo reboot
-
Perform all tasks requiring internet access.
-
Reverse changes by accessing
dnsmasq.conf
, uncommentingaddress=/#/192.168.220.1
and commenting out#server=1.1.1.1
. -
Reboot the Pi.
interface=wlan0 # Use interface wlan0
server=1.1.1.1
dhcp-range=192.168.220.50,192.168.220.150,12h # IP range and lease time
#address=/#/192.168.220.1
interface=wlan0 # Use interface wlan0
#server=1.1.1.1
dhcp-range=192.168.220.50,192.168.220.150,12h # IP range and lease time
address=/#/192.168.220.1