Beaglebone Black

From Review or Discard at Will
Revision as of 16:36, 6 July 2017 by Jeffa (talk | contribs) (adding cape manager stuff)
Jump to: navigation, search

Device Overlay

$
$ # They moved the slots cheese. Here's the new location;
$ cat /sys/devices/platform/bone_capemgr/slots

$ [...]
$ 4: P-O-L-   0 Override Board Name,00A0,Override Manuf,cape-universaln

SPI

beaglebone cape universal spi pin config with handy tools. Set / inquire ping configs https://gist.github.com/jhalbrecht/4391faafafa1d63c150457f75472bbcf forked from pdp7

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:~#