[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what's the best way to deal with a disconnect eth0?



Eric van der Paardt wrote:

-snip

Have a look at ifplugd; I guess it does exactly what you're looking for.

Koen

Thanks Koen it works great... still pauses, but not nearly as long as
waiting for that DHCP timeout, and was easy as could be to setup.
Like others have pointed out, make sure that eth0 is not on the "auto" line in /etc/network/interfaces. The only thing on the "auto" line should be "lo"

For my laptop, I use ifplugd for eth0 and waproamd for my wireless eth1. When waproamd senses an access point, it tries to connect to it. Whenever I plug a live ethernet cable into eth0, it tries to connect to *that*. Works like a *charm*.

Also, look in /etc/defaults/ifplugd and make sure that "HOTPLUG_INTERFACES" is set to nothing. If it is set to "all" or "eth0", it will override anything on the auto line in /etc/network/interfaces (just learned that the hard way three days ago).

- Joe

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: