You are not logged in.

#1 2020-11-27 23:24:07

rhpittman314
Member
Registered: 2020-11-27
Posts: 29

[Solved] Wifi issues with recent reinstall of wifi packages

Since a recent reinstall of various packages from issues booting (bad GPU driver install), my wifi has periodically been cutting in and out and is much slower than usual. Current services enabled are (checked with "systemctl --type=service"):

  UNIT                                   LOAD   ACTIVE SUB     DESCRIPTION                                                                  
  dbus.service                           loaded active running D-Bus System Message Bus                                                     
  dhcpcd.service                         loaded active running dhcpcd on all interfaces                                                     
  iwd.service                            loaded active running Wireless service                                                             
  kmod-static-nodes.service              loaded active exited  Create list of static device nodes for the current kernel                    
  ldconfig.service                       loaded active exited  Rebuild Dynamic Linker Cache                                                 
  lvm2-lvmetad.service                   loaded active running LVM2 metadata daemon                                                         
  lvm2-monitor.service                   loaded active exited  Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
● NetworkManager-wait-online.service     loaded failed failed  Network Manager Wait Online                                                  
  NetworkManager.service                 loaded active running Network Manager                                                              
● nmb.service                            loaded failed failed  Samba NMB Daemon                                                             
  piavpn.service                         loaded active running Private Internet Access daemon                                               
  polkit.service                         loaded active running Authorization Manager                                                        
  rtkit-daemon.service                   loaded active running RealtimeKit Scheduling Policy Service                                        
  sddm.service                           loaded active running Simple Desktop Display Manager                                               
  smb.service                            loaded active running Samba SMB Daemon                                                             
  systemd-binfmt.service                 loaded active exited  Set Up Additional Binary Formats                                             
  systemd-journal-catalog-update.service loaded active exited  Rebuild Journal Catalog                                                      
  systemd-journal-flush.service          loaded active exited  Flush Journal to Persistent Storage                                          
  systemd-journald.service               loaded active running Journal Service                                                              
  systemd-logind.service                 loaded active running User Login Management                                                        
  systemd-modules-load.service           loaded active exited  Load Kernel Modules                                                          
  systemd-random-seed.service            loaded active exited  Load/Save Random Seed                                                        
  systemd-remount-fs.service             loaded active exited  Remount Root and Kernel File Systems                                         
  systemd-sysctl.service                 loaded active exited  Apply Kernel Variables                                                       
  systemd-sysusers.service               loaded active exited  Create System Users                                                          
  systemd-timesyncd.service              loaded active running Network Time Synchronization                                                 
  systemd-tmpfiles-setup-dev.service     loaded active exited  Create Static Device Nodes in /dev                                           
  systemd-tmpfiles-setup.service         loaded active exited  Create Volatile Files and Directories                                        
  systemd-udev-trigger.service           loaded active exited  Coldplug All udev Devices                                                    
  systemd-udevd.service                  loaded active running Rule-based Manager for Device Events and Files                               
  systemd-update-done.service            loaded active exited  Update is Completed                                                          
  systemd-update-utmp.service            loaded active exited  Update UTMP about System Boot/Shutdown                                       
  systemd-user-sessions.service          loaded active exited  Permit User Sessions                                                         
  udisks2.service                        loaded active running Disk Manager                                                                 
  upower.service                         loaded active running Daemon for power management                                                  
  user-runtime-dir@1000.service          loaded active exited  User Runtime Directory /run/user/1000                                        
  user@1000.service                      loaded active running User Manager for UID 1000                                                    
  wpa_supplicant.service                 loaded active running WPA supplicant                                                               

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

38 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Currently, my ping is anywhere from 50-2000ms, whereas on my phone, it ranges from 10-25ms.
The system journal on a fresh boot when trying to use the desktop's Network Manager gave the following journal (when sudo'd)
http://ix.io/2FJt

Are some things conflicting here, preventing my ability to connect? Any help is appreciated.

Last edited by rhpittman314 (2020-11-28 00:44:40)

Offline

#2 2020-11-27 23:27:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] Wifi issues with recent reinstall of wifi packages

You have dhcpcd, iwd, networkmanager, and wpa_supplicant all running? Which of those 4 is actually enabled? It should only be one.

Offline

#3 2020-11-27 23:27:39

loqs
Member
Registered: 2014-03-06
Posts: 19,041

Re: [Solved] Wifi issues with recent reinstall of wifi packages

  dhcpcd.service                         loaded active running dhcpcd on all interfaces                                                     
  iwd.service                            loaded active running Wireless service                                                             
● NetworkManager-wait-online.service     loaded failed failed  Network Manager Wait Online                                                  
  NetworkManager.service                 loaded active running Network Manager                                                                                                             
  wpa_supplicant.service                 loaded active running WPA supplicant

If you wish to use network manager disable and stop the other network management services.

Online

#4 2020-11-27 23:31:05

Chop1n
Member
Registered: 2020-10-20
Posts: 22

Re: [Solved] Wifi issues with recent reinstall of wifi packages

------------------------------------------- Bad advice don't read! ---------------------------------------------------------------------


I don't know what backend you are using for network manager but if you wanna use network manager you could

a) if you are running wpa_supplicant with networkmanager disable dhcpcd and iwd
or
b) if you are running iwd with networkmanager disable dhcpcd and wpa_supplicant

Last edited by Chop1n (2020-11-28 00:01:43)


"curl -F 'sprunge=<-' http://sprunge.us < path-to-file" is holy

Offline

#5 2020-11-27 23:37:41

loqs
Member
Registered: 2014-03-06
Posts: 19,041

Re: [Solved] Wifi issues with recent reinstall of wifi packages

Chop1n wrote:

I don't know what backend you are using for network manager but if you wanna use network manager you could

Whatever back-end is used by network manager,  it should be the only service managing the interface,  having a service disabled does not interfere with network manager calling related executables / libraries directly.

Last edited by loqs (2020-11-27 23:38:07)

Online

#6 2020-11-27 23:39:35

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] Wifi issues with recent reinstall of wifi packages

NetworkManager will start them as services, though. IE, it could be starting both wpa_supplicant and dhcpcd in the output given. That's why I asked what was actually enabled.

Last edited by Scimmia (2020-11-27 23:40:51)

Offline

#7 2020-11-27 23:45:38

Chop1n
Member
Registered: 2020-10-20
Posts: 22

Re: [Solved] Wifi issues with recent reinstall of wifi packages

loqs wrote:
Chop1n wrote:

I don't know what backend you are using for network manager but if you wanna use network manager you could

Whatever back-end is used by network manager,  it should be the only service managing the interface,  having a service disabled does not interfere with network manager calling related executables / libraries directly.

If he is using iwd as his wifi backend via networkmanager then iwd will still bé enabled


"curl -F 'sprunge=<-' http://sprunge.us < path-to-file" is holy

Offline

#8 2020-11-27 23:46:39

loqs
Member
Registered: 2014-03-06
Posts: 19,041

Re: [Solved] Wifi issues with recent reinstall of wifi packages

Find all services locally enabled or modified,  excluding masked services:

find /etc/systemd -name \*.service -type l -a -xtype f -printf %f\\n

Online

#9 2020-11-27 23:47:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] Wifi issues with recent reinstall of wifi packages

Chop1n wrote:
loqs wrote:
Chop1n wrote:

I don't know what backend you are using for network manager but if you wanna use network manager you could

Whatever back-end is used by network manager,  it should be the only service managing the interface,  having a service disabled does not interfere with network manager calling related executables / libraries directly.

If he is using iwd as his wifi backend via networkmanager then iwd will still bé enabled

No, it will be running, not enabled.

Offline

#10 2020-11-27 23:53:14

Chop1n
Member
Registered: 2020-10-20
Posts: 22

Re: [Solved] Wifi issues with recent reinstall of wifi packages

Scimmia wrote:
Chop1n wrote:
loqs wrote:

Whatever back-end is used by network manager,  it should be the only service managing the interface,  having a service disabled does not interfere with network manager calling related executables / libraries directly.

If he is using iwd as his wifi backend via networkmanager then iwd will still bé enabled

No, it will be running, not enabled.

True. My mistake, thanks for correcting me!


"curl -F 'sprunge=<-' http://sprunge.us < path-to-file" is holy

Offline

#11 2020-11-28 00:07:50

loqs
Member
Registered: 2014-03-06
Posts: 19,041

Re: [Solved] Wifi issues with recent reinstall of wifi packages

From the journal

Nov 27 17:06:12 torii systemd[1]: Starting Network Manager...
Nov 27 17:06:12 torii systemd[1]: Starting dhcpcd on all interfaces...
Nov 27 17:06:12 torii systemd[1]: Starting Wireless service...
....
Nov 27 17:06:13 torii dbus-daemon[442]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service' requested by ':1.12' (uid=0 pid=443 comm="/usr/bin/NetworkManager --no-daemon ")

That looks to me as network manager,  dhcdcd and iwd services are all enabled while wpa_supplicant is started by network manager.

Last edited by loqs (2020-11-28 00:08:18)

Online

#12 2020-11-28 00:35:24

rhpittman314
Member
Registered: 2020-11-27
Posts: 29

Re: [Solved] Wifi issues with recent reinstall of wifi packages

So I've disabled (and stopped) dhcpcd, iwd, and wpa_supplicant. NetworkManager and NetworkManager-wait-online are enabled.
NetworkManager showed no nearby connections, and wlan0 didn't show when using ip link. I am still able to connect through the command line by starting iwd and using iwctl, followed by "station wlan0 scan", quitting, and then sudo dhclient wlan0.
Even when connected, the desktop NetworkManager shows no nearby connections.

Previously, i recall systemd-networkd and systemd-resolved running/being enabled/both - with NetworkManager running. I'm not sure that this will give better results though - or if I'm just missing something from the services above.

Edit: On reboot, it's all good - ping less than 10ms. Nice! NetworkManager connects on its own and everything.
Thanks to all who gave some clarification on the matter.

Last edited by rhpittman314 (2020-11-28 00:44:21)

Offline

Board footer

Powered by FluxBB