On network issues

So can you repeat, what problems do you have exactly? What’s not working?

Wireless not working. Can’t detect any connection. It was fine until kernel 6.1.
The card is an Intel ax201, never had problems with Manjaro

Are you using Bluetooth while being on Wi-Fi?
I also figure out some problem with the Internet with Bluetooth and Wi-Fi. topic

What is your output of:

sudo systemctl status NetworkManager.service
sudo systemctl status dhcpcd

and

sudo systemctl status wpa_supplicant.service

You might try the latest kernel 6.6.x iteration which fixed a recent regression, and has solved WiFi issues for many users. See if it also resolves your issue.

I hope this helps. Cheers.

1 Like

Well, actually it’s just the latest that caused problems

I see.
Then, at the risk of stating the obvious, it must be something else.

I found Manjaro Not Recognizing Intel Wi-Fi 6 AX201 from back in 2021; there was no apparent solution found. Whether or not it’s the same issue, I can’t say. I also found these, neither of which produced any joy:

Is the linux-firmware package installed?

pacman -Qi linux-firmware
pacman -Qi linux-firmware                                                                                                                          ✔ 
Name            : linux-firmware
Version         : 20231211.f2e52a1c-1
Description     : Firmware files for Linux
Architecture    : any
URL             : https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary
Licenses        : GPL2  GPL3  custom
Groups          : None
Provides        : None
Depends On      : linux-firmware-whence
Optional Deps   : None
Required By     : linux61  linux66
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 524,37 MiB
Packager        : Mark Wagie <mark@manjaro.org>
Build Date      : lun 11 dic 2023, 16:32:36
Install Date    : mer 13 dic 2023, 22:05:42
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

no, BT not active

sudo systemctl status NetworkManager.service                                                                                                       ✔ 
● NetworkManager.service - Network Manager
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/NetworkManager.service.d
             └─50-iwd.conf
     Active: active (running) since Sat 2023-12-16 09:42:37 CET; 1min 42s ago
       Docs: man:NetworkManager(8)
   Main PID: 2408 (NetworkManager)
      Tasks: 4 (limit: 18690)
     Memory: 8.0M
        CPU: 101ms
     CGroup: /system.slice/NetworkManager.service
             └─2408 /usr/bin/NetworkManager --no-daemon

dic 16 09:42:37 gianluca-latitude5410 NetworkManager[2408]: <info>  [1702716157.9720] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
dic 16 09:42:37 gianluca-latitude5410 systemd[1]: Started Network Manager.
dic 16 09:42:37 gianluca-latitude5410 NetworkManager[2408]: <info>  [1702716157.9739] manager: NetworkManager state is now ASLEEP
dic 16 09:42:37 gianluca-latitude5410 NetworkManager[2408]: <info>  [1702716157.9765] device (wlan0): new IWD device state is disconnected
dic 16 09:42:37 gianluca-latitude5410 NetworkManager[2408]: <info>  [1702716157.9767] Wi-Fi P2P device added on phy0
dic 16 09:42:37 gianluca-latitude5410 NetworkManager[2408]: <info>  [1702716157.9770] manager: (/net/connman/iwd/0): new 802.11 Wi-Fi P2P device (/org/freedeskto>
dic 16 09:42:37 gianluca-latitude5410 NetworkManager[2408]: <info>  [1702716157.9778] ovsdb: disconnected from ovsdb
dic 16 09:42:37 gianluca-latitude5410 NetworkManager[2408]: <info>  [1702716157.9779] manager: startup complete
dic 16 09:42:37 gianluca-latitude5410 NetworkManager[2408]: <info>  [1702716157.9791] modem-manager: ModemManager available
dic 16 09:42:38 gianluca-latitude5410 NetworkManager[2408]: <info>  [1702716158.0197] agent-manager: agent[ca95c0061edea0d6,:1.35/org.kde.plasma.networkmanagemen>
lines 1-23/23 (END)
sudo systemctl status dhcpcd                                                                                                                       ✔ 
[sudo] password for gianluca: 
● dhcpcd.service - DHCP/ IPv4LL/ IPv6RA/ DHCPv6 client on all interfaces
     Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; disabled; preset: disabled)
     Active: active (running) since Sat 2023-12-16 09:42:26 CET; 4min 39s ago
   Main PID: 2095 (dhcpcd)
      Tasks: 5 (limit: 18690)
     Memory: 3.3M
        CPU: 127ms
     CGroup: /system.slice/dhcpcd.service
             ├─2095 "dhcpcd: [manager] [ip4] [ip6]"
             ├─2097 "dhcpcd: [privileged proxy]"
             ├─2098 "dhcpcd: [network proxy]"
             ├─2099 "dhcpcd: [control proxy]"
             └─2123 "dhcpcd: [BPF ARP] enp0s20f0u3 192.168.35.60"

dic 16 09:42:31 gianluca-latitude5410 dhcpcd[2097]: ps_bpf_recvmsg: Invalid argument
dic 16 09:42:31 gianluca-latitude5410 dhcpcd[2097]: ps_bpf_recvmsg: Invalid argument
dic 16 09:42:33 gianluca-latitude5410 dhcpcd[2097]: enp0s20f0u3: leased 192.168.35.60 for 3599 seconds
dic 16 09:42:33 gianluca-latitude5410 dhcpcd[2097]: enp0s20f0u3: adding route to 192.168.35.0/24
dic 16 09:42:33 gianluca-latitude5410 dhcpcd[2097]: enp0s20f0u3: adding default route via 192.168.35.158
dic 16 09:42:33 gianluca-latitude5410 dhcpcd[2097]: ps_bpf_recvmsg: Invalid argument
dic 16 09:42:33 gianluca-latitude5410 dhcpcd[2097]: ps_bpf_recvmsg: Invalid argument
dic 16 09:42:35 gianluca-latitude5410 dhcpcd[2097]: ps_bpf_recvmsg: Invalid argument
dic 16 09:42:35 gianluca-latitude5410 dhcpcd[2097]: ps_bpf_recvmsg: Invalid argument
dic 16 09:42:40 gianluca-latitude5410 dhcpcd[2097]: enp0s20f0u3: no IPv6 Routers available
sudo systemctl status wpa_supplicant.service                                                                                                ✔  6s  
○ wpa_supplicant.service - WPA supplicant
     Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant.service; disabled; preset: disabled)
     Active: inactive (dead)

NetworkManager and dhcpcd is running what happen if you

sudo systemctl disable --now dhcpcd

only 1 should be running Wiki

A reminder of the note from @zbe (Post #4): Running dhcpcd with NetworkManager is usually not necessary/recommended.

Especially not when you already connect to a router (or WiFi router) that provides a dhcp server; or an ISP that provides a dhcp service;

dhcpcd should be disabled in most cases.

I disabled dhcpcd as you said, internet is still on (still tethering on a phone) but no sign of wireless. connections don,t seem to appear

ok, I rebooted and if I only restart networkmanager, internet doesn’t work at all (not even tethering);
if I start only dhcpcd tethering works

it seems the problem is networkmanager, the icon is dead but wireless now works on my configured usual one (restarted only dhcpcd)
How could I restore “normality” with networkmanager?

Probably show what you modified here.

Also: Do you really need iwd as backend? wpa_supplicant is the default.

It wasn’t wanted))) I don’t know what happened.
How do I get everything back on default, like network manager, epa supplicnt?
I’m Not an expert really

Please show:

ls -la /usr/lib/systemd/system/NetworkManager.service.d
cat /usr/lib/systemd/system/NetworkManager.service.d/*
ls -la /etc/NetworkManager/conf.d/
cat /etc/NetworkManager/conf.d/*

I appreciate your patience and help

`sudo systemctl start dhcpcd                                                                                                                        ✔ 
[sudo] password for gianluca: 
    ~  ls -la /usr/lib/systemd/system/NetworkManager.service.d                                                                                     ✔  8s  

total 32
drwxr-xr-x  2 root root  4096  6 dic 23.07 .
drwxr-xr-x 21 root root 20480 13 dic 22.05 ..
-rw-r--r--  1 root root    43  6 dic 23.07 50-iwd.conf
    ~  cat /usr/lib/systemd/system/NetworkManager.service.d/*                                                                                             ✔ 
[Unit]
Wants=iwd.service
After=iwd.service
    ~  ls -la /etc/NetworkManager/conf.d/                                                                                                                 ✔ 

total 8
drwxr-xr-x 2 root root 4096 11 ago  2022 .
drwxr-xr-x 7 root root 4096  9 nov 00.20 ..
    ~  cat /etc/NetworkManager/conf.d/*                                                                                                                   ✔ 


zsh: no matches found: /etc/NetworkManager/conf.d/*
`
1 Like

Remove that file:

sudo rm -f /usr/lib/systemd/system/NetworkManager.service.d/50-iwd.conf

Restart the service:

sudo systemctl restart NetworkManager

Just to explain: dhcpcd.service, NetworkManager.service and iwd.service are in conflict when running. So only run one of at a time.

Keep sure that dhcpcd.service and iwd.service is not running.

1 Like

Thanks for the clear explanation, I understand.

I tried those commands, it also suggested to restart the daemon, I tried and rebooted, still the same situation. Doesn’t work

Thank you for the unclear description: “Doesn’t work.” Very helpful, really. Did you anything else beside these 2 commands? Show what you did on the terminal for example. That what be much more helpful, since as you said: