WLAN Installation
Documentation.
1. Install PCMCIA hardware.
2. Set in /etc/sysconfig/pcmcia to
PCMCIA=yes
PCIC=i82363
3. Run setup and in system services check PCMCIA as present.
4. Get source in ether way:
·
Download file linux-wlan-0.3.3.tar.gz from
ftp://absoral.com/pub/linux-wlan/
·
Get file linux-wlan-0.3.3.tar from floppy made up by our team due to continues business
of this link.
mount –t vfat
/dev/fd0 /mnt/floppy
cp
/mnt/floppy/linux-wlan-0.3.3.tar /usr/src
umount /mnt/floppy
5. Install this file into /usr/src
directory.
gunzip linux-wlan-0.3.3.tar.gz
tar –xf linux-wlan-0.3.3.tar
6. Change in /etc/pcmcia/config
device “3c589_cs” class “network” module
“3c589_cs”
to
device “am930_cs” class “wlan” module
“am930_cs”
7. In our case we added some components to Linux. For this
step you will need CD-ROM with RedHat installation.
mount –t iso9660 /dev/hdc /mnt/cdrom
cd /mnt/cdrom/RedHat/RPMS
rpm –i make-3.77-6.i386.rpm
rpm –i Kernel-headers-2.2.5-15.i386.rpm
rpm –i Kernel-source-2.2.5-15.i386.rpm
rpm –i glibc-devel-2.1.1-6.i386.rpm
umount /dev/cdrom
8. This step allows you to change configuration for PCMCIA
driver, that will be appropriate for our system.
cd /usr/src/pcmcia-cs-3.0.9
make-config
And we are going to accept defaults excluding these cases:
·
Linux source directory: /usr/src/linux
·
Module install directory: /lib/modules/2.2.5-15
·
How would you like to set
Kernel-specific options?: 1.Read from the current running Kernel.
·
System v init script layout: y
9. Change file /usr/src/linux-wlan-0.3.3/config make
Linux = /usr/src/linux
PCMCIA=/usr/src/linux/pcmcia-cs-3.0.9
MODULES_DIR= /lib/modules/2.2.5-15
10. As long as you in directory /usr/src/linux-wlan-0.3.3/ you can do
make all
make install
Make all shouldn’t give you any error messages at this point, if not this documentation cannot help you.
11. Look up into /etc/sysconfig/network-script/ifcfg-eth1 file in case if it need to be edited.
12. Copy files wlan, wlan.config, wlan.opts from /usr/src/linux-wlan-0.3.3/ to /etc/pcmcia/
13. Change mode for wlan and wlan.opts to 755
14. Change your options in wlan.ops file to look like this
SSID=WLAN_AP1
SSID=NeesusPCAP
SSID=LinuxAP
SSID=ZoomAP
SSID=WLAN_AVS
CREATEBSS=yes
CHANNEL=6
BCN_INT=300
STARTCH=1
ENDCH=11
15. You should edit /etc/pcmcia/config file in order to provide an information about the card
16. Stop and restart PCMCIA services:
cd /etc/rc.d/init.d
./pcmcia stop
./pcmcia start
Good
luck!