Bug#141166: boot-floppies: Network configuration should not use "auto" for PCMCIA network cards
Matt Kraai wrote:
> 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?
Here is the information that I was able to get from the user:
> > The interface xxx (xxx) seems to be a PCMCIA card. Is this
> > correct?
> No, I wasn't asked that. However, I suspect that my case is pretty
> hard to take into account in an installation script, at least with the
> current way of handling network cards (my understanding of this is not
> the best admittedly, I'm a programmer of very little brain).
>
> These were the steps I took to install the system on a new, empty hd
> (after trying to get the boot floppies to work with a usb floppy):
>
> I made a small dos partition and shuttled over linux, drivers.tgz etc
> to that partition via diskettes. Loaded the kernel drivers from the
> dos partition.
>
> Next I installed the system via http by using the eepro card in the
> port replicator (although it's not really a replicator since there are
> no ports on the computer itself. But I digress). Sometime around this
> point I was asked if I wanted to remove the pcmcia drivers, since I
> wasn't using them, but I said no.
>
> The reason I used the eepro card (I don't normally use the replicator
> since it's large and in the way, the only badly designed part of the
> laptop) was that I couldn't get the wlan card to work with the boot
> floppies, there wasn't a driver for the orinoco_cs card that I could
> find and the wavelan driver didn't work (at least not immediatly, so I
> just went with what worked).
>
> Once I had the base system installed I upgraded the kernel to 2.4.18,
> as instructed by our sysadmin, and kompiled appropriate modules etc.
>
> Only after this did I start using the wlan and 3com pcmcia cards and
> ran into the glitch I mailed to the list about.
>
> I hope this helps, and thanks again, I've got my setup working
> smoooothly now.
It looks like this could be a non-issue, and the installation scripts
are fine. What do you think?
- Brian
--
To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: