On Monday 10 January 2011 07:45, Sameer Naik wrote:
> Hello Denys,
> 
> > What is your network card?
> I am using an DM6446 based platform with the RTL8201 ethernet controller.
> 
> > Which detection mode is in use for your interface?
> ifplugd(eth0): using IFF_RUNNING detection mode
> 
> > If it is in IFF_RUNNING detection mode, "downed" interface
> > is always seen as unplugged.
> Based on what you said, instead of bringing down the interface i added
> the line, 'post-down ifconfig $IFACE 0.0.0.0',
> to the eth0 configuration in /etc/network/interfaces, so that the eth0
> interface is configured to 0.0.0.0 when the link is down. Thereby
> keeping the interface up while the link is down.
> 
> Now ifplugd is able to report the link status as it changes. I am not
> aware of any issues that may arise from the above configuration.
> Please let me know if there are any downsides to this.

This should be ok.
-- 
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to