MaaXBoard-Linux-Debian-UM-V1.2
19
3.10 Wi-Fi
The on-board Wi-Fi module support 2.4G/5G network and hotspot.
To connect WIFI, execute the following instructions on the serial terminal:
Open Wi-Fi device:
root@maaxboard:~# nmcli r wifi on
Search Wi-Fi network:
root@maaxboard:~# nmcli dev wifi
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
Embest_WiFi Infra 6 270 Mbit/s 67
▂▄▆
_ WPA1 WPA2
e3000-5G Infra 36 65 Mbit/s 60
▂▄▆
_ WPA1 WPA2
Connect Wi-Fi network:
Currently we support these kinds of encryption: None,WEP,wpa-psk,wpa-psk2, use the following
instruction to connect Wi-Fi network:
In below instruction: “Embest-WiFi” is the SSID of the WIFI, “12345678” is the password.
root@maaxboard:~# nmcli dev wifi con "Embest-WiFi " password "12345678" ifname wlan0
If the connection succeeds, it will print the following info:
Device 'wlan0' successfully activated with '12551227-ee19-4054-9f43-0c9b83b75995'.
Enter
nmcli dev wifi
to check: Connected with Embest-WiFi:
root@maaxboard:~# nmcli dev wifi
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
* Embest-WiFi Infra 6 270 Mbit/s 67
▂▄▆
_ WPA1 WPA2
Test Wi-Fi network with
ping
command:
root@maaxboard:~# ping
PING www.a.shifen.com (103.235.46.39) 56(84) bytes of data.
64 bytes from 103.235.46.39: icmp_seq=1 ttl=50 time=122 ms
3.10.1 Connect and Disconnect Wi-Fi Connection
Connect Wi-Fi connection:
root@maaxboard:~# nmcli device con wlan0
Disconnect Wi-Fi connection:
root@maaxboard:~# nmcli device dis wlan0