You are not logged in.

#1 2016-05-26 13:32:25

_maxe
Member
From: DE
Registered: 2015-10-18
Posts: 25

[SOLVED]Edimax 8192cu driver problems with wireless connection

Hello all,

Ive read the article on the archwiki regarding the setup process of an wireless internet connection with an usb adapter.
( this one: https://wiki.archlinux.org/index.php/Wi … figuration )
Instead of the official drivers, i have installed 8192cu-dkms. This is also recommended in the article.

The driver is also being loaded:

lsmod|grep 8192cu
usbcore ... .... ............ .... 8192cu, ...

i also can activate my wifi interface without an error message
The output of lsusb says that the device is being recognized correctly as an WLan Adapter.

But the output of dmesg|grep usbcore says that there is still the standard rtl8192cu driver:

[....]usbcore: registered new interface driver rtl8192cu

i blacklisted it with an file in /etc/modprobe.d/ but it still is there.

also iam not sure if the output of dmesg|grep firmware is correct:

[drm] Found VCE Firmware/feedback version 40.2.2. / 15!

and when i run iw dev i dont get any output at all

trying to scan the surrounding networks fails with the error "command failed:no such device(-19)"
and the connection with wpa_supplicant also fails.

# wpa_supplicant -D nl80211,wext -i wifi0 -c <(wpa_passphrase "your_SSID" "your_key")
Succcessfully initalized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wifi0 disabled_11b_rates=0
ioctl[SIOCSIWAP]:Operation not permitted
ioctl[SIOCSIWENCODEEXIT]: Invalid argument
ioctl[SIOCSIWENCODEEXIT]: Invalid argument

this is my wifi0 interface:

3:wifi0: <NO-CARRIER.BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
  link/ether "mac-address" brd ff:ff:ff:ff:ff:ff

i had renamed it with an udev rule if this is important

so what iam missing here? it actually worked before i rebooted the system but now i cant get it to work again.
iam also sorry for the code tags here, since my machine doenst have an internet connection i cant get the output of all the commands on my laptop.

best regards, maxe

edit:
so i tried everything again without any changes.
at first i removed the file in modprobe.d which blacklists the standart drivers.
i also removed the udev rule for renaming the interface just in case

now, when i run lsmod|grep firmware, i get a bit more output:

rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin

also running iw dev now prints my device correctly

Even the wpa_supplicant comman wich i tried to ran above now returns succesfully!
My router show that the device is connected.

I followed the arch wiki article posted at the beginning of assigning ip address and route:

ip addr add 192.168.178.50/24 dev wifi0
ip route add default via 192.168.178.1

But it doenst get an internet connection. Even pinging the router doesnt work.

If you need any more info just ask, i try to do my best to post anything i can here.

Last edit:

So i solved my problem.
Its seems like it was the package 8192cu-dmks wich i had problems with.
I removed it and got rtl8192cu-fixes from github, compiled it and copied the .conf files for blacklisting the old stuff in my folder.
For some reason i cant assing a static ip address, but it works with dhcpd.

Best regards, maxe

Last edited by _maxe (2016-05-29 09:23:23)

Offline

Board footer

Powered by FluxBB