Wifi Setup on Beaglebone Black Wireless

Post Reply
User avatar
colSteve
Site Admin
Posts: 31
Joined: Sat Mar 10, 2018 3:25 pm
Location: Fort Gatlin, Francis Langhorne Dade Territory
Contact:

Wifi Setup on Beaglebone Black Wireless

Post by colSteve » Sun Mar 11, 2018 3:25 pm

You want your beaglebone black to sign onto your local wifi network as soon as it powers on. This way, you can always SSH in or request pages from its web server, at the same ip address, without having to tether on USB.

Digikey has a blog entry using connmanctl which is currently at the following link. But one thing is missing.

https://www.digikey.com/en/maker/blogs/ ... k-wireless

Some beaglebone blacks seem to come out of the box assuming they will connect to wifi over a tethered device. So when you scan wifi, it does not come back with any services. First you need to disable the tether setting.

tether wifi disable

https://groups.google.com/forum/#!topic ... F-WFgqoCv0

Now wifi works, and I can always connect to my beagle at 192.168.43.209. This is what I see when use vi to look at my network setup file.

vi /etc/network/interfaces


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#auto eth0
#iface eth0 inet dhcp
# Example to keep MAC address between reboots
#hwaddress ether DE:AD:BE:EF:CA:FE

##connman: ethX static config
#connmanctl services
#Using the appropriate ethernet service, tell connman to setup a static IP address for that service:
#sudo connmanctl config <service> --ipv4 manual <ip_addr> <netmask> <gateway> --nameservers <dns_server>

##connman: WiFi
#
#connmanctl
#connmanctl> tether wifi disable
#connmanctl> enable wifi
#connmanctl> scan wifi
#connmanctl> services
#connmanctl> agent on
#connmanctl> connect wifi_*_managed_psk
#connmanctl> quit

# Ethernet/RNDIS gadget (g_ether)
# Used by: /opt/scripts/boot/autoconfigure_usb0.sh
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.252
network 192.168.7.0
gateway 192.168.7.1

FrankPar

Wifi Setup on Beaglebone Black Wireless

Post by FrankPar » Sat Apr 06, 2019 11:01 am

HI I have just got a new F19828W which works fine with an ethernet cable being plugged in. Though I follow the instructions I cannot establish wifi connection. What am I doing wrong?

Post Reply