sphaero / sphaebian

Debian Based Distro for people like me.
GNU General Public License v2.0
0 stars 0 forks source link

ifplugd and systemd don't seem to get along #2

Open sphaero opened 8 years ago

sphaero commented 8 years ago
Oct 23 12:03:09 test ifplugd(eth0)[205]: ifplugd 0.28 initializing.
Oct 23 12:03:09 test ifplugd(eth0)[205]: Using interface eth0/08:00:27:A6:6B:51 with driver <pcnet32> (version: 1.35)
Oct 23 12:03:09 test ifplugd(eth0)[205]: Using detection mode: SIOCETHTOOL
Oct 23 12:03:09 test ifplugd(eth0)[205]: Initialization complete, link beat detected.
Oct 23 12:03:09 test ifplugd(lo)[207]: ifplugd 0.28 initializing.
Oct 23 12:03:09 test ifplugd(lo)[207]: Using interface lo/00:00:00:00:00:00
Oct 23 12:03:09 test ifplugd(lo)[207]: Using detection mode: SIOCETHTOOL
Oct 23 12:03:09 test kernel: pcnet32 0000:00:03.0 eth0: link up, 100Mbps, full-duplex
Oct 23 12:03:09 test ifplugd(lo)[207]: Initialization complete, link beat detected.
Oct 23 12:03:09 test keyboard-setup[150]: Setting preliminary keymap...done.
Oct 23 12:03:09 test kernel: EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
Oct 23 12:03:09 test ifplugd(eth0)[205]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.
Oct 23 12:03:09 test ifplugd(lo)[207]: Executing '/etc/ifplugd/ifplugd.action lo up'.
Oct 23 12:03:09 test kernel: input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input7
Oct 23 12:03:09 test systemd-journal[145]: Runtime journal is using 8.0M (max allowed 106.3M, trying to leave 159.5M free of 1.0G available <86><92> c
Oct 23 12:03:09 test ifplugd(eth0)[205]: client: /sbin/ifup: failed to open lockfile /run/network/.ifstate.lock: No such file or directory
Oct 23 12:03:09 test ifplugd(lo)[207]: client: /sbin/ifup: failed to open lockfile /run/network/.ifstate.lock: No such file or directory
Oct 23 12:03:09 test ifplugd(lo)[207]: client: run-parts: /etc/ifplugd/action.d//ifupdown exited with return code 1
Oct 23 12:03:09 test ifplugd(eth0)[205]: client: run-parts: /etc/ifplugd/action.d//ifupdown exited with return code 1
Oct 23 12:03:09 test kbd[228]: Setting console screen modes.
Oct 23 12:03:09 test kbd[228]: setterm: $TERM is not defined.
Oct 23 12:03:09 test kernel: snd_intel8x0 0000:00:05.0: intel8x0_measure_ac97_clock: measured 54282 usecs (14437 samples)
Oct 23 12:03:09 test kernel: snd_intel8x0 0000:00:05.0: measured clock 265962 rejected
Oct 23 12:03:09 test ifplugd(lo)[207]: Program execution failed, return value is 1.
Oct 23 12:03:09 test ifplugd(eth0)[205]: Program execution failed, return value is 1.
Oct 23 12:03:09 test console-setup[275]: Setting up console font and keymap...done.
Oct 23 12:03:09 test kernel: snd_intel8x0 0000:00:05.0: intel8x0_measure_ac97_clock: measured 55525 usecs (14439 samples)
Oct 23 12:03:09 test kernel: snd_intel8x0 0000:00:05.0: measured clock 260045 rejected
Oct 23 12:03:10 test kernel: snd_intel8x0 0000:00:05.0: intel8x0_measure_ac97_clock: measured 55278 usecs (14439 samples)
Oct 23 12:03:10 test kernel: snd_intel8x0 0000:00:05.0: measured clock 261206 rejected
Oct 23 12:03:10 test kernel: snd_intel8x0 0000:00:05.0: clocking to 48000
Oct 23 12:03:10 test kernel: random: nonblocking pool is initialized
Oct 23 12:03:12 test kernel: floppy0: no floppy controllers found
Oct 23 12:03:12 test kernel: work still pending
Oct 23 12:03:12 test networking[234]: Configuring network interfaces...done.
Oct 23 12:03:12 test cron[390]: (CRON) INFO (pidfile fd = 3)
Oct 23 12:03:12 test cron[390]: (CRON) INFO (Running @reboot jobs)
Oct 23 12:03:12 test ifplugd[395]: Network Interface Plugging Daemon...skip eth0...done.

In the end no ifplugd runs so no media detection :(

izak commented 8 years ago

I see the same on Raspbian Jessie :-)

sphaero commented 8 years ago

Do you know if there's already an open issue for raspbian?

I know a solution is to drop ifplugd and use networkmanager. Systemd is an option as well. Or oldschool plain interfaces file.

sphaero commented 8 years ago

Systemd's networkd I mean

sphaero commented 6 years ago

at least drop ifplugd

sphaero commented 6 years ago

switch to network manager fully?

nmcli radio
nmcli device
nmcli device wifi connect <SSID> password <PWD>