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

Bug#700292: netcfg/choose_interface=auto fails to select eth1 when eth0 has no link



Package: netcfg
Severity: normal
Tags: d-i

netcfg/choose_interface=auto in preseeding or on the installer kernel
command-line fails to choose the right interface when the first
interface has no link. This is annoying for automated installs from CD.
For netboot installs, it is possible to use the pxelinux stuff to enable
BOOTIF and workaround it using the selection via mac address.

There is a bug about this in Launchpad that should be closed if this
gets fixed. I also found some Ubuntu users complaining about it on the
Ubuntu forums.

https://bugs.launchpad.net/bugs/713385
http://ubuntuforums.org/archive/index.php/t-1713845.html

This is because the autoconfig code doesn't check the result of the link
detection code and return that to upper layers (see below). 

int netcfg_autoconfig(struct debconfclient *client, struct netcfg_interface *interface)
{
        int ipv6;

        di_debug("Want link on %s", interface->name);
        netcfg_detect_link(client, interface);

        di_debug("Commencing network autoconfiguration on %s", interface->name);
        interface->dhcp = interface->slaac = interface->dhcpv6 = 0;
        .....

netcfg_activate_dhcp calls it and declares itself ready for a rewrite.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: