Fix for RTL8192 usb 11n AND OTHERS

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
The-Wizard

Fix for RTL8192 usb 11n AND OTHERS

Post by The-Wizard »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gtsfer

Re: Fix for RTL8192 usb 11n

Post by gtsfer »

Thanks Wizard, I bookmarked this. There are a couple rtl8192 USB users having issues right now.
The-Wizard

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by The-Wizard »

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
k5yf

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by k5yf »

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! --
ktheking

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by ktheking »

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

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by Darkside Agent »

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

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by bdwoolman »

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

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by Tom P »

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 http://forums.linuxmint.com/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 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

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

Post by JeremyB »

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 http://forums.linuxmint.com/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

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by Tom P »

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 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

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

Post by JeremyB »

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

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by Tom P »

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

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by kekkop_91 »

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

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by binarymonk »

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
InkKnife
Level 5
Level 5
Posts: 741
Joined: Mon Apr 30, 2012 5:24 pm

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by InkKnife »

Will this work for a Realtek RTL8188SU?
i7 3770, 12GB of ram, 256GB SSD, 64GB SSD, 750GB HDD, 1TB HDD, Cinnamon.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Fix for RTL8192 usb 11n AND OTHERS

Post by JeremyB »

InkKnife wrote:Will this work for a Realtek RTL8188SU?
It doesn't appear to support that chipset
Locked

Return to “Networking”