[elrepo] USB wireless adapter not working (4.15)
Nick Howitt
nick at howitts.co.uk
Sat Mar 17 06:18:19 EDT 2018
That was a bit unfair to blame wpa_supplicant. It would be nice if
Realtek could release an nl80211 compatible driver rather than one for
the deprecated wext driver.
On 17/03/2018 09:45, Nick Howitt wrote:
>
> Possible link:
> http://www.thelinuxrain.com/articles/getting-realtek-8188eu-wireless-adapters-to-work-in-linux-and-possibly-other-wireless-realtek-chipsets.
> The issue appears to be wpa_supplicant. Google "r8188eu wpa_supplicant"
>
> Nick
>
> On 17/03/2018 09:39, Mahmood Naderan wrote:
>> So the output is
>>
>> Bus 005 Device 006: ID 2001:3310 D-Link Corp.
>> $ grep -i 2001 /lib/modules/$(uname -r)/modules.alias | grep -i 3310
>> alias usb:v2001p3310d*dc*dsc*dp*ic*isc*ip*in* r8188eu
>> $ uname -r
>> 4.15.10-1.el7.elrepo.x86_64
>> $ lsmod | head
>> Module Size Used by
>> r8188eu 421888 0
>> cfg80211 618496 1 r8188eu
>> rfkill 28672 1 cfg80211
>> fuse 102400 3
>> xt_CHECKSUM 16384 1
>> ipt_MASQUERADE 16384 3
>> nf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE
>> tun 36864 1
>> ip6t_rpfilter 16384 1
>>
>>
>>
>> As I run the wpa_supplicant, I get an error where there is a problem
>> with initializing the driver.
>>
>>
>> $ ifconfig -a | grep -A 5 wl
>> wlp36s0f3u3: flags=4098<BROADCAST,MULTICAST> mtu 1500
>> ether 10:62:eb:30:9c:34 txqueuelen 1000 (Ethernet)
>> RX packets 0 bytes 0 (0.0 B)
>> RX errors 0 dropped 0 overruns 0 frame 0
>> TX packets 0 bytes 0 (0.0 B)
>> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
>> $ sudo wpa_supplicant -i wlp36s0f3u3 -c
>> /etc/wpa_supplicant/wpa_supplicant.conf -B
>> Successfully initialized wpa_supplicant
>> nl80211: Driver does not support authentication/association or
>> connect commands
>> nl80211: deinit ifname=wlp36s0f3u3 disabled_11b_rates=0
>> wlp36s0f3u3: Failed to initialize driver interface
>>
>>
>>
>> Regards,
>> Mahmood
>>
>>
>>
>>
>> On Fri, Mar 16, 2018 at 10:12 PM, Alan Bartlett <ajb at elrepo.org> wrote:
>>> On 15 March 2018 at 16:54, Mahmood Naderan <mahmood.nt at gmail.com>
>>> wrote:
>>>> Hi,
>>>> I upgraded the default 3.10 on centos 7 to 4.15 via the elrepo rpm
>>>> packages. I have a D-Link DWA 123 wireless dongle which is working on
>>>> ubuntu with kernel 4.10. However, with centos 7 it doesn't work and
>>>> the blue LED is off. As I attach the adapter, I see the following
>>>> messages in the log
>>>>
>>> <snip>
>>>> Any idea to fix that? Does kernel correctly load the module?
>>>>
>>>> Regards,
>>>> Mahmood
>>> My suggestion is that you --
>>>
>>> * First upgrade to kernel-ml-4.15.10-1.el7.elrepo, which was released
>>> yesterday. [1]
>>>
>>> * Once the system has been rebooted and with the wireless dongle
>>> unplugged, capture the state of the USB sub-systems; lsusb > usb-1.txt
>>>
>>> * Now plug in the USB wireless dongle and, once again capture the
>>> state of the USB sub-systems; lsusb > usb-2.txt
>>>
>>> * Perform a diff on those two textual files and note the Vendor and
>>> Device ID pairing for the wireless dongle.
>>>
>>> * Perform a "double grep" on the modules.alias file for the Vendor and
>>> Device ID pairing. Note the module name displayed, if any.
>>>
>>> Real-world example --
>>>
>>> [Duo2 tmp]$ lsusb > usb-1.txt
>>> [Duo2 tmp]$ lsusb > usb-2.txt
>>> [Duo2 tmp]$ diff usb-1.txt usb-2.txt
>>> 0a1
>>>> Bus 002 Device 002: ID 0b95:7720 ASIX Electronics Corp. AX88772
>>> [Duo2 tmp]$ grep -i 0b95 /lib/modules/$(uname -r)/modules.alias |
>>> grep -i 7720
>>> alias usb:v0B95p7720d*dc*dsc*dp*ic*isc*ip*in* asix
>>> [Duo2 tmp]$
>>>
>>> The Vendor and Device ID pairing for the device used in my example is
>>> 0b95:7720 and, via the double grep, we see that the asix module is
>>> required.
>>>
>>> With the required module known, it should be easy to see if it has
>>> been loaded; lsmod | head
>>>
>>> Alan.
>>>
>>> [1] http://lists.elrepo.org/pipermail/elrepo/2018-March/004164.html
>>> _______________________________________________
>>> elrepo mailing list
>>> elrepo at lists.elrepo.org
>>> http://lists.elrepo.org/mailman/listinfo/elrepo
>> _______________________________________________
>> elrepo mailing list
>> elrepo at lists.elrepo.org
>> http://lists.elrepo.org/mailman/listinfo/elrepo
>
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo
More information about the elrepo
mailing list