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 [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]