On Tue, Mar 14, 2006 at 09:00:52PM +1000, Jonathan Hepburn muttered these words: > On 3/11/06, Eric Evans <[EMAIL PROTECTED]> wrote: > > The only change between 0.26-2 and 0.26-2.1 was to correct the location > > of /lib/udev/hotplug.functions. Since your bug report indicated that you > > are using hotplug for all your interfaces, I assumed that this was > > probably where the problem lie, but perhaps that isn't the case. > > > > In your original report you also indicated that you ran ifplugd manually > > without success. What are aguments are you supplying when you do this? > > Can you tell me if anything is being logged, (/var/log/syslog), or if > > there is any output in dmesg? > > Run manually, with no arguments at all. > > There is nothing in dmesg or syslog following 'invoke-rc.d ifplugd start'. > > After 'ifplugd', Syslog has the following: > > Mar 14 20:56:04 ijtihad ifplugd(eth0)[9891]: ifplugd 0.26 initializing. > Mar 14 20:56:04 ijtihad ifplugd(eth0)[9891]: Using interface eth0 > Mar 14 20:56:04 ijtihad ifplugd(eth0)[9891]: Failed to detect plug > status of eth0 > Mar 14 20:56:04 ijtihad ifplugd(eth0)[9891]: Exiting. > > WTF???
When run with no arguments, ifplugd defaults to interface eth0. > Here are the non-commented contents of /etc/default/ifplugd: > > INTERFACES="" > HOTPLUG_INTERFACES="all" > ARGS="-q -f -u0 -d10 -w -I" > SUSPEND_ACTION="stop" The ifplugd daemon doesn't read this file, it is sourced by the init script. I'm betting that if you invoke ifplugd with "-i <interface> -q -f -u0 -d10 -w -I" you'll find that it works. This obviously isn't what you want though, it's supposed to be started/stopped automatically, so ... First, try starting it up like like so: /etc/init.d/ifplugd start <interface> You need to specify the additional argument of the interface name for interfaces that fall under HOTPLUG_INTERFACES, (which is all of them in your config). If that fails, then try ... sh -x /etc/init.d/ifplugd start <interface> ... which will produce lots of output which you should paste in your response to this message. Now, if "/etc/init.d/ifplugd start <interface>" *does* work, then run ... ACTION=add INTERFACE=<interface> sh -x /etc/hotplug.d/net/ifplugd.hotplug ... which again will produce lots of output which you should paste/attach in reply to this mail. Note: make sure that you substitute "<interface>" with the name of your interface in all the commands listed above. I look forward to your reply. Regards, -- Eric Evans [EMAIL PROTECTED]
signature.asc
Description: Digital signature