QFW Posted September 24, 2020 Posted September 24, 2020 (edited) My device is nanopi neo plus2 h5 soc with armban Buster server installed. I have realtek rtl8812au mt7612u two wireless network cards. I found that armbain's wifi driver is relatively old, how do I compile the latest driver https://github.com/aircrack-ng/rtl8812au https://github.com/openwrt/mt76 I tried to download the latest rtl8812au driver and compile it, but an error occurred device FriendlyARM nanopi neo plus2 0S armbian PRETTY_NAME="Armbian 20.08.3 Buster" allwinnertech h5 chip kernel Linux nanopi 5.8.10-sunxi64 CC [M] /root/rtl8812au/hal/phydm/halrf/rtl8814a/halrf_iqk_8814a.o CC [M] /root/rtl8812au/hal/phydm/rtl8814a/phydm_regconfig8814a.o CC [M] /root/rtl8812au/hal/phydm/halrf/rtl8814a/halrf_8814a_ce.o CC [M] /root/rtl8812au/hal/phydm/rtl8814a/phydm_rtl8814a.o CC [M] /root/rtl8812au/hal/phydm/txbf/haltxbf8814a.o CC [M] /root/rtl8812au/platform/platform_ops.o CC [M] /root/rtl8812au/core/rtw_mp.o LD [M] /root/rtl8812au/88XXau.o MODPOST /root/rtl8812au/Module.symvers ERROR: modpost: "__stack_chk_guard" [/root/rtl8812au/88XXau.ko] undefined! make[2]: *** [scripts/Makefile.modpost:111: /root/rtl8812au/Module.symvers] Error 1 make[2]: *** Deleting file '/root/rtl8812au/Module.symvers' make[1]: *** [Makefile:1667: modules] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.8.10-sunxi64' make: *** [Makefile:2312: modules] Error 2 My mediatek mt7612u works normally under ubuntu20.04, but it cannot be used at all under armbian, and an error log appears in dmesg. So, I just want to recompile the latest mt76 driver, I am sure it is not the problem of usbmodeswitch, because my wifi card does not have windows free driver disk Edited September 24, 2020 by QFW
Werner Posted September 24, 2020 Posted September 24, 2020 Armbian incooperates exactly these drivers: https://github.com/armbian/build/blob/01d45bea211c7197c7adc057f6634381dcece971/lib/compilation-prepare.sh#L310-L337
sfx2000 Posted October 8, 2020 Posted October 8, 2020 IIRC, there was an issue with a the linux headers on one of the more recent Armbian builds - might have been solved...
Recommended Posts