home  wiki

Spelling: GettingCompaqWL200sWorking

Ok... Hopefully this will turn into a guide to get the Compaq WL200
cards running under Linux.

* First, we need to get the system up and running. [1]
* Adding PCMCIA Support [2]
* Prism2 driver install [3]
* Try it out... [4]
* Troubleshooting [5]

FIRST, WE NEED TO GET THE SYSTEM UP AND RUNNING.

Then compile the kernel WITHOUT pcmcia support. (that's correct,
without pcmcia support!) (Note: this is now optional. The latest
Prism2 drivers have instructions for installing using kernels that
don't include pcmcia support, and also those that do. Most recent
kernels do include pcmcia support, so don't sweat thinking you have to
do a re-compile.)

To find out if you have pcmcia support already installed, do a
MODPROBE -L | GREP PCMCIA_CORE. No output means no pcmcia support,
output means you have pcmcia support.

ADDING PCMCIA SUPPORT

SKIP THIS STEP IF YOUR KERNEL HAS PCMCIA SUPPORT INCLUDED.

Grab the latest pcmcia card services package from the Linux PCMCIA
page [6].

Untar the archive:

tar -zxf pcmcia-cs-x.x.x.tar.gz

Change into the pcmcia-cs-x-x-x directory and run a MAKE CONFIG, then
MAKE ALL, and finally a MAKE INSTALL.

PCMCIA services may not be setup to load at boot. To change this,
edit the _/etc/sysconfig/pcmcia_ file to look like:

PCMCIA=yes PCIC=i82365 PCIC_OPTS= CORE_OPTS= CARDMGR_OPTS=

"PCIC=i82365" should suit most PCMCIA bridges. If it doesn't suit
yours, try "PCIC=tcic".

PRISM2 DRIVER INSTALL

Grab the latest Intersil Prism2 driver source from the Hostap site
[7].

Untar the archive:

tar -zxf Prism2-2002-xx-xx.tar.gz

Change into the Prism2-2002-xx-xx directory. Follow the install
instructions in the README according to whether your kernel has pcmcia
support included or not. They don't seem to be 100% complete however,
so add in the following steps.

Edit the file wireless.opts in _/etc/pcmcia_ to suit your network.
Best bet if you only have one wireless card installed is to edit the
final entry that starts with "*,*,*,*)". If you have more than one
wireless card, look into using the MAC address to configure each card
independently. Basically, you can create a new entry containing the
MAC address:

*,*,*,xx:xx:xx:xx:xx:xx)

Most importantly, for the card to work in Host AP mode, you must set
MODE="Master"

The Prism2 drivers come with a file called "prism2.conf" which needs
to be added to your _/etc/pcmcia/config_ file. To do this, from your
Prism2-2002-xx-xx directory, type:

mv /etc/pcmcia/config /etc/pcmcia/config.old cat
driver/etc/prism2.conf /etc/pcmcia/config.old > /etc/pcmcia/config
chmod a-w /etc/pcmcia/config

TRY IT OUT...

Under RedHat [8], start the pcmcia services with a
/ETC/RC.D/INIT.D/PCMCIA START. Other distros differ slightly. If
you're at a complete loss, just reboot. Hopefully you should hear two
high pitched beeps. If not, I hope people can add their words of
wisdom below.

TROUBLESHOOTING

Q: In my log files _(/var/log/messages)_ I get:
Jan 22 19:45:31 router kernel: prism2_cs: RequestIRQ [9]: Resource in
use
Jan 22 19:45:31 router kernel: prism2sta_config: NextTuple failure?
It's probably a Vcc mismatch.
Jan 22 19:45:31 router kernel: prism2sta_event: prism2_cs:
Initialization failed!
Jan 22 19:45:32 router cardmgr[397]: get dev info on socket 0 failed:
Resource temporarily unavailable

What do I do?

A: try editing _/etc/sysconfig/pcmcia_ to say:
PCMCIA=yes
PCIC=i82365
PCIC_OPTS="irq_mode=1 fast_pci=1"
CORE_OPTS=
CARDMGR_OPTS=

then do a /ETC/RC.D/INIT.D/PCMCIA STOP & START

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

Q: When I try to load the modules I get messages about extra
parameters ?

A: One of the modules is not loading, for me the dependencies are as
such that
pcmcia_core.o -> i82365.o -> ds.o -> prism2.o
problems with:
pcmcia_core = try recompiling pcmcia stuff and/or your kernel
i82365 = try using the irq_mode 1 parameter directly, make sure the
card is in, try changing the pci slot.
ds =
prism2 =

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

Q: Why can't I get my other wireless card to continue to work
alongside the WL200?

A: You need to add the following to _/etc/sysconfig/pcmcia_:

PCIC_OPTS="irq_mode=1 extra_sockets=1"

-------------------------
Back to SpecificCases [10]
CategoryHowTo [11]

Links:
------
[1]
http://melbournewireless.org.au/#first__we_need_to_get_the_system_up_and_running_
[2] http://melbournewireless.org.au/#adding_pcmcia_support
[3] http://melbournewireless.org.au/#prism2_driver_install
[4] http://melbournewireless.org.au/#try_it_out___
[5] http://melbournewireless.org.au/#troubleshooting
[6] http://pcmcia-cs.sourceforge.net/
[7] http://hostap.epitest.fi/
[8] http://melbournewireless.org.au/?RedHat
[9] http://melbournewireless.org.au/?RequestIRQ
[10] http://melbournewireless.org.au/?SpecificCases
[11] 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
gathering192
interested515
operational242
testing216