1 TITLE: PCMCIA-CS install hint
2 LFS VERSION: any LFS with a 2.0, 2.2, 2.4 or 2.5 kernel
3 AUTHOR: Roland van Laar <the_mip_rvl@hotmail.com>
6 Installing the PCMCIA-CS package
14 2. Getting the right stuff
15 3. Configuring + install the kernel and pcmcia-cs package
16 4. Errors I've encountered
21 I included an Errors I've encountered section, it's just a section
22 about how I changed some things to get my pcmcia netword card
25 There are two possibilities for using pcmcia:
27 - using the kernel pcmcia modules and the pcmcia-cs tools
28 - using the pcmcia-cs modules and tools
31 2. Getting the right stuff
33 Download the pcmcia-cs source package from http://pcmcia-cs.sourceforge.net/
34 Unpack the package into a directory, logical would be the /usr/src.
36 3. Configuring + install the kernel and pcmcia-cs package
38 - Using the kernel pcmcia modules and the pcmcia-cs tools
40 When compiling the kernel during the LFS build, don't forget to
41 compile the right pcmcia modules, and compile the kernel as
42 described in the LFS book.
44 - Using the pcmcia-cs modules and tools
46 Don't include the pcmcia support in the kernel.
47 It's located in general setup; PCMCIA/CardBus support.
49 After compiling the kernel, change to the pcmcia-cs directory and
50 execute these commands for BOTH methods:
56 Do a reboot and the PCMCIA support should be working properly.
59 4. Errors I've encountered
61 I have a pcmcia NIC, it's my only nic, if you do have onboard nic, eth0 will
62 be detected and the /etc/rc.d/init.d/network file will not generate an error.
63 (In the onboard nic case do not remove or chmod the network file)
64 The pcmcia daemon is started after the network is brought up. This resulted
65 in an error because eth0 wasn't detected.
67 I configured /etc/pcmcia/network.opts (that shouldn't be too hard) so that a
68 ./network eth0 up is given by the input of the pcmcia nic, which dissolves
69 the need of the disabled /etc/rc.d/init.d/network.
71 chmod 644 /etc/rc.d/init.d/network
72 and have a reboot, so you can check if it worked out allright.
73 If this works ok, go ahead and delete the /etc/rc.d/init.d/network file and
78 The PCMCIA-HOWTO is located in the doc directory in the