Setting up USB wifi adapter

Hello, trying to setup a wifi adapter with my pc. I don’t actually know too much about this adapter, but it is recognized by my system upon plugging it in as “Realtek 802.11ac WAN Adapter”. In terms of drivers, I’ve installed both the rtl8852au and rtl8812au packages, but in reading this thread, it seems I may need to make a config file to go along with the driver (whichever one is needed, I’ll just remove the unused one).

I am looking for clarification on what to do next, as I can neither figure out if the drivers have been loaded nor connect to wifi (which I’ve also never done on linux as of yet).

Any advice appreciated!

How do you know it uses these packages. Can you plug in the adapter and show the output of inxi -Na and also lsusb

I don’t. In trying to find out more about the adapter I found it likely doesn’t work with linux, I am now using a Tp-link AC600 Archer T2UB Nano, as linked in the other thread. Issue I’ve found now with this id wlan0 not showing up. I removed the prev 2 drivers and installed the one for RTL8811AU chipsets from aur. The commands you asked give the outputs as follows:

inxi -Na:

Network:
Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e
v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
Device-2: TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
driver: N/A type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0
bus-ID: 1-14:4 chip-ID: 2357:011e class-ID: 0000 serial: 00e04c000001

lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 001 Device 003: ID 1532:024e Razer USA, Ltd Razer BlackWidow V3
Bus 001 Device 004: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Which package did you install?

The device is shown but no module is loaded for it. Try uninstalling that package and reboot.

Edit: Okay the kernel should have the modules for this one. No need to install a package.

Edit: If it doesn’t work on the the linux kernel modules out of the box then install this one and reboot.

yay -S rtl8821-au-dkms-git

That was the package I installed. I uninstalled it and rebooted to no effect, and then I reinstalled and rebooted to find it working. Must’ve missed something along the way earlier.

Thank you for the help!

One final question if you have a moment, when I was trying to diagnose issues and noticed a lack of “wlan” devices, are those just the recognized adapters themselves?

I’m not sure what you did to recognize the wlan devices. I use commands to identify hardware based on chip id’s. That is the only way to know what hardware it actually is and what is required to make it work. inxi -Na lists the network devices that it recognizes. If they don’t show then there is either a module not loaded or can be a conflict with modules also. Since you are using a usb device I also used lsusb to show usb devices. With these i am looking at the hardware, brand, type and chip id.

Edit: Glad to see it is working now.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.