10.8.5 Network configuration and PCMCIA
There are several possible approaches to configuring PCMCIA network interfaces
(for 2.4 and 2.6 kernels).
The recommended approach for 16 bit cards takes advantage of the fact that the
Linux 2.4 hotplug subsystem now supports PCMCIA. [64]
PCMCIA network cards are hot pluggable. Accordingly, any services that require
networking through a PCMCIA card should be so configured that they get started
on card insertion and get stopped on card removal. This is usually
accomplished by arranging for the service to start on ifup and
stop on ifdown. Some people, however, choose to confine
themselves to cold plugging their PCMCIA network card: they insert the card
before booting the system and they start services that require networking
through the card in the boot sequence. If you are such a person then in order
to ensure that the card is fully configured before the services are started you
should do the following:
This hack only works for 16 bit PCMCIA cards.
Note that pcmcia-cs
is still needed if you use 16 bit PCMCIA
cards. The cardmgr
daemon that the package contains is
responsible for managing the sockets and loading driver modules. We just don't
want it to call network configuration programs via
/etc/pcmcia/network
.
In order for cardmgr
to work properly you may need to edit
/etc/pcmcia/config.opts
in order to configure resources assigned
to 16 bit PCMCIA cards. See PCMCIA, Section 7.2.1 and the
Linux PCMCIA
HOWTO
for more information.