BeagleBone Board WIFI 连接

首先连接beaglebone 开发板:

Enable a network connection

If connected via USB, a network adapter should show up on your computer. Your Beagle should be running a DHCP server that will provide your computer with an IP address of either 192.168.7.1 or 192.168.6.1, depending on the type of USB network adapter supported by your computer’s operating system. Your Beagle will reserve 192.168.7.2 or 192.168.6.2 for itself.

If your Beagle includes WiFi, an access point called “BeagleBone-XXXX” where “XXXX” varies between boards. The access point password defaults to “BeagleBone”. Your Beagle should be running a DHCP server that will provide your computer with an IP address in the 192.168.8.x range and reserve 192.168.8.1 for itself.

If your Beagle is connected to your local area network (LAN) via either Ethernet or WiFi, it will utilize mDNS to broadcast itself to your computer. If your computer supports mDNS, you should see your Beagle as beaglebone.local. Non-BeagleBone boards will utilize alternate names. Multiple BeagleBone boards on the same network will add a suffix such as beaglebone-2.local.

The below table summarizes the typical addresses and should dynamically update to indicate an active connection.

Note: You must “load unsafe scripts” or load this page without HTTPS security for the automatic detection to work.

IP Address Connection Type Operating System(s) Status
192.168.7.2 USB Windows
192.168.6.2 USB Mac OS X, Linux
192.168.8.1 WiFi all
beaglebone.local all mDNS enabled
beaglebone-2.local all mDNS enabled

常规检查

1
lsb_release -a # check the software version
1
2
3
4
5
6
7
debian@beaglebone:~$ connmanctl technologies# check the hardware on the board
/net/connman/technology/ethernet
Name = Wired
Type = ethernet
Powered = True
Connected = True
Tethering = False

比如这一款,没有wifi 所以,搞不了 (完)笑

实际上,出现:

1
2
net/connman/technology/WiFI
Connected = False

这个时候:

1
2
3
4
5
6
7
8
9
10
11
sudo connmanctl
#回车了啊
----
> enable wifi
# Wifi enabled
> scan wifi
# 完毕后
> services
# 此时应该可以看到所有的wifi了
> agent on
> connect <wifi_name>