Laptop wifi-adapter not working, have to use USB adapter

I don’t remember doing anything of note on friday but my laptop’s wireless adapter stopped working and I’m not sure why. The wifi works when I plug in my wifi adapter, but it’s slow and occasionally I have to unplug and replug the adapter when my connection gets shut off.

How do I get my laptop’s wifi connection working again?

What’s your hardware info?

Can use this to get it:

inxi -FAZ --no-host | eos-sendlog

https://0x0.st/Xdpt.txt

Did you do any troubleshooting? https://wiki.archlinux.org/title/Network_configuration/Wireless

From what I see, everything should be working fine. Could you provide some specific errors? Can see the wiki page on how to find any wifi related issues.

You could try doing a system update, maybe newer version of kernel helps.
Either with eos-update --yay or yay.

I tried a system update but it didn’t seem to work. When I tried journalctl -f and viewed the output, I got this:

Nov 19 11:39:20 arthur-gl75leopard10sdr avahi-daemon[878]: Registering new address record for 192.168.1.88 on wlan0.IPv4.
Nov 19 11:39:20 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732037960.7456] device (wlan0): state change: ip-config -> ip-check (reason 'none', managed-type: 'full')
Nov 19 11:39:20 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732037960.7466] device (wlan0): state change: ip-check -> secondaries (reason 'none', managed-type: 'full')
Nov 19 11:39:20 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732037960.7467] device (wlan0): state change: secondaries -> activated (reason 'none', managed-type: 'full')
Nov 19 11:39:20 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732037960.7468] manager: NetworkManager state is now CONNECTED_SITE
Nov 19 11:39:20 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732037960.7470] device (wlan0): Activation: successful, device activated.
Nov 19 11:39:21 arthur-gl75leopard10sdr systemd[1]: systemd-rfkill.service: Deactivated successfully.
Nov 19 11:39:22 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732037962.3109] manager: NetworkManager state is now CONNECTED_GLOBAL
Nov 19 11:39:23 arthur-gl75leopard10sdr iwd[1039]: event: roam-scan,
Nov 19 11:39:28 arthur-gl75leopard10sdr systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Nov 19 11:40:19 arthur-gl75leopard10sdr kernel: usb 1-1: USB disconnect, device number 14
Nov 19 11:40:21 arthur-gl75leopard10sdr kernel: wlan0: deauthenticating from 4c:19:5d:50:b4:e6 by local choice (Reason: 3=DEAUTH_LEAVING)
Nov 19 11:40:21 arthur-gl75leopard10sdr kernel: rtw_8821cu 1-1:1.0: firmware failed to leave lps state
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732038021.3173] device (wlan0): new IWD device state is disconnected
Nov 19 11:40:21 arthur-gl75leopard10sdr avahi-daemon[878]: Interface wlan0.IPv6 no longer relevant for mDNS.
Nov 19 11:40:21 arthur-gl75leopard10sdr iwd[1039]: Received Deauthentication event, reason: 3, from_ap: false
Nov 19 11:40:21 arthur-gl75leopard10sdr iwd[1039]: event: disconnect-info, reason: 3
Nov 19 11:40:21 arthur-gl75leopard10sdr iwd[1039]: event: state, old: connected, new: disconnected
Nov 19 11:40:21 arthur-gl75leopard10sdr iwd[1039]: event: state, old: disconnected, new: autoconnect_quick
Nov 19 11:40:21 arthur-gl75leopard10sdr iwd[1039]: Removing scan context for wdev 200000001
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732038021.3177] device (wlan0): state change: activated -> failed (reason 'supplicant-disconnect', managed-type: 'full')
Nov 19 11:40:21 arthur-gl75leopard10sdr avahi-daemon[878]: Leaving mDNS multicast group on interface wlan0.IPv6 with address 2603:8080:2800:5de:14db:2ed5:1fd7:b7a.
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732038021.3184] manager: NetworkManager state is now DISCONNECTED
Nov 19 11:40:21 arthur-gl75leopard10sdr avahi-daemon[878]: Interface wlan0.IPv4 no longer relevant for mDNS.
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <warn>  [1732038021.3185] device (wlan0): Activation: failed for connection 'SpectrumSetup-DF'
Nov 19 11:40:21 arthur-gl75leopard10sdr avahi-daemon[878]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.88.
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <error> [1732038021.3216] iwd-manager[0x621c49e529e0]: if_nametoindex failed for Name wlan0 for Device at /net/connman/iwd/2/6: 19
Nov 19 11:40:21 arthur-gl75leopard10sdr avahi-daemon[878]: Withdrawing address record for 2603:8080:2800:5de::145f on wlan0.
Nov 19 11:40:21 arthur-gl75leopard10sdr systemd[1]: Starting Network Manager Script Dispatcher Service...
Nov 19 11:40:21 arthur-gl75leopard10sdr avahi-daemon[878]: Withdrawing address record for fd00:4c19:5d50:b4df::145f on wlan0.
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732038021.3530] device (wlan0): state change: failed -> unmanaged (reason 'unmanaged-link-not-init', managed-type: 'removed')
Nov 19 11:40:21 arthur-gl75leopard10sdr avahi-daemon[878]: Withdrawing address record for fd00:4c19:5d50:b4df:304a:4ee2:1e5:1513 on wlan0.
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732038021.3530] dhcp4 (wlan0): canceled DHCP transaction
Nov 19 11:40:21 arthur-gl75leopard10sdr avahi-daemon[878]: Withdrawing address record for 2603:8080:2800:5de:14db:2ed5:1fd7:b7a on wlan0.
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732038021.3531] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Nov 19 11:40:21 arthur-gl75leopard10sdr avahi-daemon[878]: Withdrawing address record for 192.168.1.88 on wlan0.
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732038021.3531] dhcp4 (wlan0): state changed no lease
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732038021.3532] dhcp6 (wlan0): canceled DHCP transaction
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732038021.3532] dhcp6 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732038021.3532] dhcp6 (wlan0): state changed no lease
Nov 19 11:40:21 arthur-gl75leopard10sdr NetworkManager[959]: <info>  [1732038021.3618] radio killswitch /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/ieee80211/phy2/rfkill3 disappeared
Nov 19 11:40:21 arthur-gl75leopard10sdr systemd[1]: Starting Load/Save RF Kill Switch Status...
Nov 19 11:40:21 arthur-gl75leopard10sdr systemd[1]: Started Network Manager Script Dispatcher Service.
Nov 19 11:40:21 arthur-gl75leopard10sdr systemd[1]: Started Load/Save RF Kill Switch Status.
Nov 19 11:40:26 arthur-gl75leopard10sdr systemd[1]: systemd-rfkill.service: Deactivated successfully.
Nov 19 11:40:31 arthur-gl75leopard10sdr systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.

After consulting the wiki page you linked, it looks like the problem is to do with power saving, but I’m not sure how to find the power management options for my card. I already went into BIOS and didn’t see any options relating to Wi-Fi card power management there.

https://wiki.archlinux.org/title/Power_management#Network_interfaces

I checked the /etc/modprobe.d/ folder and there’s no iwlwifi.conf file there. should I make a file in that folder to edit, and how do I do so?

Yes you have to create that file and add the options you need or want in it.

/etc/modprobe.d/iwlwifi.conf

Created a new file and edited it with power_save=0. Restarted the computer and it seems to work for now. I’ll let you know if anything else goes wrong, but for now I think this is the solution.

1 Like