Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rtl8812au Wifi Adapter not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rsnfunky
n00b
n00b


Joined: 30 Dec 2007
Posts: 57

PostPosted: Sat Nov 09, 2019 5:16 am    Post subject: rtl8812au Wifi Adapter not working Reply with quote

Hi All,

I have a TP Link Archer Ac600 wifi USB dongle. It uses the module RTL8812au.

I used the Debian live CD for installation of Gentoo. In the Live CD I was able to install the drivers using the source code online and DKMS command and it functions post which Gentoo was installed. The Live CD had kernel version 5.0+

After installing gentoo and configuring the kernel (using the same source code) compiled the wifi driver for Gentoo-Sources kernel ver 5.3.9 and 4.19.72 (Stable). In both the module loads perfectly in the kernel.

The lsusb shows the adapter.

ifconfig does not show the device, it just shows lo.

The /dev/ does not show any device named eth0 or enp*

wpa_supplicant shows no adapter

Question) How do I get the device in /dev/ I have tried rebooting the PC many times, plugging / unplugging the adapter etc... Also followed the guide on https://wiki.gentoo.org/wiki/AC1200_Wireless_Adapters

Regards,
Rohit
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7653
Location: Saint Amant, Acadiana

PostPosted: Sat Nov 09, 2019 6:16 am    Post subject: Reply with quote

Quote:
In both the module loads perfectly in the kernel.

Did you look at the dmesg? How do you know the module loads perfectly?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
rsnfunky
n00b
n00b


Joined: 30 Dec 2007
Posts: 57

PostPosted: Sat Nov 09, 2019 6:49 am    Post subject: Reply with quote

by Using lsmod I could see the modules uploaded to the kernel.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7653
Location: Saint Amant, Acadiana

PostPosted: Sat Nov 09, 2019 2:13 pm    Post subject: Reply with quote

I see. You decided not to examine your dmesg. No problem, I have plenty of time. What's your address?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Sat Nov 09, 2019 2:28 pm    Post subject: Reply with quote

rsnfunky,

Loading the kernel module is required but not sufficient.

dmesg will be interesting
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rsnfunky
n00b
n00b


Joined: 30 Dec 2007
Posts: 57

PostPosted: Sat Nov 09, 2019 2:30 pm    Post subject: Reply with quote

The dmesg shows module has loaded and device has been named as wlp0s19f2u1u1. Image attached for dmesg

[img=http://img18125.imagevenue.com/loc1022/th_10598_IMG_20191109_194906377_HDR_122_1022lo.jpg]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Sat Nov 09, 2019 2:53 pm    Post subject: Reply with quote

rsnfunky,

That image isn't very useful. It only shows
Code:
dmesg | grep 88

That Error Driver 'rtl8812au ... is a worry.
Put the entire dmesg onto a pastebin site. If you don't have any networking, save dmesg to a file.
Code:
dmesg > /dmesg.txt


Reboot with something where networking works. Mount your Gentoo root filesystem an /mnt/gentoo then pastebin the file /mnt/gentoo/dmesg.txt
Its too big for a post.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rsnfunky
n00b
n00b


Joined: 30 Dec 2007
Posts: 57

PostPosted: Sat Nov 09, 2019 3:08 pm    Post subject: Reply with quote

The complete Dmesg is given below:

https://pastebin.com/4KfCiVFz
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Sat Nov 09, 2019 4:25 pm    Post subject: Reply with quote

rsnfunky,

Two or three things.

Code:
[    1.757075] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.757191] cfg80211: failed to load regulatory.db
That may or may not be a bad thing.
If the regulatory.db file does not load, the wifi channels you can use will be seriously limited.

As you have cfg80211 built into the kernel, you should build regulatory.db into the kernel too.

Your WiFi is on the USB bus. Its detected here
Code:
[    2.010959] usb 2-1.1: New USB device found, idVendor=2357, idProduct=011e, bcdDevice= 2.00
[    2.010961] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.010963] usb 2-1.1: Product: 802.11ac WLAN Adapter

That's a rtl8812au.

The internet says that it requires firmware. dmesg normally says if its not loaded but your dmesg is silent on the topic.
Do you have the firmware?

You appear to have two drivers for your wifi.
Code:
[   10.369574] 8812au: loading out-of-tree module taints kernel.
[   10.370209] 8812au: module verification failed: signature and/or required key missing - tainting kernel
[   10.374036] usbcore: registered new interface driver rtl8812au
and
Code:
[   11.988443] RTL871X: module init start
[   11.988445] RTL871X: rtl8812au v4.3.14_13455.20150212_BTCOEX20150128-51
[   11.988446] RTL871X: rtl8812au BT-Coex version = BTCOEX20150128-51
[   11.988456] Error: Driver 'rtl8812au' is already registered, aborting...
[   11.988458] RTL871X: module init ret=-16

They will fight over the hardware and neither will work.

There appears to be no attempt to start the wifi. dmesg should contain associating and authenticating messages, or at least, the attempts.
There is nothing.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum