Build firmware with WiFi support - SundanceMultiprocessorTechnology/VCS-1 GitHub Wiki

WiFi support

Recompile the kernel (Petalinux) with the following options on:

Networking Support -> Wireless -> cfg80211 - wireless configuration API

Networking Support -> Wireless -> Generic IEEE 802.11 Networking Stack (mac80211)

Device Drivers -> Network device support -> Wireless LAN -> [*] rt2800usb - Include support for rt53xx devices (EXPERIMENTAL)

Device Drivers -> Network device support -> Wireless LAN <*> -> MediaTek MT7601U (USB) support

Device Drivers -> Network device support -> Wireless LAN -> Ralink driver support

Device Drivers -> Network device support -> Wireless LAN -> Ralink driver support -> Ralink rt27xx/rt28xx/rt30xx

Device Drivers -> Network device support -> Wireless LAN -> [*] Realtek Devices

Device Drivers -> Network device support -> Wireless LAN -> <*> Realtek rtlwifi family of devices

Device Drivers -> Network device support -> Wireless LAN -> <*> Realtek rtlwifi family of devices -> <*> Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter

Device Drivers -> Network device support -> Wireless LAN -> <*> Realtek rtlwifi family of devices -> <*> Realtek RTL8188EE Wireless Network Adapter

Device Drivers -> [*] Staging Drivers

Device Drivers -> [*] Staging Drivers -> <M> Realtek RTL8188EU Wireless LAN NIC driver

Device Drivers -> [*] Staging Drivers -> [*] Realtek RTL8188EU AP mode (NEW)

Generate the kernel and copy the boot files using the steps described here

Boot the OS and login and install required packets

$ sudo apt update
$ sudo apt upgrade -y
$ sudo apt purge wpasupplicant network-manager -y
$ sudo apt install linux-firmware wpasupplicant -y

Modify the device name to wlan0

$ ln -s /dev/null /etc/systemd/network/99-default.link
$ sudo nano /etc/udev/rules.d/72-wifi-name.rules

SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="", NAME="wlan0"

**Add the user to the group netdev

$ sudo addgroup <user> netdev

add the wifi configurations

$ cat /etc/network/interfaces

add

iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid Setnofaxe
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK
wpa-psk BSRPVAAY

Reboot

$ sudo reboot

Start stop wlan0

$ sudo ifup wlan0 
$ sudo ifdown wlan0

Return to the build page

⚠️ **GitHub.com Fallback** ⚠️