You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(disable all AUTO network interfaces…we are manually configuring from here on out)
sudo update-rc.d dhcpcd disable
put the below chunk in /etc/rc.local
#Manually set up network interfaces since we disabled dhcp
ip link set eth0 up
ip addr add 10.66.66.1/24 dev eth0
#forward stuff to inside pi
sysctl -w net.ipv4.ip_forward=1
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
#uncomment the below to connect to wifi
#ip link set wlan0 up
#wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
#dhclient -v wlan0
Above, where you see 'uncomment the below to connect to wifi: when you do want to connect, well need to setup your ssid>
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
put the below chunk in the wpa_supplicant.conf file: