1
Zaurus - pdaXrom / Switch Between Wireless Networks?
« on: January 29, 2007, 09:01:30 am »
I think wifi radar should meet your needs. I used to run it under beta 4. It lists all networks detected, and allows the user to enter and store any wep keys etc, then connect.
However, these days I use WPA supplicant which is configured to connect to known networks first (like my home wpa secured router), but then to connect to any open networks. But I still need to run a small script to disconnect, restart wpa_supplicant, then run dhcpcd to get a new ip address. My script looks like this - it's not perfect but does connect most of the time. I've assigned the script to a button on my xfce panel, and a key combination for easy connecting.
/etc/rc.d/init.d/wpa_supplicant stop
pccardctl eject
sleep 3
pccardctl insert
sleep 3
/etc/rc.d/init.d/wpa_supplicant start
sleep 3
dhcp wlan0
sleep 3
ping -c3 www.google.com
Regards
Sorearse
However, these days I use WPA supplicant which is configured to connect to known networks first (like my home wpa secured router), but then to connect to any open networks. But I still need to run a small script to disconnect, restart wpa_supplicant, then run dhcpcd to get a new ip address. My script looks like this - it's not perfect but does connect most of the time. I've assigned the script to a button on my xfce panel, and a key combination for easy connecting.
/etc/rc.d/init.d/wpa_supplicant stop
pccardctl eject
sleep 3
pccardctl insert
sleep 3
/etc/rc.d/init.d/wpa_supplicant start
sleep 3
dhcp wlan0
sleep 3
ping -c3 www.google.com
Regards
Sorearse