8

I'm trying to get this ASUS USB-AC56 adapter installed on Ubuntu 12.04, but when I try to extract the Linux file from the cd, it says I don't have the right permissions to extract. I tried downloading the driver from the ASUS website but I can't install it. I don't know the proper syntax. Can anyone help me out?

user230824
  • 91
  • 2
  • 2
  • 5
  • Please edit your question to add the details of your wireless device from the terminal command: lsusb – chili555 Jan 13 '14 at 16:11

2 Answers2

11

If lsusb says that the device is 0b05:17d2, then you need the driver 8812au. With a temporary wired ethernet connection, open a terminal and do:

sudo apt-get install linux-headers-generic build-essential

Please check here: https://github.com/abperiasamy/rtl8812AU_8821AU_linux On the right hand side, click 'Download ZIP.' Assuming downloads go to your Downloads folder, open the folder, right-click the zip file and select 'Extract Here.' Open a terminal and do:

cd ~/Downloads/rtl8812AU_8821AU_linux-master
make
sudo make install
sudo modprobe 8812au

It 'makes' with a couple of warnings on my 13.10 system, but no errors. I can test no further since I haven't the device. This is a rather new device and we'll be very interested in your report.

Whenever a later kernel version, also known as linux image is installed by Update Manager, after you reboot, you will need to re-compile the driver:

cd ~/Downloads/rtl8812AU_8821AU_linux-master
make clean
make
sudo make install
sudo modprobe 8812au

To gather further data, open a terminal and run:

lspci -nn > wifi.txt
lsusb >> wifi.txt

Find the file wifi.txt in your user directory and transfer it on a USB key or similar to a working, connected computer. Go here: http://paste.ubuntu.com/ Copy the entire text document and paste it in the text block. Click 'Paste!' A link will be created which you can then copy to post here. Here is an example: http://paste.ubuntu.com/6751980/ Then we can examine the result and advise you further.

If you are having trouble connection, please try right-clicking the Network Manager icon, select Edit Connections, select Wireless and then Wireless Security. Input the name of your network and carefully input your WPA password. https://i.stack.imgur.com/4OoHG.png

Next select IPv4 settings and, under BSSID, input the MAC address of your access point; confirm with:

sudo iwlist wlan0 scan

Please see this example. https://i.stack.imgur.com/C8Z6w.png

Now can you connect?

I notice in the manufacturer's specifications that this is specifically a USB3 device: https://www.asus.com/Networking/USBAC56/#specifications Are you attached to a USB3 connection on your computer? Check:

lsusb -vv | grep bcdUSB

I wonder if your device will operate correctly without the advanced features of USB 3.0 and whether it is backwards compatible.

Do you have a USB3 connection available?

chili555
  • 60,188
  • Thanks, chili555. For some reason it downloaded the file to Home folder, but I moved it to Downloads and it worked. But, I'm trying to connect to my network router and it won't. The Wireless Authentication Required window keeps coming back for my password. I click connect but it won't. Any ideas? – user230824 Jan 13 '14 at 19:09
  • HI, chili555. I tried rebooting and it works like a charm now. Thank you so much. I'd never thought I could work this out. I've only been using Ubuntu for a month, and always had trouble with installing drivers. Again, thanks. – user230824 Jan 13 '14 at 20:13
  • This is so so frustrating chili555. I was connected when I rebooted. Checked my router connections. Saw it listed in the client column, turned around and it was disconnected. The Wireless Network Authentication Required window keeps popping up. Help! – user230824 Jan 13 '14 at 20:31
  • This is a newer device and an unknown driver so we are in experimental territory here. Are there any settings you added in Network Manager? Usually you need none. Is the behavior the same with wireless N turned off in the router. – chili555 Jan 13 '14 at 23:13
  • Obviously, there is another driver install defaulting the wireless, and I have identified it. But, I can't find anywhere where it tells me how to blacklist it. Umbuntu 12.04 doesn't recognize "blacklist" as any command. I had two PCI cards I tried to get working and the drivers probably still exist. The one showing as default is Intel Corp.82801BA/BAM/CA/CAM with a chip set 8086:1a30 but I can't find any references anywhere. – user230824 Jan 14 '14 at 00:04
  • 8086:1a30 is Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge [8086:1a30]. It has nothing to do with wireless. Please edit your question to add the result of: lspci -nn. I will help find and blacklist the other driver. Why didn't you use the internal? – chili555 Jan 14 '14 at 00:30
  • First, what is the internal? Second, I did lspc -nn and there are two other chipsets mentioned (sorry, I don't know how to do a screenshot and post it) and they are CardBus bridge [0607]: 02 Micro, Inc. SmartCardBus Controller [1217:6933] and Firewire (IEEE 1394) [0c00]: Texas Instruments [i04c:8023]. If this doesn't help I'll figure out how to post a screenshot. Thanks, – user230824 Jan 14 '14 at 18:05
  • Sorry, there is another VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV100/M6 [1002:4c59]. – user230824 Jan 14 '14 at 18:23
  • We still don't see it. Simply run: lspci -nn and also lsusb and paste them here and give us the link in your reply: http://paste.ubuntu.com/ – chili555 Jan 14 '14 at 18:41
  • I'm on another computer because I don't have internet on the one I'm working on. I don't know what you mean by "paste" and give you the "link" – user230824 Jan 14 '14 at 18:50
  • Please see my edit. – chili555 Jan 14 '14 at 18:56
  • I don't know what you mean. I'm new to all this. What is your edit? – user230824 Jan 14 '14 at 19:00
  • See above where I added, "To gather further data..." – chili555 Jan 14 '14 at 19:04
  • I created a Ubuntu pastebin but I can't paste it here. It won't let me or I'm doing it wrong. I don't know. Anyway the address is paste.ubuntu.com/6752218/ if that helps. I don't know what else to do. – user230824 Jan 14 '14 at 19:58
  • You just pasted the name of the file, /home/alfredo/wifi.txt. We need the contents of the file. Open it with a text editor and try again. – chili555 Jan 14 '14 at 20:11
  • Okay, it's on http://paste.ubuntu.com/6752551/ – user230824 Jan 14 '14 at 21:00
  • I'm sorry,I don't see any other wireless device except your Asus USB. Please try with the command: lsmod. We'll get to the bottom of this! – chili555 Jan 14 '14 at 21:34
  • Okay, address is http://paste.ubuntu.com/6752817/ – user230824 Jan 14 '14 at 21:52
  • I see no other driver that's loaded that would, in any way, interfere with 8812au. What did you identify that you felt you needed to blacklist? May I see a paste of: cat /var/log/syslog | grep -e wlan -e etwork | tail -n30 – chili555 Jan 14 '14 at 22:02
  • It says cat/var/log/syslog: No such file or directory. I assumed that since I had a PCI card installed and it was working at one point that it was in there. Every instruction I read about installing a driver says to blacklist the present driver but never tells how to do that. And, I Googled can't connect to internet and every posting said there is another driver installed. – user230824 Jan 14 '14 at 22:11
  • It isn't cat/var/log/syslog; it is cat /var/log/syslog with a space after 'cat.' – chili555 Jan 14 '14 at 23:01
  • address is http://paste.ubuntu.com/6753205/ – user230824 Jan 14 '14 at 23:08
  • chil555; I tried to connect to my router again and it did the same. But, I think I got a new cat /var/log/syslog. If you want it, the address is http://paste.ubuntu.com/6753365/ – user230824 Jan 14 '14 at 23:55
  • "Activation (wlan0) failed for access point (spyware.exe)" Is you networks name actually 'spyware.exe?' Yikes! – chili555 Jan 15 '14 at 00:55
  • Yes, it is. Here's another paste I did this morning Http://paste.ubuntu.com/6756435/. Are we making any progress in solving this issue? I truly want to. – user230824 Jan 15 '14 at 14:37
  • 1
    This paste looks much better! It shows 'asking for new secrets' i.e. your WPA key. It fails on 'failed (reason 'no-secrets'). Did you have a balloon pop up asking for the key? Did you input it? I am preparing an edit in a few moments. – chili555 Jan 15 '14 at 14:46
  • chili555: Okay I did as you said in your edit and input the MAC address of my router in the SBBID slot and got a ;little window saying connect established but when I click Firefox icon it says server not found and now the wireless network authentication required window popped up. I'm disconnect again. – user230824 Jan 15 '14 at 20:06
  • chili555: here is the latest paste http://paste.ubuntu.com/6758381/ – user230824 Jan 15 '14 at 20:57
  • Please see my edit and after a fresh reboot, paste: dmesg – chili555 Jan 16 '14 at 14:02
  • chili555: No, I don't have USB3, but when I purchased the adapter, the salesperson reassured me that it would work on USB2. Here is the paste you requested http://paste.ubuntu.com/6763127/ – user230824 Jan 16 '14 at 17:26
  • I am afraid I have tried everything I know to do. I regret that I have no further suggestions. – chili555 Jan 17 '14 at 16:25
  • Did you read my comment just above? – chili555 Jan 17 '14 at 21:22
  • chili555; I returned the USB-AC56 and got a USB-N66 with a USB2 connector. I've been looking at some driver installations online and did everything that was said. Now, I still can't connect. The device is not even recognized. When I open the Network Manager it doesn't have "enable wireless" listed. Can you help me, please? – user230824 Jan 19 '14 at 12:53
  • I will be happy to help. Please search here for USB-N66; if there is no solution, start a new question and I'll be happy to help. Be sure to include: lsusb. – chili555 Jan 19 '14 at 13:47
  • I've already started a new question. It's on the ask Ubuntu site. It says how do I install an ASUS USB-N66 on Ubuntu 12.04. By the way, on your last comment the "here" is not linked to anything. – user230824 Jan 19 '14 at 16:13
  • See my comment on your new question. The 'here' was intended to mean that you should search on the entirety of askubuntu.com. Sorry if I wasn't clear. – chili555 Jan 19 '14 at 16:20
  • After finding and following this page before finding the official Asus driver page I thought I'd post back about my experience. I first used the above method to install the Asus USB-AC56, as posted by Chili555. It works fine today however I wasn't happy with the performance of this driver as the connection kept dropping. I then tried installing Asus's official driver and it performs markedly better. I didn't perform any speed testing but the signal strength went from 35% to 100%. Hope this helps someone. – Andrew Feb 14 '16 at 00:19
2

Although an old question, one additional driver is found at https://github.com/codeworkx/rtl8812au_asus. To install the driver you have to run make and sudo make install. I find this driver to work better than any other found online. Keep in mind though that dkms install is not setup and therefore you will have to install the driver manually on each kernel upgrade.

Bear in mind that for Ubuntu versions after 14.04 the drivers need to be signed otherwise Secure Boot will not let them load. So, even if the driver compiles it will not load. One solution is to disable Secure Boot or use the mokutil --disable-validation command

orestis
  • 1,408