Fix for RTL8192 usb 11n AND OTHERS

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
User avatar
The-Wizard
Level 12
Level 12
Posts: 4080
Joined: Fri Jan 28, 2011 3:12 pm
Location: Bedforshire, ENGLAND

Fix for RTL8192 usb 11n AND OTHERS

Postby The-Wizard » Fri Mar 28, 2014 3:15 pm

found the following fix for the ubuntu driver driver fault....

Code: Select all

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

git clone https://github.com/pvaret/rtl8192cu-fixes.git

sudo dkms add ./rtl8192cu-fixes

sudo dkms install 8192cu/1.8

sudo depmod -a

sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/


then re-boot

full list of wi-fi using this instruction set

Code: Select all

    Realtek RTL8192CU Wireless LAN 802.11n USB 2.0 Network Adapter
    Realtek RTL8188CU Wireless LAN 802.11n USB 2.0 Network Adapter
    Realtek RTL8188CU Wireless LAN 802.11 USB 2.0 Network Adapter
    Realtek RTL8188CE-VAU Wireless LAN 802.11n USB minicard
    Realtek RTL8192CE-VAU Wireless LAN 802.11n USB minicard
    Realtek RTL8188CUS Wireless LAN 802.11n USB Slim Solo
    Realtek RTL8188CUS Wireless LAN 802.11n USB Slim Combo
    Realtek RTL8188RU Wireless LAN 802.11n USB High Power Dongle
    PCI GW-USValue-EZ
    Sitecom Wireless Ultra Nano USB Adapter 150N X1 WL-365
    EDIMAX 150Mbps Wireless 802.11b/g/n Nano USB Adapter
    Abocom 802.11n/b/g Mini Wireless LAN USB2.0 Adapter
    Amigo Wireless USB Card
    Hercules Wireless N Pico USB
    D-Link DWA-121
    DWA-133
    DWA-135
    Wireless N USB Adapter
    Belkin Surf Wireless Micro USB Adapter
    Planex GW-USNano2
    ZyXEL Wireless LAN 802.11n USB 2.0 Network Adapter
    Edimax 300Mbps wireless 802.11b/g/n USB adapter
    Planex/Abocom GW-USEco300
    Abocom 802.11n/b/g Mini Wireless LAN USB2.0 Adapter
    Corega CG-WLUSB300NS
    TRENDnet 150Mbps Micro Wireless N USB Adapter
    Realtek RTL8188CE-VAU Wireless LAN 802.11n USB minicard
    AZ Wireless USB Card
    FEIXUN Wireless LAN 802.11n USB 2.0 Network Adaptor
    Realtek RTL8723U Wireless LAN 802.11n USB 2.0 Network Adapter


hope this is of help to some of you

wizard
Last edited by karlchen on Sun Apr 06, 2014 8:27 am, edited 2 times in total.
Reason: Added [code][/code] tags
The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place.

User avatar
gtsfer
Level 7
Level 7
Posts: 1925
Joined: Mon May 27, 2013 9:15 am
Location: Bucks County PA, USA

Re: Fix for RTL8192 usb 11n

Postby gtsfer » Fri Mar 28, 2014 3:34 pm

Thanks Wizard, I bookmarked this. There are a couple rtl8192 USB users having issues right now.
"There is no gravity, the earth sucks." - Issac Newton @ 75
KDE & Cinnamon 18.1 & Win 10 - ASUS M5A99FX PRO MB, AMD FX-8370 Octo-Core CPU, 16GB RAM, AMD Radeon R7 240

User avatar
The-Wizard
Level 12
Level 12
Posts: 4080
Joined: Fri Jan 28, 2011 3:12 pm
Location: Bedforshire, ENGLAND

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby The-Wizard » Sat Mar 29, 2014 10:55 am

ok folks i borrowed a RTL8188cu mini usb wireless adaptor [card 3 on Fnx report]

Code: Select all

wizard@wizard-Inspiron-1545 ~ $ inxi -Fnx
System:    Host: wizard-Inspiron-1545 Kernel: 3.11.0-12-generic x86_64 (64 bit, gcc: 4.8.1)
           Desktop: Gnome Distro: Linux Mint 16 Petra
Machine:   System: Dell product: Inspiron 1545
           Mobo: Dell model: 0G848F Bios: Dell version: A14 date: 12/07/2009
CPU:       Dual core Pentium CPU T4500 (-MCP-) cache: 1024 KB flags: (lm nx sse sse2 sse3 ssse3) bmips: 9177.32
           Clock Speeds: 1: 1200.00 MHz 2: 1200.00 MHz
Graphics:  Card: Intel Mobile 4 Series Chipset Integrated Graphics Controller bus-ID: 00:02.0
           X.Org: 1.14.3 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@59.9hz
           GLX Renderer: Mesa DRI Mobile Intel GM45 Express Chipset GLX Version: 2.1 Mesa 9.2.1 Direct Rendering: Yes
Audio:     Card: Intel 82801I (ICH9 Family) HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture ver: k3.11.0-12-generic
Network:   Card-1: Broadcom BCM4312 802.11b/g LP-PHY driver: wl bus-ID: 0c:00.0
           IF: eth1 state: dormant mac: 1c:65:9d:32:f0:d5
           Card-2: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2 ver: 1.30 port: de00 bus-ID: 09:00.0
           IF: eth0 state: down mac: f0:4d:a2:a3:f6:4f
           Card-3: Realtek RTL8188CUS 802.11n WLAN Adapter driver: rtl8192cu usb-ID: 0bda:8176
           IF: wlan2 state: up mac: 00:0f:12:17:06:1d
Drives:    HDD Total Size: 500.1GB (1.3% used) 1: id: /dev/sda model: ST9500325AS size: 500.1GB
Partition: ID: / size: 455G used: 5.9G (2%) fs: ext4 ID: swap-1 size: 4.25GB used: 0.00GB (0%) fs: swap
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 59.5C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 145 Uptime: 5 min Memory: 428.9/3914.6MB Runlevel: 2 Gcc sys: 4.8.1 Client: Shell inxi: 1.8.4
wizard@wizard-Inspiron-1545 ~ $


I CAN CONFIRM IT IS WORKING FINE

wizard
Last edited by karlchen on Sun Apr 06, 2014 8:28 am, edited 1 time in total.
Reason: Added [code][/code] tags
The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place.

k5yf
Level 1
Level 1
Posts: 1
Joined: Thu Jul 03, 2014 4:21 pm

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby k5yf » Thu Jul 03, 2014 5:00 pm

UPDATE:

The command :

Code: Select all

sudo dkms install 8192cu/1.8

as of now (date and time of this post) has been updated to:

Code: Select all

sudo dkms install 8192cu/1.9


That is a change from 1.8 to 1.9

ALL of us who use USB Nics with this chipset owe a HUGE thanks to P. Varet. Merci Monsieur ou Madame Varet!

Kudos to whoever put the commands in a 1-2-3 list like this, AND Kudos to the person that posted the soulution here. It would be good for this to make it into the Mint documentation and not just here in the forums.

3's de K5YF
--If you're tired of your misery, you can have mine. Too many people don't give their misery to others over there . Share! --

User avatar
ktheking
Level 4
Level 4
Posts: 430
Joined: Tue May 13, 2014 9:13 am

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby ktheking » Thu Dec 25, 2014 10:10 am

Great instructions.Thanks for sharing `wizard`. Finally these low budget excellent usb wifi N adapters are working on mint.
Small remark for the instructions. Git is not installed by default. So prior to installing ,you'd need to do this before :

Code: Select all

sudo apt-get install git

Darkside Agent
Level 1
Level 1
Posts: 1
Joined: Sat Nov 08, 2014 10:45 am

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby Darkside Agent » Mon Dec 29, 2014 1:48 pm

This has saved me so much hassle

i have been trying to fix my wifi in mint 17.1 and 17 for a long time, this provided an instant fix (the difference is hugely amazing!!)

Thanks again

bdwoolman
Level 1
Level 1
Posts: 1
Joined: Thu Dec 22, 2011 12:06 pm

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby bdwoolman » Thu Feb 19, 2015 11:36 am

Completely awesome fix. Solved a problem I have had with Mint for years. I have gone through a lot of how-tos with no joy. Thanks Wizard and also Mr Varet. Listening to music stream over wifi dongle now for hours. One note. I received an important warning during this build process... allow me to paraphrase. "A backup of the initrd image was created. If next boot fails revert to the backed up old initrd.img file." As it happened I did have a GUI boot FAIL on the reboot. Since I was backed up and ready for a clean install anyway for other reasons I re-installed 17.1 Rebecca from a new DVD. Then I updated everything via Ethernet. I also got a newer kernel (hoping I would not have to try this fix again) but no such luck. On the clean install there were no reboot problems and the wifi dongle, an ASUS N 13, works a treat on the RTL8192 driver. Now I wont have to string bloody Ethernet cable through my hall. Great fix.

Tom P
Level 2
Level 2
Posts: 93
Joined: Wed Jan 11, 2012 12:27 pm

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby Tom P » Wed Mar 04, 2015 10:37 am

In response to a problem I have with a Realtek RTL8191SU USB stick, I was recommended to install the driver using the method outlined here. See viewtopic.php?f=53&t=191016 for the original problem description. Unfortunately, the Realtek RTL8191SU USB stick still doesn't work. Here's the relevant part of the inxi - nF output:

Code: Select all


Network:   Card-1: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) driver: ath5k
           IF: wlan0 state: down mac: 00:16:44:83:4f:23
           Card-2: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter driver: sis190
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:1e:33:00:ea:cb
           Card-3: Realtek RTL8191SU 802.11n WLAN Adapter
           IF: N/A state: N/A mac: N/A

 


Is it possible that these are the wrong drivers for this stick? I dont see RTL8191SU on the supported list.

JeremyB
Level 17
Level 17
Posts: 7432
Joined: Fri Feb 21, 2014 8:17 am

Re: Re: Fix for RTL8192 usb 11n AND OTHERS

Postby JeremyB » Wed Mar 04, 2015 10:44 am

Tom P wrote:In response to a problem I have with a Realtek RTL8191SU USB stick, I was recommended to install the driver using the method outlined here. See viewtopic.php?f=53&t=191016 for the original problem description. Unfortunately, the Realtek RTL8191SU USB stick still doesn't work. Here's the relevant part of the inxi - nF output:

Code: Select all


Network:   Card-1: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) driver: ath5k
           IF: wlan0 state: down mac: 00:16:44:83:4f:23
           Card-2: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter driver: sis190
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:1e:33:00:ea:cb
           Card-3: Realtek RTL8191SU 802.11n WLAN Adapter
           IF: N/A state: N/A mac: N/A

 


Is it possible that these are the wrong drivers for this stick? I dont see RTL8191SU on the supported list.

Post the result of

Code: Select all

rfkill list all

Why are you trying a USB wifi when you have an internal wifi card?

It is possible that you don't have the firmware that many of the realtek cards need

Code: Select all

sudo apt-get install linux-firmware

Tom P
Level 2
Level 2
Posts: 93
Joined: Wed Jan 11, 2012 12:27 pm

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby Tom P » Wed Mar 04, 2015 1:20 pm

Jeremy,
as I mentioned in the original post, the onboard WLAN stopped working. I checked the BIOS, it's enabled, and booted the old XP - doesn't work there either. To me that means it's died.
Here's

Code: Select all

rfkill list all
0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no

Ran the

Code: Select all

sudo apt-get install linux-firmware and get an update -
[sudo] password for tom:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  linux-firmware
1 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
Need to get 27.6 MB of archives.
After this operation, 9,186 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main linux-firmware all 1.79.18 [27.6 MB]
Fetched 27.6 MB in 1min 4s (426 kB/s)                                         
(Reading database ... 166565 files and directories currently installed.)
Preparing to replace linux-firmware 1.79 (using .../linux-firmware_1.79.18_all.deb) ...
Unpacking replacement linux-firmware ...
Setting up linux-firmware (1.79.18) ..


Check again -

Code: Select all

rfkill list all
0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no

inxi -Fn, same result. I'll try a reboot.

[edited] rebooted, same same results for rfkill, inxi and mintWifi.py.

To repeat the question, are you sure that the 8192cu driver is correct for Realtek RTL8191SU?

Code: Select all

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter

JeremyB
Level 17
Level 17
Posts: 7432
Joined: Fri Feb 21, 2014 8:17 am

Re: Re: Fix for RTL8192 usb 11n AND OTHERS

Postby JeremyB » Wed Mar 04, 2015 2:29 pm

Tom P wrote:Jeremy,
as I mentioned in the original post, the onboard WLAN stopped working. I checked the BIOS, it's enabled, and booted the old XP - doesn't work there either. To me that means it's died.
Here's

Code: Select all

rfkill list all
0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no

Ran the

Code: Select all

sudo apt-get install linux-firmware and get an update -
[sudo] password for tom:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  linux-firmware
1 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
Need to get 27.6 MB of archives.
After this operation, 9,186 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main linux-firmware all 1.79.18 [27.6 MB]
Fetched 27.6 MB in 1min 4s (426 kB/s)                                         
(Reading database ... 166565 files and directories currently installed.)
Preparing to replace linux-firmware 1.79 (using .../linux-firmware_1.79.18_all.deb) ...
Unpacking replacement linux-firmware ...
Setting up linux-firmware (1.79.18) ..


Check again -

Code: Select all

rfkill list all
0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no

inxi -Fn, same result. I'll try a reboot.

[edited] rebooted, same same results for rfkill, inxi and mintWifi.py.

To repeat the question, are you sure that the 8192cu driver is correct for Realtek RTL8191SU?

Code: Select all

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter

For your device, the pvaret drivers will not work, but I will see if something else can be found

Tom P
Level 2
Level 2
Posts: 93
Joined: Wed Jan 11, 2012 12:27 pm

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby Tom P » Thu Mar 05, 2015 7:35 am

Jeremy, that's somehow what I suspected. I just found this - http://cateee.net/lkddb/web-lkddb/RTL8192SU.html - but I don't know how to make use of the information. Also, I don't know how to undo the changes that were recommended.

kekkop_91
Level 1
Level 1
Posts: 1
Joined: Mon Mar 23, 2015 4:04 am

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby kekkop_91 » Mon Mar 23, 2015 4:20 am

hello! I'm trying to install the drivers for "Realtek RTL8188RU Wireless LAN 802.11n USB High Power Dongle" following the guide. The installation works fine but the device can not connect to my wifi network. It tries to connect but remains stuck on "configuration of wifi connection" and the wifi icon keeps turning aroud. Help me pls! :D

P.s. i'm using LinuxMint 17.1 64bit with 3.13.0-37-generic kernel

binarymonk
Level 1
Level 1
Posts: 7
Joined: Tue Jun 02, 2015 3:39 am

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby binarymonk » Tue Jun 02, 2015 4:16 pm

Hi folks just a quick heads up.....

The install has changed again slightly

from

Code: Select all

sudo dkms install 8192cu/1.9


to....

Code: Select all

sudo dkms install 8192cu/1.10


NOTE THE UPDATE AGAIN this time from 1.9 to 1.10

I can confirm that this works even for a D-Link DWA 121 usb wireless card..

BM
When all is said and done... at the end of the day... it gets dark ;)

User avatar
InkKnife
Level 5
Level 5
Posts: 684
Joined: Mon Apr 30, 2012 5:24 pm

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby InkKnife » Sun Aug 21, 2016 7:38 pm

Will this work for a Realtek RTL8188SU?
My good old PC:
Core2quad@2.33, 8GB Ram, Radeon HD 6850. Mint 18.2 Cinnamon edition. Now with an SSD!! Zoooom!

JeremyB
Level 17
Level 17
Posts: 7432
Joined: Fri Feb 21, 2014 8:17 am

Re: Fix for RTL8192 usb 11n AND OTHERS

Postby JeremyB » Mon Aug 22, 2016 6:37 am

InkKnife wrote:Will this work for a Realtek RTL8188SU?


It doesn't appear to support that chipset


Return to “Wireless”

Who is online

Users browsing this forum: No registered users and 5 guests