Jump to content

How to compile the latest wifi driver for nanopi armbian?


QFW

Recommended Posts

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 by QFW
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines