Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Wireless Driver Realtek rtl8812au Stopped Working

  1. #1
    Join Date
    Dec 2017
    Beans
    8

    Wireless Driver Realtek rtl8812au Stopped Working

    About six weeks ago I got my Realtek wireless adapter up and running on my new computer (running Ubuntu 16.04) by following Chili5555's advice to another user at this thread: https://ubuntuforums.org/showthread.php?t=2339960 . Yesterday, I booted up my computer, and had no wireless connection. This happened about two weeks ago as well, at which time i was able to quickly get it up and running again using the following commands, as per the advice in the aforementioned thread:

    Code:
    cd ~/Documents/wifi_adapter/rtl8812AU
    make clean
    make
    sudo make install
    sudo modprobe 8812au

    Unfortunately, attempting the same fix yesterday got me nowhere, and since then i have scoured the forums for other solutions to no avail. If anybody feels up to the task of walking a relatively new linux user through troubleshooting this issue, I would really appreciate it.

    Thanks Ubuntu Community!

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,999
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Wireless Driver Realtek rtl8812au Stopped Working

    Code:
    cd ~/Documents/wifi_adapter/rtl8812AU
    make clean
    make
    sudo make install
    sudo modprobe 8812au
    One of these steps ended in an error, I strongly suspect. Please run through the process again and note the result of each step. Post the one that ends in an error. once a step ends in an error, stop. All further steps will be errors, too.

    If a command produces no output at all, that typically means that it was executed as requested and that there are no errors or even warnings to report.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #3
    Join Date
    Dec 2017
    Beans
    8

    Re: Wireless Driver Realtek rtl8812au Stopped Working

    Thank you so much for the reply! I receive an error after the make command.

    Code:
    [11:56:58] (driver-4.3.14) rtl8812AU
    // ♥ make
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.13.0-26-generic/build M=/home/chris/Documents/wifi_adapter/rtl8812AU  modules
    make[1]: Entering directory '/usr/src/linux-headers-4.13.0-26-generic'
      CC [M]  /home/chris/Documents/wifi_adapter/rtl8812AU/core/rtw_cmd.o
    In file included from /home/chris/Documents/wifi_adapter/rtl8812AU/include/drv_types.h:32:0,
                     from /home/chris/Documents/wifi_adapter/rtl8812AU/core/rtw_cmd.c:22:
    /home/chris/Documents/wifi_adapter/rtl8812AU/include/osdep_service.h: In function ‘thread_enter’:
    /home/chris/Documents/wifi_adapter/rtl8812AU/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
      allow_signal(SIGTERM);
      ^
    /home/chris/Documents/wifi_adapter/rtl8812AU/include/osdep_service.h: In function ‘flush_signals_thread’:
    /home/chris/Documents/wifi_adapter/rtl8812AU/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
      if (signal_pending (current)) 
          ^
    /home/chris/Documents/wifi_adapter/rtl8812AU/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
       flush_signals(current);
       ^
    cc1: some warnings being treated as errors
    scripts/Makefile.build:308: recipe for target '/home/chris/Documents/wifi_adapter/rtl8812AU/core/rtw_cmd.o' failed
    make[2]: *** [/home/chris/Documents/wifi_adapter/rtl8812AU/core/rtw_cmd.o] Error 1
    Makefile:1550: recipe for target '_module_/home/chris/Documents/wifi_adapter/rtl8812AU' failed
    make[1]: *** [_module_/home/chris/Documents/wifi_adapter/rtl8812AU] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-26-generic'
    Makefile:1576: recipe for target 'modules' failed
    make: *** [modules] Error 2

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,999
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Wireless Driver Realtek rtl8812au Stopped Working

    I suggest that you try a different driver package.

    Code:
    sudo apt update
    sudo apt install git
    git clone https://github.com/gnab/rtl8812au.git
    sudo cp -r rtl8812au  /usr/src/rtl8812au-4.2.2
    sudo dkms add -m rtl8812au -v 4.2.2
    sudo dkms build -m rtl8812au -v 4.2.2
    sudo dkms install -m rtl8812au -v 4.2.2
    Reboot and tell us if the wireless is working.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #5
    Join Date
    Dec 2017
    Beans
    8

    Re: Wireless Driver Realtek rtl8812au Stopped Working

    Still no wireless connection, upon running the last step in your previous reply, I got a response saying something along the lines of
    "Good news, Module rtl8812au/4.2.2 already installed on kernel 4.13.0-26-generic/x86_64". (I foolishly did not copy the exact response). I believe that I had previously cloned that repo, when I was initially trying to get the adapter set up.


    After following the next step in that repo and running sudo dkms status:

    [13:10:16] ~
    // ♥ sudo dkms status
    amdgpu, 17.40-492261, 4.10.0-42-generic, x86_64: installed
    amdgpu, 17.40-492261, 4.4.0-67-generic, x86_64: installed
    ndiswrapper, 1.60, 4.10.0-42-generic, x86_64: installed
    ndiswrapper, 1.60, 4.4.0-67-generic, x86_64: installed
    rtl8812au, 4.2.2, 4.13.0-26-generic, x86_64: installed (WARNING! Diff between built and installed module!)
    rtl8812au, 5.1.5, 4.13.0-26-generic, x86_64: built
    rtl8812au, 5.1.5, 4.4.0-67-generic, x86_64: installed

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,999
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Wireless Driver Realtek rtl8812au Stopped Working

    Let's hit it with a bigger hammer:

    Code:
    sudo dkms remove -m rtl8812au -v 5.1.5  --all
    sudo dkms remove -m rtl8812au -v 4.2.2  --all
    We should be at a clean slate; check:
    Code:
    sudo dkms status
    There should be no rtl8812au entries at all.

    Now we install fresh:

    Code:
    rm -rf rtl8812au/
    git clone https://github.com/gnab/rtl8812au.git
    sudo cp -r rtl8812au  /usr/src/rtl8812au-4.2.2
    sudo dkms add -m rtl8812au -v 4.2.2
    sudo dkms build -m rtl8812au -v 4.2.2
    sudo dkms install -m rtl8812au -v 4.2.2
    Post any errors, warnings, smoke, sparks, etc.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #7
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,274
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Wireless Driver Realtek rtl8812au Stopped Working

    You may need to uninstall ndiswrapper, too.

  8. #8
    Join Date
    Dec 2017
    Beans
    8

    Thumbs up Re: Wireless Driver Realtek rtl8812au Stopped Working

    Alright no errors! Here is the output of dkms status:

    Code:
    [17:28:36] ~
    // ♥ sudo dkms status
    amdgpu, 17.40-492261, 4.10.0-42-generic, x86_64: installed
    amdgpu, 17.40-492261, 4.4.0-67-generic, x86_64: installed
    ndiswrapper, 1.60, 4.10.0-42-generic, x86_64: installed
    ndiswrapper, 1.60, 4.4.0-67-generic, x86_64: installed
    No sign of the driver

    The very last command did not throw an error, but did return an interesting response:

    Code:
    [17:30:28] ~
    // ♥ sudo dkms install -m rtl8812au -v 4.2.2
    
    
    8812au:
    Running module version sanity check.
    
    
    Good news! Module version v4.2.2_7502.20130517 for 8812au.ko
    exactly matches what is already found in kernel 4.13.0-26-generic.
    DKMS will not replace this module.
    You may override by specifying --force.
    
    
    depmod....
    
    
    DKMS: install completed.

    I am going to reboot now, and I will let you know the results!

  9. #9
    Join Date
    Dec 2017
    Beans
    8

    Re: Wireless Driver Realtek rtl8812au Stopped Working

    Okay, so not quite there. After the reboot I still don't have wifi connection but I ran sudo dkms status again and here is the result:

    Code:
    // ♥ sudo dkms status
    [sudo] password for chris: 
    amdgpu, 17.40-492261, 4.10.0-42-generic, x86_64: installed
    amdgpu, 17.40-492261, 4.4.0-67-generic, x86_64: installed
    ndiswrapper, 1.60, 4.10.0-42-generic, x86_64: installed
    ndiswrapper, 1.60, 4.4.0-67-generic, x86_64: installed
    rtl8812au, 4.2.2, 4.13.0-26-generic, x86_64: installed (WARNING! Diff between built and installed module!)

  10. #10
    Join Date
    Dec 2017
    Beans
    8

    Re: Wireless Driver Realtek rtl8812au Stopped Working

    Is there a way I can find out if removing the ndiswrapper will cause any conflicts?

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •