Re: Configuring pcmcia cards at boot-up



Dave,

thanks for your suggestion, I've tried it but it wouldn't work either.

I then did some more howto reading, and then tried reconfiguring the /etc/pcmcia/network.opts file, and voila, both pcmcia ethernet cards are configured correctly at boot up.

For those who might find this useful, the relevant parts of the file /etc/pcmcia/network.opts looks like this:

case "$ADDRESS" in
*,0,*,*)
...
DHCP="y"
...
;;
*,1,*,*)
...
DHCP="n"
...
IPADDR="192.168.0.1"
...
;;
esac

This basically says: configure card in socket 0 by DHCP, and the card in socket 1 by assigning it the indicated IP, network, gateway, etc. addresses.

Udo

Dave Thayer wrote:
On Fri, Feb 10, 2006 at 08:10:54AM +0000, Udo Klein wrote:

Antonio,

adding "auto eth0" to /etc/network/interfaces doesn't work for PCMCIA cards. I've already tried. In fact, it actually says so in http://www.debian.org/doc/manuals/reference/ch-gateway.en.html#s-trigger-auto
It says there: "Never list PCMCIA interfaces in auto stanzas. The PCMCIA cardmgr is started later in the boot sequence than when /etc/rcS.d/S40networking runs."

But surely, there must be a way of configuring two PCMCIA cards during boot up...


I'm not using my laptop at the moment, so I don't have the exact script
handy, but I have to do something similar to get my wireless card to behave.

I made an init script containing (IIRC) ``cardctl eject && cardctl insert''
or something similar and gave it a fairly late priority (S90 or so) so that
it gets called after the networking and pcmcia initscripts have run.

HTH

dt



--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Why Does Apple Hate Me?
    ... PCMCIA cards that allow your laptop to be a useful tool rather ... With the advent of many integrated peripherals (modems, network cards, ... Someone might make a SCSI card for the ExpressCard slot, ... balked at my refusal to register (though comments were made during the ...
    (comp.sys.mac.system)
  • Re: Cisco wireless card not setup correctly when booting core 2
    ... configuration options turn off the start at boot option. ... Apparently since network services is started before the pcmcia a pcmcia ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • Re: 3G usb modems
    ... cheaper solution as the PCMCIA cards, ... WCDMA and HSDPA are a requirement for me... ... Debian GNU/Linux Consultant ...
    (Debian-User)
  • Re: Heads up for distro folks: PCMCIA hotplug differences (Re: -rc4: arm broken?)
    ... >> longer get hotplug events to setup networking for PCMCIA network cards ... If you have the socket driver as a module, as some distros do, ...
    (Linux-Kernel)
  • Re: PCMCIA slot does not work - IBM A20M?
    ... The PCMCIA slot does not recognize any PC cards since I swapped the ... I tried swapping the PCMCIA drive and the slot still did not recognize ... It seems like it's a defective motherboard,, but the ... We use several (VME interface) boards in computer based racks that function ...
    (comp.sys.laptops)

Loading