Linux and 802.11b


Copyright 2002, 2003 Andy Barclay
OpenContent License (OPL)

Configuring 802.11b Wireless Cards on Linux
---------------------------------------------------

Tested cards
	- Lucent Silver Card
	- Lucent Gold Card
	- Cisco Aironet Card

Tested Operating Systems
	- Mandrake 6.1   2.2.14  and  2.2.16
	- Mandrake 7.02  2.2.16
	- Mandrake 7.1	 2.2.16

Re-compile the kernel with wireless extensions
cd /usr/src/linux
make menuconfig
	- Network Devices
		- Wireless LAN (non-hamradio) 
			- Select Aironet and AT&T WaveLAN
now re-compile and install your kernel

Download and install pcmcia-3.1.19 or newer
Latest Version Available from:
http://sourceforge.net/projects/pcmcia-cs/


Download and install wireless tools 2.0 or newer
Latest version available from:
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html

	cd /tmp
	ftp in the wireless.tar file
	tar xvf wireless.tar.gz
	gunzip wireless.tar.gz
	cd wireless_tools.20
	make
	cp iwspy iwpriv iwconfig /usr/local/sbin


Edit the following files

/etc/pcmcia/config.opts
---------------------------------------------------------
	# Add the following line at the bottom
	module "wvlan_cs" opts "port_type=3 channel=10"  
---------------------------------------------------------


/etc/pcmcia/wireless.opts
---------------------------------------------------------
# Comment out all lines and ensure that you only have the following
case "$ADDRESS" in  
# Edit the lines below to have the first 1/2 of the Ether Address
# Do NOT remove the 3 *'s and ,'s at the beginning.
*,*,*,00:60:1D:*)
    INFO="Wavelan IEEE "
    ESSID="Wavelan Network"  # Change this to what ever you want

	# If you intend to use an Access Point then only define MODE="Managed"
	# otherwise define it as MODE="Ad-hoc" peer to peer network.
    #MODE="Managed" 
    MODE="Ad-hoc"

    RATE="11M"
    #RATE="auto"

    KEY="s:secu1" # Must be the same as your peers or the access point

    IPADDR="192.168.37.20"   # This is a static IP configuration. You only need
							 # this if you plan no to use DHCP
    NETMASK="255.255.255.0"
    NETWORK="192.168.37.0"
    BROADCAST="192.168.37.255"
    ;;                                                                

esac

---------------------------------------------------------

/etc/pcmcia/network.opts
---------------------------------------------------------
	# Change the lines below if you wish to use DHCP
    DHCP="y"
    #DHCP="n"