In /lib/rc/ifplugd.sh there is a check for diffeerent types of interfaces for which ifplugd does not work and wireless is in that list. But ifplug perfectly works if I run it manually. man ifplugd says that it works with wireless. So, why it is disable in openrc? Reproducible: Always Steps to Reproduce: 1. Configure ifplugd for wireless interface in /etc/conf.d/net 2. Restart wireless interface via /etc/init.d/net.xxxx Actual Results: ifplugd does not run on wireless interfaces. If --verbose option is used, init script reports "ifplugd does not work with wireless" Expected Results: ifplugd started on wireless interfaces
Which version of openrc do you use? (`emerge -pv openrc`)
[ebuild R ] sys-apps/openrc-0.6.2 USE="ncurses pam unicode -debug"
Same in 0.6.3
I looked at ifplugd briefly (I do not use it myself), and it is described as a daemon which will stop and start ethernet interfaces when the cable is plugged in or unplugged. Since you don't plug a cable into a wireless interface, I'm not sure why you want to run ifplugd on wireless interfaces? Can you give me more information? Thanks, William
ifplug reacts also on radio killswitch on/off state. For me this is useful because on my laptop button which turns wifi on/off is close to keyboard and I easyly push it by mistake. Now, if I run ifplugd -i wlan0, it restarts net service after I turn wifi on
This is fixed in the overlay and will be included in the next release.
I had to revert the fix for this bug, see bug #345795.
Please try using sys-apps/netplug instead of sys-apps/ifplugd and report back if that doesn't work for you. Thanks, William