-
Notifications
You must be signed in to change notification settings - Fork 0
Updating wifi information for a robot (OUT OF DATE)
Do not use this method, it is out of date. This article is preserved for documentation only, because this wiki does not have version control.
With utexas-iot, we can use the WPA2 security without dealing with he complexity of WPA2-Enterprise. You will first need to go to https://network.utexas.edu/, click 'add wifi device' and fill in the information.
You can get the MAC address of the NIC of the robot by running
$ ip addr show
in a terminal on the robot, and locating the appropriate address corresponding to the wireless interface.
For description, find the hostname of the robot and use: bwi-HOSTNAME-wifi
After this information is entered, you will be presented with a password.
In a terminal on the robot, run:
$ wpa_passphrase "utexas-iot" "PASSWORD-FROM-NETWORK.UTEXAS" | sudo tee /etc/wpa_supplicant.conf
This updates the wpa_supplicant.conf
file to use the new credentials for the utexas-iot
network. If you're configuring a new robot to connect to the internet, you'll also need to fill in the /etc/network/interfaces
file:
$ sudo vim /etc/network/interfaces
and replace the contents with the following
auto wlo1
iface wlo1 inet dhcp
pre-up ip link set dev wlo1 up
pre-up wpa_supplicant -iwlo1 -Dnl80211 -c/etc/wpa_supplicant.conf -B
post-down killall wpa_supplicant
post-down ip link set dev wlo1 down
be sure to update the instances of wlo1
if your wireless interface is named something else, i.e. wlan3
, wlan0r1
etc.