BeagleBone Blue: No SSH, so trying to get WiFi up via serial link (w/ console image)

Can’t use SSH, so I’m trying to get the BeagleBone’s WiFi up via serial link (w/ console image). My failing method:

Create /etc/network/interfaces:
iface wlan0 inet dhcp
wpa-ssid “My_WiFi_SSID”
wpa-psk “My_WiFi_Password”

Enter commands:
sudo ip link set wlan0 up
sudo ifup wlan0

Resulting output:
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/f4:5e:ab:3b:e4:72
Sending on LPF/wlan0/f4:5e:ab:3b:e4:72
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

I notice that sudo ip link set wlan0 up isn’t working (ip link shows that wlan0 status is still DOWN). I’m stuck. Please help!

Thanks.

Instead of manually configuring the interface, have you considered using ConnMan? AFAIK, the BeagleBone images ship with ConnMan enabled and the Wi-Fi in AP mode ("tethering" in ConnMan terms).

The command line tool is `connmanctl`. The Arch Linux wiki has a nice page on how to use it.