Skip to content

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.

  1. Open the traffic redirection settings:
sudo nano /etc/dnsmasq.conf
  1. Comment out the line redirecting all requests to the Pi's local IP: #address=/#/192.168.220.1

  2. Uncomment the line setting the device's target DNS address: server=1.1.1.1

  3. Reboot the Pi:

sudo reboot
  1. Perform all tasks requiring internet access.

  2. Reverse changes by accessing dnsmasq.conf, uncommenting address=/#/192.168.220.1 and commenting out #server=1.1.1.1.

  3. Reboot the Pi.


STANDARD DNSMASQ.CONF CONTENTS:

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

DNSMASQ.CONF CONTENTS WITH INTERNET ACCESS:

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