Skip to main content
Topic: [SOLVED] Networking Issues (Read 1644 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Networking Issues

Hello, as of the title I am having some issues with networking (or to be more specific, in firmware loading).
I am on a laptop, and the internal wifi card does not work, I checked dmesg and found (filtered with grep):
Code: [Select]
[    2.703428] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_fw.bin
[    2.705487] bluetooth hci0: loading /lib/firmware/rtl_bt/rtl8723b_fw.bin failed with error -22
[    2.705490] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_fw.bin failed with error -22
[    2.705492] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8723b_fw.bin not found
[    3.920665] rtl8723be 0000:03:00.0: enabling device (0000 -> 0003)
[    3.978263] rtl8723be: Using firmware rtlwifi/rtl8723befw_36.bin
[    3.980072] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
[    3.980402] rtlwifi: rtlwifi: wireless switch is on
[    3.981227] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw_36.bin failed with error -22
[    3.981228] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw_36.bin failed with error -22
[    3.981238] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw.bin failed with error -22
[    3.981238] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw.bin failed with error -22
[    3.981239] rtlwifi: Loading alternative firmware rtlwifi/rtl8723befw.bin
[    3.981239] rtlwifi: Selected firmware is not available
[    9.888918] r8169 0000:02:00.2: loading /lib/firmware/rtl_nic/rtl8402-1.fw failed with error -22
[    9.888920] r8169 0000:02:00.2: Direct firmware load for rtl_nic/rtl8402-1.fw failed with error -22
[    9.888922] r8169 0000:02:00.2: Unable to load firmware rtl_nic/rtl8402-1.fw (-22)

Then I tried to use a WiFi USB stick, and still got similar errors:
Code: [Select]
[    3.951529] mt7601u 1-1:1.0: loading /lib/firmware/mt7601u.bin failed with error -22
[    3.951532] mt7601u 1-1:1.0: Direct firmware load for mt7601u.bin failed with error -22
[    3.951854] mt7601u: probe of 1-1:1.0 failed with error -22
[    3.951875] usbcore: registered new interface driver mt7601u
[   32.421584] mt7601u 1-3:1.0: ASIC revision: 76010001 MAC revision: 76010500
[   32.422374] mt7601u 1-3:1.0: loading /lib/firmware/mt7601u.bin failed with error -22
[   32.422383] mt7601u 1-3:1.0: Direct firmware load for mt7601u.bin failed with error -22
[   32.422721] mt7601u: probe of 1-3:1.0 failed with error -22

I think that the problem might be more related to module loading than to driver in itself, but I am not sure, could anyone help me?

Re: Networking Issues

Reply #1
package linux-firmware is installed?  i guess, it's not installed, because firmware for rtl8723 IS in linux-firmware package inherent...

Re: Networking Issues

Reply #2
package linux-firmware is installed?  i guess, it's not installed, because firmware for rtl8723 IS in linux-firmware package inherent...
Yes, unluckily is not that easy, this is the information about kernel and firmware:
Code: [Select]
$ pacman -Qe | grep linux
linux-firmware 20210511.7685cf4-1
linux-lts 5.10.37-1
linux-lts-headers 5.10.37-1


Re: Networking Issues

Reply #4
Ok, the laptop is an ASUS F541UJ-GQ105T, attached there are the logs. The OS is runit-plasma.

Re: Networking Issues

Reply #5
Can you use wireless if you boot off one of our live ISOs? Your dmesg shows many -22 firmware errors, but I can't remember right now what can cause them.

Re: Networking Issues

Reply #6
try
Code: [Select]
sudo modprobe -rv rtl8723be

$sudo modprobe -v rtl8723be ant_sel=2
or eventually
Code: [Select]
$sudo modprobe -v rtl8723be fwlps=0 ant_sel=2

Re: Networking Issues

Reply #7
Can you use wireless if you boot off one of our live ISOs? Your dmesg shows many -22 firmware errors, but I can't remember right now what can cause them.

Just tried, in live it works out-of-the-box  :o
EDIT: searching on the Internet, isn't error 22 invalid argument?

try
Code: [Select]
sudo modprobe -rv rtl8723be

$sudo modprobe -v rtl8723be ant_sel=2
or eventually
Code: [Select]
$sudo modprobe -v rtl8723be fwlps=0 ant_sel=2

Tried, doesn't work, still got errors related to firmware loading:

Code: [Select]
$ sudo modprobe -rv rtl8723be
rmmod rtl8723be
rmmod rtl_pci
rmmod rtl8723_common
rmmod btcoexist
rmmod rtlwifi
rmmod mac80211
rmmod libarc4
rmmod cfg80211

$ sudo modprobe -v rtl8723be ant_sel=2
insmod /lib/modules/5.10.37-1-lts/kernel/lib/crypto/libarc4.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/net/wireless/cfg80211.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/net/mac80211/mac80211.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723com/rtl8723-common.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/drivers/net/wireless/realtek/rtlwifi/btcoexist/btcoexist.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723be/rtl8723be.ko.xz ant_sel=2

$ sudo dmesg | grep rtl
[    3.640298] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_fw.bin
[    3.642543] bluetooth hci0: loading /lib/firmware/rtl_bt/rtl8723b_fw.bin failed with error -22
[    3.642546] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_fw.bin failed with error -22
[    3.642549] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8723b_fw.bin not found
[    4.768978] rtl8723be 0000:03:00.0: enabling device (0000 -> 0003)
[    4.847638] rtl8723be: Using firmware rtlwifi/rtl8723befw_36.bin
[    4.849959] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    4.850585] rtlwifi: rtlwifi: wireless switch is on
[    4.867592] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw_36.bin failed with error -22
[    4.867594] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw_36.bin failed with error -22
[    4.867609] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw.bin failed with error -22
[    4.867610] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw.bin failed with error -22
[    4.867612] rtlwifi: Loading alternative firmware rtlwifi/rtl8723befw.bin
[    4.867612] rtlwifi: Selected firmware is not available
[    9.244781] r8169 0000:02:00.2: loading /lib/firmware/rtl_nic/rtl8402-1.fw failed with error -22
[    9.244783] r8169 0000:02:00.2: Direct firmware load for rtl_nic/rtl8402-1.fw failed with error -22
[    9.244786] r8169 0000:02:00.2: Unable to load firmware rtl_nic/rtl8402-1.fw (-22)
[   72.511003] rtl8723be: Using firmware rtlwifi/rtl8723befw_36.bin
[   72.512855] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[   72.513079] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw_36.bin failed with error -22
[   72.513081] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw_36.bin failed with error -22
[   72.513091] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw.bin failed with error -22
[   72.513092] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw.bin failed with error -22
[   72.513094] rtlwifi: Loading alternative firmware rtlwifi/rtl8723befw.bin
[   72.513094] rtlwifi: Selected firmware is not available
[   72.513598] rtlwifi: rtlwifi: wireless switch is on

$ sudo modprobe -rv rtl8723be
rmmod rtl8723be
rmmod rtl_pci
rmmod rtl8723_common
rmmod btcoexist
rmmod rtlwifi
rmmod mac80211
rmmod libarc4
rmmod cfg80211

$ sudo modprobe -v rtl8723be fwlps=0 ant_sel=2
insmod /lib/modules/5.10.37-1-lts/kernel/lib/crypto/libarc4.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/net/wireless/cfg80211.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/net/mac80211/mac80211.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723com/rtl8723-common.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/drivers/net/wireless/realtek/rtlwifi/btcoexist/btcoexist.ko.xz
insmod /lib/modules/5.10.37-1-lts/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723be/rtl8723be.ko.xz fwlps=0 ant_sel=2

$ sudo dmesg | grep rtl
[    3.640298] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_fw.bin
[    3.642543] bluetooth hci0: loading /lib/firmware/rtl_bt/rtl8723b_fw.bin failed with error -22
[    3.642546] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_fw.bin failed with error -22
[    3.642549] Bluetooth: hci0: RTL: firmware file rtl_bt/rtl8723b_fw.bin not found
[    4.768978] rtl8723be 0000:03:00.0: enabling device (0000 -> 0003)
[    4.847638] rtl8723be: Using firmware rtlwifi/rtl8723befw_36.bin
[    4.849959] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    4.850585] rtlwifi: rtlwifi: wireless switch is on
[    4.867592] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw_36.bin failed with error -22
[    4.867594] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw_36.bin failed with error -22
[    4.867609] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw.bin failed with error -22
[    4.867610] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw.bin failed with error -22
[    4.867612] rtlwifi: Loading alternative firmware rtlwifi/rtl8723befw.bin
[    4.867612] rtlwifi: Selected firmware is not available
[    9.244781] r8169 0000:02:00.2: loading /lib/firmware/rtl_nic/rtl8402-1.fw failed with error -22
[    9.244783] r8169 0000:02:00.2: Direct firmware load for rtl_nic/rtl8402-1.fw failed with error -22
[    9.244786] r8169 0000:02:00.2: Unable to load firmware rtl_nic/rtl8402-1.fw (-22)
[   72.511003] rtl8723be: Using firmware rtlwifi/rtl8723befw_36.bin
[   72.512855] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[   72.513079] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw_36.bin failed with error -22
[   72.513081] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw_36.bin failed with error -22
[   72.513091] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw.bin failed with error -22
[   72.513092] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw.bin failed with error -22
[   72.513094] rtlwifi: Loading alternative firmware rtlwifi/rtl8723befw.bin
[   72.513094] rtlwifi: Selected firmware is not available
[   72.513598] rtlwifi: rtlwifi: wireless switch is on
[  153.292839] rtl8723be: Using firmware rtlwifi/rtl8723befw_36.bin
[  153.294288] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[  153.294480] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw_36.bin failed with error -22
[  153.294481] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw_36.bin failed with error -22
[  153.294488] rtl8723be 0000:03:00.0: loading /lib/firmware/rtlwifi/rtl8723befw.bin failed with error -22
[  153.294488] rtl8723be 0000:03:00.0: Direct firmware load for rtlwifi/rtl8723befw.bin failed with error -22
[  153.294489] rtlwifi: Loading alternative firmware rtlwifi/rtl8723befw.bin
[  153.294490] rtlwifi: Selected firmware is not available
[  153.294995] rtlwifi: rtlwifi: wireless switch is on

Re: Networking Issues

Reply #8
try please newest kernel 5.12.


 

Re: Networking Issues

Reply #10
just a idea,  can you look which Linux-firmware is in your iso?
if iso works, you can try downgrade to same version of firmware in your installed system... maybe help that

Re: Networking Issues

Reply #11
just a idea,  can you look which Linux-firmware is in your iso?
if iso works, you can try downgrade to same version of firmware in your installed system... maybe help that

I will try, if that doesn't help I'll go with a full system reinstall

Re: Networking Issues

Reply #12
post output of,

Code: [Select]
$pacman -Ql linux-firmware | grep rtl8723

If it looks OK but the problem persists, I suggest you try a more recent weekly built iso image.

Re: Networking Issues

Reply #13
I will try, if that doesn't help I'll go with a full system reinstall
Sorry for my late replies. It didn't work

post output of,

Code: [Select]
$pacman -Ql linux-firmware | grep rtl8723

If it looks OK but the problem persists, I suggest you try a more recent weekly built iso image.
It was definitely not ok as it gave empty output  :o
In the end I reinstalled the whole system