Ubuntu – D-Link DWA-130 rev E1 RTL8191SU hard time connecting

14.04networkingrealtek-wirelessusbwireless

I have a D-Link DWA-130 rev E1 with a RTL8191SU chip set. Under Ubuntu 14.04 it will connect to the router occasionally, most of the time it tries and fails over and over. It seems to connect with out issue on one of my machines that is running 12.04. Any help would be appreciated.

lsusb

Bus 002 Device 006: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 002 Device 003: ID 1bcf:2805 Sunplus Innovation Technology Inc. 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 07d1:3300 D-Link System DWA-130 802.11n Wireless N Adapter(rev.E) [Realtek RTL8191SU]
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Best Answer

You can install a good driver by running

sudo apt-get install git
git clone https://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo make install

Then reboot.

You will need to install it after each kernel update. You can keep rtlwifi_new folder and just run last 3 commands.

In case you have no other way to get internet connection, you can download this driver in Windows or using another computer. Do it this way:

  1. Download the driver AS A ZIP ARCHIVE.

  2. Extract it to your home directory. You will get rtlwifi_new-master folder there.

  3. Run in terminal:

    cd rtlwifi_new-master
    make
    sudo make install
    sudo update-initramfs -u
    
Related Question