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.
# 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
iface lo inet loopback
# The primary network interface
#iface eth0 inet dhcp
# Example to keep MAC address between reboots
#hwaddress ether DE:AD:BE:EF:CA:FE
##connman: ethX static config
#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>
#connmanctl> tether wifi disable
#connmanctl> enable wifi
#connmanctl> scan wifi
#connmanctl> agent on
#connmanctl> connect wifi_*_managed_psk
# Ethernet/RNDIS gadget (g_ether)
# Used by: /opt/scripts/boot/autoconfigure_usb0.sh
iface usb0 inet static
1 post • Page 1 of 1