You are not logged in.

#1 2018-11-25 18:35:00

bricem13
Member
Registered: 2011-02-02
Posts: 42

[SOLVED] netctl networkmanager and wpa_supplicant: a systemd issue

Hello

kind of weird issue that I encounter now.

I typically use netctl to contect to my wifi at home. I had some troubles and had to reconfigure everything. I think I mess up trying networkmanager not succeeding.

Lately I could get netctl to work again but at startup, the networkmanager and wpa_supplicant services are activated and impair netctl to start correctly:

[root@TuxBox brice]# systemctl --type=service
  UNIT                                                  LOAD   ACTIVE SUB     DESCRIPTION                                                                  
  alsa-restore.service                                  loaded active exited  Save/Restore Sound Card State                                                
  bluetooth.service                                     loaded active running Bluetooth service                                                            
  colord.service                                        loaded active running Manage, Install and Generate Color Profiles                                  
  dbus.service                                          loaded active running D-Bus System Message Bus                                                     
  getty@tty1.service                                    loaded active running Getty on tty1                                                                
  kmod-static-nodes.service                             loaded active exited  Create list of required static device nodes for the current kernel           
  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
● netctl@wlo1\x2dWN\x2dVRXXLK.service                   loaded failed failed  Automatically generated profile by wifi-menu                                 
  NetworkManager.service                                loaded active running Network Manager                                                              
  org.cups.cupsd.service                                loaded active running CUPS Scheduler                                                               
  polkit.service                                        loaded active running Authorization Manager                                                        
  postfix.service                                       loaded active running Postfix Mail Transport Agent                                                 
  rtkit-daemon.service                                  loaded active running RealtimeKit Scheduling Policy Service                                        
  systemd-backlight@backlight:intel_backlight.service   loaded active exited  Load/Save Screen Backlight Brightness of backlight:intel_backlight           
  systemd-fsck@dev-disk-by\x2duuid-9867\x2d2B9D.service loaded active exited  File System Check on /dev/disk/by-uuid/9867-2B9D                             
  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 Login Service                                                                
  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-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  udev Coldplug all Devices                                                    
  systemd-udevd.service                                 loaded active running udev Kernel Device Manager                                                   
  systemd-update-utmp.service                           loaded active exited  Update UTMP about System Boot/Shutdown                                       
  systemd-user-sessions.service                         loaded active exited  Permit User Sessions                                                         
  tlp.service                                           loaded active exited  TLP system startup/shutdown                                                  
  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.

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

I can stop networkmanager and wpa_supplicant and the start netctl correctly.

I disabled both and enable netctl but it did not work last startup.

[root@TuxBox brice]# systemctl disable NetworkManager
[root@TuxBox brice]# systemctl disable wpa_supplicant
[root@TuxBox brice]# systemctl enable netctl
Created symlink /etc/systemd/system/multi-user.target.wants/netctl.service → /usr/lib/systemd/system/netctl.service.
[root@TuxBox brice]# 

Am I doing something worng?

BR

Last edited by bricem13 (2018-11-27 21:51:42)

Offline

#2 2018-11-25 19:02:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,532
Website

Re: [SOLVED] netctl networkmanager and wpa_supplicant: a systemd issue

bricem13 wrote:

I disabled both and enable netctl but it did not work last startup.

Everything in your post except this is just as expected.  So is this failure of netctl the problem you want help with?  If so, you need to tell us about that.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2018-11-25 19:29:25

bricem13
Member
Registered: 2011-02-02
Posts: 42

Re: [SOLVED] netctl networkmanager and wpa_supplicant: a systemd issue

I disabled NetworkManager and wpa_supplicant but at next restart they were active as if the disabling was not right. this is the issue not netctl so far.

Offline

#4 2018-11-25 20:10:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,532
Website

Re: [SOLVED] netctl networkmanager and wpa_supplicant: a systemd issue

Ah, sorry I misunderstood that.  Please post the output of `find /etc/systemd/ -type f`


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2018-11-26 20:56:14

bricem13
Member
Registered: 2011-02-02
Posts: 42

Re: [SOLVED] netctl networkmanager and wpa_supplicant: a systemd issue

no issue.

so output after killing wpa_supplicant and NetworkManager (+netctl restart):

[root@TuxBox brice]# find /etc/systemd/ -type f
/etc/systemd/journal-remote.conf
/etc/systemd/user.conf
/etc/systemd/coredump.conf
/etc/systemd/user/timidity.service
/etc/systemd/resolved.conf
/etc/systemd/journal-upload.conf
/etc/systemd/logind.conf
/etc/systemd/journald.conf
/etc/systemd/system/netctl@wlo1\x2dWN\x2dVRXXLK.service
/etc/systemd/timesyncd.conf
/etc/systemd/logind.conf.pacnew
/etc/systemd/system.conf
[root@TuxBox brice]# 

Offline

#6 2018-11-26 21:10:55

monkee
Member
Registered: 2017-02-21
Posts: 10

Re: [SOLVED] netctl networkmanager and wpa_supplicant: a systemd issue

Did you just update recently? I have the same issue since today...

https://bbs.archlinux.org/viewtopic.php?id=242253


BR
monkee

Offline

#7 2018-11-26 21:18:14

bricem13
Member
Registered: 2011-02-02
Posts: 42

Re: [SOLVED] netctl networkmanager and wpa_supplicant: a systemd issue

might be linked yes

Offline

#8 2018-11-27 21:40:21

bricem13
Member
Registered: 2011-02-02
Posts: 42

Re: [SOLVED] netctl networkmanager and wpa_supplicant: a systemd issue

following the other thread as well but so far still no solution..

Offline

#9 2018-11-27 21:51:12

bricem13
Member
Registered: 2011-02-02
Posts: 42

Re: [SOLVED] netctl networkmanager and wpa_supplicant: a systemd issue

NetworkManager is triggered by dbus-daemon


SOlution is here: https://wiki.archlinux.org/index.php/Ne … using_dbus

Offline

#10 2018-11-27 23:04:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,532
Website

Re: [SOLVED] netctl networkmanager and wpa_supplicant: a systemd issue

Nice catch.  Another obvious solution would be to uninstall network manager.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB