Configuring the WLAN settings
Run the following commands one by one to enable WiFi
switch_module.sh 1MW
fw_setenv fdt_file imx8mm-influx-rex-smart_v2-1mw.dtb
reboot
Once logged in to the terminal, run the following command to open the existing WLAN settings
nano /etc/wpa_supplicant.conf

Use arrow keys to move the cursor, CTRL-C to copy, and SHIFT-INS to paste. Add this declaration to the file you are editing. network={
ssid="add your WLAN SSID here"
psk="add your WLAN Passkey here"
}
When you are done editing, use CTRL-X to exit the nano editor and type y to save changes
Set0020the WLAN interface using the command:
ifconfig wlan0 up
Run the wpa_supplicant daemon with the command:
wpa_supplicant -B -i wlan0 -D wext -c /etc/wpa_supplicant.conf
To verify the connection and get the IP address, use the command given below:
ip a

Last updated
