Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to use WIFI on iTOP-4412 Development Board under Ubuntu

Shulou Source: shulou.com Published: 2022-06-01 23:17:53 10月01日 Update

This article mainly introduces the iTOP-4412 development board in Ubuntu how to use WIFI, the article introduces in great detail, has a certain reference value, interested friends must read it!

Elite wifi configuration

After the electric start-up on the hair board enters the Ubuntu system, use the command "vi" in the serial port of the hair board.

/ etc/init.d/itop-set ", as shown below:

Then open the itop-set file and put the contents:

# mknod / dev/stpwmt c 1900

# mknod / dev/stpgps c 1910

# mknod / dev/fm c 193 0

# mknod / dev/wmtWifi c 194 0

# insmod / system/lib/modules/mtk_hif_sdio.ko

# insmod / system/lib/modules/mtk_stp_wmt.ko

# insmod / system/lib/modules/mtk_stp_uart.ko

# insmod / system/lib/modules/mtk_stp_gps.ko

# insmod / system/lib/modules/mt6620_fm_drv.ko

# insmod / system/lib/modules/mtk_fm_priv.ko

# insmod / system/lib/modules/mtk_wmt_wifi.ko WIFI_major=194

# insmod / system/lib/modules/wlan.ko

# chmod 0666 / dev/stpwmt

# chmod 0666 / dev/stpgps

# chmod 0666 / dev/fm

# chmod 0666 / dev/wmtWifi

# chmod 0660 / dev/ttySAC0

# chmod 0666 / dev/gps

# / system/bin/6620_launcher-M1-b 921600-n/system/etc/firmware/mt6620_patch_hdr.bin-d / dev/ttySAC0 &

# sleep 1

# echo 1 > / dev/wmtWifi

# wpa_supplicant-d-Dwext-iwlan0-c / etc/wpa_supplicant.conf &

# dhclientwlan0 &

Change it to the following (do not change anything else, as this file also includes the wifi configuration of the full-featured board):

Mknod / dev/stpwmtc 190 0

Mknod / dev/stpgpsc 191 0

Mknod / dev/fm c 193 0

Mknod / dev/wmtWifi c 1940

Insmod / system/lib/modules/mtk_hif_sdio.ko

Insmod / system/lib/modules/mtk_stp_wmt.ko

Insmod / system/lib/modules/mtk_stp_uart.ko

Insmod / system/lib/modules/mtk_stp_gps.ko

Insmod / system/lib/modules/mt6620_fm_drv.ko

Insmod / system/lib/modules/mtk_fm_priv.ko

Insmod / system/lib/modules/mtk_wmt_wifi.ko WIFI_major=194

Insmod / system/lib/modules/wlan.ko

Chmod 0666 / dev/stpwmt

Chmod 0666 / dev/stpgps

Chmod 0666 / dev/fm

Chmod 0666 / dev/wmtWifi

Chmod 0660 / dev/ttySAC0

Chmod 0666 / dev/gps

/ system/bin/6620_launcher-m1-b921600-n / system/etc/firmware/mt6620_patch_hdr.bin-d / dev/ttySAC0 &

Sleep 1

Echo 1 > / dev/wmtWifi

Wpa_supplicant-d-Dwext-iwlan0-c / etc/wpa_supplicant.conf &

Dhclient wlan0 &

Save and exit after the modification is complete, and then use the command "vi / etc/wpa_supplicant.conf", as shown below:

The wpa_supplicant.conf file will be opened, as shown below:

In this file, set the wireless network name, password and network type according to your router, and guarantee it after modification.

Save and exit, and then restart the launch board to automatically connect to the wifi.

Full function board wifi configuration

After the electric start-up on the hair board enters the Ubuntu system, use the command "vi" in the serial port of the hair board.

/ etc/init.d/itop-set ", as shown below:

Then open the itop-set file and put the contents:

# insmod / lib/firmware/ath7k/AR6003/hw2.1.1/cfg80211.ko

# insmod / lib/firmware/ath7k/AR6003/hw2.1.1/ath7kl_sdio.ko

# sleep 1

Change it to the following (do not change anything else, because this file also includes the wifi configuration of the elite board):

Insmod / lib/firmware/ath7k/AR6003/hw2.1.1/cfg80211.ko

Insmod / lib/firmware/ath7k/AR6003/hw2.1.1/ath7kl_sdio.ko

Sleep 1

Then save and exit, restart the developer board to connect to the wireless network with the wifi icon in the upper right corner of the desktop.

The above is all the content of the article "how to use WIFI on iTOP-4412 development board under Ubuntu". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Content file configuration development network function place wireless wireless network article elite face value interest name command icon password boy buddy Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Technology Shulou Information Huawei Microsoft