Sunday, March 9, 2014

Activating the Rosewill USB 3.0 wireless adapter (AC1200UBE) on Ubuntu 13.10 or 14.04

I purchased a Rosewill USB 3.0 Wireless Dual-Band Adapter 1.2Gbps (AC1200UBE) (http://www.amazon.com/gp/product/B00FJTGRE0/ref=oh_details_o01_s00_i01?ie=UTF8&psc=1) because (1) it works with the latest and greatest wireless standard (802.11ac), (2) it was relatively inexpensive, and (3) it was listed as working with Mac, Windows, and Linux.

When I received it, however, the driver installation disk was not really Linux-user-friendly.  I eventually found the drivers and copied them to my hard drive.  When I tried to run the installation script, it failed.  This was really annoying since I assumed that by advertising it as running on Linux, the thing would work out-of-the-box on the latest Ubuntu.  I did some searching and found that basically all the latest 802.11ac WiFi adapters use the same chip.  I did some more searching and found the following website that provided a driver for this chip: https://github.com/gnab/rtl8812au.  I followed the instructions there, and I had a working wireless network connection!... until I had a major update to my operating system.  I decided I would try to just repeat what I had done previously, but this time I created a folder named "Linux Drivers" in my home folder where I extracted the installation files.  The driver would not compile.  Doing some more searching, I found that I should not have spaces in the names of the folders that contain the driver source files.  I renamed the parent folder "LinuxDrivers", and the compile and installation once again worked just fine.  

I am keeping a copy of the installation files for the driver on my hard drive just in case I need them when Ubuntu updates again.

4 comments:

  1. I have the same wifi card, and I'm having trouble installing the driver on Linux. Could you help me? In the link you gave it says to copy "the built module into the correct location and updating module dependencies using depmod" What does that mean? How do I do that? I tried googling what a module is and what depmod is, but I just can't figure it out. I'm used to Windows and I am unfamiliar to Linux. Also, I'm using Ubuntu Gnome.

    ReplyDelete
    Replies
    1. Sorry for the slow response--I just read your comment. Hopefully you already figured it out by now. :)

      I now keep a copy of the driver software (downloaded from the link above) in my home folder. Changing directory to this folder (i.e., cd into the folder), I then run:

      make
      sudo insmod 8812au.ko
      sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
      sudo depmod

      which compiles the code and installs the driver. Over time I have noticed that sometimes when I update my OS software, I have to repeat the above commands to get my wifi working again.

      Delete
  2. I would try this commands:

    git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux
    cd rtl8812AU_8821AU_linux
    make
    sudo make install
    sudo modprobe 8812au

    ReplyDelete
  3. I would try this commands:

    git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux
    cd rtl8812AU_8821AU_linux
    make
    sudo make install
    sudo modprobe 8812au

    ReplyDelete

Inappropriate comments will be deleted.