Selecting the correct wireless network essid
I have an overo gumstick that is running the angstrom disto.
I'm using a usb wifi dongle to let it connect to my home network.
I've used these commands to get it to work.
wpa_passphrase 1234567890 waylongkeythelongerthebetterbecausewecareaboutsecurityalot >> wpa_supplicant.conf
I have my overo gumstick powered from my car sometimes and I want to connect to the internet using my phones 3G to wifi tethering capability.
# This works with my current home rounter.
iface wlan0 inet dhcp
pre-up iwconfig wlan0 essid "1234567890"
pre-up ifup wlan0
pre-up wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf &
down killall wpa_supplicant
How do I set up the wireless interfaces and wpa_supplicant so that it automatically determines which wifi network is within range and connects to it?
Thanks for the help,