On Thursday 12 July 2007 20:59, Matheus Morais wrote:
> netcfg module is responsible to write
> /etc/network/interfaces at installation time right? Why use
> allow-hotplug instead auto in network configuration file?

Mostly because it improves support for laptops which may not always be 
connected to a wired network, but IIRC some have mentioned benefits for 
fixed systems too.

> Currently if I use allow-hotplug and configure that ethernet as dhcp
> client, always when the machine reboots the eth0 interface is downed so
> I need to set it up manually using 'dhclient eth0' by the command line.

The most likely cause is that you have multiple NICs in your system and 
the order in which they are recognized is different after reboot then it 
was during installation.

Basically you should check your udev configuration files for networking, 
in particular (the first is generated by the second):
z25_persistent-net.rules
z45_persistent-net-generator.rules

My guess is what is defined in the first file as eth0 does not match what 
the installer wrote in /etc/network/interfaces.

I thought we had that covered before Etch, but recently a change was 
included in the daily images for Lenny which should resolve any remaining 
issues. It would be great if you could test that.

Cheers,
FJP

Attachment: pgpd6B4sLApGZ.pgp
Description: PGP signature

Reply via email to