• RTL88x2BU_WIFI Can't Install Driver from Disc or Download


    I recently purchased an AC 1200 Dual-Band USB 3.0 WIFI Adapter and it works perfectly on Windows 10. I have gotten it to work on Linux, but it is very slow and I can’t get the driver that comes on the disc to install or the one from their website. I try to do ./install.sh and it goes for a little bit and then asks me for a password two times. After I do that, I get this message

    Makefile:802: Driver/RTL88x2BU_WiFi_linux_v5.1.7_19806/driver/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/rtl8822b.mk: No such file or directory
    make: *** No rule to make target ‘Driver/RTL88x2BU_WiFi_linux_v5.1.7_19806/driver/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/rtl8822b.mk’. Stop.
    Authentication requested [root] for make driver:
    Password:
    Makefile:802: Driver/RTL88x2BU_WiFi_linux_v5.1.7_19806/driver/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/rtl8822b.mk: No such file or directory
    make: *** No rule to make target ‘Driver/RTL88x2BU_WiFi_linux_v5.1.7_19806/driver/rtl88x2BU_WiFi_linux_v5.1.7_19806.20161025_BTCOEX20161024-3333/rtl8822b.mk’. Stop.
    ##################################################
    Compile make driver error: 2
    Please check error Mesg
    ##################################################

    Could anyone help me get this driver installed properly?

  • I find this one:
    https://github.com/tburschka/rtl88x2bu

    As the filename of the one you try gives 2016/10/25 it will not be build against current archlinux kernel…

  • @joekamprad Thank you for the reply! I have cloned this repository already, but I’m not completely sure how to compile the driver and install it.

  • @joekamprad Thank you! I’ll try this as soon as I get a chance!

  • @joekamprad I tried to compile and install that driver and I got this error message when I tried to type “make”.

    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.7-1-ARCH/build M=/home/colton/src/rtl8822bu modules
    make[1]: Entering directory ‘/usr/lib/modules/4.15.7-1-ARCH/build’
    CC [M] /home/colton/src/rtl8822bu/core/rtw_cmd.o
    In file included from /home/colton/src/rtl8822bu/include/osdep_service.h:41:0,
    from /home/colton/src/rtl8822bu/include/drv_types.h:32,
    from /home/colton/src/rtl8822bu/core/rtw_cmd.c:22:
    /home/colton/src/rtl8822bu/include/osdep_service_linux.h: In function ‘_init_timer’:
    /home/colton/src/rtl8822bu/include/osdep_service_linux.h:257:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
    ptimer->data = (unsigned long)cntx;
    ^~
    /home/colton/src/rtl8822bu/include/osdep_service_linux.h:258:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
    init_timer(ptimer);
    ^~~~~~~~~~
    _init_timer
    In file included from /home/colton/src/rtl8822bu/include/drv_types.h:32:0,
    from /home/colton/src/rtl8822bu/core/rtw_cmd.c:22:
    /home/colton/src/rtl8822bu/include/osdep_service.h: In function ‘thread_enter’:
    /home/colton/src/rtl8822bu/include/osdep_service.h:345:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
    allow_signal(SIGTERM);
    ^~~~~~~~~~~~
    do_signal
    /home/colton/src/rtl8822bu/include/osdep_service.h: In function ‘flush_signals_thread’:
    /home/colton/src/rtl8822bu/include/osdep_service.h:355:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
    if (signal_pending(current))
    ^~~~~~~~~~~~~~
    timer_pending
    /home/colton/src/rtl8822bu/include/osdep_service.h:356:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
    flush_signals(current);
    ^~~~~~~~~~~~~
    do_signal
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:317: /home/colton/src/rtl8822bu/core/rtw_cmd.o] Error 1
    make[1]: *** [Makefile:1510: module/home/colton/src/rtl8822bu] Error 2
    make[1]: Leaving directory ‘/usr/lib/modules/4.15.7-1-ARCH/build’
    make: *** [Makefile:1318: modules] Error 2

    Could you tell me what is happening and why it won’t compile?

  • whats about this one?

    https://aur.archlinux.org/packages/rtl8822bu-dkms-git/

    uses the sources you try to compile by hand…

  • @joekamprad I’m currently using that one from the AUR, but it seems to drop connection every so often and downloads don’t work well because of that.

    Thank you for trying to help me with this!

  • looks like that this is mostly only a package to get firmware loaded and aviable, may device needs some more configuration, but i am not specialist around wifi, i am allergic on wifi waves ;)

  • second you can try if you realy want to go intoit is using windows drivers under linux:

    https://wiki.archlinux.org/index.php/Wireless_network_configuration#ndiswrapper

    easy to use itself, but sometimes hard to get the files out of windows or driver.exe

  • Thank you @joekamprad! Right now, the driver from the AUR seems to be working better after I updated my system. I’m hoping I can just keep using that one!

wifi134 Posts 11Views 1962
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.