This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
vpn-pi [2020/04/29 11:26] robm [Configure WiFi settings] |
vpn-pi [2020/04/29 16:37] robm [DHCP & DNS Services] |
||
---|---|---|---|
Line 16: | Line 16: | ||
Disabling the '' | Disabling the '' | ||
+ | |||
===== Configure WiFi settings ===== | ===== Configure WiFi settings ===== | ||
Line 23: | Line 24: | ||
auto wlan0 | auto wlan0 | ||
iface wlan0 inet static | iface wlan0 inet static | ||
- | address 172.16.0.1/16 | + | address 172.16.0.1/24 |
nohook wpa_supplicant | nohook wpa_supplicant | ||
</ | </ | ||
Line 30: | Line 31: | ||
< | < | ||
- | sudo ifconfig | + | sudo ifdown --verbose |
- | sudo ifup wlan0 | + | sudo ifup --verbose |
</ | </ | ||
Line 38: | Line 39: | ||
< | < | ||
root@raspberrypi4: | root@raspberrypi4: | ||
- | wlan0 UP | + | wlan0 UP |
</ | </ | ||
Line 54: | Line 55: | ||
&& sudo dnsmasq \ | && sudo dnsmasq \ | ||
--no-daemon \ | --no-daemon \ | ||
- | --dhcp-range=172.160.0.50,172.16.0.150,12h \ | + | --dhcp-range=172.16.0.10,172.16.0.20,1h \ |
--except-interface=eth0 \ | --except-interface=eth0 \ | ||
+ | --bind-interfaces \ | ||
--dhcp-authoritative \ | --dhcp-authoritative \ | ||
--clear-on-reload | --clear-on-reload | ||
</ | </ | ||
+ | |||
+ | Notes: | ||
+ | |||
+ | * '' | ||
Later on, we'll want to move these settings into ''/ | Later on, we'll want to move these settings into ''/ |