Peppermint OS

Support => Networking => Topic started by: spence on January 27, 2017, 03:01:35 pm

Title: new wifi usb drivers are... Realtek RTL8812AU chipset (RESOLVED x 14)
Post by: spence on January 27, 2017, 03:01:35 pm
oh well... looks like I managed to order something with Realtek drivers once again. The documentation reveals the included .tar only supports linux kernels thru 3.1. Is there a way to find an updated driver? I've been all over the web since this arrived.... I think my bald spot has doubled in size and my gray hair mass has tripled...   

I did locate the following... https://github.com/gnab/rtl8812au (https://github.com/gnab/rtl8812au) which gives me hope...

as well as this... http://askubuntu.com/questions/491263/installing-rtl8812au-linux-v4-2-0-6952-20130315-tar-gz (http://askubuntu.com/questions/491263/installing-rtl8812au-linux-v4-2-0-6952-20130315-tar-gz) hmmmm rebooting now... keeping fingers crossed...
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 01, 2017, 12:32:08 pm
Okay, now that all the Christmas holidaze stuff is packed away, I have time to focus on getting these drivers properly installed...

After finding this: http://askubuntu.com/questions/491263/installing-rtl8812au-linux-v4-2-0-6952-20130315-tar-gz (http://askubuntu.com/questions/491263/installing-rtl8812au-linux-v4-2-0-6952-20130315-tar-gz)
 I went thru the following steps, 

Code: [Select]
sudo apt install rtl8812au-dkms
rfkill list
sudo lshw -C network
iwlist scan
iwconfig
sudo apt-get install build-essential git
git clone https://github.com/gnab/rtl8812au.git
cd rtl8812au
make
sudo make install
sudo modprobe 8812au
sh
yet still have no "installed drivers" it seems... My apologies in advance for being a befuddled old man...
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 01, 2017, 01:31:14 pm
Any particular reason you're not just installing it via the repos:
Code: [Select]
sudo apt-get install rtl8812au-dkms?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 01, 2017, 01:37:04 pm
Any particular reason you're not just installing it via the repos:
Code: [Select]
sudo apt-get install rtl8812au-dkms?

It was the first thing I tried, top of that list from my bash history, didn't work/take or something...

Code: [Select]
spence@antec ~ $ sudo apt install rtl8812au-dkms
[sudo] password for spence:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
rtl8812au-dkms is already the newest version (4.3.8.12175.20140902+dfsg-0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

Code: [Select]
spence@antec ~ $ rfkill list
spence@antec ~ $ sudo lshw -C network
  *-network               
       description: Ethernet interface
       product: Ethernet Connection (2) I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 00
       serial: 70:85:c2:29:10:c2
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.2-4 ip=192.168.1.23 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:132 memory:df100000-df11ffff
spence@antec ~ $ iwlist scan
lo        Interface doesn't support scanning.

enp0s31f6  Interface doesn't support scanning.

spence@antec ~ $ iwconfig
lo        no wireless extensions.

enp0s31f6  no wireless extensions.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 01, 2017, 02:27:50 pm
Is this new wireless adapter USB ?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 01, 2017, 02:34:15 pm
Si Señor it is a wireless USB...
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 01, 2017, 02:37:08 pm
What's the output from:
Code: [Select]
lsusb?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 01, 2017, 02:39:46 pm
What's the output from:
Code: [Select]
lsusb ?

Code: [Select]
spence@antec ~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 001 Device 003: ID 0bda:0811 Realtek Semiconductor Corp.
Bus 001 Device 005: ID 07cc:0501 Carry Computer Eng., Co., Ltd Mass Storage
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 01, 2017, 03:02:15 pm
Okay (with a wired connection) run these commands in sequence:
Code: [Select]
sudo apt-get remove --purge rtl8812au-dkmsthen just in case
Code: [Select]
sudo dkms remove -m 8812au -v 4.2.2 --allthen
Code: [Select]
sudo apt-get install build-essential dkms gitthen
Code: [Select]
mkdir ~/RTL8812AUthen
Code: [Select]
cd ~/RTL8812AUthen
Code: [Select]
git clone https://github.com/gnab/rtl8812au.gitthen
Code: [Select]
sudo cp -R rtl8812au /usr/src/8812au-4.2.2then
Code: [Select]
sudo dkms add -m 8812au -v 4.2.2then
Code: [Select]
sudo dkms build -m 8812au -v 4.2.2then
Code: [Select]
sudo dkms install -m 8812au -v 4.2.2then
Code: [Select]
sudo modprobe -r 8812authen
Code: [Select]
sudo modprobe 8812auIf wireless didn't spring to life, post the output from:
Code: [Select]
lsmod | grep 8812and
Code: [Select]
sudo dkms statusand
Code: [Select]
sudo lshw -C networkand
Code: [Select]
modinfo 8812au | grep -i version
[EDIT]

On the off-chance they don't work, I think there's a more recent version here:
https://github.com/Grawp/rtl8812au_rtl8821au
and this link is here just for my possible future reference:
http://dustymabe.com/2016/01/24/802-11ac-on-linux-with-netgear-a6100-rtl8811au-usb-adapter/

and again JUST FOR REFERENCE, this command
Code: [Select]
sudo dkms remove -m 8812au -v 4.2.2 --allwill uninstall the 8812au-4.2.2 dkms driver you installed above .. but do not do this yet.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 01, 2017, 03:11:38 pm
ran smoothly until:

Code: [Select]
spence@antec ~/RTL8812AU $ git clone https://github.com/gnab/rtl8812au.git
Cloning into 'rtl8812au'...
remote: Counting objects: 515, done.
remote: Total 515 (delta 0), reused 0 (delta 0), pack-reused 514
Receiving objects: 100% (515/515), 1.62 MiB | 1.40 MiB/s, done.
Resolving deltas: 100% (202/202), done.
Checking connectivity... done.
spence@antec ~/RTL8812AU $ sudo cp -R rtl8812au /usr/src/8812au-4.2.2
spence@antec ~/RTL8812AU $ sudo dkms add -m 8812au -v 4.2.2

Creating symlink /var/lib/dkms/8812au/4.2.2/source ->
                 /usr/src/8812au-4.2.2

DKMS: add completed.
spence@antec ~/RTL8812AU $ sudo dkms build -m 8812au -v 4.2.2

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
'make' all.........
cleaning build area....

DKMS: build completed.
spence@antec ~/RTL8812AU $ sudo dkms install -m 8812au -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.4.0-59-generic.
DKMS will not replace this module.
You may override by specifying --force.

depmod....

DKMS: install completed.
spence@antec ~/RTL8812AU $ sudo modpobe -r 8812au
sudo: modpobe: command not found
spence@antec ~/RTL8812AU $ sudo modpobe 8812au
sudo: modpobe: command not found
spence@antec ~/RTL8812AU $

here's what you asked for:

Code: [Select]
spence@antec ~/RTL8812AU $ lsmod | grep 8812
spence@antec ~/RTL8812AU $ sudo dkms status
8812au, 4.2.2, 4.4.0-59-generic, x86_64: installed (WARNING! Diff between built and installed module!)
spence@antec ~/RTL8812AU $ sudo lshw -C network.
spence@antec ~/RTL8812AU $ modinfo 8812au | grep -i version
version:        v4.2.2_7502.20130517
srcversion:     86A0F0E9D0592F171DD97D4
vermagic:       4.4.0-59-generic SMP mod_unload modversions
parm:           rtw_chip_version:int
spence@antec ~/RTL8812AU $

Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 01, 2017, 03:25:26 pm
Sorry typos .. missed out an "r" in one command, and added an "." in another :-[ .. try
Code: [Select]
sudo modprobe -r 8812authen
Code: [Select]
sudo modprobe 8812auIf wireless didn't spring to life, post the output from:
Code: [Select]
lsmod | grep 8812and
Code: [Select]
sudo dkms statusand
Code: [Select]
sudo lshw -C networkand
Code: [Select]
modinfo 8812au | grep -i version
[EDIT]

Also fixed in original instructions now.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 01, 2017, 03:39:16 pm
my coffee deprived brain didn't catch the missspellinghk dahlinghk

Code: [Select]
spence@antec ~ $ sudo modprobe -r 8812au
[sudo] password for spence:
spence@antec ~ $ sudo modprobe 8812au
spence@antec ~ $ lsmod | grep 8812
8812au                991232  0
spence@antec ~ $ sudo dkms status
8812au, 4.2.2, 4.4.0-59-generic, x86_64: installed (WARNING! Diff between built and installed module!)
spence@antec ~ $ sudo lshw -C network
  *-network               
       description: Ethernet interface
       product: Ethernet Connection (2) I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 00
       serial: 70:85:c2:29:10:c2
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.2-4 ip=192.168.1.23 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:132 memory:df100000-df11ffff
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@1:4
       logical name: enp0s20f0u4
       serial: 16:88:11:c3:6d:b9
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8812au ip=192.168.1.8 multicast=yes wireless=IEEE 802.11bgn
spence@antec ~ $ modinfo 8812au | grep -i version
version:        v4.2.2_7502.20130517
srcversion:     86A0F0E9D0592F171DD97D4
vermagic:       4.4.0-59-generic SMP mod_unload modversions
parm:           rtw_chip_version:int

Wifi sprang to life after modprobes, but there's a warning in there, should we worry?

Code: [Select]
spence@antec ~ $ sudo dkms status
8812au, 4.2.2, 4.4.0-59-generic, x86_64: installed (WARNING! Diff between built and installed module!)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 01, 2017, 04:11:02 pm
No, that warning shouldn't be a problem (although I'm not getting it).

Though I'm pretty sure you should have a later kernel than "59" .. I'm on "62" .. so you might want to run a FULL system update and reboot.

then post the output from:
Code: [Select]
sudo dkms statusagain.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 01, 2017, 04:27:56 pm
Code: [Select]
spence@antec ~ $ sudo apt update
[sudo] password for spence:
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]   
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]   
Hit:4 http://ppa.launchpad.net/peppermintos/p7-respin/ubuntu xenial InRelease 
Hit:5 http://ppa.launchpad.net/peppermintos/p7-release/ubuntu xenial InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB] 
Hit:7 http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu xenial InRelease
Fetched 306 kB in 0s (347 kB/s)                         
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

spence@antec ~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

spence@antec ~ $ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done

spence@antec ~ $ uname -a
Linux antec 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

spence@antec ~ $ sudo dkms status
8812au, 4.2.2, 4.4.0-59-generic, x86_64: installed (WARNING! Diff between built and installed module!)




Otherwise, all done...
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED]
Post by: Slim.Fatz on February 02, 2017, 12:54:04 am
Hi spence and PCNetSpec,

I too have only kernel 4.4.0-59 and find no mention of kernel 4.4.0-62 ... :-\ Not sure where PCNetSpec dug that one up ...

Regards,

-- Slim
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED]
Post by: zebedeeboss on February 02, 2017, 01:08:32 am
Hi spence and PCNetSpec,

I too have only kernel 4.4.0-59 and find no mention of kernel 4.4.0-62 ... :-\ Not sure where PCNetSpec dug that one up ...

Regards,

-- Slim

Ditto
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED]
Post by: perknh on February 02, 2017, 02:16:04 am
Hi spence and PCNetSpec,

I too have only kernel 4.4.0-59 and find no mention of kernel 4.4.0-62 ... :-\ Not sure where PCNetSpec dug that one up ...

Regards,

-- Slim

Ditto

Redittoredittoledee --kernel 4.4.0-59!  ;)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED]
Post by: PCNetSpec on February 02, 2017, 05:01:55 am
My apologies, I have the "xenial-proposed" repos enabled.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 02, 2017, 09:18:00 am
Hi spence and PCNetSpec,

I too have only kernel 4.4.0-59 and find no mention of kernel 4.4.0-62 ... :-\ Not sure where PCNetSpec dug that one up ...

me neither, just immediately assumed i was doing the update wrong  :( because that's my default position until i quit considering myself a n00b  ::)
I'll just assume since PCNetSpec is testing things he has advanced access to kernels... mint update isn't offering it to me yet  ;)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 02, 2017, 09:22:03 am
Whelp, I must have done one too many happy dances yesterday... the RTL8812AU drivers survived two reboots, but not a 3rd. The light is on as if the USB dongle is broadcasting, but no networks are available with a left click on the taskbar icon... I'll go back and try PCNetSpec's recommendations from the last set of drivers in a bit unless somebody tells me not to whilst I go have lunch...

So, I just did
Code: [Select]
sudo pluma /etc/modprobe.d/rtl8812au.conf and inserted
Code: [Select]
options rtl8812au fwlps=0 ips=0and will now reboot...

a reboot offered no change in wifi status, no wifi shown with a left click in network icon in task bar, yet the light on USB was on... just for giggles, removed USB and inserted in a different slot... I now have wifi... hmmm

Code: [Select]
spence@antec ~ $ ls -a /etc/NetworkManager/system-connections
.  ..  Antec Ethernet  Antec WiFi

I think I'll wait a few days before I mark this as solved again...

Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 02, 2017, 11:13:37 am
My apologies, I have the "xenial-proposed" repos enabled.

fwiw, mint update just handed me the 4.4.0-62 kernel, now will USB wifi survive a reboot  ;;)

 aaaaaaannnd, NOPE
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 02, 2017, 11:34:28 am
Hmm...

What's the output from:
Code: [Select]
sudo dkms status
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 02, 2017, 01:19:13 pm
Code: [Select]
spence@antec ~ $ sudo dkms status
[sudo] password for spence:
8812au, 4.2.2, 4.4.0-59-generic, x86_64: installed (WARNING! Diff between built and installed module!)
8812au, 4.2.2, 4.4.0-62-generic, x86_64: installed
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 02, 2017, 01:20:55 pm
strange...

Does:
Code: [Select]
sudo modprobe 8812aukick wireless awake ?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 02, 2017, 01:24:49 pm
Code: [Select]
spence@antec ~ $ sudo modprobe 8812au
modprobe: ERROR: could not insert '8812au': Exec format error
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 02, 2017, 01:38:05 pm
Okay back to the beginning...

What happens of you run:
Code: [Select]
sudo dkms remove -m 8812au -v 4.2.2 --allthen
Code: [Select]
sudo rm -rv /usr/src/8812au-4.2.2then
Code: [Select]
sudo apt-get install rtl8812au-dkmsthen
Code: [Select]
sudo modprobe 8812audoes wireless spring to life, or do you still get an error ?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 02, 2017, 01:52:01 pm
no error, nor any wifi springing to life... also no light on the usb dongle... lemme reboot
 reboot froze on the bios select screen, REISUB/O didn't work... hadta do a hard reset... still no wifi

Code: [Select]
spence@antec ~ $ sudo modprobe 8812au
spence@antec ~ $
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 02, 2017, 02:07:36 pm
what's the output from:
Code: [Select]
sudo lshw -C networkand
Code: [Select]
sudo rfkill listand
Code: [Select]
lsmod | grep 8812
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 02, 2017, 02:21:22 pm
Code: [Select]
spence@antec ~ $ sudo lshw -C network

  *-network               
       description: Ethernet interface
       product: Ethernet Connection (2) I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 00
       serial: 70:85:c2:29:10:c2
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.2-4 ip=192.168.1.23 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:125 memory:df100000-df11ffff
spence@antec ~ $ sudo rfkill list
spence@antec ~ $ lsmod | grep 8812
8812au                905216  0
 
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 02, 2017, 02:24:26 pm
Code: [Select]
spence@antec ~ $ modinfo 8812au | grep -i version
version:        v4.3.8_12175.20140902
srcversion:     5E9D12706FAF7E2BB4F284E
vermagic:       4.4.0-62-generic SMP mod_unload modversions
parm:           rtw_chip_version:int
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 02, 2017, 02:52:44 pm
okay run:
Code: [Select]
sudo apt-get remove --purge rtl8812au-dkmsthen
Code: [Select]
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgradethen REBOOT.

Once rebooted, run:
Code: [Select]
modinfo 8812auand as long as you get
Quote
modinfo: ERROR: Module 8812au not found.
run:
Code: [Select]
sudo rm -rv ~/RTL8812AUthen follow the instructions here again
https://forum.peppermintos.com/index.php/topic,5018.msg50284.html#msg50284
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 02, 2017, 03:21:36 pm
It didn't spring to life until after after I moved USB dongle to a different slot. I leave it be for now, perhaps next go round, I'll be repeating with the "possibly newer version" at the bottom of the last set of instructions...

Spoiler (click here to view / hide)
[close]
Wifi didn't survive reboot, but revived upon moving to a different slot
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 02, 2017, 03:49:57 pm
So is it working now ?

It looks like the "newer version" is the same one from the repos, which didn't work earlier but may have just been the USB slot.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 02, 2017, 04:19:57 pm
its working... but not gonna mark it solved just yet...  :-\

Might I also assume I'll need to go thru these motions with each upgrade of the kernel?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 02, 2017, 04:45:28 pm
Theoretically NO, that's supposed to be the whole point of dkms (they get recompiled automatically against a new kernel) .. dunno what went wrong the last time though.

If they stop working after the next kernel upgrade, see if just running:
Code: [Select]
sudo dkms build -m 8812au -v 4.2.2
sudo dkms install -m 8812au -v 4.2.2
fixes things.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 02, 2017, 05:41:57 pm
Well vinDSL just invited us all to update our kernels to 4.9.7 ... but think I'mma gonna wait... sorta drained today  ;)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 02, 2017, 05:49:59 pm
Stick with the default kernel unless you have a specific reason to change .. if you manually install 4.9 you'll have to manually stay on top of security patches.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on February 04, 2017, 11:43:02 am
Happpy to report relatively working wifi over the last few days. Each time I boot or reboot though, I have to pull out then re-insert the USB dongle. Seem to recollect reading something about the power down command along the way messing with Realtek chipsets...

Also noted that I now have two folders related to the RTL8812AU in my home folders now... which I perhaps need help clearing out after recollecting where they're supposed to be located?...
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on February 04, 2017, 01:16:16 pm
You can delete those directories if you like
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on February 06, 2017, 08:59:08 pm
Those directories are deleted/removed. Gonna mark this as reSOLVED, as I'm letting myself become accustomed to letting the desktop stay turned on and allowing the powe management settings to put it into hibernation/suspend. The wifi dongle remains connected to the wifi network when returning from that state w/o having to be pulled out and plugged back in. I'll start a new thread if I begin having more issues with it later.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: Gunnvald on June 01, 2017, 10:09:05 am
just to mention , i needed to make a openssl key to do modprobe under secure boot.
https://askubuntu.com/questions/762254/why-do-i-get-required-key-not-available-when-install-3rd-party-kernel-modules/769840#769840?newreg=18d89d086288441fb26ef06f60094e47
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on June 01, 2017, 10:29:48 am
Thanks for the additional info Gunnvald, and welcome to the madhouse forum :)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on July 03, 2017, 10:32:30 pm
 :o Well, I am quite frankly, stunned :o updated my Antec Aria desktop rebuild to Peppermint 8 two days ago with an ethernet connection. Wasn't expecting the wifi usb dongle to work without some fanagling. Turned it on this evening and noticed the blue light indicated it was working. Voila! I'm typing over the wifi network once again, without having to pester PCNetSpec... #KOW  8)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on August 02, 2017, 01:57:21 pm
Seems a storm knocked out our power while we were away and the wireless WiFi usb dongle may have suffered...
Any particular reason you're not just installing it via the repos:
Code: [Select]
sudo apt-get install rtl8812au-dkms?

Decided to go back t this thread to see if I could get it fired up once again... but first intruction turned up an error:

Code: [Select]
spence@antec ~ $ sudo apt-get install rtl8812au-dkms

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  thermald
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  rtl8812au-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,024 kB of archives.
After this operation, 7,778 kB of additional disk space will be used.
Get:1 http://mx.archive.ubuntu.com/ubuntu xenial/universe amd64 rtl8812au-dkms all 4.3.8.12175.20140902+dfsg-0ubuntu2 [1,024 kB]
Fetched 1,024 kB in 1s (779 kB/s)         
Selecting previously unselected package rtl8812au-dkms.
(Reading database ... 273057 files and directories currently installed.)
Preparing to unpack .../rtl8812au-dkms_4.3.8.12175.20140902+dfsg-0ubuntu2_all.deb ...
Unpacking rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu2) ...
Setting up rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu2) ...
Loading new rtl8812au-4.3.8.12175.20140902+dfsg DKMS files...
First Installation: checking all kernels...
Building only for 4.10.0-28-generic
Building initial module for 4.10.0-28-generic
Error! Bad return status for module build on kernel: 4.10.0-28-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/make.log for more information.

Now to study reast of previous instructions  ::)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 02, 2017, 02:09:47 pm
As I plow thru the prvious set of intructions I realize I'm making one mistake...  but the terminal output provides a sigh of relief as it says:

Code: [Select]
spence@antec ~/RTL8812AU $ sudo dkms install -m 8812au -v 4.3.8

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.10.0-28-generic.
DKMS will not replace this module.
You may override by specifying --force.

depmod....

DKMS: install completed.

Meanwhile, here's the rest of what I had done... and will now redo in a bit with proper kernel info...  ::)

Spoiler (click here to view / hide)
[close]


Even as i scratch my concussioned head about modprobe?

Code: [Select]
spence@antec ~/RTL8812AU $ sudo modpobe -r 8812au
sudo: modpobe: command not found
spence@antec ~/RTL8812AU $ sudo modpobe 8812au
sudo: modpobe: command not found

ahhh, see mispelling
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 02, 2017, 02:27:31 pm
lets see if I got things right this go round

Spoiler (click here to view / hide)
[close]

rebooting now... hmmmphff
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on August 02, 2017, 04:11:33 pm
What's the output from:
Code: [Select]
sudo dkms remove 8812au/4.2.2 --allthen
Code: [Select]
sudo dkms install 8812au/4.2.2then
Code: [Select]
sudo modprobe 8812au
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 02, 2017, 04:40:32 pm
What's the output from:
Code: [Select]
sudo dkms remove 8812au/4.2.2 --all

Code: [Select]
spence@antec ~ $ sudo dkms remove 8812au/4.2.2 --all
[sudo] password for spence:

-------- Uninstall Beginning --------
Module:  8812au
Version: 4.2.2
Kernel:  4.10.0-28-generic (x86_64)
-------------------------------------

Status: This module version was INACTIVE for this kernel.
depmod....

DKMS: uninstall completed.

-------- Uninstall Beginning --------
Module:  8812au
Version: 4.2.2
Kernel:  4.8.0-58-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

8812au.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.8.0-58-generic/kernel/drivers/net/wireless/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 4.2.2
completely from the DKMS tree.
------------------------------
Done.

Quote from: PCNetSpec
then
Code: [Select]
sudo dkms install 8812au/4.2.2
Code: [Select]
Creating symlink /var/lib/dkms/8812au/4.2.2/source ->
                 /usr/src/8812au-4.2.2

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
'make' all..........
cleaning build area....

DKMS: build completed.

8812au.ko:
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.10.0-28-generic.
DKMS will not replace this module.
You may override by specifying --force.

depmod....

DKMS: install completed.


Quote from: PCNetSpec
then
Code: [Select]
sudo modprobe 8812au

Code: [Select]
spence@antec ~ $ sudo modprobe 8812au
modprobe: ERROR: could not insert '8812au': Exec format error
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on August 02, 2017, 04:48:31 pm
Connect with an ethernet cable, then....

Run:
Code: [Select]
sudo modprobe -r 8812authen
Code: [Select]
sudo dkms remove 8812au/4.2.2 --allthen
Code: [Select]
sudo rm -vr /usr/src/8812au-4.2.2then
Code: [Select]
sudo apt-get remove --purge rtl8812au-dkmsthen
Code: [Select]
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgradethen REBOOT.

Once rebooted, run:
Code: [Select]
sudo rm -rv ~/RTL8812AUthen
Code: [Select]
mkdir ~/RTL8812AUthen
Code: [Select]
cd ~/RTL8812AUthen
Code: [Select]
git clone https://github.com/gnab/rtl8812au.gitthen
Code: [Select]
sudo cp -R rtl8812au /usr/src/8812au-4.2.2then
Code: [Select]
sudo dkms add -m 8812au -v 4.2.2then
Code: [Select]
sudo dkms build -m 8812au -v 4.2.2then
Code: [Select]
sudo dkms install -m 8812au -v 4.2.2then
Code: [Select]
sudo modprobe 8812auDid it work this time ?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 02, 2017, 05:18:29 pm
Here's the first half... rebooting in a sec...

Spoiler (click here to view / hide)
[close]
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on August 02, 2017, 05:21:09 pm
looks okay so far
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 02, 2017, 05:28:03 pm
still no go... last three instruction results are trying to tell us something...

Spoiler (click here to view / hide)
[close]
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on August 02, 2017, 05:45:38 pm
What does
Code: [Select]
sudo dkms install --force -m 8812au -v 4.2.2return ?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 02, 2017, 05:49:52 pm
What does
Code: [Select]
sudo dkms install --force -m 8812au -v 4.2.2return ?

Code: [Select]
spence@antec ~ $ sudo dkms install --force -m 8812au -v 4.2.2
[sudo] password for spence:
Module 8812au/4.2.2 already installed on kernel 4.10.0-28-generic/x86_64

meanwhile another thread elsewhere... https://github.com/abperiasamy/rtl8812AU_8821AU_linux/issues/84 (https://github.com/abperiasamy/rtl8812AU_8821AU_linux/issues/84) led me to query this: note the mismatch in line 3

Code: [Select]
spence@antec ~ $ dmesg | tail
[    7.174608] audit: type=1400 audit(1501720145.983:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/ntpd" pid=752 comm="apparmor_parser"
[    7.175165] audit: type=1400 audit(1501720145.983:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=751 comm="apparmor_parser"
[    7.891423] 8812au: version magic '4.8.0-58-generic SMP mod_unload modversions ' should be '4.10.0-28-generic SMP mod_unload '
[    8.541619] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[    8.725689] IPv6: ADDRCONF(NETDEV_UP): enp0s31f6: link is not ready
[   10.550088] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   10.550089] Bluetooth: BNEP filters: protocol multicast
[   10.550090] Bluetooth: BNEP socket layer initialized
[   11.615764] e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   11.615810] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s31f6: link becomes ready




Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on August 02, 2017, 05:55:35 pm
I'll have to pick this up tomorrow spence .. need sleep.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 02, 2017, 06:09:45 pm
I'll have to pick this up tomorrow spence .. need sleep.

no problemo good buddy... buenos sueños mi amigo :-*
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on August 03, 2017, 04:58:50 am
Can you post the output from
Code: [Select]
uname -a?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 03, 2017, 02:48:41 pm
Can you post the output from
Code: [Select]
uname -a?

Code: [Select]
Linux antec 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on August 03, 2017, 03:52:40 pm
Hmm, what the heck is going on here then :-\

What's the output from:
Code: [Select]
dpkg -l | grep 4.8.0and
Code: [Select]
dpkg -l | grep 4.10.0and
Code: [Select]
dkms status
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 03, 2017, 06:02:20 pm
Beats me...

Code: [Select]
spence@antec ~ $ dpkg -l | grep 4.8.0
ii  linux-headers-4.8.0-58                 4.8.0-58.63~16.04.1                             all          Header files related to Linux kernel version 4.8.0
ii  linux-headers-4.8.0-58-generic         4.8.0-58.63~16.04.1                             amd64        Linux kernel headers for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-53-generic           4.8.0-53.56~16.04.1                             amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
ii  linux-image-4.8.0-58-generic           4.8.0-58.63~16.04.1                             amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-53-generic     4.8.0-53.56~16.04.1                             amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii  linux-image-extra-4.8.0-58-generic     4.8.0-58.63~16.04.1                             amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP


spence@antec ~ $ dpkg -l | grep 4.10.0
ii  linux-headers-4.10.0-28                4.10.0-28.32~16.04.2                            all          Header files related to Linux kernel version 4.10.0
ii  linux-headers-4.10.0-28-generic        4.10.0-28.32~16.04.2                            amd64        Linux kernel headers for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-4.10.0-27-generic          4.10.0-27.30~16.04.2                            amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-4.10.0-28-generic          4.10.0-28.32~16.04.2                            amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-27-generic    4.10.0-27.30~16.04.2                            amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-extra-4.10.0-28-generic    4.10.0-28.32~16.04.2                            amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP


spence@antec ~ $ dkms status
8812au, 4.10.0, 4.10.0-28-generic, x86_64: built
8812au, 4.2.2, 4.10.0-28-generic, x86_64: installed (WARNING! Diff between built and installed module!)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 03, 2017, 06:03:51 pm
Other than that telling me I have more header files than actual kernels installed... :-\

Update manager > View Kernels tells me I only have 4.8.o-58 & 4.10.0-28  installed
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on August 04, 2017, 06:39:07 am
Try:
Code: [Select]
sudo dkms remove 8812au/4.10.0 --allthen
Code: [Select]
sudo dkms remove 8812au/4.2.2 --allthen
Code: [Select]
sudo apt-get remove --purge linux-headers-4.8.0-58 linux-headers-4.8.0-58-generic linux-image-4.8.0-53-generic linux-image-4.8.0-58-generic linux-image-extra-4.8.0-53-generic linux-image-extra-4.8.0-58-genericthen
Code: [Select]
sudo dkms install 8812au/4.2.2then
Code: [Select]
sudo modprobe 8812au?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 04, 2017, 07:08:40 am
Spoiler (click here to view / hide)
[close]

Same ultimate result.... but this stands out to me
Code: [Select]
Good news! Module version v4.2.2_7502.20130517 for 8812au.ko
exactly matches what is already found in kernel 4.10.0-28-generic.
DKMS will not replace this module.
You may override by specifying --force.

though it does nothing for me...
Code: [Select]
spence@antec ~ $ sudo dkms install 8812au/4.2.2 --force
[sudo] password for spence:
Module 8812au/4.2.2 already installed on kernel 4.10.0-28-generic/x86_64
spence@antec ~ $ sudo dkms install --force 8812au/4.2.2 --force
Module 8812au/4.2.2 already installed on kernel 4.10.0-28-generic/x86_64
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on August 04, 2017, 07:31:31 am
run:
Code: [Select]
sudo dkms remove 8812au/4.2.2 --allnow what's the output from:
Code: [Select]
sudo dkms statusand
Code: [Select]
ls /usr/srcand
Code: [Select]
modinfo 8812au
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 04, 2017, 07:45:07 am
Spoiler (click here to view / hide)
[close]
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on August 04, 2017, 07:48:59 am
what's the output from:
Code: [Select]
sudo dkms remove 8812au/4.10.0 --alland
Code: [Select]
sudo dkms remove 8812au/4.3.8 --all
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 04, 2017, 07:53:20 am
Code: [Select]
spence@antec ~ $ sudo dkms remove 8812au/4.10.0 --all

Error! There are no instances of module: 8812au
4.10.0 located in the DKMS tree.

spence@antec ~ $ sudo dkms remove 8812au/4.3.8 --all

Error! There are no instances of module: 8812au
4.3.8 located in the DKMS tree.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: PCNetSpec on August 04, 2017, 07:59:34 am
Okay run:
Code: [Select]
sudo rm -rv /usr/src/8812au-4.10.0then
Code: [Select]
sudo rm -rv /usr/src/8812au-4.3.8then
Code: [Select]
sudo rmmod 8812authen
Code: [Select]
sudo rm -v /lib/modules/4.10.0-28-generic/kernel/drivers/net/wireless/8812au.kothen
Code: [Select]
sudo depmod -athen
Code: [Select]
sudo dkms install 8812au/4.2.2then what's the output (if any) from:
Code: [Select]
sudo modprobe 8812au?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 04, 2017, 08:53:28 am
We got no errors this go around...  let me reboot...

Spoiler (click here to view / hide)
[close]
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [reSOLVED]
Post by: spence on August 04, 2017, 08:56:03 am
 :-* yippie yippy yi... yippy yo yo yo...  :-*

Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [Re-re SOLVED]
Post by: PCNetSpec on August 04, 2017, 09:02:58 am
Okay write this down...

From now on, if a kernel update breaks wireless, just run:
Code: [Select]
sudo rmmod 8812authen
Code: [Select]
sudo rm -v sudo rm -v /lib/modules/4.10.0-28-generic/kernel/drivers/net/wireless/8812au.kothen
Code: [Select]
sudo depmod -athen
Code: [Select]
sudo dkms remove 8812au/4.2.2 --allthen
Code: [Select]
sudo dkms install 8812au/4.2.2then
Code: [Select]
sudo modprobe 8812auand you should have wireless back

No need to connect to anything by ethernet cable, and don't worry if you get errors from the first 2 commands (the last 3 commands would probably be sufficient, but run all 6 anyway).
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x3]
Post by: spence on August 24, 2017, 10:46:34 am
that last bit worked perfectly... once i moved my wifi dongle to a USB 3.0 slot    ::)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x3]
Post by: PCNetSpec on August 24, 2017, 12:36:35 pm
Great stuff :)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x3]
Post by: spence on August 29, 2017, 01:26:25 pm
Great stuff :)

It truly is... then a new kernel arrived hours later... and voila i was once again flying on the wifi... #licketySplit

 :-*
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x3]
Post by: spence on September 23, 2017, 01:52:05 pm
Sadly, today's  file transfer & syztem wide fresh has corrupted my wifi ... have already run thru our previously discoveted set of commands twice, reboiting each time... while the Antec desktop sees our wifi networks, it refuses to connect to them...

 :-\
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x3]
Post by: PCNetSpec on September 23, 2017, 02:29:20 pm
Try rebooting the router .. or wait for the lease to expire.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x3]
Post by: spence on September 24, 2017, 10:19:37 am
Try rebooting the router .. or wait for the lease to expire.

hmmmmm, chain is feeling a tad sore  ::)
Too much yanking? Perhaps?  8)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x4]
Post by: spence on September 24, 2017, 10:29:59 am
 :o weirdness, router reboot didn't help, but moving the USB dongle to a different spot did.

 #SometimesItsTheSimpleThing
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x6]
Post by: spence on February 05, 2018, 06:28:53 pm
 ;) and your instructions worked flawlessly once again... :-*

Even more happily, the wifi dongle works on its own after reboot without needing to be removed/reinserted  :-*

Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x6]
Post by: spence on February 22, 2018, 02:12:00 pm
 :)Happy to report that the Realtek RTL8812AU drivers survived their first kernel upgrade with no additional triage necessary by me...   8)  just brilliant
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x6]
Post by: PCNetSpec on February 22, 2018, 03:23:48 pm
Cool 8)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x6]
Post by: spence on June 09, 2018, 06:43:12 pm
And our Good Liege @PCNetSpec will heave a huge sigh of relief knowing that the Realtek RTL8812AU chipset drivers worked flawlessly when installed directly from the repositories in the latest respin...  

Code: [Select]
sudo apt-get install rtl8812au-dkms
 :-*
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x6]
Post by: PCNetSpec on June 10, 2018, 03:16:43 pm
Nice :)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on July 02, 2018, 11:30:08 am
Well today's kernel update broke the wifi's Realtek drivers again... the log file tells me...

Code: [Select]
System 8812au: version magic '4.15.0-23-generic SMP mod_unload " should be "4.15.0-24-generic SMP mod_unload "

leading me to hunt for the file to change it... discovered all the drivers down in /usr /src

or would it be better to just uninstall and reinstall wifi drivers?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x6]
Post by: spence on July 02, 2018, 11:50:45 am
will take a bit to get you that info... gotta move computers to get near the router for the ethernet cord...
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: PCNetSpec on July 02, 2018, 12:15:30 pm
or would it be better to just uninstall and reinstall wifi drivers? [/color]

Probably .. give it a shot.

it is the dkms driver you have right ?
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x7]
Post by: spence on July 02, 2018, 12:18:20 pm
Code: [Select]
sudo apt remove --purge rtl8812au-dkms
sudo apt install rtl8812au-dkms

reboot, working fine now... much simpler than locating where that line of code was to be found...
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x8]
Post by: spence on December 15, 2018, 12:39:24 pm
 ;)  just saving the terminal output here...

Spoiler (click here to view / hide)
[close]

Happy to report all working as intended after my most recent kernel update... ... ...

 8)

Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x7]
Post by: PCNetSpec on December 15, 2018, 05:39:12 pm
Nice :)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x9]
Post by: spence on March 15, 2020, 12:16:40 pm
 :(    :(    >:(

And now it's time once again to figure out what's going on with my wifi dongle with the Realtek RTL8812AU chipset. Y'all mind helping out this befuddled old cloudy brained trusted user?

When I follow thru with @PCNetSpec's original instructions I get:


  (https://imgur.com/hfWIlfjl.png)
 (https://i.imgur.com/hfWIlfj.png)

The dongle used to spring to life before the flip to the 5.0 linux kernels... I have a feeling I need to delete some or all of these


  (https://imgur.com/zqr4yqIl.png) (https://i.imgur.com/zqr4yqI.png)

and now I find:    >:(

Code: [Select]
spence@antex ~ $ sudo modprobe rtl8812au
modprobe: ERROR: could not insert 'rtl8812au': Device or resource busy

since migrating to that kernel I've had the dongle work for a bout 20 minutes 17 days ago. and it had been about 20 days before that since the move to 5.0 kernels. 5.0 kernel swith has also prevented me from moving back to an earlier kernel. I'm about to do a fresh install with Peppermint 10, but am loathe to abandon my large swath of SSBs that will need to be reinstalled.

I need a breather and am walking away from the computer... might even brave a retail outlet or two today...

no worries, I took my vitamin C, 15,000 mg so far today

 8)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x9]
Post by: murraymint on March 15, 2020, 02:49:57 pm


When I follow thru with @PCNetSpec's original instructions I get:

When I type the same commands I get
Code: [Select]
$ sudo dkms add -m 8812au -v 4.2.2

Creating symlink /var/lib/dkms/8812au/4.2.2/source ->
                 /usr/src/8812au-4.2.2

DKMS: add completed.

Something weird is going on there. Try deleting that folder and starting the whole process over again.
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x9]
Post by: spence on March 16, 2020, 10:34:17 am

Something weird is going on there. Try deleting that folder and starting the whole process over again.

You can say that again @murraymint...  i deleted the dkms and the rtl8812au folders.... there's an interesting bit in the terminal output:

Code: [Select]
spence@antex ~ $ sudo apt install rtl8812au-dkms
... ... ...
8812au:
Running module version sanity check.

Good news! Module version v4.3.8_12175.20140902 for 8812au.ko
exactly matches what is already found in kernel 5.3.0-28-generic.
DKMS will not replace this module.
You may override by specifying --force.

depmod...

DKMS: install completed.

yet I still get:

Code: [Select]
spence@antex ~ $ sudo modprobe rtl8812au
modprobe: ERROR: could not insert 'rtl8812au': Device or resource busy

 


Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x9]
Post by: murraymint on March 16, 2020, 10:52:30 pm
Try this:

Code: [Select]
sudo modprobe -r 8812au
sudo modprobe rtl8812au


link for future reference to make this permanent:
https://unix.stackexchange.com/questions/246868/error-inserting-module-device-or-resource-busy
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x10]
Post by: spence on March 17, 2020, 11:57:45 am
Still a no go on PMX... so in order to verify my wifi dongle isn't the zero wifi culprit, I reinstalled PMVIII... and my wifi sprang to life with the original instructions from @PCNetSpec. I think I'll install PMIX too, that way I'll have all three of the not yet EOL versions on my desktop to help future forum users with their triage queries.

 ;)     :)     8)


Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset
Post by: spence on March 17, 2020, 12:47:42 pm
And to further verify that something upstream changed drastically with the jump from 4.XX to 5.XX kernels, I just finished installing PMIX, these instructions worked flawlessly:

 ;)

Okay (with a wired connection) run these commands in sequence:
Code: [Select]
sudo apt-get remove --purge rtl8812au-dkmsthen just in case
Code: [Select]
sudo dkms remove -m 8812au -v 4.2.2 --allthen
Code: [Select]
sudo apt-get install build-essential dkms gitthen
Code: [Select]
mkdir ~/RTL8812AUthen
Code: [Select]
cd ~/RTL8812AUthen
Code: [Select]
git clone https://github.com/gnab/rtl8812au.gitthen
Code: [Select]
sudo cp -R rtl8812au /usr/src/8812au-4.2.2then
Code: [Select]
sudo dkms add -m 8812au -v 4.2.2then
Code: [Select]
sudo dkms build -m 8812au -v 4.2.2then
Code: [Select]
sudo dkms install -m 8812au -v 4.2.2then
Code: [Select]
sudo modprobe -r 8812authen
Code: [Select]
sudo modprobe 8812auIf wireless didn't spring to life, post the output from:
Code: [Select]
lsmod | grep 8812and
Code: [Select]
sudo dkms statusand
Code: [Select]
sudo lshw -C networkand
Code: [Select]
modinfo 8812au | grep -i version

I've been resisting just going ahead and reinstalling PMX, as I have a large swath of SSBs that will need re-creation. I'm just not feeling up to the challenge, effort and time right now.  

 8)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset (RESOLVED x 11)
Post by: spence on March 17, 2020, 04:42:21 pm
And suddenly, it dawned upon me that I could have more than one install of PMX on my desktop at a time. So this would triage wifi dongle on PMX Respin's original 5.0.0-37-generic kernel.

@PCNetSpec's original query:

Any particular reason you're not just installing it via the repos:
Code: [Select]
sudo apt-get install rtl8812au-dkms?

Returns this:
Code: [Select]
spence@antec ~ $ sudo apt-get install rtl8812au-dkms
[sudo] Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package rtl8812au-dkms

 :o

Which will lead me on some further research for this kernel, or ponder stepping back to the latest 4.xx kernel.

 :-\

I am done for today... y'all play nice and stay safe out there.

Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset (RESOLVED x 12)
Post by: spence on March 18, 2020, 09:19:11 am
So I wasn't completely losing my mind!!! The WiFi dongle with the Realtek drivers was able to work, with @PCNetSpec's original set of instructions, on the original PMX 5.0.0-37-generic kernel.
 :D

I'm just not going to allow this partition's install to move offa this kernel. Meanwhile I need to ponder how to remove all the networking code fiddling I did on my main PMX install with my entire swath of SSBs.  

 :-\
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset (RESOLVED x 12)
Post by: spence on March 18, 2020, 12:19:53 pm
Well, now that Tucson Arizona is effectively closed, (no bars nor restaurants may open until further notice) I seem to have time on my hands. Thus to further track down the source of my RealTek WiFi driver woes, I changed my mind and allowed the new clean install of PMX Respin to update to the 5.3.0-42 kernel.

 :-\

Imagine my elation to discover that for the first time ever... when allowing a kernel update.... the RealTek drivers sprang instantly to life with none of the fiddling that has always been required after every kernel update previously. It's rebooted 3 times thus far with no issues.

 :o

Perhaps, this is the Linux Universe's way of telling me to quit mucking about removing programs and otherwise fiddling with the basic components on my distro?


 ;)
Title: Re: new wifi usb drivers are... Realtek RTL8812AU chipset (RESOLVED x 12)
Post by: Slim.Fatz on March 19, 2020, 12:51:14 am

 :o

Perhaps, this is the Linux Universe's way of telling me to quit mucking about removing programs and otherwise fiddling with the basic components on my distro?


 ;)


 :-X :D :D   -- Well congratulations on getting it to work!!