USB Wi-Fi Device Realtek RTL8811AU

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
CodeSchlocker
Level 1
Level 1
Posts: 11
Joined: Mon Aug 27, 2018 11:42 pm

USB Wi-Fi Device Realtek RTL8811AU

Post by CodeSchlocker » Tue Sep 04, 2018 12:25 am

Ever since I converted my HP Pavilion G6 -2231DX from a Windows 10 OS to a Linux Mint 19 -Cinnamon OS, my USB Wi-Fi device has remained dark.

I do have the original installation CD for this device, and, it has a Linux Section, but the source code does not have a 'config' file, nor a .deb file, so, I'm unsure in how to install the driver.

According to the installation document, a very sketchy document, I'm supposed to use a bash script file included in the Linux section called install.sh. I get to a point where it is invoking a file in the driver folder named 'clean'. There, it asked me for Authentication. I've tried my system password, but, that doesn't seem to complete the process.

If requested, I can share the script, and perhaps someone can advise me to what I'm suppose to enter to complete the installation of the USB Wi-Fi device?

Lots of Thanks,
-CodeSchlocker

externa1
Level 1
Level 1
Posts: 48
Joined: Fri Mar 23, 2018 11:45 am

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by externa1 » Tue Sep 04, 2018 11:10 am

Hi,

first i would try to use the rtl8812au-dkms driver in the repos (you'll need to attach to the internet mybe by LAN cable)
just install by opening an cli and type:

sudo apt-get install rtl8812au-dkms

hope this works for you too

rg
Christian

CodeSchlocker
Level 1
Level 1
Posts: 11
Joined: Mon Aug 27, 2018 11:42 pm

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by CodeSchlocker » Wed Sep 05, 2018 12:15 am

Thanks, Christian,

That's the kind of answers I've been waiting for. I was totally unaware that you can retrieved drivers from a repo.

Trying it now.....

Whoa! This Secure Boot thing is really a pain. I got to get into my BIOS and disable that. It looks now like my system is totally hung up. No cursor.

I have a wired connection, so, no problem.

The last message I get is:

depmod... and then my system goes off into the sunset.

I'm gonna get into BIOS and disable Secure Boot. It has caused me too many problems.

-CodeSchlocker

CodeSchlocker
Level 1
Level 1
Posts: 11
Joined: Mon Aug 27, 2018 11:42 pm

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by CodeSchlocker » Wed Sep 05, 2018 12:27 am

OK.

I turned off Secure Boot from my BIOS.

I tried $sudo apt-get install rtl8812au-dkms

I'm getting the message: ftl8812au is already the newest version (4.3.........

It still doesn't seem to work. I'll try to reboot.

-CodeSchlocker

P.S. Still nothing.

JeremyB
Level 20
Level 20
Posts: 11131
Joined: Fri Feb 21, 2014 8:17 am

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by JeremyB » Wed Sep 05, 2018 5:02 am

Post results for

Code: Select all

lsusb

CodeSchlocker
Level 1
Level 1
Posts: 11
Joined: Mon Aug 27, 2018 11:42 pm

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by CodeSchlocker » Wed Sep 05, 2018 2:09 pm

Jeremy B.

This is my result:
mike@mike-Notebook:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04f2:b34f Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 0bda:a811 Realtek Semiconductor Corp.
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So, it appears that Bus 005 Device 002 is my Wi-Fi device. No idea what the device is on Bus 001 Device 002.

Also, what is the Linux command to remove a program installed from a repo? I'd like to reinstall rtl8812au-dkms now that I have Secure Boot disabled.

Oh, I just did a man apt-get, and I can see it's either purge or remove. I'll try purge first.

OK. I purged rtl8812au-dkms and reinstalled. This time, it appears that rtl8812au-dkms appears to have completed successfully. But, my USB Modem is still dark.

-CodeSchlocker

JeremyB
Level 20
Level 20
Posts: 11131
Joined: Fri Feb 21, 2014 8:17 am

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by JeremyB » Wed Sep 05, 2018 5:47 pm

In terminal

Code: Select all

sudo apt install git dkms build-essential
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux
sudo make -f Makefile.dkms install
Reboot

I think that Chicony device is likely a webcam

CodeSchlocker
Level 1
Level 1
Posts: 11
Joined: Mon Aug 27, 2018 11:42 pm

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by CodeSchlocker » Wed Sep 05, 2018 11:36 pm

Jeremy B,

You are a genius. Up and running, and I thank you very, very much.

And you're right also. I looked up Chicony Electronics Ltd., I think that is the name of the company, and they are manufacturers of imaging devices, cameras, etc. The camera on my notebook, which I have hardly ever used must be connected directly to a USB port.

I find the last line of the Linux command you provided interesting. I read the Linux Command Handbook from cover-to-cover, but, they didn't get that deep into Linux.

Perhaps if I understood more than the basics of installing from source, I could have figured out how to install the driver that came with the installation CD for my USB Wi-Fi device.

I hope that the instructions here, in this thread, will help anyone and everyone who has issues with USB Wi-Fi devices.

:D Thanks again,
CodeSchlocker

firehawk74
Level 1
Level 1
Posts: 4
Joined: Mon Jan 30, 2017 1:41 am

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by firehawk74 » Mon Feb 04, 2019 10:21 pm

This worked for me also!! Thank you very much, could have never figured it out otherwise.

Am I able to remove the cloned repository to clean up my home directory?

JeremyB
Level 20
Level 20
Posts: 11131
Joined: Fri Feb 21, 2014 8:17 am

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by JeremyB » Tue Feb 05, 2019 6:35 am

You can remove the directory from home now

Nick_J
Level 1
Level 1
Posts: 1
Joined: Sat Mar 09, 2019 5:52 am

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by Nick_J » Sat Mar 09, 2019 5:57 am

Hi, I am completely new to Linux but am really pleased that helpful information is so easy to access.

first i would try to use the rtl8812au-dkms driver in the repos (you'll need to attach to the internet mybe by LAN cable)
just install by opening an cli and type:

sudo apt-get install rtl8812au-dkms


Thank you Christian, this worked a treat.

Thanks
Nick_J

MMLinford
Level 1
Level 1
Posts: 1
Joined: Wed Jun 26, 2019 11:31 pm

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by MMLinford » Wed Jun 26, 2019 11:40 pm

JeremyB wrote:
Wed Sep 05, 2018 5:47 pm
In terminal

Code: Select all

sudo apt install git dkms build-essential
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux
sudo make -f Makefile.dkms install
Reboot

I think that Chicony device is likely a webcam
I'm only able to type this message write now because these instructions worked for me. Thanks, JeremyB!

(btw, my adapter is a StarTech.com Wireless USB WiFi Adapter -- Dual Band AC600 Wireless Dongle - 2.4 GHz / 5GHz - 802.11ac Wi-Fi Laptop Adapter (USB433ACD1X1) in case posting so helps other googlers find their way here)

Markievich
Level 1
Level 1
Posts: 1
Joined: Mon Sep 02, 2019 10:34 am

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by Markievich » Mon Sep 02, 2019 10:36 am

Jeremy B, you're a hero. Got my wifi dongle up and working in no time thanks to you. Spent hours last time I tried this, to no avail.

chilskater
Level 1
Level 1
Posts: 23
Joined: Wed Oct 31, 2018 9:07 pm

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by chilskater » Thu Sep 05, 2019 11:28 am

i tried to follow instructions in https://blog.danielscrivano.com/install ... -adapters/ but i cant see mine Alfa AWUS036EAC...i am gonna try ur steps

EDIT:It worked but quite slow :?

Fruitn
Level 1
Level 1
Posts: 1
Joined: Sun Nov 17, 2019 7:05 pm

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by Fruitn » Sun Nov 17, 2019 7:14 pm

A big THANK YOU @Jeremy B.
Here I am sitting with a laptop trying to get my desktop online (wifi only option) 36 hours + and thanks to you I finally managed to get it online.

After8Minty
Level 1
Level 1
Posts: 44
Joined: Wed Mar 07, 2018 7:08 am
Location: England

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by After8Minty » Sat Nov 30, 2019 4:11 pm

Sadly, this hasn't worked for me ... oh that it would. I have tried everything you suggested JeremyB but so far I'm out of luck. The device I am using is a DIZA100 (Realtek 8811au chipset) which I recently purchased from Amazon with the claim that it would work in Linux and all flavours of Windows. It came with a CD, supposedly including the Linux drivers, but when I inserted the disc it reports it as a blank disc. This is not true because it definitely works in (should I be saying this??) Windows 10 and according to that OS the Linux files are certainly there. My machine is an HP dv9000 notebook which I admit is very old (not quite as old as me at 85) but I wanted to try Linux in preference to Windows which I am tiring of. If the problem with my WiFi adapter can be resolved I would be very grateful for all the help you can offer!! :?: Incidentally, this thing worked in Windows without any problems!

JeremyB
Level 20
Level 20
Posts: 11131
Joined: Fri Feb 21, 2014 8:17 am

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by JeremyB » Sat Nov 30, 2019 4:56 pm

Post results from terminal for

Code: Select all

lsusb; mokutil --sb-state

After8Minty
Level 1
Level 1
Posts: 44
Joined: Wed Mar 07, 2018 7:08 am
Location: England

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by After8Minty » Tue Dec 03, 2019 4:09 pm

JeremyB
Since last post I have upgraded from 19.2 Cinnamon 32bit to 64bit. I have now posted results following your last suggestion. I have cleared all redundant posts.
lsusb; mokutil --sb-state
Bus 001 Device 008: ID 0bda:0811 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 009: ID 05e3:0718 Genesys Logic, Inc. IDE/SATA Adapter
Bus 001 Device 007: ID 1d57:0008 Xenta
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 03f0:171d Hewlett-Packard Bluetooth 2.0 Interface [Broadcom BCM2045]
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
EFI variables are not supported on this system

JeremyB
Level 20
Level 20
Posts: 11131
Joined: Fri Feb 21, 2014 8:17 am

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by JeremyB » Tue Dec 03, 2019 5:39 pm

The commands at viewtopic.php?p=1723019#p1522292 should work unless something is blocked in

Code: Select all

rfkill list

After8Minty
Level 1
Level 1
Posts: 44
Joined: Wed Mar 07, 2018 7:08 am
Location: England

Re: USB Wi-Fi Device Realtek RTL8811AU

Post by After8Minty » Wed Dec 04, 2019 5:16 am

JeremyB
Nothing appears to be blocked. I've had another attempt to install the Adapter and it does appear to be working but now I have found I can't run it alone. If I switch off the built in WiFi it cuts out the Realtek adapter. My intention was to override the onboard WiFi due to its poor performance. Looks like I made a mistake by purchasing this adapter for use on a Linux machine ... another lesson learnt! :x

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
4: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
5: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

Post Reply

Return to “Wireless”