On Tue, 07 Jun 2011 19:03:28 -0400, Mitchell Laks wrote: > On 11:39 Tue 07 Jun , Camaleón wrote: >> On Tue, 07 Jun 2011 00:10:48 -0400, Mitchell Laks wrote: >> >> > The following is a problem I have on all laptops, I dont know how to >> > configure to connect when the ethernet cable is attached. >> >> (...) >> >> Maybe you just need to tweak some options in your "interfaces" file >> (e.g., "allow-hotplug"?): > > That was it! I replaced > > allow-hotplug eth0 > > at the top of the stanza by > > auto eth0 > > and now it works fine! > thank you very much.
Nice :-) > (don't understand why though ...) > http://www.debian.org/doc/manuals/reference/ch05.en.html#list-of-stanzas-in-eni > > refers to man 5 interfaces > which doesn't seem to explain what software is doing the work after the > plugin of the ethernet cord... and only if auto and not > allow-hotplug eth0 > > does anyone know? Well, "man 5 interfaces" is mentioned here so that the user can know what options can be used in this file, not just the "stanzas". In regards with the software behind "auto" and "allow-hotplug" I'm afraid is the same beast (udev) but it has a different behaviour. AFAIK, "auto" configures the interface at booting while "allow-hotplug" sets the interface as soon as it receives a kernel event like "ifupdown", that is, forced by the user. I can see its use for laptops or devices with multiple interfaces where you only want one of them (wifi) is up by default (at boot) and the rest (eth0, ppp0...) remain deactivated unless the user manually starts them. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.06.08.11.58...@gmail.com