Allen wrote:
>
> Ducan, I am willing to Help you write HOWTO, if you would like.
>
> A few questions for you:
> 1) What Drivers did you use?
The latest pcmcia and wlan drivers from
http://pcmcia-cs.sourceforge.net/ftp/http://www.linux-wlan.com/> 2) Did you had to update any of the pcitables, or other
> wardware idenfication files?
No
> 3) Where you able to load the wireless card as eth1?
Again no, which presents a few problems with respect to templates
>
>
> Currently this is how my notes are looking:
> 1) Load E-smith 5.1.2
> Enable SSH & Telenet for public
> modify /etc/passwd by making /bin/bash as the shell
>
> 2) STEP 1: Gather up these RedHat 7.1 files from your closest
> rpmfind.net mirror site.
> cpp-2.96-85.i386.rpm
> gcc-2.96-85.i386.rpm
> glibc-devel-2.2.4-19.i386.rpm // ~9MB download
> kernel-headers-2.4.9-31.i386.rpm
> kernel-source-2.2.19-7.0.8.i386.rpm // ~18MB download
> make-3.79.1-5.i386.rpm
I followed D.Mays howto and used his downloads - but essentially the same
>
> 3) rpm -ivh *
>
> 4) add link to run pcmcia at run level 7 (before network)
> ln -s /etc/rc.d/init.d/pcmcia /etc/rc.d/rc7.d/S09pcmcia
Yes - allows you to treat as an interface rather than thru pcmcia. I did however link it thru via the services instead of via init.d
>
> 5) start pcmcia (can reboot or)
> /etc/rc.d/init.d/pcmcia start
>
> 6) check card status:
> cardctl status
> cardctl config
> cardctl ident
>
> 7) Set up PCMCIA source config file:
> A) link correct config file (uname -a)
> ln -s /usr/src/linux/configs/kernel-2.2.19-i586.config
> /usr/src/linux/.config
> b) make config file for pcmcia:
> cd /usr/src/linux/pcmcia-cs-3.1.24
> make config
> linux source directory=/usr/src/linux
> trusting=y
> include 32bus support= (y/n)
> PNP bios resource checking=y
> read settings from currently running kernel= 1
> modules install directory=/lib/modules/2.2.19-7.0.8
> System V init script layout= y
> top-level directory for RC scripts=/etc/rc.d
I actally compiled the latest version of pcmcia-cs from tarball so i didnt need to do any links, but other than that pretty much the same
>

Compiler Wlan-ng Driver:
> A) Download & untar linux-wlan-ng-0.1.14.tar.gz
> B) make mrproper
> C) make config
> PCMCI card service: Y
> PLX service : N
> PCI service : N
> USB service : N
> linux source: /usr/src/linux
> pcmcia-cs source: /usr/src/linux/pcmcia-cs-3.1.24
> kernel pcmcia : N
> Alternate target install : [blank enter]
> pcmcia script dir: /etc/pcmcia
> module install directory : /lib/modules/2.2.19-7.0.8
> Targe Architecture : i386
> Prefix for build host compiler : [blank enter]
> cross compiler : N
> build for debugging : N
> d) make all
> e) make install
Yes
> (if you get an error, you might want to move
> /lib/modules/2.219-7.0.8/scsi/megaide.o to /
> then move it back after you run make install
> again.
> example: mv
> /lib/modules/2.2.19-7.0.8/scsi/megaide.o /
> make install
> mv /megaide.o
> /lib/modules/2.2.19-7.0.8/scsi/.
> )
Never had any problems with the above.
> F) pico /etc/pcmcia/wlan-ng.opts
> G) pico /etc/pcmcia/network.opts
> H) restart pcmcia
> /etc/rc.d/init.d/pcmcia restart
> I) Test to see if wlan0 came up
> ifconfig -a
> 9) Configure wlan0:
> A) User eth1 as a template for ifcfg-wlan0
> cp /etc/sysconfig/network-scripts/ifcfg-eth1
> /etc/sysconfig/network-scripts/ifcfg-wlan0
> pico /etc/sysconfig-network-scripts/ifcfg-wlan0
> (change Device ID & ipaddr if needed)
> b) start wlan0
> ifup wlan0
Yes but i cant remember if i needed to edit /etc/pcmcia/network.opts since it was set up /etc/sysconfig-network-scripts/ifcfg-wlan0.
The set up for a pci card is quite different.
Regards Duncan