Bug#141166: boot-floppies: Network configuration should not use "auto" for PCMCIA network cards
On Thu, Apr 04, 2002 at 09:13:34AM -0500, Brian Mays wrote:
> PCMCIA network configuration during installation has moved from the
> network.opts file to the /etc/network/interfaces file, which is good.
> However, the current installation procedure places something similar
> to the following in this file:
>
> auto eth0
> iface eth0 inet dhcp
>
> The "auto eth0" should be omitted since it causes the normal boot
> procedure to try to configure the PCMCIA ethernet connection, which is
> not available at that time. This will be done later by cardmgr, which
> will run "ifup eth0" when a network card has been detected and powered
> up.
>
> Please remove the "auto eth0" from /etc/network/interfaces.
Umm, something is rotten in the state of Denmark...
if (!has_pcmcia)
fprintf(p_file, "auto %s\n", netinterface);
fprintf(p_file, "iface %s inet dhcp\n", netinterface);
...so it must not have set has_pcmcia, which is supposed to be
set...
has_pcmcia = 0;
if (netinterface && NAME_ISDIR("/proc/bus/pccard", &nc_statbuf)) {
snprintf(prtbuf, PRTBUFSIZE, _("The interface %s (%s) seems to be a PCMCIA card. Is this correct?"),
netinterface, get_ifdsc(netinterface));
if (bootargs.isquiet || yesNoBox(prtbuf, _("Confirmation")) == DLG_YES) {
has_pcmcia = 1;
}
}
Did it display this confirmation dialog? Did /proc/bus/pccard
exist?
Matt
--
To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: