BBBWiFiConfigs

From eLinux.org
Revision as of 17:22, 8 March 2014 by Shabaz (Talk | contribs) (Created page with "= Working WiFi Configurations for the BeagleBone Black = Complete step-by-step guide to getting WiFi running for your BeagleBone Black == UWN100 / UWN200 == Tested with Debia...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Working WiFi Configurations for the BeagleBone Black

Complete step-by-step guide to getting WiFi running for your BeagleBone Black

UWN100 / UWN200

Tested with Debian image: BBB-eMMC-flasher-debian-7.4-2014-03-04-2gb.img Perform steps 1 and 2 without plugging in the WiFi device. All steps are performed as root user:

1. Create file /etc/wpa_supplicant/wpa_supplicant.conf

Change my_ssid to be the SSID name, and my_psk to be the alphanumeric text key (not hexadecimal) of up to 63 characters.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
 ssid="my-ssid"
 scan_ssid=1
 psk="my-psk"
 proto=RSN
 key_mgmt=WPA-PSK
 pairwise=CCMP
 auth_alg=OPEN
}

2. Modify /etc/network/interfaces file

Place these four lines at the top of the file:

allow-hotplug ra0
iface ra0 inet manual
  wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

3. Final steps

Plug in the USB WiFi adapter, and then type: ifup ra0 Then, power down safely (e.g. press switch S3 on the BBB), unplug the Ethernet cable and power back up. Log on to your router and check what IP address has been assigned to your BBB. You're done.