Over the night, ECR6600U disconnects from the WiFi. To reconnect, I have to do ifconfig down and ifconfig up. The router (Tenda AC15, FreshTomato 2022.7) sees the WiFi signal, but packets are not received by ECR6600U (I have a serial cable connected, tcpdump on VisionFive2 does not see ping packets sent from the router).
Now I’m playing with a rtl8822bu (USB D-Link Corp. 802.11ac).
The folder /media/vision/VisionFive2/linux contains a kernel compiled for ECR6600U using @HonestQiao tutorial in chinese. This is a native compilation on the VisionFive 2 board.
root@starfive:~# lsusb
Bus 001 Device 004: ID 2001:331e D-Link Corp. 802.11ac NIC
root@starfive:/media/wireless/rtl88x2BU# git clone https://github.com/morrownr/88x2bu-20210702.git
root@starfive:/media/wireless/rtl88x2BU# cd 88x2bu-20210702/
root@starfive:/media/wireless/rtl88x2BU/88x2bu-20210702# make V=1 KSRC=/media/vision/VisionFive2/linux ARCH=riscv -j4
root@starfive:/media/wireless/rtl88x2BU/88x2bu-20210702# mkdir -p /lib/modules/5.15.0-starfive/kernel/drivers/net/wireless/
root@starfive:/media/wireless/rtl88x2BU/88x2bu-20210702# make V=1 KSRC=/media/vision/VisionFive2/linux ARCH=riscv install
root@starfive:/media/wireless/rtl88x2BU/88x2bu-20210702# cp /lib/modules/5.15.0-starfive/kernel/drivers/net/wireless/88x2bu.ko /lib/modules/5.15.0-starfive/.
root@starfive:/media/wireless/rtl88x2BU/88x2bu-20210702# cd /lib/modules/5.15.0-starfive/
root@starfive:/lib/modules/5.15.0-starfive# modprobe 88x2bu
root@starfive:/lib/modules/5.15.0-starfive# lsmod
Module Size Used by
88x2bu 4337664 0
root@starfive:~# ifconfig -a
wlxf0b4d2b08598: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether f0:b4:d2:b0:85:98 txqueuelen 1000 (Ethernet)
RX packets 2257 bytes 443824 (433.4 KiB)
RX errors 0 dropped 361 overruns 0 frame 0
TX packets 188 bytes 37085 (36.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
WiFi: hilton
Password: pass2023
root@starfive:~# nmcli device wifi connect hilton password pass2023 ifname wlxf0b4d2b08598
root@starfive:~# nmcli connection modify hilton connection.autoconnect yes
I’m a beginner. Some of the steps above might be wrong. But the WiFi works.