home  wiki

Spelling: RedHatWL200AP

RED HAT 7.3 AS A FULL WIRELESS AP + WIRELESS WAN INTERFACE

* Introduction [1]
* 1. Requirements [2]

* 1.1 Hardware [3]
* 1.2 Software [4]
* 1.3 Firmware [5]

* 2. Compile New Kernel With No PCMCIA/CardBus Support [6]

* 2.1 Boot New Kernel Using GRUB [7]
* 2.2 Boot New Kernel Using LILO [8]
* 2.3 Compile and Install Modules [9]

* 3. Complile and Install PCMCIA and Wireless Card Drivers [10]

* 3.1 PCMCIA-CS Driver [11]
* 3.2 Hostap Driver [12]
* 3.3 Orinoco Driver [13]
* 3.4 Compile and Install [14]
* 3.5 IRQ Routing [15]
* 3.6 Network Parameters [16]
* 3.7 Wireless Parameters [17]
* Todo list [18]

INTRODUCTION

This setup is to have a Red Hat 7.3 linux box configured with a
Compaq WL200 PCI Wireless card as a full AP Interface in master mode
using the Hostap Driver, Also having a Enterasys RoamAbout [19]
wireless PC card as a a WAN point to point interface in ad-hoc mode
using the Orinoco driver.

1. REQUIREMENTS

1.1 HARDWARE

Compaq [20] WL200 wireless PCI card.
Enterasys [21] RoamAbout [22] wireless PC card.
Ricoh RL5c475 PCI cradle.

1.2 SOFTWARE

Redhat [23] Linux 7.3
Pcmcia-cs [24] version 3.2.0 [25] (JUN 2004: current version is 3.2.7
[26])
Host AP driver [27] version 2002-05-19 [28] (JUN 2004: current
version is hostap-driver-0.1.3 [29])
Orinoco driver [30] version 0.12b [31] (JUN 2004: current version
orinoco-0.13e [32])
Wireless tools [33] version 24 [34] (JUN 2004: current version
wireless_tools.26 [35])

1.3 FIRMWARE

Prism [36] firmware version 0.8.3 [37] for WL200.
Orinoco [38] firmware version 8.10 [39] for RoamAbout [40].

2. COMPILE NEW KERNEL WITH NO PCMCIA/CARDBUS SUPPORT

Change to kernel source directory (eg. _cd /usr/src/linux-2.4.18-3_).
(JUN 2004: The newer pcmcia-cs package will look for the kernel at
/usr/src/linux. This link should be present in most newer
distributions. If not create a symlink to the versioned kernel. This
is now the preferred method of linking to the kernel source tree.)

Edit the Makefile (eg. VI MAKEFILE), and change the EXTRAVERSION =
-3custom statement in the (approx) 4th line down.

Remove the word custom so that it's EXTRAVERSION = -3 and Save this
change.

-------------------------
Run MAKE MENUCONFIG (or you can use MAKE XCONFIG).

In the Main menu

* select General setup --->.
* then DEselect PCMCIA/CardBus support ---> in the General setup
menu.
* Exit

Return to Main menu.

* Select Network device support ---> in the Main menu.
* In the Network device support menu scroll down,

* and Select Wireless LAN (non-hamradio) --->.

* In the wireless LAN (non-hamradio) menu,

* ensure [*] Wireless LAN (non-hamradio) is selected by having a * in
the [ ]

* Un-select all other devices list below Wireless LAN (non-hamradio)
by removing all * or M next to them.
* Exit and save config.

-------------------------
Run MAKE CLEAN
Run MAKE DEP and when finished make the image,
Run MAKE BZIMAGE-2002-08-09 (or what ever name you want to call it)

Time to test the new kernel.

2.1 BOOT NEW KERNEL USING GRUB

If you are using grub as the boot manager, then edit
_/boot/grub/grub.conf_

Enter the following at the bottom of the grub.conf file.

Title Red Hat Linux (2.4.18-3 mykernel) root (hd0,0) kernel
/bzImage-2002-08-09 ro root=/dev/hda3
Save the changes and test boot.

2.2 BOOT NEW KERNEL USING LILO

If you are using LILO as the boot manager, then edit _/etc/lilo.conf_

Enter the following at the bottom of lilo.conf file

image = /bzImage-2202-08-09 label = Red Hat Linux (2.4.18-3 mykernel)
Save the changes and run LILO -V, so that it writes out lilo.conf and
makes system bootable, then test boot.

2.3 COMPILE AND INSTALL MODULES

Once you have test booted ok. Return to the kernel source directory
and do the following...
Run MAKE MODULES
Run MAKE MODULES_INSTALL

Reboot again to test.

3. COMPLILE AND INSTALL PCMCIA AND WIRELESS CARD DRIVERS

3.1 PCMCIA-CS DRIVER

Download the _latest pcmcia-cs package [41]. Change to the directory,
where you want the files to unpacked(eg. cd /usr/src_) and Unpack it
using TAR -ZXF /FILE.TAR.GZ

3.2 HOSTAP DRIVER

Download the latest hostap-driver package [42] and change to the
directory, where you want the files to be unpacked and unpack it.

Eg. Copy all the files and sub-directories in
_/Prism2-2002-05-19/driver_ (or _/hostap-driver-0.1.x/driver_) to root
of pcmcia-cs source directory

3.3 ORINOCO DRIVER

If you want to compile Orinoco driver for Enterasys PCMCIA card.

Download the latest Orinoco package [43], and unpack it.

Eg. Copy all .c and .h files to pcmcia-cs wireless sub-directory
(_pcmcia-cs-3.2.x/wireless_), and _hermes.conf_ to etc sub-directory
(pcmcia-cs-3.2.x/etc).

3.4 COMPILE AND INSTALL

Change to pcmcia-cs source directory (eg. _cd
/usr/src/pcmcia-cs-3.2.0_).

Run MAKE CONFIG (ensure the default kernel source directory is
correct).

Use default for other options.
Run MAKE ALL then
Run MAKE INSTALL

Additional PCMCIA-HOWTO: Compilation and installation [44]
information is available.

(JUN 2004: For the newer pcmcia-cs-3.2.7 version MAKE CONFIG has been
replaced with CONFIGURE. Run this command, point it to the
_/usr/src/linux_ tree and accept the remaining defaults. It will
output the configuration to the screen, check it and fix if necessary)

3.5 IRQ ROUTING

Because the default setting is to use ISA, We need to tell the system
to use PCI for this card.

Edit _/etc/sysconfig/pcmcia_ and Add this line to it (WL200 NEED THIS
TO WORK).

PCIC_OPTS='irq_mode=1'
If you want to have a ricoh chipset pci cradle and enterasys card, to
coexist with WL200, then add this.

PCIC_OPTS='irq_mode=1 irq_list=0'
If the above doen't work for your system try adding EXTRA_SOCKETS=1.

3.6 NETWORK PARAMETERS

To set the IP address, subnet mask, etc, for wireless interfaces

Edit this file _/etc/pcmcia/network.opts_

More info is available, Linux PCMCIA HOWTO: Usage and features [45].

3.7 WIRELESS PARAMETERS

To set any wireless interfaces to a specific settings (eg. channel,
essid, etc).

Edit this file _/etc/pcmcia/wireless.opts_

Visit PCMCIA Wireless Configuration [46] for more information.

TODO LIST

* Add firmware upgrade howto.
* confirm this procedure

* did it work for you
* have any instructions changed

Wiki generated by html2wiki [47]

CategoryHowTo [48]

Links:
------
[1] http://melbournewireless.org.au/#introduction
[2] http://melbournewireless.org.au/#1__requirements
[3] http://melbournewireless.org.au/#1_1_hardware
[4] http://melbournewireless.org.au/#1_2_software_
[5] http://melbournewireless.org.au/#1_3_firmware
[6]
http://melbournewireless.org.au/#2__compile_new_kernel_with_no_pcmcia_cardbus_support
[7] http://melbournewireless.org.au/#2_1_boot_new_kernel_using_grub
[8] http://melbournewireless.org.au/#2_2_boot_new_kernel_using_lilo
[9] http://melbournewireless.org.au/#2_3_compile_and_install_modules
[10]
http://melbournewireless.org.au/#3__complile_and_install_pcmcia_and_wireless_card_drivers
[11] http://melbournewireless.org.au/#3_1_pcmcia_cs_driver
[12] http://melbournewireless.org.au/#3_2_hostap_driver
[13] http://melbournewireless.org.au/#3_3_orinoco_driver
[14] http://melbournewireless.org.au/#3_4_compile_and_install
[15] http://melbournewireless.org.au/#3_5_irq_routing
[16] http://melbournewireless.org.au/#3_6_network_parameters
[17] http://melbournewireless.org.au/#3_7_wireless_parameters
[18] http://melbournewireless.org.au/#todo_list
[19] http://melbournewireless.org.au/?RoamAbout
[20] http://www.compaq.com
[21] http://www.enterasys.com
[22] http://melbournewireless.org.au/?RoamAbout
[23] http://www.redhat.com
[24] http://pcmcia-cs.sourceforge.net
[25] http://pcmcia-cs.sourceforge.net/ftp/pcmcia-cs-3.2.0.tar.gz
[26] http://pcmcia-cs.sourceforge.net/ftp/
[27] http://hostap.epitest.fi
[28] http://hostap.epitest.fi/releases/Prism2-2002-05-19.tar.gz
[29] http://hostap.epitest.fi/releases/hostap-driver-0.1.3.tar.gz
[30] http://www.ozlabs.org/people/dgibson/dldwd
[31] http://ozlabs.org/people/dgibson/dldwd/orinoco-0.12b.tar.gz
[32] http://www.ozlabs.org/people/dgibson/dldwd/orinoco-0.13e.tar.gz
[33] http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
[34]
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.24.tar.gz
[35]
http://pcmcia-cs.sourceforge.net/ftp/contrib/wireless_tools.26.tar.gz
[36] http://www.intersil.com
[37] http://www.goonda.org/wireless/utils/UpdFw8c3.zip
[38] http://www.orinocowireless.com
[39]
http://www.orinocowireless.com/template.html?section=m52&envelope=90&page=3267
[40] http://melbournewireless.org.au/?RoamAbout
[41] http://pcmcia-cs.sourceforge.net/ftp/
[42] http://hostap.epitest.fi
[43] http://ozlabs.org/people/dgibson/dldwd/
[44]
http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO-2.html#ss2.2
[45]
http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-HOWTO-4.html#ss4.3
[46] http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/PCMCIA.txt
[47] http://wireless.org.au/~tyson/tools/html2wiki/
[48] http://melbournewireless.org.au/?CategoryHowTo

[EditText] [Spelling] [Current] [Raw] [Code] [Diff] [Subscribe] [VersionHistory] [Revert] [Delete] [RecentChanges]

> home> about> events> files> members> maps> wiki board   > home   > categories   > search   > changes   > formatting   > extras> site map

Username
Password

 Remember me.
>

> forgotten password?
> register?
currently 0 users online
Node Statistics
building132
gathering193
interested515
operational233
testing214