Author Topic: new wifi usb drivers are... Realtek RTL8812AU chipset (RESOLVED x 14)  (Read 25263 times)

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2165
  • Karma: 415
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x9]
« Reply #90 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.

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2949
  • Karma: 334
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x9]
« Reply #91 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

 


spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2165
  • Karma: 415
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x9]
« Reply #92 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

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2949
  • Karma: 334
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
Re: new wifi usb drivers are... Realtek RTL8812AU chipset [SOLVED x10]
« Reply #93 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)


spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2949
  • Karma: 334
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
Re: new wifi usb drivers are... Realtek RTL8812AU chipset
« Reply #94 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)
« Last Edit: March 17, 2020, 01:27:20 pm by spence »
spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2949
  • Karma: 334
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
Re: new wifi usb drivers are... Realtek RTL8812AU chipset (RESOLVED x 11)
« Reply #95 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.

« Last Edit: March 18, 2020, 09:09:52 am by spence »
spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2949
  • Karma: 334
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
Re: new wifi usb drivers are... Realtek RTL8812AU chipset (RESOLVED x 12)
« Reply #96 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.


 :-\
« Last Edit: March 18, 2020, 10:43:47 am by spence »
spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2949
  • Karma: 334
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
Re: new wifi usb drivers are... Realtek RTL8812AU chipset (RESOLVED x 12)
« Reply #97 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?



 ;)
« Last Edit: March 18, 2020, 12:23:37 pm by spence »
spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2314
  • Karma: 613
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: new wifi usb drivers are... Realtek RTL8812AU chipset (RESOLVED x 12)
« Reply #98 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!!
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome