Re: r8712u driver fails in F25

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07.02.2017 21:54, David A. De Graaf wrote:
> The r8712u driver from the staging area has stopped working in Fedora
> 25.  This driver supports (among others) my emergency USB DLink DWA-130
> adapter that I use when the laptop's built in wireless (Qualcomm
> Atheros QCA9377 802.11ac) is "too advanced" to connect to some old
> wireless router.
> 
> The r8712u driver works just fine in Fedora 24 and it seems to be
> substantially unchanged.
> 
> I ran 'modinfo r8712u' on both F24 and F25 and diff'd them.
> The only differences are in the filesystem locations and labelling.
> There was no other substantial difference.
> 
> I've monitored dmesg while plugging the DLink adapter in and it's
> apparent that
> 1 - it is detected with proper vendor and product IDs.
> 2 - the r8712u module is selected and registered.
> 3 - the correct firmware is loaded from rtlwifi/rtl8712u.bin
> 4 - an endless stream of messages ensues:
> [  262.524809] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
> and, of course, the new interface never becomes available to
> NetworkManager.
> 
> 
> What's gone wrong?
> Why does the same driver work in Fedora 24 but not in Fedora 25?
> How do I regain operability?
> 
> 


You can try the following two options:

- Disable Pre-association / Scanning random MAC address;

/etc/NetworkManager/NetworkManager.conf
...
[device]
# default:
# wifi.scan-rand-mac-address=yes
# See 'man 5 NetworkManager.conf'
# https://blogs.gnome.org/thaller/2016/08/26/mac-address-spoofing-in-networkmanager-1-4-0
# Disable Pre-association / Scanning random MAC address for r8712u WEXT driver,
# it breaks wpa_supplicant
wifi.scan-rand-mac-address=no

OR

- Switch to one of the modern version of the driver,
  r92su is easier to set up because it uses the same firmware as r8712u;

$ git clone https://github.com/chunkeey/rtl8192su.git
$ cd rtl8192su/
$ make -f Makefile.r92su 
$ su

# echo "blacklist r8712u" >> /etc/modprobe.d/wifi-blacklist.conf
# systemctl stop NetworkManager.service
# modprobe -rv r8712u

# cp r92su/r92su.ko /lib/modules/$(uname -r)/updates
# depmod 
# modinfo r92su
# modprobe -v r92su
# systemctl start NetworkManager.service
# exit

$ nm-connection-editor


Tested with:
kernel-4.9.8-1001.fc24.x86_64
NetworkManager-1.7.1-0.4.20170207gitca5f915.fc24.x86_64
nm-connection-editor-1.4.5-0.4.20170207gitd898ecf.fc24.x86_64
iperf-2.0.8-6.fc24.x86_64


      = Throughput Test =

RTL8188SU 802.11n WLAN Adapter
          ≈≈≈≈≈≈≈≈≈≈≈≈
 AP(Wi-Fi == bridge == 100Mbit switch)
          ============
             SERVER

Server mode:
$ iperf -s -i 1
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local <SERVER> port 5001 connected with <CLIENT> port 47460
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0- 1.0 sec  9.10 MBytes  76.3 Mbits/sec
[  4]  1.0- 2.0 sec  10.4 MBytes  87.0 Mbits/sec
[  4]  2.0- 3.0 sec  10.3 MBytes  86.4 Mbits/sec
[  4]  3.0- 4.0 sec  9.78 MBytes  82.0 Mbits/sec
[  4]  4.0- 5.0 sec  9.78 MBytes  82.0 Mbits/sec
[  4]  5.0- 6.0 sec  9.87 MBytes  82.8 Mbits/sec
[  4]  6.0- 7.0 sec  9.74 MBytes  81.7 Mbits/sec
[  4]  7.0- 8.0 sec  9.85 MBytes  82.6 Mbits/sec
[  4]  8.0- 9.0 sec  9.62 MBytes  80.7 Mbits/sec
[  4]  9.0-10.0 sec  9.14 MBytes  76.7 Mbits/sec
[  4]  0.0-10.1 sec  98.4 MBytes  81.7 Mbits/sec

~~~~~~~~~~~~

Client mode:
$ iperf -c <SERVER> -i 1
------------------------------------------------------------
Client connecting to <SERVER>, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local <CLIENT> port 47460 connected with <SERVER> port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  9.50 MBytes  79.7 Mbits/sec
[  3]  1.0- 2.0 sec  10.4 MBytes  87.0 Mbits/sec
[  3]  2.0- 3.0 sec  10.4 MBytes  87.0 Mbits/sec
[  3]  3.0- 4.0 sec  9.75 MBytes  81.8 Mbits/sec
[  3]  4.0- 5.0 sec  9.88 MBytes  82.8 Mbits/sec
[  3]  5.0- 6.0 sec  9.75 MBytes  81.8 Mbits/sec
[  3]  6.0- 7.0 sec  9.62 MBytes  80.7 Mbits/sec
[  3]  7.0- 8.0 sec  10.1 MBytes  84.9 Mbits/sec
[  3]  8.0- 9.0 sec  9.38 MBytes  78.6 Mbits/sec
[  3]  9.0-10.0 sec  9.62 MBytes  80.7 Mbits/sec
[  3]  0.0-10.0 sec  98.4 MBytes  82.3 Mbits/sec
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux