pocket86
Posts: 2
Joined: Sun Apr 02, 2017 8:55 pm

Wifi USB Adapter Driver

Sun Apr 02, 2017 9:20 pm

Alright, let's start with a small disclaimer - I'm not a Linux guru. That's probably the reason I haven't been able to get this working yet -_-

I've got a USB 3.0 wifi dongle - Alfa Network Model AWUS036AC that I need a driver for. As far as I can tell, the driver is based off a realtek-rtl8812xx, but the site also has proprietary drivers on their website http://www.alfa.com.tw/download_show.php?combo_0=11

I haven't found anyone out there who has built/installed this specific driver for Solus yet, and the guides I have been through so far are just vague enough that I can't follow them successfully (again...I'm not a guru...........yet)

When trying to install using some of the drivers out there, one common issue I've seen so far is an error with the make file. It is a reference to /lib/modules/4.9.20-12.lts/build, which is a sys link to /usr/src/linux-headers-4.9.20-12.lts - the issue being that /usr/src does not exist.

If there are any among you who would be willing to 'step-by-step' me through this, I would be eternally grateful (and would also compile a doc. on how to do it for others).

http://www.alfa.com.tw/products_show.php?pc=137&ps=208

sunnyflunk
Development Team
Posts: 2874
Joined: Sun Mar 13, 2016 11:35 pm

Re: Wifi USB Adapter Driver

Thu Apr 06, 2017 9:53 am

pocket86 wrote:
Sun Apr 02, 2017 9:20 pm
Alright, let's start with a small disclaimer - I'm not a Linux guru. That's probably the reason I haven't been able to get this working yet -_-

I've got a USB 3.0 wifi dongle - Alfa Network Model AWUS036AC that I need a driver for. As far as I can tell, the driver is based off a realtek-rtl8812xx, but the site also has proprietary drivers on their website http://www.alfa.com.tw/download_show.php?combo_0=11

I haven't found anyone out there who has built/installed this specific driver for Solus yet, and the guides I have been through so far are just vague enough that I can't follow them successfully (again...I'm not a guru...........yet)

When trying to install using some of the drivers out there, one common issue I've seen so far is an error with the make file. It is a reference to /lib/modules/4.9.20-12.lts/build, which is a sys link to /usr/src/linux-headers-4.9.20-12.lts - the issue being that /usr/src does not exist.

If there are any among you who would be willing to 'step-by-step' me through this, I would be eternally grateful (and would also compile a doc. on how to do it for others).

http://www.alfa.com.tw/products_show.php?pc=137&ps=208
What's the output of

Code: Select all

lsusb
Can see if there's support for it in the kernel or not

As for the instructions, you would need to extract the source manually, as the kernel source isn't provided as a package (ideally it wouldn't be needed).

User avatar
GreenMartian
Posts: 171
Joined: Tue Feb 14, 2017 12:10 pm
Location: Wisconsin, US

Re: Wifi USB Adapter Driver

Thu Apr 06, 2017 11:37 am

pocket86,

Because you're fairly green, you may consider an option like http://www.pandawireless.com/. I've used them in the past, and they've never failed to connect OOTB. They use Linux-friendly chips in their cards, and are competitively priced.

But, I'd first supply the information that sunnyflunk suggested.

GM

pocket86
Posts: 2
Joined: Sun Apr 02, 2017 8:55 pm

Re: Wifi USB Adapter Driver

Thu Apr 06, 2017 5:17 pm

Thanks for the replies sunnyflunk and GreenMartian.
What's the output of

Code: Select all

lsusb
The output (excluding non-relevant devices) is:

Code: Select all

Bus 002 Device 002: ID 0bda:8812 Realtek Semiconductor Corp.
Thanks for the advice with Panda Wireless - I've also heard good things with their compatibility. If I end up spinning my tires with this adapter, that will be the route I go for now.

User avatar
GreenMartian
Posts: 171
Joined: Tue Feb 14, 2017 12:10 pm
Location: Wisconsin, US

Re: Wifi USB Adapter Driver

Fri Apr 07, 2017 1:56 am

Yikes... Realtek! :lol:

I'm sure you can make progress, and I'm sure you'll get more technicals from another user.

That said, I've recently had a Realtek (8723 if I remember correctly) which was identified by every distro I tried. But, I just could not get it to connect...even with the Realtek driver. Some have issues in Linux with very weak signals that aren't strong enough to connect.

I used that tiny Panda USB drive, which gave incredible signal strength at very long distances (say 70-ish feet). Always consistant with no drops. I want to say that it ran the Ralink 2500 chip (good for Linux).

Anyway...

GM

sunnyflunk
Development Team
Posts: 2874
Joined: Sun Mar 13, 2016 11:35 pm

Re: Wifi USB Adapter Driver

Mon Apr 10, 2017 9:36 am

It does appear that it's not terribly well supported, so would need to follow any instructions you can find.

You would need to download the kernel source and extract it to /usr/src/linux-headers-4.9.20-12.lts (or whichever version you have installed). The source can be found here https://www.kernel.org/pub/linux/kernel/v4.x/

User avatar
xNeo92x
Posts: 5
Joined: Thu May 11, 2017 6:02 pm

Re: Wifi USB Adapter Driver

Thu May 11, 2017 6:34 pm

Gonna hijack this thread cause I have a nearly identical problem.
My adapter is called Netis WF2190
http://www.netis-systems.com/Suppory/de ... de/96.html
They have a Linux driver for Ubuntu 16.04/Kernel 4.4.0

As I've found out it uses a Realtek RTL8812AU chip:
https://wikidevi.com/wiki/Netis_WF2190

At the Arch repo I've found a bugfixed version which should also work on newer kernel versions
https://aur.archlinux.org/packages/rtl8 ... -dkms-git/

The main problem is: I can't even try it out. I don't know whos retarded idea it was to not implement building tools into Solus but because of this I can't even compile and install that driver. And to install building tools such as make or dkms I need an internet connection.
And I have by any means no access to a wired connection.

sunnyflunk
Development Team
Posts: 2874
Joined: Sun Mar 13, 2016 11:35 pm

Re: Wifi USB Adapter Driver

Fri May 12, 2017 12:49 am

xNeo92x wrote:
Thu May 11, 2017 6:34 pm
The main problem is: I can't even try it out. I don't know whos retarded idea it was to not implement building tools into Solus but because of this I can't even compile and install that driver. And to install building tools such as make or dkms I need an internet connection.
And I have by any means no access to a wired connection.
90% of users (maybe more) do not require build tools, so there's no need for them to be in the default install...internet would still be required to download sources to build packages

User avatar
xNeo92x
Posts: 5
Joined: Thu May 11, 2017 6:02 pm

Re: Wifi USB Adapter Driver

Sat May 13, 2017 11:10 am

Ok, so I've got a wired connection temporarily.
I have installed the build tools.
Bildschirmfoto vom 2017-05-13 12-05-24.png
Bildschirmfoto vom 2017-05-13 12-05-24.png (114.75 KiB) Viewed 2011 times
But now I get an error at "make":
Bildschirmfoto vom 2017-05-13 12-08-24.png
Bildschirmfoto vom 2017-05-13 12-08-24.png (109 KiB) Viewed 2011 times
Now I don't know what to do. Can somebody help me to install these, please?

sunnyflunk
Development Team
Posts: 2874
Joined: Sun Mar 13, 2016 11:35 pm

Re: Wifi USB Adapter Driver

Mon May 15, 2017 1:01 am

I can't make out what the errors are saying, but the command you put to install system.devel and kernel headers wouldn't have worked. Try this

Code: Select all

sudo eopkg install -c system.devel linux-lts-headers

Return to “Hardware”