WiFi

(these steps are only tested on the BeagleBone Black rev B and C)

USB WiFi adapter

It's a good idea to use an adapter that is known to work well with the BeagleBone, like the NETGEAR N150 (WNA1100)

Step1 - Get the latest updates

It's a good idea to get all the latest updates and drivers first:

BeagleBone Black Rev C:
  1. cd /opt/scripts/tools/
  2. ./update_kernel.sh
BeagleBone and BeagleBone Black Rev A/B:
  1.  opkg update
  2.  opkg upgrade
And then reboot

Step 2 - Configure WiFi
BeagleBone Black Rev C:

1. Edit /etc/networking/interfaces
2. Uncomment the WiFi section and add SSID and password:
auto wlan0
iface wlan0 inet dhcp
    wpa-ssid "mySSID"
    wpa-psk "mypassword"


BeagleBone and BeagleBone Black Rev A/B, confugure ConnMan:
  1. Verify that you have "[WiFi] Enabled = true" in /var/lib/connman/settings
  2. Add a new file /var/lib/connman/wifi.config with the following content:
[service_home]
Type = wifi
Name = yourSSID
Security = wpa2-psk
Passphrase = yourPassPhrase

(replace "yourSSID" with the name of your network and replace "yourPassPhrase" with your passphrase. If you use wpa (and not wpa2), you must also change "wpa2-psk" to "wpa".

  1. Restart connman: systemctl restart connman

Tip

It's a good idea to use a keyboard and monitor directly on the BeagleBone Black or the USB serial port connection or a wired serial port connection when working with the network setup. That way you don't lose your terminal every time you make some changes to the network setup.

Comments