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

On Thu, 09 Jun 2011 23:29:39 +0100, Brian wrote:

On Thu 09 Jun 2011 at 19:11:48 +0000, Camaleón wrote:


The question remains - Why would plugging or unplugging the ethernet
cable be expected to bring the interface up or down?

It does not have to be an isolated event.

For example, the computer is hibernated or suspended, the cable was
disonnected, you attach it and then you awake the system that triggers
the restore script for the network service and the interface that was
marked with "allow-hotplug" cannot be up.

You're moving the goalposts!

No, I'm not changing the target just giving you examples of what can make
the networking service to be restarted. I'm just reading the facts and
trying to know how to interpret them:

- The was a problem with an ethernet device not coming up by its own when
the cable is being reconnected.

- The interface was defined with "allow-hotplug" stanza.

- By modifiying that line to "auto" the problem seems to be solved.

Now we have to extract some conclusions which is what I tried to do.

But if you want a detailed explanation about where the problem is better
ask to someone that understand the inners on how the kernel works, how
udev works -plus how they deal with buggy hardware or firmwares or
additional buggy software (scripts) that can interere for this to work as
expected- and what bugs you can expect as a result of all this mess.

I really would like to have a concise and clear explanation on why this
is happening but I'm afraid I don't have ;-(



To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

Relevant Pages

  • Re: How do you read mail with gnus?
    ... it for reading maildir folders, ... powerful to use the same interface for both. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
  • Re: ethernet configuration
    ... interface calls it something like "rich format") and please stop ... allow-hotplug eth0 ... But specifying the MAC address didn't worked (he configured the ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
  • Re: new problem - networking is strange
    ... Miles Fidelman wrote: ... problem in the past a few times, usually following a kernel upgrade or ... You may need to remove some lines from there or change the interface ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
  • smc-ultra and PnPISA SMC EtherEZ
    ... However, once the set up process is over, any attempt to configure the interface gets responses to the effect of "device could not be found". ... It does not, no matter how many times I "disabled" PnP and whatever other settings I ...set when modprobe smc-ultra is run, it still would return. ... The error messages: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
  • Re: fedora-list Digest, Vol 8, Issue 105
    ... I ran redhat-config-samba from a terminal window. ... interface came up, but when I tried to set a share directory, I got this ... Is there a way I can fix this without knowing Python? ... To unsubscribe: ...