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 a 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>