All RasPi's will need to connect to UA Wifi Network using the network settings provided here:
Once you have the settings downloaded, extract the archive and select the subfolder that is applicable to your group (see below).
You will need to either replace the file in the following line or edit it and add the text of the configuration you downloaded. If you replace it, all previous WiFi settings will be lost.
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
nano is a text editor that will not recognize the mouse. Use keys on the keyboard. ctr-X exit to save. Answer yes to save. Enter to accept the filename.
In addition the file
sudo nano /etc/network/interfaces
should state (change manual to dhcp)
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
for the wlan0 entry which defines the behavior of the wireless adapter ( the above configures the interface via DHCP and takes authentication from wpa_supplicatn.conf file). Again ctrl-X to save (Y) and accept the suggested filename with enter.
There are issues with setting accurate time on the Raspberry Pi. When a network interface comes online, it should automatically probe the network time servers. However for this to work we will need to edit rc.local:
sudo nano /etc/rc.local
add the following line at the end of the program
/sbin/iptables -t mangle -I POSTROUTING 1 -o wlan0 -p udp --dport 123 -j TOS --set-tos 0x00
The last commands to execute are:
sudo ifdown wlan0
sudo ifup wlan0
The last command will indicate the IP number the DHCP server is giving you.
The Team assignments are: