Trucrux Inc

Testing WIFI

Configure Wifi #
root@imx8mq-trux-q01:~# nmcli dev wifi list

output:
IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS SECURITY 
D8:07:B6:3E:87:B8 trunexa_2 Infra 2 270 Mbit/s 24 * WPA2 
D8:07:B6:3E:87:B8 trunexa_2 Infra 2 270 Mbit/s 22 * WPA2
connect to protected network #
root@imx8mq-trux-q01:~# nmcli dev wifi connect <SSID> password <password> ifname wlan0

output:
Device 'wlan0' successfully activated with 'ce732b81-3d1a-46aa-98c9-4f63b2afdffb'.
connect to a hidden network #
root@imx8mq-trux-q01:~# nmcli dev wifi connect <SSID> password <password> hidden yes ifname wlan0
network connection status #
root@imx8mq-trux-q01:~# nmcli con show <SSID>
wifi status #
root@imx8mq-trux-q01:~# nmcli dev show wlan0
delete connection #
root@imx8mq-trux-q01:~# nmcli con delete <SSID>