You are not logged in.

#1 2021-12-10 23:13:14

cazacmihai
Member
Registered: 2021-11-13
Posts: 18

[SOLVED]Network manager wireless-unavailable realtek usb dongle

So i swtiched from mint to arch. i'm usign a usb dongle for my wifi.
It was working on mint with these drivers drivers from https://github.com/kelebek333/rtl8188fu
But when i build these same drivers on my arch system (also disable mac random. and power management), network manager says that wireless is unavailable. I tried a lot of fixes but nothing seems to work.Thanks in advance for helping!!

lsusb output:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04f2:b627 Chicony Electronics Co., Ltd HP Wide Vision HD Camera
Bus 001 Device 005: ID 12d1:108a Huawei Technologies Co., Ltd. JNY-LX1
Bus 001 Device 007: ID 0bda:f179 Realtek Semiconductor Corp. RTL8188FTV 802.11b/g/n 1T1R 2.4G WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg -w

[ 1584.271958] usb 1-1: new high-speed USB device number 8 using xhci_hcd
[ 1584.398409] usb 1-1: New USB device found, idVendor=0bda, idProduct=f179, bcdDevice= 0.00
[ 1584.398425] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1584.398432] usb 1-1: Product: 802.11n
[ 1584.398436] usb 1-1: Manufacturer: Realtek
[ 1584.398441] usb 1-1: SerialNumber: 1CBFCE998595
[ 1584.400252] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_B_CUT_1T1R_RomVer(0)
[ 1598.445237] EEPROM ID(0x3031) is invalid!!
[ 1598.445246] EEPROM ID = 0x3031
[ 1598.462031] r8188eu 1-1:1.0 wlp0s20f0u1: renamed from wlan0

journalctl -b : https://pastebin.com/Gj7d3q2J

related part:(i think)

Dec 11 01:07:53 archmc wpa_supplicant[828]: WEXT: Could not set interface 'wlp0s20f0u1' UP
Dec 11 01:07:53 archmc wpa_supplicant[828]: wlp0s20f0u1: Failed to initialize driver interface
Dec 11 01:07:53 archmc NetworkManager[418]: <error> [1639177673.9972] device (wlp0s20f0u1): Couldn't initialize supplicant interface: GDBus.Error:fi.w1.wpa_supplicant1.UnknownError: wpa_supplicant couldn't grab this interface.
Dec 11 01:07:53 archmc NetworkManager[418]: <info>  [1639177673.9973] device (wlp0s20f0u1): supplicant interface keeps failing, giving up
Dec 11 01:08:02 archmc sudo[3304]: pam_unix(sudo:session): session closed for user root

Last edited by cazacmihai (2021-12-11 15:16:00)

Offline

#2 2021-12-10 23:51:25

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 630

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

But when i build these same drivers on my arch system

I'm not sure what you mean by this..if your using makepkg or what.

https://aur.archlinux.org/packages/?O=0&K=rtl8188fu

Offline

#3 2021-12-11 07:00:33

cazacmihai
Member
Registered: 2021-11-13
Posts: 18

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

I mean i git cloned the repository and then did dmsg -add, dmsg build and dmsg install, the instructions i used are in the github link

Offline

#4 2021-12-11 11:17:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,830

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

And you're not using the AUR package why exactly? Did you copy the firmware in this manual attempt? Your last thread was closed for asking for help with an Arcolinux system, is this an actual Arch install now?

Online

#5 2021-12-11 12:32:59

progandy
Member
Registered: 2012-05-17
Posts: 5,205

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

V1del wrote:

Did you copy the firmware in this manual attempt?

At least the firmware load failed: That was for 8188eu, not fu...

Dec 11 00:40:41 archmc kernel: r8188eu 1-1:1.0: Direct firmware load for rtlwifi/rtl8188eufw.bin failed with error -2
Dec 11 00:40:41 archmc kernel: Request firmware failed with error 0xfffffffe

Edit: By the way, there are some more firmware errors like for i915 (kbl_dmc_ver1_04.bin) and r8169 (rtl8168h-2.fw) as well asregulatory.db.
Possibly linux-firmware and wireless-regdb are not installed either.

Last edited by progandy (2021-12-11 13:31:00)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2021-12-11 12:46:47

cazacmihai
Member
Registered: 2021-11-13
Posts: 18

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

I did not use aur for the driver because last time i tried it didn't work so i tried do build it with dkms, because on mint it worked that way, and yes i actually run arch now not arcolinux
Yes i did copy the firmware in the firmware directory, i actually had to make that directory cause it was not there.

Is it possible that this is caused by the kernel?
Like the lts kernel better supports the driver than the base, stable ones? (im using zen on this machine now, i want to see if it gives me more battery life)

PS: im not praising debian nor mint or something i just state that i have the right driver

Last edited by cazacmihai (2021-12-11 13:01:27)

Offline

#7 2021-12-11 13:43:50

progandy
Member
Registered: 2012-05-17
Posts: 5,205

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

As I see it the rtl8188fu driver is not used at all.

The firmware error I posted was for the r8188eu driver that seems to recognize your device, but is missing the firmware it wants. Since kernel 5.15 there is a staging driver called r8188eu that claims support for your device id. If that is wrong, then you have to blacklist it so your external driver can try to bind to the device.
I's suggest trying the kernel driver first, though. Install the linux-firmware package.

Last edited by progandy (2021-12-11 13:47:25)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#8 2021-12-11 13:59:59

cazacmihai
Member
Registered: 2021-11-13
Posts: 18

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

I have followed some posts that tried to fix the problem ,and one of them suggested to add this eu bin file in my /lib/firmware/rtlwifi folder,
I removed them now and left only the fu file,which came with the github kelebek driver.


After installing linux-firmware and rebooting,it still doesn't work

Last edited by cazacmihai (2021-12-11 14:15:57)

Offline

#9 2021-12-11 14:50:13

seth
Member
Registered: 2012-09-03
Posts: 51,826

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

progandy wrote:

Since kernel 5.15 there is a staging driver called r8188eu that claims support for your device id. you have to blacklist it

Offline

#10 2021-12-11 14:55:57

cazacmihai
Member
Registered: 2021-11-13
Posts: 18

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

Ok, also how do i blacklist it ?

Offline

#11 2021-12-11 15:03:16

seth
Member
Registered: 2012-09-03
Posts: 51,826

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

You click on the link that progandy provided?

Offline

#12 2021-12-11 15:04:32

cazacmihai
Member
Registered: 2021-11-13
Posts: 18

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

Oh, i didn't notice it's a link

Offline

#13 2021-12-11 15:14:41

cazacmihai
Member
Registered: 2021-11-13
Posts: 18

Re: [SOLVED]Network manager wireless-unavailable realtek usb dongle

OMG it finally wooorks, i don't even know what driver is using anymore !! I have both the linux-firmware package and the github kelebek one.

Blacklisting that module actually worked, thank you a lot, i spent 2 days on this!

What i did:

sudo touch /etc/modprobe.d/blacklist.conf
(text editor,i use xed) sudo  xed /etc/modprobe.d/blacklist.conf

install r8188eu  /bin/true

Thanks a lot  to everyone!!!

Last edited by cazacmihai (2021-12-11 15:16:43)

Offline

Board footer

Powered by FluxBB