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: Krita 3.3.3, Pale Moon 27.7.2, Yacreader 9.0, Calligra 3.1, VLC 3.0.0, Firefox 58.0.2, OBS-Studio 21.0.2
User avatar
stevepusser
 
Posts: 9234
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: 2150
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: Krita 3.3.3, Pale Moon 27.7.2, Yacreader 9.0, Calligra 3.1, VLC 3.0.0, Firefox 58.0.2, OBS-Studio 21.0.2
User avatar
stevepusser
 
Posts: 9234
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


Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable