Giter Site home page Giter Site logo

rtl8192cu-fixes's Introduction

Build Status

This is a repackaging of Realtek's own 8192CU USB WiFi driver for Ubuntu 13.10 and later.

!! This driver is DEPRECATED !!

This driver is not explicitly maintained.

The new rtl8xxxu driver initially introduced in kernel 4.4 works mostly well these days, and you should give it a try before trying this repository.

If rtl8xxxu gives you problems, try troubleshooting it first. Known things to look for are:

  • Make sure to blacklist the older rtl8192cu driver, which some distros seem to load by default otherwise.

  • Some devices require that power management be disabled in NetworkManager. Follow the instructions further down to disable power management in NetworkManager. Typical symptoms would be that the device works fine for a moment, and then becomes very slow or outright drops the connection.

  • If your device is not detected, make sure that your kernel enables CONFIG_RTL8XXXU_UNTESTED

  • Be sure to set the options for DMA aggregation and dual-band 2.4 GHz:

    echo options rtl8xxxu ht40_2g=1 dma_aggregation=1 | sudo tee /etc/modprobe.d/rtl8xxxu.conf
    

    then reboot.

In some cases, though, this driver has been known to work fine where rtl8xxxu doesn't. If rtl8xxxu doesn't work for you even after the troubleshooting steps listed above, follow the instructions below to install this one instead.

Compatibility

These devices are known to work with this driver:

  • ASUSTek USB-N13 rev. B1 (0b05:17ab)
  • Belkin N300 (050d:2103)
  • D-Link DWA-121 802.11n Wireless N 150 Pico Adapter [RTL8188CUS]
  • Edimax EW-7811Un (7392:7811)
  • Kootek KT-RPWF (0bda:8176)
  • OurLink 150M 802.11n (0bda:8176)
  • Plugable USB 2.0 Wireless N 802.11n (0bda:8176)
  • TP-Link TL-WN725N (0bda:8176)
  • TP-Link TL-WN821Nv4 (0bda:8178)
  • TP-Link TL-WN822N (0bda:8178)
  • TP-Link TL-WN823N (only models that use the rtl8192cu chip)
  • TRENDnet TEW-648UBM N150

These devices are known not to be supported:

  • Alfa AWUS036NHR
  • TP-Link WN8200ND

As a rule of thumb, this driver generally works with devices that use the RTL8192CU chipset, and some devices that use the RTL8188CUS, RTL8188CE-VAU and RTL8188RU chipsets too, though it's more hit and miss.

Devices that use dual antennas are known not to work well. This appears to be an issue in the upstream Realtek driver.

Installation

Ensure you have the necessary prerequisites installed:

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

Clone this repository:

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

Set it up as a DKMS module:

sudo dkms add ./rtl8192cu-fixes

Build and install it:

sudo dkms install 8192cu/1.11

Refresh the module list:

sudo depmod -a

Ensure the native (and broken) kernel driver is blacklisted:

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

And reboot. You're done.

Other distributions

The instructions above should work in every Debian-based distribution. So long as you can install the prerequisites on your own, everything after the line that contains apt-get should work in other distributions as well.

On Gentoo, you can disregard the instructions above and just install the following ebuild: https://gitweb.gentoo.org/dev/maksbotan.git/tree/sys-kernel/rtl8192cu-fixes/rtl8192cu-fixes-9999.ebuild

Troubleshooting

There is a known issue with power management on some hardware. If your WiFi connection drops after a few minutes, install the following module setting file to disable power management in your WiFi interface:

sudo cp ./rtl8192cu-fixes/8192cu-disable-power-management.conf /etc/modprobe.d/

And then reboot.

Sometimes Network Manager also sets a device in a power-saving mode where it doesn't use enough power to connect. You can fix it by editing /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf and setting wifi.powersave to 2. And then reboot.

Current status

As it currently stands, the driver doesn't populate /proc with informational data from the driver. The API for /proc has changed in recent kernels, and the driver has not been ported to the new API.

Credits

This repository was initially based on Timothy Phillips's work as published here: https://code.google.com/p/realtek-8188cus-wireless-drivers-3444749-ubuntu-1304/, though no longer.

Thanks go to Saqib Razaq (@s-razaq) for the power management workaround.

Thanks to @CGarces for the Travis configuration.

Thanks to @rburcham for the kernel 4.15 fixes.

rtl8192cu-fixes's People

Contributors

akossomfai avatar allanmfz avatar cgarces avatar dapicester avatar dlech avatar dwardor avatar heitbaum avatar jetdillo avatar jonasled avatar milhousevh avatar oblique avatar pavel-demin avatar profpoop avatar pvaret avatar rburcham avatar stalkr avatar zhouer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rtl8192cu-fixes's Issues

Wifi drop lubuntu 15.04 [3.19.0-18-generic]

Everytime while time pass after I've installed the driver from here plus the power fix, wifi keep drop and force me disconnect it then reconnect, only to find after 2 minutes it drops again.

Any fix soon?

Ad-Hoc mode

Hello.
I use this driver for USB dongle EDUP EP-MS1537 (8192CU) on Ubuntu 14.04 (3.13.0-45-generic).
Unfortunately I can't connect in Ad-Hoc mode (static ip without wpa) - network manager says that all ok - connect on,
but I can't ping any comp in net.
I tried without network manager (unmanaged-devices and settings in .../interfaces) same result.
In same time internal wifi adapter Intel 2200 works without problem.
And this dongle on RaspberryPi (Raspbian 3.12.35+ native driver) in Ad-Hoc mode works without problem.
Can you help me?

Cannot install 8192cu/1.10

Great work you're doing here. Sadly, I'm stuck at the moment.

Trying to compile this on a RasPi2 with Raspbian (should have just bought that silly Edimax and been done with it, but noooo~). Fairly new to any editing of Linux beyond adding stuff and compiling things.

Followed every step by the numbers after some back-tracking to get the necessary packages installed ( included updating git ), and everything was going smoothly until the actual install step; then I get this error:

pi@raspberrypi / $ sudo dkms install 8192cu/1.10
Error! echo
Your kernel headers for kernel 3.18.11-v7+ cannot be found at
/lib/modules/3.18.11-v7+/build or /lib/modules/3.18.11-v7+/source.

Tried several times to figure out what was going wrong, but can't. cd'd into /lib/modules/3.18.11-v7+ and there are no "build" or "source" directories, as shown:

pi@raspberrypi /lib/modules/3.18.11-v7+ $ ls
kernel             modules.builtin      modules.dep.bin  modules.softdep
modules.alias      modules.builtin.bin  modules.devname  modules.symbols
modules.alias.bin  modules.dep          modules.order    modules.symbols.bin

Have no idea what's up. Can I get some help here?

Monitor Mode not working

Hello,

Thanks for the driver. While using it, iwconfig doesn't show tx power of the adaptor. Also when i try to put the adaptor in monitor mode, no interface gets assigned .

Thanks

documentation add apt-get update

Some people have problems with the first step of the installation :
sudo apt-get install git linux-headers-generic build-essential dkms

Because their package list is outdated, they just need to update it with apt-get update. That's obvious but not for everyone. Perhaps, adding this to the documentation will help them .

Building on openwrt

I'm looking for some advice on build this on openwrt. I've created an openwrt Makefile so it gets built and loaded at boot, lsmod shows the module loaded but no device files are created.
/sys/class/net doesn't show a wlan0 device neither does ifconfig.
/sys/module/8192cu/ shows the device entries

Does this require any other rtlwifi components to work properly?

max speed is 54mbit?

Hi!

First of all, I would like to say big thank You for efforts! It looks Your modification solved the long-existing problem of onboard wifi module on BananaPi / Lamobo R1 board! It was absolutely unusable / unstable with current images (both openwrt, raspbian, etc) in AP mode with hostapd, but now it looks stable and reliable!

The only problem is the low speed: Im unable to get more than theoretical 54mbit and 24-28mbit measured in practice (iperf3)... I tried it with both WPA2 and unsecured mode, I checked it with several clients (similar RTL8188CU, AR9285, etc), both windows and ubuntu and the result is the same...

CPU and memory load is low during transmission (Cortex-A7 dualcore 1GHz, 1GB RAM). My current environment is Ubuntu 14.04.3 LTS with kernel 4.2.0 from armbian.com/lamobo-r1

Do You have any idea, what is the problem? Or is it limited in the driver? Based on informations from Realtek's homepage, it should be able to handle theoretically 300Mbps in 802.11n mode...

Best regards,
Peter

wifi keep asking the password

Hi and thank you for your efforts.
I followed the instructions (8192cu/1.8) on Ubuntu 13.10, 3.11.0-13-generic (VirtualBox Guest) with no error for wifi adapter with RTL8192cu chipset. After reboot my wifi starts blinking but it keeps asking the password and cannot connect to the AP.
Any help would be greatly appreciated!, please let me know if you need any info.

DEVTYPE=wlan missing presumably results in device being detected as ethernet

Used this driver successfully on Fedora 19 and 20, but on CentOS 7 it's unusable. NetworkManager recognizes my USB wifi adapter as USB ethernet card. Obvious difference from stock rtl8192cu module is that DEVTYPE is not set when using 8192cu module. Kernel 3.10 (3.10.0-123.9.3.el7.x86_64).

When using 8192cu

[root@rapa ~]# udevadm info /sys/class/net/enp0s29f7u2
P: /devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/net/enp0s29f7u2
E: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/net/enp0s29f7u2
E: ID_BUS=usb
E: ID_MM_CANDIDATE=1
E: ID_MODEL=802.11n_WLAN_Adapter
E: ID_MODEL_ENC=802.11n\x20WLAN\x20Adapter
E: ID_MODEL_FROM_DATABASE=WNA1000M 802.11bgn [Realtek RTL8188CUS]
E: ID_MODEL_ID=9041
E: ID_NET_NAME_MAC=enx28c68ef7b1e8
E: ID_NET_NAME_PATH=enp0s29f7u2
E: ID_OUI_FROM_DATABASE=NETGEAR INC.,
E: ID_REVISION=0200
E: ID_SERIAL=Realtek_802.11n_WLAN_Adapter_00e04c000001
E: ID_SERIAL_SHORT=00e04c000001
E: ID_TYPE=generic
E: ID_USB_DRIVER=rtl8192cu
E: ID_USB_INTERFACES=:ffffff:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=Realtek
E: ID_VENDOR_ENC=Realtek
E: ID_VENDOR_FROM_DATABASE=NetGear, Inc.
E: ID_VENDOR_ID=0846
E: IFINDEX=22
E: INTERFACE=enp0s29f7u2
E: SUBSYSTEM=net
E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/enp0s29f7u2
E: TAGS=:systemd:
E: USEC_INITIALIZED=253140818

When using rtl8192cu

[root@rapa ~]# udevadm info /sys/class/net/wlp0s29f7u2
P: /devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/net/wlp0s29f7u2
E: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.0/net/wlp0s29f7u2
E: DEVTYPE=wlan
E: ID_BUS=usb
E: ID_MM_CANDIDATE=1
E: ID_MODEL=802.11n_WLAN_Adapter
E: ID_MODEL_ENC=802.11n\x20WLAN\x20Adapter
E: ID_MODEL_FROM_DATABASE=WNA1000M 802.11bgn [Realtek RTL8188CUS]
E: ID_MODEL_ID=9041
E: ID_NET_NAME_MAC=wlx28c68ef7b1e8
E: ID_NET_NAME_PATH=wlp0s29f7u2
E: ID_OUI_FROM_DATABASE=NETGEAR INC.,
E: ID_REVISION=0200
E: ID_SERIAL=Realtek_802.11n_WLAN_Adapter_00e04c000001
E: ID_SERIAL_SHORT=00e04c000001
E: ID_TYPE=generic
E: ID_USB_DRIVER=rtl8192cu
E: ID_USB_INTERFACES=:ffffff:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=Realtek
E: ID_VENDOR_ENC=Realtek
E: ID_VENDOR_FROM_DATABASE=NetGear, Inc.
E: ID_VENDOR_ID=0846
E: IFINDEX=21
E: INTERFACE=wlp0s29f7u2
E: SUBSYSTEM=net
E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/wlp0s29f7u2
E: TAGS=:systemd:
E: USEC_INITIALIZED=28941274573

TL-WN725N usb wifi dongle

Nothing happens even if i restart my PC, IT was working well when i use 13.04.

iwconfig
'''
usb0 no wireless extensions.
eth0 no wireless extensions.
lo no wireless extensions.
'''
lsusb
'''
Bus 002 Device 004: ID 046d:c077 Logitech, Inc.
Bus 002 Device 003: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
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 001 Device 004: ID 0951:1613 Kingston Technology DataTraveler DT101C Flash Drive
Bus 001 Device 003: ID 109b:902d
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
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0bda:8179 Realtek Semiconductor Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
'''

Kernel Panic Errorwhen connecting to a network

First of all thanks a lot for publishing this.

I was able to follow all the steps. But I ran into a kernel panic when I tried to connect to a wireless network after rebooting.

I am on kernel 3.11.0-13.(Ubuntu 13.10)

Any help to get this error sorted is appreciated.

Does anyone have this working on 4.0.5?

I'm not really sure when the driver started misbehaving, but I think it happened approximately at the time when I removed the old kernel sources from my system and started upgrading to the new kernel. In any case, right now I'm running 4.0.5 and the driver isn't working well. Specifically, here's a log of pinging my router. As you may see, there are intermittent periods where the round trip time is measured in seconds. The driver's kernel module is loaded.

So, does anyone have this working on 4.0.5? And if yes and it's working, how can I troubleshoot the issue?

You are a godsend.

Thanks so much for this!

I had the problem of my Edimax EW-7612UAn v2 dropping connections after a few minutes with the legacy 14.04 RTL8192cu drivers.

I fiddled around with trying to compile the drivers provided by RTL and edimax (both the rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405 drivers), to no avail.

Yours worked out of the box and I am now connected for an hour without connection dropping.

Thanks again!

Stability issues

This driver worked very well initially, but something seems to be very wrong? My speeds went from ~40 mbs to 2. Same thing happened recently on Arch Linux when I updated the system. I suspect newer kernels do not play nice.

Add Wifi N support

almost all the box in the world use wifi n so i think you should add support for it

does not get an IP address

Followed the instructions to the dot on Kubuntu 13.10 (3.11.0-13-generic). Device is Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter.

THE code does compile but:

  1. on boot the driver shows the same symptoms as the build in driver, asking constantly for the WPA2 password. (module not loaded on boot?)
  2. once the dongle is removed and added back I am able to associate the device with the router (AVM Fritz!Box 7170) but I don't get a connection or IP address although the NetworkManager shows me connected.

Patch it into upstream kernel?

This driver made my day, thank you so much! The vanilla driver kept losing the connection every few minutes, but this has been very stable so far.

Would it be possible to include this driver in the official kernel? It seems to be under the GPL, so I don't think there would be any licensing issues. This would make life for owners of such devices much easier.

RTL8188CUS (TL-WN725N)

Hi, On Ubuntu 14.04 if I blacklist the native drivers I just do not see the wireless networks. I'm newbie at driver levels. Please help!

Fedora 20 - Working!

I had a problem with TP-Link WN821N USB not being stable in Fedora 20 (latest kernel) - i.e. kept asking for password, light was on permanently etc. After applying the fix as detailed in readme (just changed yum for apt-get) all is now working reliably.

a) Thanks for the application & guide
b) Hope this message help someone else

Linux Mint 17.1 x86_64 - feedback

Thanks for the fix. No problems installing, just a question. Have you tried submitting the fix to the Linux kernel developers as an official module update to the default rtl8192? Really they should have no reason to decline it. It would make sense to include your patch.

no 5ghz

I'm using an edimax 7811un with the latest version of this driver and the card is only seeing 2.4ghz channels on a network where I know there are 5ghz cells. The module was inserted wo options. Am I doing something wrong or is this a bug?

Can't connect to a network

Hi,

All my thanks for your work, i've a TP-LINK WN8200ND with this chipset, now the OS (UBUNTU 13.10 x64) recognize wireless card, i can see networks but can't connect anymore, that always says "Vous êtes maintenant hors ligne".

Here is the iwconfig returns

wlan1 unassociated Nickname:"WIFI@REALTEK"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Configure as access point mode / master mode NOT successful

Hi, thank you for your work.
I followed the instructions and the installation of the 8192cu fix is successful because I can connect wirelessly to the internet. However, I am unable to configure the 8192cu as an Access Point for my other devices to access the internet. In particular, I am unsuccessful in setting the 8192cu mode to either ap or to master (see questions (3) and (4) below respectively).

Ubuntu 14.04
ID 0b05:17ba ASUSTek Computer, Inc. (Asus USB-N10 Nano Wireless-N USB Adapter)

(1) Does your module support my hardware / Is my device ID on the supported list?

(2) lsmod | grep 8192cu gives:
8192cu 527333 0
Is this a problem too?

(3) To check whether AP mode is supported, I tried iw list and iw dev but the interface / device does not show up, and therefore I am unable to confirm that the 8192cu supports AP mode.
Is the 8192cu fix under the mac80211 framework?
If so, then wouldn't iw list not showing the 8192cu be a problem?

(4) To change mode to master, I tried sudo iwconfig wlan1 mode master .
sudo iwconfig confirms that the mode has been changed to master , but the moment I use Network Manager to connect, the mode reverts back to managed .

(5) I tried the instructions in the following URL (particularly the last step of Step 2) to configure the 8192cu as an Access Point, but to no avail -
http://askubuntu.com/questions/180733/how-to-setup-an-access-point-mode-wi-fi-hotspot

(6) Do I have to use hostapd or would the instructions in the URL above (which is a simple hack) work for the 8192cu to be configured as an Access Point?

Appreciate your assistance. Thank you.

Better, but still get dropouts

This driver is much improved over the in-kernel driver. With that, I was dropping out after 5-10 minutes, and the only way to get it to come back up was to remove the usb dongle and re-insert it.

Dropouts seem to be about once an hour now. It usually comes back by itself. (I know there's nothing wrong with the wifi because this is a new laptop, but I've been using this wifi for 6 months, along with 40 other folks.)

Here is a gist of dmesg: https://gist.github.com/nikolawannabe/1bdca1d9858304448704

This also contains a plug-in of an ethernet cable. Not sure where to break it.

'rtw_ips_pwr_down' after 'ip link set up' on device

Hi,

can't seem to use this with an EDIMAX EW-7811UN USB dongle on Linux 3.15.5 (3.15.5-2-ARCH, Arch Linux 64 Bit).

Compiling the current master (commit f0dfbb4) works fine. But every time i try to activate the device via 'ip link set up dev wlan1' it immediately seems to lose power and the driver deinitializes.

Kernel log gist

How can I help to solve this?

No Issue! - Just wanna say a BIG Thanks!

You fixed my rtl8192cu of "TL - WN822N v3" !
Just did the "Upgrade" - "new hardware support is available" in Ubuntu 12.04.
(It caused the wireless to stop working ^^ )

You saved me! Thanks you! ^^ :3

TxPower and Regulatory Domain.

Thanks in advance for any help you may provide.

My Problem:
I have yet been unable to change the txpower for my Alfa AWUS036NHR which uses the Realtek RTL8188RU chipset. I tried the usual commands using ifconfig to put the interface down, set the regulatory domain with iw reg set, and then change the txpower with iwconfig and bring the interface back up. When I do this, either raising or lowering the txpower, no change is reflected in the output from iwconfig. Either iwconfig is reporting the txpower incorrectly, or it's stuck at the default of 20dbm.

I realize that this driver base code from Realtek is lagging behind the current kernel versions, and I really appreciate the work you've done to port this to current kernels. Without your work, my card wouldn't be working as well as it is right now. Just wanted to let you know I appreciate the time you put in.

What I would like to know, is first off if you know how to fix this with this driver, or which sections of the code contain the regulatory domain handling or txpower or both. I am pretty experienced in C programming, so I should be able to make the proper changes to make this do what I want it to.

Also another possibility, is the regulatory domain hard coded into the firmware? and if so is it possible to modify the firmware?

Does not work with latest stable kernel [v3.19.3]

The module compiles and loads correctly against the latest stable kernel [v3.19.3], does not show any problems in dmesg; but the device does not show up among the wireless interfaces. Tried on earlier kernel versions (v3.16.0, v3.16.1) and there it works correctly with no errors.
Tested all cases on Ubuntu 14.04 LTS with an Asus USB-N10 Nano.

Is there a solution for TL-WN8200ND?

I just bought a TL-WN8200ND supposing that it will work with Xubuntu 14.04 LTS, but now I realized that it doesn't.

Is there any solution for this card?

Thanks!

Xubuntu 14.04 LTS

Ok so after I gave up on Fedora I moved to Xubuntu, and it installed fine blackisted the drivers rebooted and now it doesn't even detect the device, followed every command in the readme. Sorry to be a bother.

probleme de connection avec awus36nhr

bonjour j ai utiliser votre driver pour brancher ma carte awus36nhr tout semble fonctionner liste importante de reseau wifi capté mais lorsque je cherche a me connecter la carte cherche pendant une minute puis se deconnecte alors que la carte intergrée au portable se connecte facilement a mon telephone sur un autre post j ai vu le meme probleme pouriez vous m aider a resoudre ce pb je ne comprend pas trop l anglais du coup j ai peut etre pas compris la manip sachant que votre driver a marché au premier essai mais j ai fais la manip pour le power management depuis il ne se connecte plus et je ne sais pas comment l annulé je debute avec l informatique linux merci d avance

Access point mode

Hi
I have USB wifi dongle ZyXEL Communications Corp. NWD2205 802.11n Wireless N Adapter [Realtek RTL8192CU]
I bought this dongle for using as access point. Previously I has problems with stable connection on rtl8192cu driver but it worked well as AP.
I install your driver, dongle worked perfectly in infrastructure mode, but I can't setup AP.. Probably your driver not supported AP?

does not work with AWUS036NHR

I have an Alfa AWUS036NHR usb wifi adapter, and tried this driver in a Ubuntu 15.04 VM with kernel 4.0.0. I also tried the driver on the RPi, with the same issues. An Edimax dongle works fine in both the RPi and Ubuntu VM with the same driver, both in managed mode and as an AP on the RPi (haven't tested AP mode in Ubuntu yet).

Setting the essid does not work:

vmware@ubuntu:/rtl8192cu-fixes$ sudo ifconfig wlan1 up
vmware@ubuntu:
/rtl8192cu-fixes$ sudo iwconfig wlan1 essid fubar
vmware@ubuntu:~/rtl8192cu-fixes$ iwconfig wlan1
wlan1 unassociated Nickname:"WIFI@REALTEK"
Mode:Managed Frequency=2.437 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

And wpa_supplicant does not work either:

vmware@ubuntu:~$ sudo wpa_supplicant -i wlan1 -c /etc/wpa_supplicant.conf -Dnl80211,wext
Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
wlan1: Trying to associate with c0:3f:0e:9a:xx:xx (SSID='philatri' freq=2462 MHz)
wlan1: Association request to the driver failed
wlan1: CTRL-EVENT-DISCONNECTED bssid=c0:3f:0e:9a:xx:xx reason=0
wlan1: Trying to associate with c0:3f:0e:9a:xx:xx (SSID='philatri' freq=2462 MHz)
wlan1: Association request to the driver failed

Kernel is 4.0.0:

Linux ubuntu 4.0.0-040000-generic #201504121935 SMP Sun Apr 12 23:36:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

My goal is to use the Alfa as an AP on the RPi, but I use the Ubuntu VM for testing.

Patch on 3.13 kernel ?

Hi, first thanks for your work.

Is there a patch for kernel 3.13 (Ubuntu 14.04.1 LTS) scheduled ? Because this one doesn't work for me with my TL-WN822N usb dongle.

The driver loads well (8192cu), I see all networks but my box asks me password again and again (same as the native driver rtl8192cu in fact).

Regards.

Won't work on 12.04LTS ubuntu (not sure it's even loading; Wifi still slow)

uname -a

Linux ubu 3.2.0-75-generic #110-Ubuntu SMP Tue Dec 16 19:11:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linu

Bus 002 Device 012: ID 0bda:8171 Realtek Semiconductor Corp. RTL8188SU 802.11n WLAN Adapter
When I first installed the wifi unit, it worked fine, but data rate is about 0.5 MByte/second. Have not been able to improve that.
I went through the installation here, it all went fine, rebooted. But no change. I find it strange that the 'blacklisted' modules still seem to be loaded. E.g. the blacklist file is

## This file ships with the rtl8192-fixes DKMS module.
## Blacklist the native (and currently broken) kernel driver so
## ours gets loaded instead:
blacklist rtl8192cu
blacklist rtl8192c_common
blacklist rtlwifi

... but I see this inmodprobe -l | grep 81[789]

kernel/drivers/net/wireless/rtl818x/rtl8187/rtl8187.ko
kernel/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko
kernel/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
kernel/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
kernel/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko
kernel/drivers/net/wireless/rtlwifi/rtl8192de/rtl8192de.ko
kernel/drivers/media/video/bt819.ko
kernel/drivers/staging/rtl8187se/r8187se.ko
kernel/drivers/staging/rtl8192u/r8192u_usb.ko
kernel/drivers/staging/rtl8192e/r8192e_pci.ko
updates/dkms/8192cu.ko

So there it is at the end but all the other modules are still loading.
nm-tool gives this info (note that mithril is an N router so the 54mb/s seems odd)

- Device: wlan0  [mithril] -----------------------------------------------------
  Type:              802.11 WiFi
  Driver:            r8712u
  State:             connected
  Default:           yes
  HW Address:        00:13:33://*****//

  Capabilities:
    Speed:           72 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
     (redacted)
    *mithril:        Infra, 6C:B0:CE:B4:****, Freq 2462 MHz, Rate 54 Mb/s, Strength 97 WPA2
WPA2

  IPv4 Settings:
    Address:         192.168.1.130
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.1.1

    DNS:             192.168.1.1

Offline install process

So I cannot help but notice that this has no offline method of install. I have another computer with internet that I can download with but I have no way of installing the dependancies because the other computer does not run linux. Given that I cannot get on the internet on linux until the wireless card has the proper drivers I cannot follow any of the instructions that use apt-get. How can I get this working on a machine that has no internet connection of it's own and does no have dkps or build headers already installed? In other words is there any method for an offline install of this fix?

Fedora 20 Problem

Hi when trying to install without fail the terminal spits out this messege everytime.

$dkms install 8192cu/1.9
Error! echo
Your kernel headers for kernel 3.11.10-301.fc20.x86_64 cannot be found at
/lib/modules/3.11.10-301.fc20.x86_64/build or /lib/modules/3.11.10-301.fc20.x86_64/source.

Any way to fix this?

Changing MAC ADDRESS

Hi everyone,
I'm using Linux MINT 17.1 64 Bits (Ubuntu 14.04.01 based OS) and recently, I bought a TP-Link TL-WN822N v3.0 using a Realtek 8192cu chipset, I needed to install the 8192cu Driver, and I followed your instructions on this link and it worked fine, but my problem is that I can't change the mac address of my WiFi Card neither by using macchanger or by manually typing:

sudo ifconfig wlan0 down
sudo ifconfig wlan0 hw ether xxxxxxx
sudo ifconfig wlan0 up

I've also tried to edit the connection by adding a cloned mac address but it wouldn't work, I'm really stuck with this, I hope that someone will help me to get it work.
Best regards,

Module not found

Thank you for your work but somehow I can't get it right.
I use a TP-Link TL-WN723N v2 module which appears to use the RTL8192cu driver eventough it is using a RTL8188CUS chip (0bda:8176).
I can tell because my Network Manager (Ubuntu 14.04) says so and I get initially a working connection which drops after a few minutes.
So I decided to give your work a try.
Installing it is really simple. The module ends up in /lib/modules/3.12.6-031206-generic/updates/dkms which is correct I guess and the other modules are blacklisted.

Interestingly: After a reboot the old modules are not loaded (which is correct because they're blacklisted), unfortunately the new module is not loaded too because it cannot be found.
Trying to load the module manually gives the same result.
Apparently there's something wrong with dkms.

Please can you give me some advice.

monitor mode

has anyone found a solution to monitor mode not working iv'e looked everywhere plz any help would be greatly appreciated

IS it possibile to make a patch for the kernel tree?

Hi,
I've just built your module for a TP-LINK TL-WN821 N which should have mounted an atheros chipset (google search results) but when I plugged in i discovered that instead in there was a realtek rtl8192cu chipset which worked very poorly (unstable connection or no connection at all with many loss packets).
I built your driver and this device is running fine, i think that these changes should be included in the default kernel tree, may you do it?
I think i could prepare a patch if you agree,

regards

Unable to install with modprobe?

First, thanks! I'm able to compile and use the module. However, I can't install it via modprobe; I get "FATAL: Module 8192cu not found." Using insmod and directing it to the module works fine. Tried copying it to /lib/modules/3.11.0-13-generic/kernel/net/wireless/ (which is where the 8192cu mod had been on prior kernels) without success.
2. nm-applet for kubuntu doesn't display connection speeds. Is this dependant on the broken proc API that you mentioned?

WiFi random drops on RTL8723BE

Hello Guys,
I'm having problems with my WiFi on Fedora21. Connection drops randomly. I found interesting that this problem occurs more frequent when I'm utilizing my connection, like watching YouTube.
Internet is working and then suddenly everything disconnects and connection starts spinning. Only off/on on wifi adapter use to help, sometimes I end up with rebooting whole notebook. Router is perfectly fine as other devices like PS4, Macbook, Android are not experiencing any problems.

I'm running on ProBook 450 G2 which has below wireless adapter:

Realtek RTL8723BE PCIe Wireless Network Adapter
driver: rtl8723be
port: 3000
bus-ID: 09:00.0
IF: wlo1
state: up

I can see that you have already discovered this issue in Troubleshooting section with workaround, I also believe that patch is being developed, would it be possible to port to RTL8723BE ? This problem really drives me crazy an I believe also many of other RTL wireless users as it seems to be fairly global problem, so any help is highly appreciated. With kind regards Peter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.