Upgrade from 22.05 to 22.11 broke wifi, troubleshooting suggestions?

I recently upgraded my two workstations from 22.05 to 22.11. They use similar Asus workstation motherboards (z11pa-d8, z10pe-d8) and the exact same Wifi card (Asus PCE-AC88). On one the upgrade went smoothly, no problems. But on the other, wifi stopped working, like the system no longer recognizes the wifi card.

The relevant error from journalctl is:

> journalctl --since=2023-01-15|grep wlp130
Jan 15 17:52:38 z10pe-d8 systemd-sysctl[1744]: Couldn't write '0' to 'net/ipv4/conf/wlp130s0/proxy_arp', ignoring: No such file or directory
Jan 15 17:52:38 z10pe-d8 systemd-sysctl[1744]: Couldn't write '2' to 'net/ipv6/conf/wlp130s0/use_tempaddr', ignoring: No such file or directory
Jan 15 17:54:08 z10pe-d8 systemd[1]: sys-subsystem-net-devices-wlp130s0.device: Job sys-subsystem-net-devices-wlp130s0.device/start timed out.
Jan 15 17:54:08 z10pe-d8 systemd[1]: Timed out waiting for device /sys/subsystem/net/devices/wlp130s0.
Jan 15 17:54:08 z10pe-d8 systemd[1]: Dependency failed for Address configuration of wlp130s0.
Jan 15 17:54:08 z10pe-d8 systemd[1]: network-addresses-wlp130s0.service: Job network-addresses-wlp130s0.service/start failed with result 'dependency'.
Jan 15 17:54:08 z10pe-d8 systemd[1]: sys-subsystem-net-devices-wlp130s0.device: Job sys-subsystem-net-devices-wlp130s0.device/start failed with result 'timeout'.

Rolling back to the prior generation 22.05 fixes the problem, wifi works perfectly there, it’s only in the new 22.11 generation where the problem occurs.

I’m still using configuration.nix for all my config, not flakes, and I didn’t make any changes to config.nix when doing the upgrade. I just updated the system channel to 22.11 and then ran nixos-rebuild --upgrade.

I’m not sure what the ‘no such file or directory’ and ‘dependency’ errors mean. Is it a permissions problem? Any ideas or suggestions on how to troubleshoot this appreciated!

Not an expert at all, but read that it could be caused by race conditions (your device is not yet up when you try to configure it), as explained here networking - sysctl unable to apply settings on boot - Ask Ubuntu

Doet it work if you manually run sysctl --system?

1 Like

Thanks, I’ll test that later tonight, have to work for a while in 22.05 atm.