Discussion:
[pir@pir.net: wi HostAP problems with -stable]
(too old to reply)
p***@pir.net
2004-02-16 01:23:07 UTC
Permalink
Oops. Meant to send this here to -mobile, not -stable.

P.

----- Forwarded message from Peter Radcliffe <***@pir.net> -----
I've got a -STABLE box with a prism 2.5 minipci card in it that I'm
trying to use in hostap mode.

Following the man page and comments from various places the following
should work;

# ifconfig wi0 inet 192.168.10.1 \
stationname "foo" ssid "foo" channel 6 \
media DS/11Mbps mediaopt hostap up

but on the client end (another -stable box with a similar prism 2.5
minipci) I get no association. Both client and the box I'm trying to
use as a server have the same firmware;

wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary 1.01.01, Station 1.07.04

Both boxes work fine as clients, connect perfectly to random basestations
I have in use, so the antennas and such seem to work.


Any hints ? Bad firmware rev for hostap ?

Also, is there any way to go back from hostap to BSS mode other than
rebooting ?

Thanks,
P.
----- End forwarded message -----
--
pir
p***@pir.net
2004-02-16 06:46:25 UTC
Permalink
Post by p***@pir.net
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary 1.01.01, Station 1.07.04
Any hints ? Bad firmware rev for hostap ?
Indeed, bad firmware rev for hostap. 1.5.6 is the most recent I can
find that works. Seems to work reasonably well as a base station
(using it now). Did they change hostap stuff between 1/5/6 and 1.7.2 ?

I tried the client at 1.5.6 and was seeing performace issues - jittery
connections intermittant bad ping times - so took the client up to;

wi0: Intersil Firmware: Primary 1.01.01, Station 1.08.00

That with the DELAY(1); patch seems to be stable and happy.
Post by p***@pir.net
Also, is there any way to go back from hostap to BSS mode other than
rebooting ?
and I'm still looking for a way to swap modes. ifconfig mediaopt really
doesn't want to let me.

P.
--
pir
z***@tel.fer.hr
2004-02-16 13:09:25 UTC
Permalink
Post by p***@pir.net
Post by p***@pir.net
Also, is there any way to go back from hostap to BSS mode other
than rebooting ?
and I'm still looking for a way to swap modes. ifconfig mediaopt
really doesn't want to let me.
If you do not hardcode the wi driver into the kernel, doing a
kldunload / kldload if_wi should do the trick without rebooting.

Cheers,

Marko
p***@pir.net
2004-02-16 16:09:10 UTC
Permalink
Post by z***@tel.fer.hr
If you do not hardcode the wi driver into the kernel, doing a
kldunload / kldload if_wi should do the trick without rebooting.
Ugly and when I tried it yesterday it paniced the machine.

Making sure everything is unconfigured it seems to work sometimes,
with 1.5.6 firmware, but it's hardly optimal.

P.
--
pir
z***@tel.fer.hr
2004-02-16 16:31:08 UTC
Permalink
Post by p***@pir.net
Post by z***@tel.fer.hr
If you do not hardcode the wi driver into the kernel, doing a
kldunload / kldload if_wi should do the trick without rebooting.
Ugly and when I tried it yesterday it paniced the machine.
Making sure everything is unconfigured it seems to work sometimes,
with 1.5.6 firmware, but it's hardly optimal.
It works for me with firmware 1.7.4 without a single panic up to date.

tpx30# uname -a
FreeBSD tpx30 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Fri Feb 13 22:35:05
CET 2004 ***@tpx30:/u/src-4.9/sys/compile/TPX30 i386
tpx30# kldunload if_wi
tpx30# kldload if_wi
tpx30# dmesg
[snip]
wi0: detached
wi0: <Intersil Prism2.5> mem 0xf8000000-0xf8000fff irq 6 at device 2.0
on pci1
wi0: 802.11 address: 00:05:3c:06:9d:1d
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary 1.01.01, Station 1.07.04
tpx30#
p***@pir.net
2004-02-16 17:41:29 UTC
Permalink
Post by z***@tel.fer.hr
It works for me with firmware 1.7.4 without a single panic up to date.
I've done it plenty of times without hostap, adding hostap seems to
complicate matters.

P.
--
pir
b***@spc.org
2004-02-16 16:30:37 UTC
Permalink
Post by p***@pir.net
Post by p***@pir.net
Also, is there any way to go back from hostap to BSS mode other than
rebooting ?
and I'm still looking for a way to swap modes. ifconfig mediaopt really
doesn't want to let me.
That's a kinda old firmware version. I updated my PRISM2 card to 1.4.9
STA firmware successfully (using Intersil's tool for doing it in Windows)
and didn't encounter those issues any more.

BMS
p***@pir.net
2004-02-16 17:52:48 UTC
Permalink
Post by b***@spc.org
Post by p***@pir.net
and I'm still looking for a way to swap modes. ifconfig mediaopt really
doesn't want to let me.
That's a kinda old firmware version.
1.5.6 is the newest that works with hostap, as I said earlier in this
thread.
Post by b***@spc.org
I updated my PRISM2 card to 1.4.9 STA firmware successfully (using
Intersil's tool for doing it in Windows) and didn't encounter those
issues any more.
1.4.9 is even older...

P.
--
pir
Loading...