Version 2 (modified by Tim Harvey, 13 days ago) (diff)

convert restored html to wiki markup

Ubuntu Wireless Page

These instructions have primarily been copied from the Yocto Wireless page. Please reference that page for more instructions.


These instructions below are for creating a wireless client that will connect to a nearby access point.

  1. Install required missing packages:
    apt-get update
    apt-get install iw
    apt-get install wpasupplicant
    apt-get install udhcpc
  2. Edit /etc/network/interfaces and edit/add the following to configure wlan0 on boot wpa_supplicant:
    auto wlan0
    iface wlan0 inet dhcp
            wireless_mode managed
            wireless_essid any
            wpa-driver nl80211
            wpa-conf /etc/wpa_supplicant.conf
  3. Create WPA Supplicant Configuration File at /etc/wpa_supplicant.conf, replacing ssid and psk with correct information:
  4. Sync and power cycle the board:


To scan for available access points in range you can use the iw tool:

iw dev wlan0 scan # scan for AP's

To manually connect to wireless if auto connection is not working: While the above will configure wireless Client mode on bootup, if you want to start it manually you can do so by manually starting/re-starting wpa_supplicant (ifup will do this for you on bootup if configured in /etc/network/interfaces):

ifconfig wlan0 up
killall wpa_supplicant
wpa_supplicant -i wlan0 -D nl80211 -c /etc/wpa_supplicant.conf -B # manage wireless client
udhcpc -i wlan0 # obtain dhcp lease