Page 1 of 3

USB Wi-Fi Device Realtek RTL8811AU

Posted: Tue Sep 04, 2018 12:25 am
by CodeSchlocker
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

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Tue Sep 04, 2018 11:10 am
by externa1
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

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Wed Sep 05, 2018 12:15 am
by CodeSchlocker
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

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Wed Sep 05, 2018 12:27 am
by CodeSchlocker
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.

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Wed Sep 05, 2018 5:02 am
by JeremyB
Post results for

Code: Select all

lsusb

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Wed Sep 05, 2018 2:09 pm
by CodeSchlocker
Jeremy B.

This is my result:

Code: Select all

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

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Wed Sep 05, 2018 5:47 pm
by JeremyB
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

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Wed Sep 05, 2018 11:36 pm
by CodeSchlocker
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

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Mon Feb 04, 2019 10:21 pm
by firehawk74
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?

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Tue Feb 05, 2019 6:35 am
by JeremyB
You can remove the directory from home now

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Sat Mar 09, 2019 5:57 am
by Nick_J
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

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Wed Jun 26, 2019 11:40 pm
by MMLinford
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)

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Mon Sep 02, 2019 10:36 am
by Markievich
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.

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Thu Sep 05, 2019 11:28 am
by chilskater
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 :?

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Sun Nov 17, 2019 7:14 pm
by Fruitn
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.

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Sat Nov 30, 2019 4:11 pm
by After8Minty
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!

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Sat Nov 30, 2019 4:56 pm
by JeremyB
Post results from terminal for

Code: Select all

lsusb; mokutil --sb-state

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Tue Dec 03, 2019 4:09 pm
by After8Minty
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.

Code: Select all

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

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Tue Dec 03, 2019 5:39 pm
by JeremyB
The commands at viewtopic.php?p=1723019#p1522292 should work unless something is blocked in

Code: Select all

rfkill list

Re: USB Wi-Fi Device Realtek RTL8811AU

Posted: Wed Dec 04, 2019 5:16 am
by After8Minty
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

Code: Select all

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