USB Wi-Fi Device Realtek RTL8811AU

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
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: 10933
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: 10933
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: 10933
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 :?

Post Reply

Return to “Wireless”