How to modifiy network interface script for two SSID's
Posted: Sat Mar 23, 2013 6:01 pm
Hi, I have my pi working at home, I also want to be able to make it work at my work place. My question is how do I have to modifiy my /etc/network/interfaces file to try more than one SSID. Here is my code.
Code: Select all
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid NETGEAR
wpa-psk ***********
auto wlan0:1
iface wlan0:1 inet static
address 192.168.0.21
netmask 255.255.255.0
auto wlan0:2
iface wlan0:2 inet static
address 192.168.1.122
netmask 255.255.255.0