Page 2 of 5

Re: WLAN device misrecognized as wired Ethernet interface

Posted: 2020/03/11 03:28:59
by chemal
Create a file /etc/modprobe.d/blacklist-r8192e_pci.conf and put

Code: Select all

blacklist r8192e_pci
in it. Then reboot and see what happens. If this doesn't help, delete this file and try with a /etc/modprobe.d/blacklist-rtl8192se.conf that contains:

Code: Select all

blacklist rtl8192se
Also check and probably post the output of 'dmesg' in both cases.

Re: WLAN device misrecognized as wired Ethernet interface

Posted: 2020/03/11 04:36:34
by tchaikovsky8
Created a file /etc/modprobe.d/blacklist-r8192e_pci.conf containing "blacklist r8192e_pci".
Rebooted.

There seems to be no change.


# nmcli d
DEVICE TYPE STATE CONNECTION
enp2s0 ethernet connected enp2s0
virbr0 bridge connected virbr0
enp3s0 ethernet unavailable --
lo loopback unmanaged --
virbr0-nic tun unmanaged --

Re: WLAN device misrecognized as wired Ethernet interface

Posted: 2020/03/11 04:39:49
by tchaikovsky8
Deleted a file /etc/modprobe.d/blacklist-r8192e_pci.conf".
Created a file /etc/modprobe.d/blacklist-rtl8192se.conf containing "blacklist rtl8192se".
Rebooted.

There seems to be no change, either.


DEVICE TYPE STATE CONNECTION
enp2s0 ethernet connected enp2s0
virbr0 bridge connected virbr0
enp3s0 ethernet unavailable --
lo loopback unmanaged --
virbr0-nic tun unmanaged --

Re: WLAN device misrecognized as wired Ethernet interface

Posted: 2020/03/11 04:40:51
by tchaikovsky8
dmesg output is too long to post.

Re: WLAN device misrecognized as wired Ethernet interface

Posted: 2020/03/11 06:32:09
by afewgoodman
Hi,
# lsmod | grep 8192
rtl8192se 75756 0
rtl_pci 30938 1 rtl8192se
rtlwifi 84374 2 rtl_pci,rtl8192se
mac80211 718956 3 rtl_pci,rtlwifi,rtl8192se
r8192e_pci 205594 0
rtllib 151690 1 r8192e_pci
In my looking into driver tree, r8192e_pci is staging driver. so, I think you should only rtl8192se driver. it is legal driver. Maybe, kernel would be built with staging driver, so, it would be included in the kernel module also.

But, I am not sure r8192se would work because I have not tried. you can unload rtl8192e_pci and try again.

For staging driver, please refer following link.

https://lwn.net/Articles/324279/

BR.

Re: WLAN device misrecognized as wired Ethernet interface

Posted: 2020/03/11 07:56:53
by tchaikovsky8
you can unload rtl8192e_pci and try again.
I have unloaded r8192e_pci.
Device enp3s0 TYPE:ethernet disappeared, but wifi device did not appear.


# nmcli d
DEVICE TYPE STATE CONNECTION
enp2s0 ethernet connected enp2s0
virbr0 bridge connected virbr0
enp3s0 ethernet unavailable --
lo loopback unmanaged --
virbr0-nic tun unmanaged --

# lsmod | grep 8192
r8192e_pci 205594 0
rtllib 151690 1 r8192e_pci
rtl8192se 75756 0
rtl_pci 30938 1 rtl8192se
rtlwifi 84374 2 rtl_pci,rtl8192se
mac80211 718956 3 rtl_pci,rtlwifi,rtl8192se

# modprobe -r r8192e_pci

# lsmod | grep 8192
rtl8192se 75756 0
rtl_pci 30938 1 rtl8192se
rtlwifi 84374 2 rtl_pci,rtl8192se
mac80211 718956 3 rtl_pci,rtlwifi,rtl8192se

# systemctl restart NetworkManager

# nmcli d
DEVICE TYPE STATE CONNECTION
enp2s0 ethernet connected enp2s0
virbr0 bridge connected virbr0
lo loopback unmanaged --
virbr0-nic tun unmanaged --

Re: WLAN device misrecognized as wired Ethernet interface

Posted: 2020/03/11 08:20:43
by TrevorH
Unload them both, then load the se one again

Re: WLAN device misrecognized as wired Ethernet interface

Posted: 2020/03/11 08:26:59
by afewgoodman
In a temporarily way, you can backup kernel modules relate with rtl8182e_pci to somewhere not to probe them in the boot process.

Then, Try to reboot. I think it is worth try.

BR.

P.S : If it would be done in the initramfs, probably, you will regenerate initramfs removing drivers relate with rtl8182_pci.

Re: WLAN device misrecognized as wired Ethernet interface

Posted: 2020/03/11 09:34:40
by tchaikovsky8
Unload them both, then load the se one again
Same result. No wifi device is found.

# lsmod | grep 8192
r8192e_pci 205594 0
rtllib 151690 1 r8192e_pci
rtl8192se 75756 0
rtl_pci 30938 1 rtl8192se
rtlwifi 84374 2 rtl_pci,rtl8192se
mac80211 718956 3 rtl_pci,rtlwifi,rtl8192se

# modprobe -r r8192e_pci

# modprobe -r rtl8192se

# lsmod | grep 8192

# modprobe rtl8192se

# lsmod | grep 8192
rtl8192se 75756 0
rtl_pci 30938 1 rtl8192se
rtlwifi 84374 2 rtl_pci,rtl8192se
mac80211 718956 3 rtl_pci,rtlwifi,rtl8192se

# systemctl restart NetworkManager

# nmcli d
DEVICE TYPE STATE CONNECTION
enp2s0 ethernet connected enp2s0
virbr0 bridge connected virbr0
lo loopback unmanaged --
virbr0-nic tun unmanaged --

Re: WLAN device misrecognized as wired Ethernet interface

Posted: 2020/03/11 10:07:56
by tchaikovsky8
you can backup kernel modules relate with rtl8182e_pci to somewhere not to probe them in the boot process.
Then, Try to reboot.
Same result. No wifi device is found.

# lsmod | grep 8192

# nmcli d
DEVICE TYPE STATE CONNECTION
enp2s0 ethernet connected enp2s0
virbr0 bridge connected virbr0
lo loopback unmanaged --
virbr0-nic tun unmanaged --