Beaglebone Black

From Review or Discard at Will
Revision as of 16:22, 13 July 2016 by Jeffa (talk | contribs) (initial creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

configure wifi

old

edit /etc/network/interfaces manually uncomment lines around wlan0 (or your identifier) adding SSID and passphrase

See the article Setting up WiFi with BeagleBone Black at Adafruit for copious details.

new - connmanctl

At least for me using the old method above was not available starting with debian jessie. You need to use connmanctl now. with the 8.4 and 8.5 images wifi tether is on by default. Turn it off to configure as follows. This will allow your BBB to obtain an ip address via DHCP from your Access point allowing you to ssh in.

root@beaglebone:~# connmanctl

connmanctl> tether wifi off
connmanctl> enable wifi
Enabled wifi
connmanctl> scan wifi
Scan completed for wifi
connmanctl> services
    ADP_EXT_Desk         wifi_74da384261dd_4144505f4558545f4465736b_managed_psk
    ADP                  wifi_74da384261dd_414450_managed_psk
    CenturyLink5259      wifi_74da384261dd_43656e747572794c696e6b35323539_managed_psk
    E265E0               wifi_74da384261dd_453236354530_managed_psk
    Myrcenary            wifi_74da384261dd_4d797263656e617279_managed_psk
    MoonUn1t_EXT         wifi_74da384261dd_4d6f6f6e556e31745f455854_managed_psk

connmanctl> agent on
Agent registered
connmanctl> connect wifi_74da384261dd_414450_managed_psk
Agent RequestInput wifi_74da384261dd_414450_managed_psk
  Passphrase = [ Type=psk, Requirement=mandatory, Alternates=[ WPS ] ]
  WPS = [ Type=wpspin, Requirement=alternate ]
Passphrase? redacted
Connected wifi_74da384261dd_414450_managed_psk
connmanctl> quit
root@beaglebone:~#