WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Getting your soundcard to work, using Debian on non-i386 hardware, etc

WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Postby scottf » 2018-02-14 14:55

Hopefully this may save someone else a lot of time in getting this to work.
This is a new i3-7100 machine running Debian 9 with the 4.15.3 kernel.
I have the Alfa AWUS036ACH USB 3.0 Wi-Fi Adapter. I could not get the packaged drivers on DVD-ROM to work.
I tried several different versions posted on github. Apparently part of the problem is the way that the "make" command is used in the dkms.conf file.
This is the one that worked: https://github.com/abperiasamy/rtl8812AU_8821AU_linux
These are the steps that I took:
dpkg --add-architecture i386
apt-get update
apt-get install libavcodec-extra
apt-get install firmware-linux-nonfree
apt-get install wireless-tools
apt-get install build-essential git
git clone https://github.com/abperiasamy/rtl8812A ... _linux.git
cd rtl8812AU_8821AU_linux
sudo make -f Makefile.dkms install
modprobe rtl8812au
scottf
 
Posts: 3
Joined: 2018-02-13 23:40

Re: WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Postby stevepusser » 2018-02-14 17:57

apt-get install libavcodec-extra


WTF????
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Cinnamon 3.8, Midori 6.0
User avatar
stevepusser
 
Posts: 10144
Joined: 2009-10-06 05:53

Re: WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Postby scottf » 2018-02-14 19:11

You are correct, that does not make any sense. I removed that and everything still works. I watched a video from a guy that installed the rtl8812au on Debian Stretch Stable and that was included in his method. Of course his method did not work for me. Probably the only portion that was helpful was the 'build-essential git'.
I was writing down everything that I did, so when I posted the steps I should have removed that after I cut and pasted.
Like I said, I tried many of the github drivers and this was the only one that worked in my case.
scottf
 
Posts: 3
Joined: 2018-02-13 23:40

Re: WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Postby sunrat » 2018-02-14 22:04

libavcodec-extra is not going to cause any problems, it will just enable you to use some obscure rare AMR media.

You're lucky to have found a way to install driver modules for that Realtek chip. Some of them can be pesky (I have one that needs a similar Github driver).
Your post may help someone with the same chip in the future. 8)
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2482
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Postby stevepusser » 2018-02-15 00:08

Yes, there's a lot of cargo cult advice on Youtube. Some of the funniest ones are for Kali Linux.

The pre-build installs can be simplified to module-assistant and git (and you don't need git if you just download the zip file from github. Then run as sysadmin:

Code: Select all
m-a prepare
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, Pale Moon 28.2.0, wine-staging 3.20, GIMP 2.10.8, Cinnamon 3.8, Midori 6.0
User avatar
stevepusser
 
Posts: 10144
Joined: 2009-10-06 05:53

Re: WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Postby scottf » 2018-02-15 01:10

Yes, copy that. I did actually realize that for myself post facto.
Thanks for the module-assistant heads up. Definitely something I will study.
I'm still fairly green on Linux, most especially Debian variant, which I am really just experimenting with so far.
I did actually succeed today in mapping a serial port through Wine for an obscure legacy Windows app that I use, so that's cool.
scottf
 
Posts: 3
Joined: 2018-02-13 23:40

Re: WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Postby paxmark1 » 2018-04-29 01:15

It did not work for me.

I tried in a testing machine 4.15.0.3 i386 and in a stable (9) with backport Kernel~4.14.0-0.bpo.3-amd64 x86_6

Using https://github.com/zebulon2/rtl8812AU-driver-5.2.9 did work for me. I did not use the dpkg.
I did have to change the names of the folder to match dkms standards
Code: Select all
mv rtl8812AU-5.2.9 rtl8812au-5.2.9/


dkms add ...
dkms build ...
dkms install ...

This is a BrosTrend AC2100 model AC3 that exhuberantly said it was linux friendly. I do not recommend purchasing it.
peace out
paxmark1
 
Posts: 30
Joined: 2008-10-23 05:19

Re: WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Postby tm_deblin » 2018-08-12 01:15

I'm using an Alfa AWUS036ACH and picked this for it's good reports and mention of Linux useability. That was a bit of a Stretch, but, after getting no info on debian_user and then searching and finding several 'fixes' I arrived at this thread. With the realtek-firmware in place I tried several driver compiles of several different versions of the rtl8812au driver, including the version that came on the disk. Most didn't work. I did have the 4.3.something working, but only on the first connection and after that either a reboot or sometimes just a USB disconnect/reconnect fixed the issue, but mostly not. There was also the often reported random disconnect from the network taking place. The logs were filled with stuff that showed these problems taking place but they were lost on me.

Anyway, using this 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u1 kernel and the v5.2.9 driver downloadable just up above this and so far it appears that those transient problems are gone. I can connect to both bands and after almost 12 hours connected there have been no connection drops. I can initiate a disconnection and then reconnect without the previously expected problems, so far. I'll make a stability report after a few days of use and hopefully it'll still be working nicely.

It's unusual, or maybe not, that realtek doesn't have this latest driver posted for download. it's actually more than a couple updates behind on their site. Just checked this again with a search and still nothing from realtek BUT I found yet another update to v5.2.20 for the 8812au. I'll wait to try that.

tm
tm_deblin
 
Posts: 3
Joined: 2018-08-12 00:39

Re: WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Postby tm_deblin » 2018-08-15 14:02

It's a few day later and it appears the 8812au v5.2.9 driver works just fine, and fast with this Alfa adapter. There are only two problems that I notice and I'm really not sure its the driver that's the issue. First, I can't get the nm-applet icon to show the wireless status unless the wired connection is switched off. Probably just a priority thing that I don't know how to access or change. Second is that the available wireless networks don't show up in the list when I'm connected on either band. If I disconnect from the current wireless network only then do the available networks show up in the list and it takes about 20-30 seconds for that to happen. Other than that, connections are good, fast and stable.

Not able to leave well enough alone, I'll install the later driver today, v5.2.10.something. I expect it should work at least a well as this one but I probably shouldn't have said that prematurely.

tm
tm_deblin
 
Posts: 3
Joined: 2018-08-12 00:39

Re: WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Postby tm_deblin » 2018-08-22 14:49

Quick update. Removed 8812au 5.2.9.? and installed 5.2.20.???? via github and zebulon2's updates several days ago. Still stable, still stays connected, disconnects and reconnects work normally. the nm-applet still doesn't show available networks while connected but only when the adapter in not connected. Not a big deal and not sure if it's an 8812au issue or NetworkManager. modinfo show a lot of options almost none of which I have any idea how to use. It would be nice to have some descriptions of these parameter and how to use them, especially what NOT to play with.

Posted for a bit of info. Not much traffic it seems. I'm probably the last one to find and use this driver.

tm
tm_deblin
 
Posts: 3
Joined: 2018-08-12 00:39

Re: WORKING: AWUS036ACH (rtl8812au)/Debian 9 w/kernel 4.15.3

Postby Rat » 2018-11-11 16:01

scottf wrote:Hopefully this may save someone else a lot of time in getting this to work.
This is a new i3-7100 machine running Debian 9 with the 4.15.3 kernel.
I have the Alfa AWUS036ACH USB 3.0 Wi-Fi Adapter. I could not get the packaged drivers on DVD-ROM to work.
I tried several different versions posted on github. Apparently part of the problem is the way that the "make" command is used in the dkms.conf file.
This is the one that worked: https://github.com/abperiasamy/rtl8812AU_8821AU_linux
These are the steps that I took:
dpkg --add-architecture i386
apt-get update
apt-get install libavcodec-extra
apt-get install firmware-linux-nonfree
apt-get install wireless-tools
apt-get install build-essential git
git clone https://github.com/abperiasamy/rtl8812A ... _linux.git
cd rtl8812AU_8821AU_linux
sudo make -f Makefile.dkms install
modprobe rtl8812au


BIG THANKS! Your install guide works perfectly for my NET-DYN AC1200 USB Wi-Fi Adapter, not even a restart required.
User avatar
Rat
 
Posts: 5
Joined: 2018-10-14 00:54
Location: Florida, US


Return to Hardware

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable