Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Asus AC53 Nano wi-fi dongle not recognized, 18.04 LTS

  1. #1
    Join Date
    Jul 2018
    Beans
    4

    Asus AC53 Nano wi-fi dongle not recognized, 18.04 LTS

    Hello,
    After a fresh install of 18.04 LTS my USB wi-fi dongle no longer works. When using 16.04 LTS I was able to use the rtl8822bu driver, but it doesn't seem to work with the new install.
    I get the following error messages when I try the make command in my rtl8822bu-master folder.

    Code:
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/home/badge/Desktop/rtl8822bu-master modules
    make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
    arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support
    Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
      CC [M]  /home/badge/Desktop/rtl8822bu-master/core/rtw_cmd.o
    /bin/sh: 1: gcc: not found
    scripts/Makefile.build:332: recipe for target '/home/badge/Desktop/rtl8822bu-master/core/rtw_cmd.o' failed
    make[2]: *** [/home/badge/Desktop/rtl8822bu-master/core/rtw_cmd.o] Error 127
    Makefile:1552: recipe for target '_module_/home/badge/Desktop/rtl8822bu-master' failed
    make[1]: *** [_module_/home/badge/Desktop/rtl8822bu-master] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
    Makefile:1318: recipe for target 'modules' failed
    make: *** [modules] Error 2
    I ran the wireless script and the results are here
    http://paste.ubuntu.com/p/4sfFRf2XJx/

    Also, I have this PC set up as dual boot now if this makes any difference

    Thank you,
    Chris

  2. #2
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,970
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Asus AC53 Nano wi-fi dongle not recognized, 18.04 LTS


  3. #3
    Join Date
    Jul 2018
    Beans
    4

    Re: Asus AC53 Nano wi-fi dongle not recognized, 18.04 LTS

    I had not tried that version yet. Unfortunately it isn't working either. I didn't get any errors during the make or make install step, but after a reboot the wifi dongle still isn't showing up.

    I ran the wireless script again after reboot.
    https://pastebin.com/8EU7r151

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Asus AC53 Nano wi-fi dongle not recognized, 18.04 LTS

    That driver doesn't cover your 184C device, but this one does: https://github.com/jeremyb31/rtl8822bu

    Please try again. If you need a step-by-step, please post back and we'll be happy to help.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  5. #5
    Join Date
    Jul 2018
    Beans
    4

    Re: Asus AC53 Nano wi-fi dongle not recognized, 18.04 LTS

    Unfortunately I got this error on the make step using the driver from jeremyb31.

    Code:
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-23-generic/build M=/home/badge/rtl8822bu-master modules
    make[1]: Entering directory '/usr/src/linux-headers-4.15.0-23-generic'
      CC [M]  /home/badge/rtl8822bu-master/core/rtw_cmd.o
    In file included from /home/badge/rtl8822bu-master/include/osdep_service.h:41:0,
                     from /home/badge/rtl8822bu-master/include/drv_types.h:32,
                     from /home/badge/rtl8822bu-master/core/rtw_cmd.c:22:
    /home/badge/rtl8822bu-master/include/osdep_service_linux.h: In function ‘_init_timer’:
    /home/badge/rtl8822bu-master/include/osdep_service_linux.h:262:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
      ptimer->data = (unsigned long)cntx;
            ^~
    /home/badge/rtl8822bu-master/include/osdep_service_linux.h:263:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
      init_timer(ptimer);
      ^~~~~~~~~~
      _init_timer
    cc1: some warnings being treated as errors
    scripts/Makefile.build:332: recipe for target '/home/badge/rtl8822bu-master/core/rtw_cmd.o' failed
    make[2]: *** [/home/badge/rtl8822bu-master/core/rtw_cmd.o] Error 1
    Makefile:1552: recipe for target '_module_/home/badge/rtl8822bu-master' failed
    make[1]: *** [_module_/home/badge/rtl8822bu-master] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-23-generic'
    Makefile:1318: recipe for target 'modules' failed
    make: *** [modules] Error 2
    The steps I have been following are download zip, extract, open terminal in extracted folder then run the following commands

    Code:
    sudo make
    
    sudo make install
    
    sudo reboot
    I have tried using make clean as well before running these steps, but no luck yet.
    Thank you for your help.

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Asus AC53 Nano wi-fi dongle not recognized, 18.04 LTS

    Please try this:
    Code:
    cd ~
    git clone https://github.com/FomalhautWeisszwerg/rtl8822bu.git
    cd rtl8822bu
    nano os_dep/linux/usb_intf.c
    Change this section at about line 222, from this:
    Code:
    #ifdef CONFIG_RTL8822B
    	/*=== Realtek demoboard ===*/
    	{USB_DEVICE(0x0B05, 0x1812), .driver_info = RTL8812}, /* ASUS - Edimax */
    	{USB_DEVICE(0x7392, 0xB822), .driver_info = RTL8822B}, /* Edimax - EW-7822ULC */
    	{USB_DEVICE(0x7392, 0xC822), .driver_info = RTL8822B}, /* Edimax - EW-7822UTC */
    	{USB_DEVICE(0x13B1, 0x0043), .driver_info = RTL8822B}, /* Linksys - WUSB6400M */
    	{USB_DEVICE(0x0BDA, 0xB812), .driver_info = RTL8822B},
    	{USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0xB82C, 0xff, 0xff, 0xff), .driver_info = RTL8822B}, /* Default ID */
    #endif /* CONFIG_RTL8822B */
    To this:
    Code:
    #ifdef CONFIG_RTL8822B
            /*=== Realtek demoboard ===*/
            {USB_DEVICE(0x0B05, 0x1812), .driver_info = RTL8812}, /* ASUS - Edimax */
            {USB_DEVICE(0x7392, 0xB822), .driver_info = RTL8822B}, /* Edimax - EW-7822ULC */
            {USB_DEVICE(0x7392, 0xC822), .driver_info = RTL8822B}, /* Edimax - EW-7822UTC */
            {USB_DEVICE(0x13B1, 0x0043), .driver_info = RTL8822B}, /* Linksys - WUSB6400M */
            {USB_DEVICE(0x0B05, 0x184C), .driver_info = RTL8822B}, /* ASUS USB AC53 */
            {USB_DEVICE(0x0BDA, 0xB812), .driver_info = RTL8822B},
            {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0xB82C, 0xff, 0xff, 0xff), .driver_info = RTL8822B}, /* Default ID */
    #endif /* CONFIG_RTL8822B */
    I have highlighted the line you will add.

    Spacing, indentation, etc. are crucial and must be perfect. Proofread carefully twice. Save (Ctrl+o followed by Enter) and exit (Ctrl+x) the text editor.

    Now back to the terminal:
    Code:
    make
    sudo make install
    sudo modprobe 8822bu
    Any improvement?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  7. #7
    Join Date
    Jul 2018
    Beans
    4

    Re: Asus AC53 Nano wi-fi dongle not recognized, 18.04 LTS

    Success! I followed your steps and rebooted.

    The Asus AC53 wifi dongle was recognized and has worked flawlessly for an hour so far on 18.04 LTS.

    Thank you so much!

  8. #8
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Asus AC53 Nano wi-fi dongle not recognized, 18.04 LTS

    Quote Originally Posted by badge22 View Post
    Success! I followed your steps and rebooted.

    The Asus AC53 wifi dongle was recognized and has worked flawlessly for an hour so far on 18.04 LTS.

    Thank you so much!
    Awesome! Glad it's working!

    After a kernel update, recompile:
    Code:
    cd ~/rtl8822bu
    make clean
    make
    sudo make install
    sudo modprobe 8822bu
    Have fun!
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  9. #9
    Join Date
    Aug 2018
    Beans
    1

    Thumbs up Re: Asus AC53 Nano wi-fi dongle not recognized, 18.04 LTS

    Quote Originally Posted by chili555 View Post
    Please try this:
    Code:
    cd ~
    git clone https://github.com/FomalhautWeisszwerg/rtl8822bu.git
    cd rtl8822bu
    nano os_dep/linux/usb_intf.c
    Change this section at about line 222, from this:
    Code:
    #ifdef CONFIG_RTL8822B
        /*=== Realtek demoboard ===*/
        {USB_DEVICE(0x0B05, 0x1812), .driver_info = RTL8812}, /* ASUS - Edimax */
        {USB_DEVICE(0x7392, 0xB822), .driver_info = RTL8822B}, /* Edimax - EW-7822ULC */
        {USB_DEVICE(0x7392, 0xC822), .driver_info = RTL8822B}, /* Edimax - EW-7822UTC */
        {USB_DEVICE(0x13B1, 0x0043), .driver_info = RTL8822B}, /* Linksys - WUSB6400M */
        {USB_DEVICE(0x0BDA, 0xB812), .driver_info = RTL8822B},
        {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0xB82C, 0xff, 0xff, 0xff), .driver_info = RTL8822B}, /* Default ID */
    #endif /* CONFIG_RTL8822B */
    To this:
    Code:
    #ifdef CONFIG_RTL8822B
            /*=== Realtek demoboard ===*/
            {USB_DEVICE(0x0B05, 0x1812), .driver_info = RTL8812}, /* ASUS - Edimax */
            {USB_DEVICE(0x7392, 0xB822), .driver_info = RTL8822B}, /* Edimax - EW-7822ULC */
            {USB_DEVICE(0x7392, 0xC822), .driver_info = RTL8822B}, /* Edimax - EW-7822UTC */
            {USB_DEVICE(0x13B1, 0x0043), .driver_info = RTL8822B}, /* Linksys - WUSB6400M */
            {USB_DEVICE(0x0B05, 0x184C), .driver_info = RTL8822B}, /* ASUS USB AC53 */
            {USB_DEVICE(0x0BDA, 0xB812), .driver_info = RTL8822B},
            {USB_DEVICE_AND_INTERFACE_INFO(USB_VENDER_ID_REALTEK, 0xB82C, 0xff, 0xff, 0xff), .driver_info = RTL8822B}, /* Default ID */
    #endif /* CONFIG_RTL8822B */
    I have highlighted the line you will add.

    Spacing, indentation, etc. are crucial and must be perfect. Proofread carefully twice. Save (Ctrl+o followed by Enter) and exit (Ctrl+x) the text editor.

    Now back to the terminal:
    Code:
    make
    sudo make install
    sudo modprobe 8822bu
    Any improvement?

    Thanks so much, this solution worked for me as well!

  10. #10
    Join Date
    Sep 2018
    Beans
    1

    Re: Asus AC53 Nano wi-fi dongle not recognized, 18.04 LTS

    Hi chili555, doing as you said, but every time i'm getting this
    ian@ian-23-k300xt:~/rtl8822bu$ sudo make install
    [sudo] password for ian:
    install -p -m 644 8822bu.ko /lib/modules/4.15.0-33-generic/kernel/drivers/net/wireless/
    /sbin/depmod -a 4.15.0-33-generic
    ian@ian-23-k300xt:~/rtl8822bu$ sudo modprobe 8822bu
    modprobe: ERROR: could not insert '8822bu': Required key not available

    Ubuntu 18.04

    Any ideas?
    Thanks

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •