You are not logged in.

#1 Today 13:04:39

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 897

[netctl] netctl-ifplugd fails on resume from standby

I use netctl-ifplugd to manage the ethernet interface (external port on USB-C dongle). When I resume my laptop from standby the service fails to retrieve the ip address. Here's the full log:

$ sudo systemctl status netctl-ifplugd@eth0 -n 100
* netctl-ifplugd@eth0.service - Automatic wired network connection using netctl profiles
     Loaded: loaded (/usr/lib/systemd/system/netctl-ifplugd@.service; enabled; preset: disabled)
    Drop-In: /etc/systemd/system/netctl-ifplugd@.service.d
             `-override.conf
     Active: deactivating (stop-sigterm) (Result: exit-code) since Thu 2026-09-17 14:58:38 CEST; 51s ago
        Job: 4226
 Invocation: 80f0875f74734adc8bfa39ba3f303fb0
       Docs: man:netctl.special(7)
    Process: 69719 ExecStop=/usr/bin/ifplugd -i eth0 -k -W (code=exited, status=6)
   Main PID: 993 (ifplugd)
     Status: "online"
      Tasks: 1 (limit: 18718)
     Memory: 2.3M (peak: 11.3M)
        CPU: 331ms
     CGroup: /system.slice/system-netctl\x2difplugd.slice/netctl-ifplugd@eth0.service
             `-993 /usr/bin/ifplugd -i eth0 -r /etc/ifplugd/netctl.action -d 0 -bfIns

set 17 08:20:29 stryke systemd[1]: Starting Automatic wired network connection using netctl profiles...
set 17 08:20:30 stryke ifplugd[993]: ifplugd 0.28 initializing.
set 17 08:20:30 stryke ifplugd[993]: Using interface eth0/00:E0:4C:A2:02:4E with driver <r8152> (version: 7.2.4-arch1-2)
set 17 08:20:30 stryke ifplugd[993]: Using detection mode: SIOCETHTOOL
set 17 08:20:30 stryke ifplugd[993]: Initialization complete, link beat not detected.
set 17 08:20:34 stryke ifplugd[993]: Link beat detected.
set 17 08:20:35 stryke ifplugd[993]: Executing '/etc/ifplugd/netctl.action eth0 up'.
set 17 08:20:35 stryke ifplugd[993]: client: Starting network profile 'ethernet'...
set 17 08:20:35 stryke dhcpcd[1276]: dhcpcd-10.5.2 starting
set 17 08:20:35 stryke dhcpcd[1279]: DUID 00:01:00:01:32:20:c2:3a:9c:b6:d0:be:bd:8d
set 17 08:20:35 stryke dhcpcd[1279]: eth0: IAID 4c:a2:02:4e
set 17 08:20:35 stryke dhcpcd[1279]: eth0: soliciting a DHCP lease
set 17 08:20:35 stryke dhcpcd[1279]: eth0: offered 192.168.178.22 from 192.168.178.1
set 17 08:20:35 stryke dhcpcd[1279]: eth0: probing address 192.168.178.22/24
set 17 08:20:41 stryke dhcpcd[1279]: eth0: leased 192.168.178.22 for 864000 seconds
set 17 08:20:41 stryke dhcpcd[1279]: eth0: adding route to 192.168.178.0/24
set 17 08:20:41 stryke dhcpcd[1279]: eth0: adding default route via 192.168.178.1
set 17 08:20:42 stryke ifplugd[993]: client: Started network profile 'ethernet'
set 17 08:20:45 stryke systemd[1]: Started Automatic wired network connection using netctl profiles.
set 17 14:58:37 stryke dhcpcd[1279]: eth0: carrier lost
set 17 14:58:37 stryke dhcpcd[1279]: eth0: deleting route to 192.168.178.0/24
set 17 14:58:37 stryke dhcpcd[1279]: eth0: deleting default route via 192.168.178.1
set 17 14:58:38 stryke systemd[1]: Stopping Automatic wired network connection using netctl profiles...
set 17 14:58:38 stryke ifplugd[993]: Killing child.
set 17 14:58:41 stryke dhcpcd[1279]: eth0: carrier acquired
set 17 14:58:41 stryke dhcpcd[1279]: eth0: IAID 4c:a2:02:4e
set 17 14:58:43 stryke dhcpcd[1279]: eth0: rebinding lease of 192.168.178.22
set 17 14:58:43 stryke dhcpcd[1279]: eth0: probing address 192.168.178.22/24
set 17 14:58:44 stryke ifplugd[69719]: Failed to kill daemon. (Timer expired)
set 17 14:58:44 stryke dhcpcd[1279]: received SIGTERM, stopping
set 17 14:58:44 stryke ifplugd[993]: Killing child.
set 17 14:58:44 stryke systemd[1]: netctl-ifplugd@eth0.service: Control process exited, code=exited, status=6/NOTCONFIGURED
set 17 14:58:44 stryke dhcpcd[1279]: eth0: removing interface
set 17 14:58:44 stryke dhcpcd[1279]: script_status: /usr/lib/dhcpcd/dhcpcd-run-hooks: Terminated
set 17 14:58:44 stryke dhcpcd[1279]: dhcpcd exited
set 17 14:58:44 stryke ifplugd[993]: Program executed successfully.

I don't know how to debug this, so any help is appreciated.

Offline

Board footer

Powered by FluxBB