wifi adapter driver problems

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dzlochrie

wifi adapter driver problems

Post by dzlochrie »

hi i'm trying to install the drivers for brostrend ac3 v2 wifi adapter. so i made the install.sh into a executable and just keep getting this error when i run it.

Code: Select all

 In file included from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service.h:41,
                 from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/drv_types.h:32,
                 from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.c:22:
/home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  265 |  ptimer->data = (unsigned long)cntx;
      |        ^~
/home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  266 |  init_timer(ptimer);
      |  ^~~~~~~~~~
      |  _init_timer
In file included from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/drv_types.h:95,
                 from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.c:22:
/home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/hal_com.h: At top level:
/home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/hal_com.h:412:13: error: ‘file_path’ redeclared as different kind of symbol
  412 | extern char file_path[PATH_LENGTH_MAX];
      |             ^~~~~~~~~
In file included from ./include/linux/compat.h:17,
                 from ./include/linux/ethtool.h:17,
                 from ./include/linux/netdevice.h:37,
                 from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service_linux.h:35,
                 from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/osdep_service.h:41,
                 from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/include/drv_types.h:32,
                 from /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.c:22:
./include/linux/fs.h:3032:14: note: previous declaration of ‘file_path’ was here
 3032 | extern char *file_path(struct file *, char *, int);
      |              ^~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:275: /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1757: /home/daryn/Desktop/Linux/driver/rtl8812AU_linux_v4.3.13_14061.20150505] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-51-generic'
make: *** [Makefile:1622: modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
any help would be much appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
sleeper12
Level 21
Level 21
Posts: 14317
Joined: Thu May 25, 2017 3:22 pm

Re: wifi adapter driver problems

Post by sleeper12 »

See if this works, one line at a time:

Code: Select all

sudo apt install git dkms
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au 
sudo ./dkms-install.sh 
Reboot
Locked

Return to “Networking”