Step 4: configure pcmcia and wireless

The following modules are provided with the pcmcia_orinoco.lrp package:

# ls -la /lib/modules/pcmcia
drwxr-xr-x    2 root     root         4096 May 25 08:22 ./
drwxrwxrwt   27 root     root         4096 May 25 07:52 ../
-rw-r--r--    1 root     root        11520 May 11 19:08 ds.o
-rw-r--r--    1 root     root         7960 May 11 19:08 hermes.o
-rw-r--r--    1 root     root        38488 May 11 19:08 i82365.o
-rw-r--r--    1 root     root        43668 May 11 19:08 orinoco.o
-rw-r--r--    1 root     root         7888 May 11 19:08 orinoco_cs.o
-rw-r--r--    1 root     root        57393 May 11 19:08 pcmcia_core.o

Check that the PCMCIA modules provided in the pcmcia_orinoco.lrp package fit your needs. If not, download the appropriate modules from the Bering PCMCIA modules download area in the /lib/modules/pcmcia directory. Refer to the Bering installation guide to learn how to do that.

Enter the LEAF Package configuration menu and choose pcmcia. The following menu will appear

                        pcmcia configuration files

        1) pcmcia card local configuration file
        2) pcmcia default parameters
        3) pcmcia card configuration database

  q) quit
  ----------------------------------------------------------------------------
        Selection:
    

Entry 1) allows to edit the /etc/pcmcia/config.opts file. The default file provided in the pcmcia.lrp package is the one provided in the pcmcia-cs package. It looks like:

#
# System resources available for PCMCIA devices
#
include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff
include memory 0xc0000-0xfffff, memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
#
# Resources we should not use, even if they appear to be available
#
# First built-in serial port
exclude irq 4
# Second built-in serial port
exclude irq 12
# First built-in parallel port
exclude irq 7
    

Refer to the PCMCIA How-to for the explanation of the different options. In most cases you won't need to edit this file.

Entry 2) allows to edit the /etc/default/pcmcia file which defines the pcmcia parameters that will be used by the cardmgr program and the /etc/init.d/pcmcia script.

In our practical example (an Orinoco gold card) this file will contain:

PCMCIA=yes
PCIC=i82365.o
PCIC_OPTS=
CORE_OPTS=
CARDMGR_OPTS=

Note

You may need to specify something like: PCIC_OPTS=i365_base=0x3e2 if you are using an ISA/PCMCIA adapter.

Entry 3) allows to edit the /etc/pcmcia/config file which contains the configuration database for common cards using the orinoco driver. If your card is not present declare it either in the config of in the config.opts file.