Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    # This works with my current home rounter. 
    auto wlan0
    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
    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.

    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,

    Anthony G.
    Last edited by garland3; 11-14-2012 at 05:57 PM. Reason: misspelling.

  2. #2
    Linux Enthusiast
    Join Date
    Apr 2004
    Hi There,

    You ought to be able to load up several different network definitions in your wpa_supplicant.conf file and it will use whichever one it can see, or the one you give highest priority if it can see several networks it recognises.

    Check this wpa_supplicant man page for some examples.

    Let us know how you get on.
    To be good, you must first be bad. "Newbie" is a rank, not a slight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts