Littleberry33
Posts: 5
Joined: Sun Sep 10, 2017 5:16 pm

Trying to install Alfa AWUS036ACH on raspbian...

Mon Sep 11, 2017 2:14 pm

Hello

Im trying to install

Alfa AWUS036ACH
https://www.alfa.com.tw/products_show.php?pc=137&ps=225

The device is not visible under raspbian, diod is not lighting up.
Works fine under win10 :|

So i followed many guides all of which end up with me beeing stuck on various problems.

I try to follow official guide :
apt-get update
apt install realtek-rtl88xxau-dkms
But then i get :
E: Unable to locate package realtek-rtl88xxau-dkms
I read i need linux headers, so i do :
sudo apt install linux-headers-amd64
But then i get :
Packkage linux-headers-amd64 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
I have done most of the stuff from these threads:
https://forums.kali.org/showthread.php? ... it-running
(some more threads i cant find links anymore
and also youtube tutorials.

everythign seems to be done for x86 linux, not raspbians ARM :(

Please help

PiGraham
Posts: 3578
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Trying to install Alfa AWUS036ACH on raspbian...

Mon Sep 11, 2017 2:27 pm

You may need to compile from source. Anything compiled for x86 processors will be no use on Pi.

Have you looked here?
https://github.com/madmantm/rtl8814au

Littleberry33
Posts: 5
Joined: Sun Sep 10, 2017 5:16 pm

Re: Trying to install Alfa AWUS036ACH on raspbian...

Mon Sep 11, 2017 3:14 pm

Have no idea how to compile :( im a newbie in linux. was really hoping for easy installation instructions.
also chip on it is 8812au so that doesnt get me closer to the solution :(

PiGraham
Posts: 3578
Joined: Fri Jun 07, 2013 12:37 pm
Location: Waterlooville

Re: Trying to install Alfa AWUS036ACH on raspbian...

Tue Sep 12, 2017 7:30 am

Littleberry33 wrote:
Mon Sep 11, 2017 3:14 pm
Have no idea how to compile :( im a newbie in linux. was really hoping for easy installation instructions.
also chip on it is 8812au so that doesnt get me closer to the solution :(
That link has clear instructions. It may just work and be a simple process.
I noted you tried apt install realtek-rtl88xxau-dkms which lookslike a driver for all rtl188...au chipsets. That may include 8812au as well as 18814au. Maybe.

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Trying to install Alfa AWUS036ACH on raspbian...

Tue Sep 12, 2017 9:52 am

Hi Littleberry33,

I compile several wifi drivers for Raspbian including the 8812au driver and they are available for people to download.

I have a script which will select the correct version of driver for the wifi module and kernel version you are using and if there is one available it will download and install it.

You can download and install the script using commands

Code: Select all

sudo wget http://fars-robotics.net/install-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
The command sudo install-wifi -h will give details on how you can use the script.

To install the wifi driver on your Pi you should just need to use command sudo install-wifi.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Littleberry33
Posts: 5
Joined: Sun Sep 10, 2017 5:16 pm

Re: Trying to install Alfa AWUS036ACH on raspbian...

Tue Sep 12, 2017 1:35 pm

MrEngman wrote:
Tue Sep 12, 2017 9:52 am
Hi Littleberry33,

I compile several wifi drivers for Raspbian including the 8812au driver and they are available for people to download.

I have a script which will select the correct version of driver for the wifi module and kernel version you are using and if there is one available it will download and install it.

You can download and install the script using commands

Code: Select all

sudo wget http://fars-robotics.net/install-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
The command sudo install-wifi -h will give details on how you can use the script.

To install the wifi driver on your Pi you should just need to use command sudo install-wifi.

This is beyond amazing. one command and all works, and i have spent a good week fighting this.
Thank you!

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Trying to install Alfa AWUS036ACH on raspbian...

Tue Sep 12, 2017 2:20 pm

No problem, glad to be able to help.

Have fun with your Pi.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Littleberry33
Posts: 5
Joined: Sun Sep 10, 2017 5:16 pm

Re: Trying to install Alfa AWUS036ACH on raspbian...

Tue Sep 12, 2017 8:18 pm

Im trying to set up Wifi-Lan bridge.
I do all the iptables and masquerades, but after restart the interface vanishes and im unable to see it again :(

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Trying to install Alfa AWUS036ACH on raspbian...

Tue Sep 12, 2017 9:02 pm

Littleberry33 wrote:
Tue Sep 12, 2017 8:18 pm
Im trying to set up Wifi-Lan bridge.
I do all the iptables and masquerades, but after restart the interface vanishes and im unable to see it again :(
Don't know why that should happen unless you updated the kernel version. If you did you will need to install an updated version of the wifi driver. Just run the install-wifi script again to update the wifi driver.

If you didn't update the kernel version then without knowing exactly what you did to set up your bridge I have no idea why you now don't see the wifi.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

Littleberry33
Posts: 5
Joined: Sun Sep 10, 2017 5:16 pm

Re: Trying to install Alfa AWUS036ACH on raspbian...

Tue Sep 12, 2017 10:54 pm

No kernel updating as far as i know.
Immediately after installing the driver and confirming that it works (can see wireless AP's through top menu)
I follow this tutorial (top answer, yellow background):
https://raspberrypi.stackexchange.com/q ... ernet-port

Everything seem fine, but after completing all the steps and restarting there is no longer wifi1 interface listed under ifconfig..
So obviously nothing works..

che2017
Posts: 3
Joined: Sun Dec 10, 2017 6:14 pm

Re: Trying to install Alfa AWUS036ACH on raspbian...

Sun Dec 10, 2017 6:19 pm

Mr. Engmann,
I tried to use your script.

But it throws this message:

root@kali:~# install-wifi -h

*** Raspberry Pi wifi driver installer by MrEngman.
*** Performing self-update
/usr/bin/install-wifi: Zeile 19: curl: Kommando nicht gefunden.
!!! Failed to download update for install-wifi!
!!! Make sure you have ca-certificates installed and that the time is set correctly

What timezone do I have to use?

Thanks in advance!

Tom

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Trying to install Alfa AWUS036ACH on raspbian...

Mon Dec 11, 2017 10:21 pm

che2017 wrote:
Sun Dec 10, 2017 6:19 pm
Mr. Engmann,
I tried to use your script.

But it throws this message:

root@kali:~# install-wifi -h

*** Raspberry Pi wifi driver installer by MrEngman.
*** Performing self-update
/usr/bin/install-wifi: Zeile 19: curl: Kommando nicht gefunden.
!!! Failed to download update for install-wifi!
!!! Make sure you have ca-certificates installed and that the time is set correctly

What timezone do I have to use?

Thanks in advance!

Tom
First, you appear to be using Kali and the script installs wifi drivers for Raspbian so unfortunately you will not be able to install drivers for Kali.

About the error you got, you should just need to set the timezone to wherever you are and make sure the time is set correctly.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

che2017
Posts: 3
Joined: Sun Dec 10, 2017 6:14 pm

Re: Trying to install Alfa AWUS036ACH on raspbian...

Wed Dec 13, 2017 11:19 am

Thank you, for the information.
"My" time is dead on, (German Wintertime) and the ca's are installed.
Anyway, I will look for a "kali" solution.

che2017
Posts: 3
Joined: Sun Dec 10, 2017 6:14 pm

Re: [solved] Trying to install Alfa AWUS036ACH on raspbian...

Wed Dec 13, 2017 7:12 pm

The solution fpr me was (installing rtl8814au for kali on RSP3):

https://github.com/aircrack-ng/rtl8812au/tree/v4.3.21

The following steps did the job:

sudo apt-get install linux-headers (I installed all because the header "uname -r" wasn't there)

make RTL8814=1 ARCH=arm (the last parameter led to success;-))
make install RTL8814=1

I still have some issues with airodump and kismet,
but I think this could be due to the early stage of the driver.

HTH

jpsaunders
Posts: 1
Joined: Mon Aug 19, 2019 10:27 pm

Re: Trying to install Alfa AWUS036ACH on raspbian...

Mon Aug 19, 2019 10:30 pm

@MrEngman I joined this forum to simply say what a legend and thanks. 2 days with this driver nightmare and then.... :o the saviour... Thank you.

MrEngman
Posts: 3844
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Trying to install Alfa AWUS036ACH on raspbian...

Tue Aug 20, 2019 1:43 am

jpsaunders wrote:
Mon Aug 19, 2019 10:30 pm
@MrEngman I joined this forum to simply say what a legend and thanks. 2 days with this driver nightmare and then.... :o the saviour... Thank you.
Thank you, glad to be able to help you. Have fun with your Pi.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

user12345
Posts: 61
Joined: Mon Dec 22, 2014 7:06 pm

Re: Trying to install Alfa AWUS036ACH on raspbian...

Sun Aug 25, 2019 9:15 am

MrEngman wrote:
Tue Sep 12, 2017 9:52 am
I have a script which will select the correct version of driver for the wifi module and kernel version you are using and if there is one available it will download and install it.
This doesnt work on 3.12.22+ and it too dont work with the newest raspbian.
If you publicy such a script why dont tell the people witch kernel Version is required.
I really wonder that the newest rasbian Version still dont have wifi drivers included for a device that i Bought about 2 years ago.
But its anyway unuseable, rasbian Buster dont allow Dolphin&Kwrite run as root, the default filemanager dont run as root too.
So it would take month to make Buster do the tasks of for example Jessi or earlier versions.

ef86
Posts: 20
Joined: Tue Apr 26, 2016 3:43 pm

Re: Trying to install Alfa AWUS036ACH on raspbian...

Sun Aug 25, 2019 9:51 am

It does work with Buster on a fresh install that has been updated, as I found out yesterday after as Sudo apt-get update and upgrade you need to reboot and then run the script. Monitor mode works as well

user12345
Posts: 61
Joined: Mon Dec 22, 2014 7:06 pm

Re: Trying to install Alfa AWUS036ACH on raspbian...

Thu Aug 29, 2019 9:53 pm

ef86 wrote:
Sun Aug 25, 2019 9:51 am
It does work with Buster on a fresh install that has been updated, as I found out yesterday after as Sudo apt-get update and upgrade you need to reboot and then run the script. Monitor mode works as well
I got it "working" on Jessi(The Script) it works but only managed. You can start the airodump, but it switches always to channel 1(airmon-ng check kill runned before).

But this work more or less on (only)Jessi:
https://github.com/aircrack-ng/rtl8812au/tree/v4.3.21
Its buggy sometimes it stops working(Hard reboot required). But you can use monitor mode, channel as you like, txpower is adjustable(default only 18dbm).
It seems to disturb the other 2.4 GHZ Wifi stick(interface wlan0 down message sometimes) maybe too a jessi bug or the rpi usb Hardware bug. The versions after wheezy have alot of wifi issues.

ewintjen
Posts: 1
Joined: Sun Sep 22, 2019 8:10 pm

Re: Trying to install Alfa AWUS036ACH on raspbian...

Sun Sep 22, 2019 8:17 pm

Follow these steps:

1. Download The Alfa AWUS036ACH Linux drivers from rokland.com here: https://store.rokland.com/pages/support

2. Download the Zip and in downloads: "Extract here"

3. Run the following commands:
# sudo apt-get install dkms
# cd Downloads
# dir
#cd [name of extracted driver file]
# sudo ./dkms-install.sh

4. Plug in the adapter and the alfa should be working (blue light should be blinking), make sure its recognized with command 'ifconfig'.

Return to “Troubleshooting”