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

13 views
Skip to first unread message

imfa...@gmail.com

unread,
Mar 6, 2018, 11:15:44 PM3/6/18
to BeagleBoard
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.

David Lechner

unread,
Mar 9, 2018, 11:12:59 AM3/9/18
to beagl...@googlegroups.com, imfa...@gmail.com
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.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/305ee4ea-1d16-4491-8184-0c708ea523ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Reply all
Reply to author
Forward
0 new messages