You are not logged in.

#1 2020-04-25 11:05:13

ashic
Member
Registered: 2020-01-22
Posts: 68

(Solved) Can't get network after recent update

I ran pacman -Syyu last night, and it upgraded to linux 5.6.6 (was using 5.6.4 before). However, after reboot, it appears my laptop is connecting to wifi, and then deauthenticating with reason 3. Looking around the internet, I see a number of things can cause this, but I don't know enough to understand what to try first. I'm also trying to connect to a wired connection, and get the same result (as in, it tries to connect, then I'm not connected. And it tries to reconnect periodically. When I try to shut down the Network Manager awaiter service holds things up and I have to hold the power button for five seconds. I've tried downgrading the kernel to 5.6.4, but that hasn't helped. I'd appreciate any help in resolving the matter.

Here are a few outputs:

sudo systemctl list-unit-files --state=enabled
--------------------------------------

UNIT FILE                                  STATE   VENDOR PRESET
org.cups.cupsd.path                        enabled disabled     
autovt@.service                            enabled disabled     
avahi-daemon.service                       enabled disabled     
bluetooth.service                          enabled disabled     
bumblebeed.service                         enabled disabled     
dbus-fi.w1.wpa_supplicant1.service         enabled disabled     
dbus-org.bluez.service                     enabled disabled     
dbus-org.freedesktop.Avahi.service         enabled disabled     
dbus-org.freedesktop.ModemManager1.service enabled disabled     
dbus-org.freedesktop.nm-dispatcher.service enabled disabled     
display-manager.service                    enabled disabled     
docker.service                             enabled disabled     
getty@.service                             enabled enabled      
haveged.service                            enabled disabled     
lightdm.service                            enabled disabled     
ModemManager.service                       enabled disabled     
NetworkManager-dispatcher.service          enabled disabled     
NetworkManager-wait-online.service         enabled disabled     
NetworkManager.service                     enabled disabled     
org.cups.cupsd.service                     enabled disabled     
snmpd.service                              enabled disabled     
systemd-timesyncd.service                  enabled enabled      
wpa_supplicant.service                     enabled disabled     
avahi-daemon.socket                        enabled disabled     
org.cups.cupsd.socket                      enabled disabled     
remote-fs.target                           enabled enabled      

26 unit files listed.
systemctl list-units | grep -iE '(net|dhcp|wpa|conn|wicd)'
=============================================================

  sys-devices-pci0000:00-0000:00:14.0-usb2-2\x2d2-2\x2d2.1-2\x2d2.1.3-2\x2d2.1.3:1.0-net-enp0s20f0u2u1u3.device                                                 loaded active plugged   RTL8153 Gigabit Ethernet Adapter                                             
  sys-devices-pci0000:00-0000:00:1c.0-0000:02:00.0-net-wlp2s0.device                                                                                            loaded active plugged   Wireless 8260                                                                
  sys-devices-virtual-net-docker0.device                                                                                                                        loaded active plugged   /sys/devices/virtual/net/docker0                                             
  sys-subsystem-net-devices-docker0.device                                                                                                                      loaded active plugged   /sys/subsystem/net/devices/docker0                                           
  sys-subsystem-net-devices-enp0s20f0u2u1u3.device                                                                                                              loaded active plugged   RTL8153 Gigabit Ethernet Adapter                                             
  sys-subsystem-net-devices-wlp2s0.device                                                                                                                       loaded active plugged   Wireless 8260                                                                
  sys-fs-fuse-connections.mount                                                                                                                                 loaded active mounted   FUSE Control File System                                                     
● NetworkManager-wait-online.service                                                                                                                            loaded failed failed    Network Manager Wait Online                                                  
  NetworkManager.service                                                                                                                                        loaded active running   Network Manager                                                              
  snmpd.service                                                                                                                                                 loaded active running   Simple Network Management Protocol (SNMP) Daemon                             
  systemd-timesyncd.service                                                                                                                                     loaded active running   Network Time Synchronization                                                 
  wpa_supplicant.service                                                                                                                                        loaded active running   WPA supplicant                                                               
  network-online.target                                                                                                                                         loaded active active    Network is Online                                                            
  network.target                                                                                                                                                loaded active active    Network   

Last edited by ashic (2020-04-25 13:08:34)

Offline

#2 2020-04-25 11:53:00

ashic
Member
Registered: 2020-01-22
Posts: 68

Re: (Solved) Can't get network after recent update

Ok... some progress... enabling and starting dhcpcd, then stopping and starting NetworkManager fixes the wired connection issue. However, it's still not connecting to wifi. It's trying to connect, seems to connect, but then can't. dmesg shows deauthenticating reason 3.

Offline

#3 2020-04-25 12:39:03

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,285

Re: (Solved) Can't get network after recent update

ModemManager.service                       enabled disabled

ModemManager is only needed in some special cases / devices , do you have one of those ?

Which dhcp client have you setup networkmanager to use ?
https://wiki.archlinux.org/index.php/Ne … HCP_client


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2020-04-25 13:07:35

ashic
Member
Registered: 2020-01-22
Posts: 68

Re: (Solved) Can't get network after recent update

@Lone_Wolf

I have no idea what ModemManager is, so just disabled it smile

Your linked solved the issue big_smile

The steps I took are:

1. sudo systemctl disable dhcpcd --now
I'd enabled it before, and it'd solved my wired connection. But apparently we shouldn't run it with the systemctl service if using Network Manager.

2. I added a /etc/NetworkManager/conf.d/dhcp-client.conf file with the following content as per your link:

[main]
dhcp=dhclient

That's resolved all issues.

I'm almost certain I did this before, but the update (or something else) had wiped the config. Perhaps I'm imagining it. Anyhow, thanks a lot!

Offline

Board footer

Powered by FluxBB