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

Re: laptop restart eth0 automatically on plugin or on awake like a desktop

On Thu 09 Jun 2011 at 21:07:07 +0100, Dom wrote:

> On 09/06/11 19:35, Brian wrote:
>> The question remains -  Why would plugging or unplugging the ethernet
>> cable be expected to bring the interface up or down?
> This sounds like a job for ifplugd

It is, because manipulating a cable does not and cannot configure and
de-configure a device of itself.

> Caveat: I've not used ifplugd myself, I have a couple of custom scripts  
> that do various things depending on which interface (Wired/Wireless) is  
> available.

I do use it on a laptop. It makes a good job of switching between wired
and wireless connections. 

Reply to: