You are not logged in.

#1 2016-06-07 12:20:20

cutuchiqueno
Member
Registered: 2013-07-06
Posts: 70

[SOLVED] netctl-ifpluged and netctl-auto do not work at startup

I have two profiles: wlp4s0-TRUTHPROCEDURE and enp0s31f6-bbaw

I can start both manually using netctl start

However both do not work with netctl-ifpluged and netctl-auto. journalctl gives the impression that the devices are not registered. In fact when I boot without ifpluged and netctl-auto, ip link shows both devices as DOWN. On the other hand when I enable dhcpd@service with systemctl at least the ethernet is UP and connected. But I have no clue why it is not available for ifpluged and netctl-auto when it is available for dhcpd.

journalctl -b

Jun 07 13:20:59 t460s-arch kernel: iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0
Jun 07 13:20:59 t460s-arch systemd[1]: Found device Wireless 8260.
Jun 07 13:20:59 t460s-arch systemd-logind[273]: Watching system buttons on /dev/input/event4 (ThinkPad Extra Buttons)
Jun 07 13:20:59 t460s-arch systemd[1]: Starting Automatic wireless network connection using netctl profiles...
Jun 07 13:20:59 t460s-arch netctl-auto[297]: Included profile 'wlp4s0-TRUTHPROCEDURE'
Jun 07 13:20:59 t460s-arch systemd[1]: Found device Ethernet Connection I219-V.
Jun 07 13:20:59 t460s-arch netctl-auto[297]: Could not read interface p2p-dev-wlp4s0 flags: No such device
Jun 07 13:20:59 t460s-arch netctl-auto[297]: /usr/bin/netctl-auto: Zeile 208: wpa_actiond: Kommando nicht gefunden.
Jun 07 13:21:01 t460s-arch systemd[1]: netctl-auto@wlp4s0.service: Control process exited, code=exited status=1
Jun 07 13:21:01 t460s-arch systemd[1]: Failed to start Automatic wireless network connection using netctl profiles.
Jun 07 13:21:01 t460s-arch systemd[1]: netctl-auto@wlp4s0.service: Unit entered failed state.
Jun 07 13:21:01 t460s-arch systemd[1]: netctl-auto@wlp4s0.service: Failed with result 'exit-code'.
Jun 07 13:21:01 t460s-arch kernel: fbcon: inteldrmfb (fb0) is primary device
Jun 07 13:21:01 t460s-arch kernel: iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
Jun 07 13:21:01 t460s-arch kernel: iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
Jun 07 13:21:01 t460s-arch kernel: iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
Jun 07 13:21:01 t460s-arch kernel: iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
Jun 07 13:21:01 t460s-arch kernel: IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
Jun 07 13:21:01 t460s-arch kernel: e1000e 0000:00:1f.6 eth0: registered PHC clock
Jun 07 13:21:01 t460s-arch kernel: e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) 50:7b:9d:dc:c8:14
Jun 07 13:21:01 t460s-arch kernel: e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
Jun 07 13:21:01 t460s-arch kernel: e1000e 0000:00:1f.6 eth0: MAC: 12, PHY: 12, PBA No: 1000FF-0FF
Jun 07 13:21:01 t460s-arch kernel: e1000e 0000:00:1f.6 enp0s31f6: renamed from eth0
…
Jun 07 13:21:01 t460s-arch systemd[1]: Reached target Network.
Jun 07 13:21:01 t460s-arch systemd[1]: Starting Permit User Sessions...
Jun 07 13:21:01 t460s-arch systemd[1]: Started Automatic wired network connection using netctl profiles.
Jun 07 13:21:01 t460s-arch systemd[346]: netctl-ifplugd@enp0s31f6.service: Failed at step EXEC spawning /usr/bin/ifplugd: No such file or directory
Jun 07 13:21:01 t460s-arch systemd[1]: netctl-ifplugd@enp0s31f6.service: Main process exited, code=exited, status=203/EXEC
Jun 07 13:21:01 t460s-arch systemd[1]: netctl-ifplugd@enp0s31f6.service: Unit entered failed state.
Jun 07 13:21:01 t460s-arch systemd[1]: netctl-ifplugd@enp0s31f6.service: Failed with result 'exit-code'.

Last edited by cutuchiqueno (2016-06-07 13:15:03)

Offline

#2 2016-06-07 12:24:12

FlowIt
Member
Registered: 2014-10-25
Posts: 243

Re: [SOLVED] netctl-ifpluged and netctl-auto do not work at startup

Your logs show that wpa_actiond and ifplugd are missing. You should install them and try again.

Last edited by FlowIt (2016-06-07 12:26:07)

Offline

#3 2016-06-07 12:42:16

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,475

Re: [SOLVED] netctl-ifpluged and netctl-auto do not work at startup

you can enable your profiles using "sudo netctl enable <profile-name>", if you are using only single wireless/ethernet profile and automatic switching is not required.

Offline

#4 2016-06-07 13:14:41

cutuchiqueno
Member
Registered: 2013-07-06
Posts: 70

Re: [SOLVED] netctl-ifpluged and netctl-auto do not work at startup

Thank you, this was ashaming for me! I read over these lines but because dhcp could connect I just did not thought about different dependencies.

A big apology

Offline

Board footer

Powered by FluxBB