On Thursday 07 February 2008, Claudio Lanconelli wrote: > David Brownell wrote: > > How long did that take? I did about four dozen > > > > ifconfig eth1 up > > sleep 3 > > ifconfig eth1 down > > > > cycles ... it worked fine. The "sleep" was to let the link > > negotiation complete. > > > > > After a couple of : > > ifconfig eth0 down > (wait just 1 second) > ifconfig eth0 up > > the network is frozen. > > If I do another > ifconfig eth0 down > (wait just 1 second) > ifconfig eth0 up > > restarts. > It's random, no rule.
I write a shell loop to do that, and added a "ping -c2" too. If that was done before the "sleep 1" no packets flowed. Afterwards, no problem -- ever. (And outside the loop, "ethool -s eth1 duplex full".) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html