You are not logged in.

#1 2014-06-05 23:02:20

heyom
Member
Registered: 2013-12-03
Posts: 43

USB Wireless Adapter Undetected

Hello,

I have just bought a new USB wireless adaptor and when I plugged in and typed ip link, it didn't appear at all so I issued dmesg and I got this output:

[38781.408829] usb 1-1.4: new high-speed USB device number 4 using ehci-pci
[38781.502156] usb 1-1.4: New USB device found, idVendor=2001, idProduct=3314
[38781.502161] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[38781.502165] usb 1-1.4: Product: 802.11n WLAN Adapter
[38781.502167] usb 1-1.4: Manufacturer: Realtek
[38781.502170] usb 1-1.4: SerialNumber: 00e04c000001

It is a bit strange for me that it didn't appear when I issued ip link. Any help would be very appreciated and thanks in advance.

Offline

#2 2014-06-06 05:54:57

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: USB Wireless Adapter Undetected

Try following the procedure outlined here.


Burninate!

Offline

#3 2014-06-06 08:45:56

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: USB Wireless Adapter Undetected

That thing uses the 8812au chipset, there's no driver for it in the kernel yet. Try compiling this: https://github.com/abperiasamy/rtl8812AU_8821AU_linux

Offline

#4 2014-06-06 09:39:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: USB Wireless Adapter Undetected

FYI there are various versions in the AUR.

Offline

#5 2014-06-06 23:05:22

heyom
Member
Registered: 2013-12-03
Posts: 43

Re: USB Wireless Adapter Undetected

Gusar wrote:

That thing uses the 8812au chipset, there's no driver for it in the kernel yet. Try compiling this: https://github.com/abperiasamy/rtl8812AU_8821AU_linux

Thanks for the reply mate but it would be very appreciated to show how to compile it because it's a bit confusing to me.

Offline

#6 2014-06-06 23:24:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,810

Re: USB Wireless Adapter Undetected

As tomk points out, what about these:

ewaller$@$odin ~ 1008 %packer -Ss 8812
aur/rtl8812au_asus-dkms
4.2.5.10143.20140103-2 (1)
    rtl8812au linux kernel driver for ASUS USB-AC56 Wireless
    Dual-Band USB Adapter
aur/rtl8812au-dkms 4.2.2.7502.20130517-1 (1)
    rtl8812au linux kernel driver for Realtek AC1200 (802.11ac)
    Wireless Dual-Band USB Adapter
aur/rtl8812au-git-dkms 0.0.0-2 (0)
    A kernel module for Realtek 8812au network cards with dkms
    support
ewaller$@$odin ~ 1009 %

Last edited by ewaller (2014-06-06 23:25:28)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2014-06-07 12:32:23

heyom
Member
Registered: 2013-12-03
Posts: 43

Re: USB Wireless Adapter Undetected

Gusar wrote:

That thing uses the 8812au chipset, there's no driver for it in the kernel yet. Try compiling this: https://github.com/abperiasamy/rtl8812AU_8821AU_linux

Thanks mate for your help.


I can confirm that I compiled it in Ubuntu and the device is working pretty much fine with no issues but I don't know how to do it correctly in Arch Linux.

In Ubuntu I just used the command make then insmod <module>.ko and that's it whereas in Arch, I get this error after I issue the command make:

make will not execute and completion _make exists.

Any help would very appreciated and thanks a lot.

UPDATE: added thanks to Gusar.

Last edited by heyom (2014-06-07 12:36:04)

Offline

#8 2014-06-07 12:37:46

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: USB Wireless Adapter Undetected

Hate repeating myself, but why haven't you tried using any of the AUR packages?

Offline

#9 2014-06-07 14:57:11

heyom
Member
Registered: 2013-12-03
Posts: 43

Re: USB Wireless Adapter Undetected

tomk wrote:

Hate repeating myself, but why haven't you tried using any of the AUR packages?

I downloaded & installed this one using pacman -U <file>.pkg.tar.xz:

https://aur.archlinux.org/packages/rtl8812au-dkms/

and the output:

DKMS: add completed.
Error! echo
Your kernel headers for kernel 3.14.4-1-ARCH cannot be found  at
/usr/lib/modules/3.14.4-1-ARCH/build or /usr/lib/modules/3.14.4-1-ARCH/sources.
error: command failed to execute correctly.

I have used this one too and the problem remain the same:

https://aur.archlinux.org/packages/rtl8812au-git-dkms/

Any help would much appreciated and thanks in advance.

NOTE: my current linux-header version is 3.14.5-1.
EDITED grammer correction.
UPDATED: used another maintaner.

Last edited by heyom (2014-06-07 19:21:10)

Offline

#10 2014-06-07 21:51:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,810

Re: USB Wireless Adapter Undetected

s/grammer/grammar/ tongue

Let's do a quick sanity check.  What are the output of uname -a and pacman -Qi linux   ?

Last edited by ewaller (2014-06-07 21:51:38)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#11 2014-06-08 00:23:07

heyom
Member
Registered: 2013-12-03
Posts: 43

Re: USB Wireless Adapter Undetected

ewaller wrote:

s/grammer/grammar/ :P

Let's do a quick sanity check.  What are the output of uname -a and pacman -Qi linux   ?

:D there you have them:

uname -a:

Linux archiso 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux

pacman -Qi linux:

Name: linux
Version: 2.14.5-1
Provides: kernel26=3.14.5
Optional Deps: crda: to set the correct wireless channels of your country [installed]
Conflicts With: kernel26
Replaces: kernel26
Install Reason: Explicitly installed
Install Script: Yes
Validated By: Signature

Last edited by heyom (2014-06-08 00:23:53)

Offline

#12 2014-06-08 01:17:40

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: USB Wireless Adapter Undetected

Well there's your problem.  Your booting kernel is not the same as the modules in /usr/lib/modules.

Offline

#13 2014-06-08 04:04:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,810

Re: USB Wireless Adapter Undetected

Wonderwoofy is correct.  For some reason, the kernel you are running is out of sync with the installed kernel and the associated modules (and headers).  You might try rebooting to see if that fixes it.  If not, we can fix that too.  Let's see what happens.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#14 2014-06-08 12:07:14

heyom
Member
Registered: 2013-12-03
Posts: 43

Re: USB Wireless Adapter Undetected

WonderWoofy wrote:

Well there's your problem.  Your booting kernel is not the same as the modules in /usr/lib/modules.

ewaller wrote:

Wonderwoofy is correct.  For some reason, the kernel you are running is out of sync with the installed kernel and the associated modules (and headers).  You might try rebooting to see if that fixes it.  If not, we can fix that too.  Let's see what happens.

I've rebooted the system but the problem is still exists. I have decided to stay at version 3.14.4-1 though and test it again, the output again:

uname -a:

Linux archiso 3.14.4-1-ARCH #1 SMP PREEMPT Tue May 13 16:41:39 CEST 2014 x86_64 GNU/Linux

pacman -Qi linux:

Name: linux
Version: 2.14.4-1
Provides: kernel26=3.14.4
Optional Deps: crda: to set the correct wireless channels of your country [installed]
Conflicts With: kernel26
Replaces: kernel26
Install Reason: Explicitly installed
Install Script: Yes
Validated By: Signature

I have tried to install

https://aur.archlinux.org/packages/rtl8812au-dkms/

and

https://aur.archlinux.org/packages/rtl8812au-git-dkms/ # an additional output of this one says:

>>> please enable dkms daemon to automatically update the driver

Offline

#15 2014-06-08 15:42:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,810

Re: USB Wireless Adapter Undetected

It is unfortunate you refuse to tell us what happened when you tried to install them.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#16 2014-06-08 15:55:25

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: USB Wireless Adapter Undetected

Installing a dkms package does nothing but stick the source on your machine.  dkms is a daemon that will build the module for each new kernel version.  But if you don't start the daemon, it isn't going to do a damn thing.

Also, you really need to figure out why /boot/vmlinuz-linux is not the same as /usr/lib/modules.  That is definitely going to cause you pain in the future.

Offline

#17 2014-06-08 17:37:38

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: USB Wireless Adapter Undetected

Are you using an actual installed Arch or booting into the June archiso? (Just wondering why your system is called “archiso”.)

I also find it odd that the linux package claimed to be version “2.14.5-1” (and later “2.14.4-1”).  My pacman output gives the correct version (3.14.5-1). Are you manually typing that output, or is that the actual output from “pacman -Qi linux”?

Offline

Board footer

Powered by FluxBB