aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.5k stars 767 forks source link

I have removed the driver to install the latest commit but I can't get it installed #1087

Closed konsbn closed 1 year ago

konsbn commented 1 year ago

I installed the mightiestgoat commit and it worked until my kernel updated. After update it stopped connecting to wireless networks so I uninstalled it and cloned the aircrack/rtl8812au repository. However on running sudo make dkms_install I get this error

grep: warning: stray \ before #
grep: warning: stray \ before #
grep: warning: stray \ before #
grep: warning: stray \ before #
mkdir: created directory '/usr/src/8812au-5.6.4.2_35491.20191025'
cp -r * /usr/src/8812au-5.6.4.2_35491.20191025
dkms add -m 8812au -v 5.6.4.2_35491.20191025
Error! DKMS tree already contains: 8812au-5.6.4.2_35491.20191025
You cannot add the same module/version combo more than once.
make: *** [Makefile:1783: dkms_install] Error 3

I have tried everything to remove the driver however I am still unable to get it working. Please help. Thanks

kimocoder commented 1 year ago

I can try reproduce shortly

konsbn commented 1 year ago

I finally solved it using the command locate 88XXau to find where all the files and stored and then removed them manually. Finally I did a clean reinstall.