Setting up wifi - northern-bites/nbites GitHub Wiki
On the robot in:
nano etc/init.d/nbwireless
start() {
ifconfig wlan0 up
wpa_supplicant -iwlan0 -Dnl80211 -c/etc/wpa_supplicant/wpa_supplicant.conf -B
sleep 1
dhclient wlan0
ifconfig wlan0 139.140.192.21 netmask 255.255.255.0
}
Then, from root, run nbwireless restart
ALSO BETTER FIX, ty phil:
in etc/wpa supplicant/wpa supplicant.conf Add:
proto=WPA WPA2
Also, thanks to phil: In etc/init.d/ there are two connman scripts that seem to interfere with the wifi. Rename these to _connman so they cannot execute. This is a TODO for fixing the setup script.