From ian.cass  Tue Apr  1 00:59:21 2003
From: ian.cass (Ian Cass)
Date: Tue, 1 Apr 2003 09:59:21 +0100
Subject: Bus Master Mode
Message-ID: <042f01c2f82c$fc7fab30$4c28a8c0@cblan.mblox.com>

Hi,

I tried compiling up the latest CVS with PRISM2_BUS_MASTER enabled, but it's
giving errors on compile

In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_bus_master_ev':
driver/modules/hostap_hw.c:3451: `local' undeclared (first use in this
function)
driver/modules/hostap_hw.c:3451: (Each undeclared identifier is reported
only once
driver/modules/hostap_hw.c:3451: for each function it appears in.)
make: *** [driver/modules/hostap_pci.o] Error 1

Any ideas?

--
Ian Cass




From ian.cass  Tue Apr  1 01:12:23 2003
From: ian.cass (Ian Cass)
Date: Tue, 1 Apr 2003 10:12:23 +0100
Subject: Bus Master Mode
References: <042f01c2f82c$fc7fab30$4c28a8c0@cblan.mblox.com>
Message-ID: <046701c2f82e$ce740810$4c28a8c0@cblan.mblox.com>

Ian Cass <ian.cass at mblox.com> wrote:
> Hi,
> 
> I tried compiling up the latest CVS with PRISM2_BUS_MASTER enabled,
> but it's giving errors on compile
> 
> In file included from driver/modules/hostap_pci.c:164:
> driver/modules/hostap_hw.c: In function `prism2_bus_master_ev':
> driver/modules/hostap_hw.c:3451: `local' undeclared (first use in this
> function)
> driver/modules/hostap_hw.c:3451: (Each undeclared identifier is
> reported only once
> driver/modules/hostap_hw.c:3451: for each function it appears in.)
> make: *** [driver/modules/hostap_pci.o] Error 1
> 
> Any ideas?

I've 'fixed' it by moving ...

local_info_t *local = (local_info_t *) dev->priv;

... outside the if .. then .. else structure.

I've no idea if this will actually work, but it fixes the compile problem.

-- 
Ian Cass



From Lassaad.Gannoune  Tue Apr  1 05:32:33 2003
From: Lassaad.Gannoune (GANNOUNE Lassaad)
Date: Tue, 1 Apr 2003 15:32:33 +0200 
Subject: 802.11 e draft
Message-ID: <E9ED1714DA6AD511B22F00B0D0D04CF801335D88@EINT11>


Hi Folks,

I am looking for the 802.11e draft/D2.0, I would be pleased to get
it form those of you already having it. If not the case, do you know
where I could find a public version of this draft.

Best regards,

Lassaad Gannoune,





From jjo-hostap  Tue Apr  1 06:21:37 2003
From: jjo-hostap (JuanJo Ciarlante)
Date: Tue, 1 Apr 2003 11:21:37 -0300
Subject: some hostap_io_debug data
Message-ID: <20030401112137.H19008@mendoza.gov.ar>

Hi...
  I've collected some hostap_io_debug data (gzip < /proc/... > file ) that
may interest you, Jouni.
  They are several files, caught by a 5min' cron "watchdog" which restarts the
pcmcia machinery when it detects disassociation by reading iwconfig output,
they are at: 
  http://jjo.homeip.net/hostap/

  I'm running latest CVS (weekend) plus attached patch (which have
enourmosly incremented stability, voiding "timeout after ... +resetting").
  This is a Pentium 166, stock linux 2.4.20 with a Compaq WL200 with fw
1.5.6 loaded in RAM.

Regards
-- 
--Juanjo

#  Juan Jose Ciarlante (JuanJo PGP) jjo ;at; mendoza.gov.ar              #
#  Key fingerprint = 76 60 A5 76 FD D2 53 E3  50 C7 90 20 22 8C F1 2D    #
-------------- next part --------------
Index: driver/modules/hostap_hw.c
===================================================================
RCS file: /cvs/hostap/driver/modules/hostap_hw.c,v
retrieving revision 1.77
diff -u -r1.77 hostap_hw.c
--- driver/modules/hostap_hw.c	1 Mar 2003 05:13:57 -0000	1.77
+++ driver/modules/hostap_hw.c	27 Mar 2003 03:25:07 -0000
@@ -558,7 +592,13 @@
 
 	while ((HFA384X_INW(o_off) & HFA384X_OFFSET_BUSY) && tries > 0) {
 		tries--;
-		udelay(1);
+		/* 	
+		 *  	jjo:
+		 *  	Replacing udelay(1) -> (2) yields same wlan-ng
+		 * 	"timings". For me this change eliminated those
+		 * 	pesky "timeout after ... resetting card" 
+		 */
+		udelay(2);
 	}
 	return (HFA384X_INW(o_off) & HFA384X_OFFSET_BUSY);
 }
@@ -570,6 +610,8 @@
 {
 	u16 o_off, s_off;
 	int ret = 0;
+	/* 	jjo: will disable hard IRQs */
+	unsigned int flags;
 
 	if (offset % 2 || bap > 1)
 		return -EINVAL;
@@ -582,6 +624,13 @@
 		s_off = HFA384X_SELECT0_OFF;
 	}
 
+	/* 
+	 * 	jjo: 
+	 * 	disabling hard IRQ here gave me more stability (less frequent
+	 * 	driver hang's). 
+	 * 	Already spinlock'd on &local->baplock by caller.
+	 */
+	local_irq_save(flags);
 	if (hfa384x_wait_offset(dev, o_off)) {
 		printk(KERN_DEBUG "%s: hfa384x_setup_bap - timeout before\n",
 		       dev->name);
@@ -590,6 +639,7 @@
 	}
 
 	HFA384X_OUTW(id, s_off);
+	/* udelay(10);				*//* jjo */
 	HFA384X_OUTW(offset, o_off);
 
 	if (hfa384x_wait_offset(dev, o_off)) {
@@ -608,6 +658,7 @@
 #endif
 
  out:
+	local_irq_restore(flags);	/* jjo: re-enable IRQs */
 	return ret;
 }
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20030401/1fdb3907/attachment.pgp 


From vatn  Tue Apr  1 06:33:30 2003
From: vatn (Jon-Olov Vatn)
Date: Tue, 01 Apr 2003 16:33:30 +0200
Subject: Question on HostAP, IAPP link layer update and bridge station 
 cache
In-Reply-To: <20030329051122.GI2185@jm.kir.nu> 
Message-ID: <200304011433.h31EXUv02338@mail2.it.kth.se>

28 March 2003 Jouni Malinen wrote:
> On Mon, Mar 24, 2003 at 01:38:25PM +0100, Jon-Olov Vatn wrote:
> ...
> > Now to my question. If one would like to fix this problem, I can see
> > two different approaches, and I wonder what way to go:
> > * "Interaction between hostAP and briding code"
> > * "Inserting link layer update frame in wlan0 input queue"
> 
> I think it would be useful to implement more interaction between Host AP
> and bridging code.

Before I saw your answer I started to work on a solution according to
my second alternative, i.e., upon a successful (re)association the
hostapd would build the IAPP link layer update packet and then to
ask the hostap driver (by ioctl) to treat this packet as if it
came in on the wlan interface (put it in an sk_buff and call netif_rx).

A good way with doing it this way is that the link layer update packet
will then be forwarded on all bridge interfaces except the wlan (e.g. wlan0)
interface where the STA resides. In particular this could be beneficial
if we are putting up WDS links to other APs dynamically.

I made my some changes to the hostap cvs version as of March 24 and in
my small testbed it seems to work. Since this is my first kernel hack
I know that there are probably several ways in which it can be
improved ...
Both the patch and the source of the cvs version of March 24 can be
found at http://www.it.kth.se/~vatn/hostap (for at least a week)
for the ones interested. 
To apply the patch first download "hostap-cvs-20030324.tgz"
and "patch-linklayerupdate" to some suitable location then

$> tar zxvf hostap-cvs-20030324.tgz
$> cd hostap-cvs-20030324
$> patch -p1 < ../patch-linklayerupdate

Note, in the patch I have modified the hostapd/hostap.conf file
to use "br0" as IAPP interface. Maybe it is better to use "eth0".
In any case the IAPP interface needs an IP address (see Jouni's
comment below).

> However, before doing this, I would add third option
> to your list:
> * use IAPP to update the previous AP
> 
> Current version of hostapd has quite limited version of this, but it
> should work in the case you described, i.e., having the APs sharing same
> shared physical medium so that they can receive broadcast packets from
> eachother. This requires IP addresses (so that you do not need to
> comment our the initialization). If the APs cannot receive broadcast
> frames from eachother, more complete IAPP implementation would be
> needed.
Thanks. I was using a setup where with a bridge interface (br0) and
two physical interfaces (wlan0 and eth0) associated with br0. eth0
was my "IAPP interface", but only br0 had an IP address. Now I am
using br0 as "IAPP interface" instead.








From fh1202jp  Tue Apr  1 03:55:36 2003
From: fh1202jp (=?ISO-2022-JP?B?GyRCJFUkOBsoQiAbJEIkNSRzGyhC?=)
Date: Tue, 1 Apr 2003 20:55:36 +0900 (JST)
Subject: A question is asked about PEAP in hostap.
Message-ID: <20030401115536.46197.qmail@web306.mail.yahoo.co.jp>

Although I am newcomer, I need your help well.

Although I want to using PEAP, it is not operating well.
Environment is the following.

The RADIUS server is using Win2000 ADVSVR.
(AuthSVR:IAS & AccountingSVR:Domain Controller are
operating with the same PC.)
The Supplicant is using Win2000 Pro+Q313664 patch.
The hostap is the CVS current as of today.

There is a point to ask. 
(1)What should be put into "acct_server_shared_secret" and
"eap_message" of hostapd.conf?

"hello" is put into "eap_message" now.
The same value as "auth_server_shared_secret" is contained
in "acct_server_shared_secret".

#MD5 did not have a problem in this state.

(2)Are some understood, although the following doubtful
LOG(s) will be outputted, if it is going to use PEAP?

A part is shown below.

IEEE 802.1X: Sending canned EAP packet FAILURE to
00:30:5b:00:3f:30 (identifier 0)

IEEE 802.1X: 84 bytes from 00:30:5b:00:3f:30
   IEEE 802.1X: version=1 type=0 length=80
   EAP: code=2 identifier=2 length=80 (response)
   EAP Response-Unknown   <---???

Since a setup of (1) is doubtful, can't PEAP be used?
Is there what should be set up also except a setup by (1)?

If some may be understood, please let me know. Thank you
for your consideration.

Thanks,
Hiroshi



__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!  http://bb.yahoo.co.jp/




From jfulmer  Tue Apr  1 09:25:18 2003
From: jfulmer (John Fulmer)
Date: 01 Apr 2003 11:25:18 -0600
Subject: Paradox using FreeSwan and hostap_cs
Message-ID: <1049217917.1966.14.camel@muir>

I've had a hostap_cs based access point for some time now, and instead
of worrying about WEP, I've been using a FreeSwan based IPSEC vpn for
all my wireless traffic. 

In general it works well, but I have had a horrible time sometimes with
my startup/shutdown scripts when the PCMCIA card is ejected.

I recently purchased a Zaurus and Linksys card, and wanted it to play
nice with my Hostap access point...vpn and all. I installed OpenZaurus
2.3, and to my surprise, it also uses the Hostap driver in managed mode.

I installed FreeSwan and got it working, no problems there. What I did
find, however, is that when I pull the wireless card, cardmgr never
calls the shutdown scripts I have set up to bring down the network and
Freeswan drivers.

I believe I've tracked it down to the hostap_cs driver. In syslog, I get
the following:

klogd: hostap_cs: CS_EVENT_CARD_REMOVAL
klogd: sa1100_pcmcia_init(0)
klogd: prism2_release
klogd: hostap_cs: release postponed, 'wlan0' still open


And the the pcmcia drivers grind to a halt, until I manually stop the
Freeswan driver (ipsec0 device). At that point, cardmgr is called and
everything shuts down.

What I believe is happening is that the ipsec0 device keeps wlan0 open
and this section of hostap_cs.c puts the driver into standby mode until
wlan0 is released:


<SNIP!>
        if (link->open) {
                printk("%s: release postponed, '%s' still open\n",
                      dev_info, link->dev->dev_name);
                link->state |= DEV_STALE_CONFIG;
                return;
        }
<SNIP!>

So I have a paradox. I need cardmgr to shut down Freeswan (ipsec0) to
free up wlan0 so the driver can be unloaded, but that can't happen until
wlan0 is released by Freeswan.

Is this expected behavior? Any ideas on how to work around this?

Thanks,

jf

-- 
John Fulmer <jfulmer at hrblock.com>



From pfoy  Tue Apr  1 09:43:51 2003
From: pfoy (Foy, Patrick)
Date: Tue, 1 Apr 2003 12:43:51 -0500 
Subject: WDS in managed mode
Message-ID: <EF5625F9F795C94BA28B150706A21548A0524F@MAIL>

Is WDS supported in master mode and managed mode?  The hostAP driver could
be changed to support it, but does the Intersil firmware have issues with
it?

Patrick 



From hap  Tue Apr  1 12:39:40 2003
From: hap (Matt Eaton)
Date: Tue, 01 Apr 2003 15:39:40 -0500
Subject: LEAP
Message-ID: <3E89F90C.2030409@divinehawk.com>

I read about LEAP auth maybe being added in. Has this been done yet? I 
have a Cisco wireless network at work and it uses LEAP. How would I go 
about connecting to it (w/ my prism2-based card)?

Thanks in advance,
Matt




From brent  Tue Apr  1 19:51:34 2003
From: brent (Brent Michalski)
Date: 01 Apr 2003 21:51:34 -0600
Subject: ifup?!
In-Reply-To: <000401c2f7a1$ceb94980$0200a8c0@fartvs3myz9ipy>
References: <000401c2f7a1$ceb94980$0200a8c0@fartvs3myz9ipy>
Message-ID: <1049255494.18437.6.camel@goliath>

Ok, I modified my /etc/sysconfig/network-scripts/ifcfg-wlan0 to look
like this:

DEVICE=wlan0
ONBOOT=yes
TYPE=Wireless
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.0.142
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
GATEWAY=192.168.0.1
NOZEROCONF=1

The card will "come up", meaning it accepts the IP address, but that is
about it.  I have a laptop with a PCMCIA card on the same network, so I
tried to do a "route" to see what happened. On the laptop, it
immediately displays the 192.168, 127.0.0.1, and default lines.  On this
PC, with the hostap driver, it displays the first 2, then pauses for
about 30 seconds, then displays the default line.  The outputs are
identical besides that...

I cannot ping 192.168.0.1, I get a "host unreachable" error.

This is driving me nuts!  It is like I am 98% there, I just can't get it
to really work!

HELP!

Thanks,
Brent


On Mon, 2003-03-31 at 10:22, doug held wrote:
>  Brent,
> 
>  Does it work OK if you do not use 'BOOTPROTO=dhcp' and assign a static
>  address?
> 
>  --Doug
> 
> > ----- Original Message -----
> > From: "Brent Michalski" <brent at perlguy.net>
> > To: "Hostap" <hostap at shmoo.com>
> > Sent: Sunday, March 30, 2003 4:45 PM
> > Subject: ifup?!
> >
> >
> > > Ok, I have tried everything I know, I am at my wits end. (And the answer
> > > is probably really simple)
> > >
> > > I am using a Netgear MA311 PCI card on a RedHat 8 system.  I have
> > > hostap_pci installed, and the card is set up as wlan0.  I can do an
> > > iwconfig and the card gets my ESSID and I have a link quality of 92/92.
> > > So, I am pretty confident that the card is working.
> > >
> > > However, when I do "ifup wlan0", it says "Determining IP info..." (DHCP)
> > > but then it fails.
> > >
> > > I am running an SMC Barricade and my laptop PCMCIA card has no problems
> > > connecting.
> > >
> > > In the log file for the SMC, instead of getting a log entry telling me
> > > that something was hitting it as a DHCP request, I get simply:
> > >
> > > * 000095B2F94A3
> > >
> > > No date/time or anything...
> > >
> > > Any ideas?  I don't know what else to do.  Below are the config scripts
> > > that I have, am I missing something???
> > >
> > > Thanks!!!
> > > Brent
> > >
> > > /etc/sysconfig/network-scripts/ifcfg-wlan0
> > > DEVICE=wlan0
> > > ONBOOT=yes
> > > BOOTPROTO=dhcp
> > > USERCTL=no
> > > PEERDNS=no
> > > TYPE=Wireless
> > > CHANNEL=6          ## This is what my SMC Barricade is set to.
> > > MODE=Ad-Hoc
> > > RATE=Auto
> > >
> > > /etc/sysconfig/networking/devices/ifcfg-wlan0
> > > USERCTL=no
> > > PEERDNS=no
> > > GATEWAY=
> > > TYPE=Wireless
> > > DEVICE=wlan0
> > > HWADDR=
> > > BOOTPROTO=dhcp
> > > NETMASK=
> > > ONBOOT=yes
> > > DHCP_HOSTNAME=
> > > IPADDR=
> > > NAME=
> > > DOMAIN=
> > > ESSID=
> > > CHANNEL=6          ## This is what my SMC Barricade is set to.
> > > MODE=Ad-Hoc
> > > RATE=Auto
> > >
> > > /etc/sysconfig/networking/profiles/default/ifcfg-wlan0
> > > USERCTL=no
> > > PEERDNS=no
> > > GATEWAY=
> > > TYPE=Wireless
> > > DEVICE=wlan0
> > > HWADDR=
> > > BOOTPROTO=dhcp
> > > NETMASK=
> > > ONBOOT=yes
> > > DHCP_HOSTNAME=
> > > IPADDR=
> > > NAME=
> > > DOMAIN=
> > > ESSID=
> > > CHANNEL=6          ## This is what my SMC Barricade is set to.
> > > MODE=Ad-Hoc
> > > RATE=Auto
> > >
> > >
> > > --- Please Donate to help fund my Leipzig Germany Mission Trip
> > >
> >
> https://www.paypal.com/xclick/business=paypal%40perlguy.net&item_name=Leipzi
> >
> g+Germany+Mission+Trip&item_number=20030301&no_note=1&tax=0&currency_code=US
> > D
> > >
> > > _______________________________________________
> > > HostAP mailing list
> > > HostAP at shmoo.com
> > > http://lists.shmoo.com/mailman/listinfo/hostap


--- Please Donate to help fund my Leipzig Germany Mission Trip
https://www.paypal.com/xclick/business=paypal%40perlguy.net&item_name=Leipzig+Germany+Mission+Trip&item_number=20030301&no_note=1&tax=0&currency_code=USD




From simon  Wed Apr  2 13:27:35 2003
From: simon (Simon Chudley)
Date: Wed, 2 Apr 2003 21:27:35 +0000
Subject: Transparent MobileIP software released
Message-ID: <20030402212735.GA77927@Taz.saywell.net>

Hi

Following the previous post, 'Transparent Mobile IP update' on 28th
March, I'm pleased to announce that version 0.1a of this software 
has now been released and is available for download.

In brief, "The TMip project aims to provide IP mobility across
multiple networks, ensuring that all active TCP sessions will be
maintained upon migration. No client side software or alteration
to IP stack is required. The network itself changes to provide
connectivity to clients, establishing tunnels to feed data to
migrated hosts".

The source can be downloaded from the project's SourceForge site
(http://sourceforge.net/projects/tmip), and an introduction and 
how-to are featured on the main documentation site
(http://www.slyware.com/projects_tmip.shtml).

I wish you all good mobility :-)

Simon

The SOWN Project: Southampton Open Wireless Network
http://www.sown.org.uk



From Joshua.Wright  Wed Apr  2 13:27:33 2003
From: Joshua.Wright (Joshua Wright)
Date: Wed, 2 Apr 2003 16:27:33 -0500
Subject: Support for prism2 MODE_SECOND (5) support?
Message-ID: <946FD6186E8D4E46AB4F6FDD23AAE86428E20D@pvdexc02.jwu.edu>

I noticed in the hostap_wlan.h file there is a #define for IW_MODE_SECOND.  I believe this mode is used for testing purposes, and might be useful for people trying to utilize HostAP for raw packet injection.  Are there any plans to support this mode in addition to MODE_MASTER and MODE_MONITOR?

Thanks.

-Joshua Wright
Senior Network and Security Architect
Johnson & Wales University
Joshua.Wright at jwu.edu 
http://home.jwu.edu/jwright/

pgpkey: http://home.jwu.edu/jwright/pgpkey.htm
fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73




From nikhil_p_rao  Wed Apr  2 17:15:52 2003
From: nikhil_p_rao (nikhil rao)
Date: Wed, 2 Apr 2003 17:15:52 -0800
Subject: Configuring mac address for the wlan0 interface.
Message-ID: <OE44jMNGKgFAfpRkSls00010c52@hotmail.com>

Do the iwconfig/iwpriv/prism2_param    commands allow you to specify a mac address for the wlan0
interface ? I see that the set_mac_address() is only initialized if the HAVE_SET_MAC_ADDR is defined,
but I dont see this being called from anywhere in the code.

Thanks,
Nikhil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030402/b47494d1/attachment.htm 


From jkmaline  Wed Apr  2 21:29:10 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 2 Apr 2003 21:29:10 -0800
Subject: Support for prism2 MODE_SECOND (5) support?
In-Reply-To: <946FD6186E8D4E46AB4F6FDD23AAE86428E20D@pvdexc02.jwu.edu>
References: <946FD6186E8D4E46AB4F6FDD23AAE86428E20D@pvdexc02.jwu.edu>
Message-ID: <20030403052910.GB2028@jm.kir.nu>

On Wed, Apr 02, 2003 at 04:27:33PM -0500, Joshua Wright wrote:

> I noticed in the hostap_wlan.h file there is a #define for IW_MODE_SECOND.  I believe this mode is used for testing purposes, and might be useful for people trying to utilize HostAP for raw packet injection.  Are there any plans to support this mode in addition to MODE_MASTER and MODE_MONITOR?

That is Linux wireless extensions definition for "Secondary" mode
(backup master/repeater). To which Prism2 mode would you like to map
that?

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Apr  2 21:40:25 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 2 Apr 2003 21:40:25 -0800
Subject: Bus Master Mode
In-Reply-To: <046701c2f82e$ce740810$4c28a8c0@cblan.mblox.com>
References: <042f01c2f82c$fc7fab30$4c28a8c0@cblan.mblox.com> <046701c2f82e$ce740810$4c28a8c0@cblan.mblox.com>
Message-ID: <20030403054025.GC2028@jm.kir.nu>

On Tue, Apr 01, 2003 at 10:12:23AM +0100, Ian Cass wrote:

> I've 'fixed' it by moving ...
> 
> local_info_t *local = (local_info_t *) dev->priv;
> 
> ... outside the if .. then .. else structure.

Thanks, this is now in the CVS version. I have not tested PCI bus
mastering at all after last release and it might not work anymore. At
least the change in BAP0/1 usage might have broken something in bus
mastering code. TX path with bus mastering is quite hopeless due to
hardware problems, but RX could use bus mastering since hw seems to be
happier with it.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Apr  2 21:49:16 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 2 Apr 2003 21:49:16 -0800
Subject: Dead card after wrong pda and firmware flashing
In-Reply-To: <20030401003928.40047.qmail@web12301.mail.yahoo.com>
References: <20030401003928.40047.qmail@web12301.mail.yahoo.com>
Message-ID: <20030403054916.GD2028@jm.kir.nu>

On Tue, Apr 01, 2003 at 02:39:28AM +0200, david jaoui wrote:

> I have micronet SP905 V2 pcmcia card (prism 2.5) with detachable antenna.
> It seems to be same hardware than reliawave 30 mw (demarc which I downloaded firmwares from) but not so sure you'll see !!!
> Clue : Micronet is recognized as platform 8002 by winupdate flash and reliawave platform 800c.

Are you sure about that Prism2.5 part? If nicid is 0x8002, it is Prism2
using HFA3841 as MAC chip..

> I couldn't upgrade firmware from PRI: 0.3.0 STA : 1.3.4 because "wrong platform message" with a lot of 1.1.1 and 1.5.6 hex files.

And there is a good reason for this.. They are not compatible with your
card. There is no PRI 1.1.1 firmware for HFA3841 (as far as I know).

> I found pda file for 800c/4 in dlink dwl650 firmware and the winupdate seemed to accept to upgrade my firmware to 1.5.6 with that pda file added.

> Is my card dead ? Can I do something to have it back ?

Yes and yes, but not easily. If you can get someone with suitable
hardware and firmware images to reflash it using genesis mode..

> If yes, Can I still upgrade it in some way to 1.5.6 and 1.1.1 ? How ?

No, PRI 1.1.1 does not exist for your card. Upgrading to STA 1.5.6
should work; assuming you have correct image.

> What are the differences between prism 2 and 2.5 regarding hardware and software ?

They use (among other things) different MAC chip and thus different
firmware image, but have more or less identical interface to the host
system.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Apr  2 21:50:40 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 2 Apr 2003 21:50:40 -0800
Subject: DWL-g650
In-Reply-To: <Pine.LNX.4.53.0303310737050.1243@studorgs.rutgers.edu>
References: <200303291913.37129.franck@linuxpourtous.com> <3E883CCA.3030308@rfmd.com> <Pine.LNX.4.53.0303310737050.1243@studorgs.rutgers.edu>
Message-ID: <20030403055040.GE2028@jm.kir.nu>

On Mon, Mar 31, 2003 at 07:38:12AM -0500, Luis R. Rodriguez wrote:

> I was wondering if this card, which is a 802.11g card, works with the
> latest hostap drivers. I've read that the DWL-650 works but that is an
> older card. I've tried them but have had no luck yet.

No, it has completely different interface to the host system and it does
not (and will not) work with Prism2 drivers.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Apr  2 22:01:40 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 2 Apr 2003 22:01:40 -0800
Subject: Another hostapd, for real
In-Reply-To: <Pine.SOL.4.44.0303181525190.27382-100000@rac1.wam.umd.edu>
References: <Pine.SOL.4.44.0303181525190.27382-100000@rac1.wam.umd.edu>
Message-ID: <20030403060140.GG2028@jm.kir.nu>

On Tue, Mar 18, 2003 at 03:28:47PM -0500, Gilad Suberri wrote:

> Hi, i successfully installed hostap with the flags for hostapd. Now I am
> following the installation instructions and going to hostapd/ and doing
> make. I receive this error:
> 
> hostapd.h:52: unnamed fields of type other than struct or union are not
> allowed

Fixed in CVS version.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Apr  2 22:06:30 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 2 Apr 2003 22:06:30 -0800
Subject: HostAP + WEP rekeying + hostapd.conf
In-Reply-To: <002b01c2ecb1$066f01e0$7031a8c0@sevilla.sgi.es>
References: <002b01c2ecb1$066f01e0$7031a8c0@sevilla.sgi.es>
Message-ID: <20030403060630.GH2028@jm.kir.nu>

On Mon, Mar 17, 2003 at 07:14:17PM +0100, Israel Cardenas Romero wrote:

> 1. I've read about a 'hostapd.conf' file, but I don't know this file'
> structure. Where can I find it ? I want to configure rekeying time and I
> don't know how to do it in the command line...

I moved command line arguments into configuration file. This change
happened after 2002-10-12 release, so it is only used in CVS version at
the moment.

> 2. Is there any method to use EAP-TLS without client certification, using
> something like 'login/password' ?

No, EAP-TLS uses certificates.. However, you can use other EAP methods
to do password-based authentication. You just need to use something that
provides master key if you want to use dynamic WEP keys.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Apr  2 22:27:24 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 2 Apr 2003 22:27:24 -0800
Subject: Configuring mac address for the wlan0 interface.
In-Reply-To: <OE44jMNGKgFAfpRkSls00010c52@hotmail.com>
References: <OE44jMNGKgFAfpRkSls00010c52@hotmail.com>
Message-ID: <20030403062724.GA2763@jm.kir.nu>

On Wed, Apr 02, 2003 at 05:15:52PM -0800, nikhil rao wrote:

> Do the iwconfig/iwpriv/prism2_param    commands allow you to specify a mac address for the wlan0
> interface ? I see that the set_mac_address() is only initialized if the HAVE_SET_MAC_ADDR is defined,
> but I dont see this being called from anywhere in the code.

Not those commands, but ifconfig allows you to change the address:
ifconfig wlan0 hw ether 00:11:22:33:44:55

-- 
Jouni Malinen                                            PGP id EFC895FA



From james.harper  Thu Apr  3 03:55:00 2003
From: james.harper (James Harper)
Date: Thu, 3 Apr 2003 21:55:00 +1000
Subject: Dead card after wrong pda and firmware flashing
In-Reply-To: <20030403054916.GD2028@jm.kir.nu>
Message-ID: <000001c2f9d7$dab9a6c0$c702a8c0@int.sbss.com.au>

I've heard this 'genesis' mode mentioned before, what is it? From the
name I can assume it is a time when the card is without form and is void
:)

How does one put a card into this mode to receive the new firmware
images? Is it do-able with both the pci and cardbus versions?

thanks

James

> -----Original Message-----
> From: hostap-admin at shmoo.com [mailto:hostap-admin at shmoo.com] 
> On Behalf Of Jouni Malinen
> Sent: Thursday, 3 April 2003 15:49
> To: hostap at shmoo.com
> Subject: Re: Dead card after wrong pda and firmware flashing
> 
> 
> On Tue, Apr 01, 2003 at 02:39:28AM +0200, david jaoui wrote:
> 
> > I have micronet SP905 V2 pcmcia card (prism 2.5) with detachable 
> > antenna. It seems to be same hardware than reliawave 30 mw (demarc 
> > which I downloaded firmwares from) but not so sure you'll 
> see !!! Clue 
> > : Micronet is recognized as platform 8002 by winupdate flash and 
> > reliawave platform 800c.
> 
> Are you sure about that Prism2.5 part? If nicid is 0x8002, it 
> is Prism2 using HFA3841 as MAC chip..
> 
> > I couldn't upgrade firmware from PRI: 0.3.0 STA : 1.3.4 
> because "wrong 
> > platform message" with a lot of 1.1.1 and 1.5.6 hex files.
> 
> And there is a good reason for this.. They are not compatible 
> with your card. There is no PRI 1.1.1 firmware for HFA3841 
> (as far as I know).
> 
> > I found pda file for 800c/4 in dlink dwl650 firmware and 
> the winupdate 
> > seemed to accept to upgrade my firmware to 1.5.6 with that pda file 
> > added.
> 
> > Is my card dead ? Can I do something to have it back ?
> 
> Yes and yes, but not easily. If you can get someone with 
> suitable hardware and firmware images to reflash it using 
> genesis mode..
> 
> > If yes, Can I still upgrade it in some way to 1.5.6 and 
> 1.1.1 ? How ?
> 
> No, PRI 1.1.1 does not exist for your card. Upgrading to STA 
> 1.5.6 should work; assuming you have correct image.
> 
> > What are the differences between prism 2 and 2.5 regarding hardware 
> > and software ?
> 
> They use (among other things) different MAC chip and thus 
> different firmware image, but have more or less identical 
> interface to the host system.
> 
> -- 
> Jouni Malinen                                            PGP 
> id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 
> 




From mpolak  Thu Apr  3 04:33:22 2003
From: mpolak (Martin Polak)
Date: Thu, 03 Apr 2003 14:33:22 +0200
Subject: Dead card after wrong pda and firmware flashing
In-Reply-To: <000001c2f9d7$dab9a6c0$c702a8c0@int.sbss.com.au>
References: <000001c2f9d7$dab9a6c0$c702a8c0@int.sbss.com.au>
Message-ID: <3E8C2A12.1040007@gup.jku.at>

James Harper wrote:
> I've heard this 'genesis' mode mentioned before, what is it? From the
> name I can assume it is a time when the card is without form and is void
> :)
> 
> How does one put a card into this mode to receive the new firmware
> images? Is it do-able with both the pci and cardbus versions?
> 
> thanks
> 
> James

Please search the list archives. There is a way of reflashing dead cards
by using linux and wlan-ng drivers.


Martin






From mrcool  Thu Apr  3 06:00:16 2003
From: mrcool (Jerry)
Date: Thu, 3 Apr 2003 08:00:16 -0600
Subject: Firmware , and flashing dead cards.
Message-ID: <001401c2f9e9$5b014020$1d04000a@terraworld.net>

Well, i have compiled my drivers with PRISM2_DOWNLOAD support, and prism2_srec "works" i just have to find a valid >= 1.4.9  firmware image that will work for my card  (Linksys wpc11).  Does anyone have (or know where is) a good (WDS capable) firmware image for the '8002' type card?, also on that flashin bad cards mentioned earlier, what would a fellow search for (keyword) to find that info?  

Thanks

Jerryf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030403/86fd9784/attachment.htm 


From jlaraujo  Thu Apr  3 07:07:32 2003
From: jlaraujo (Jose Araujo)
Date: Thu, 03 Apr 2003 16:07:32 +0100
Subject: Firmware , and flashing dead cards.
In-Reply-To: <001401c2f9e9$5b014020$1d04000a@terraworld.net>
References: <001401c2f9e9$5b014020$1d04000a@terraworld.net>
Message-ID: <3E8C4E34.40909@dti.pga.pt>

Jerry wrote:

> Well, i have compiled my drivers with PRISM2_DOWNLOAD support, and 
> prism2_srec "works" i just have to find a valid >= 1.4.9  firmware 
> image that will work for my card  (Linksys wpc11).  Does anyone have 
> (or know where is) a good (WDS capable) firmware image for the '8002' 
> type card?, also on that flashin bad cards mentioned earlier, what 
> would a fellow search for (keyword) to find that info? 
>  
> Thanks
>  
> Jerryf

Hy.

The USRobotics 2410 is also a 0x8002, and in their site you should find 
the flash firmware 1.4.9.

http://www.usrobotics.com/support/2410/2410-files/Firmware_S1010409.exe

The ram firmware could be found (extracted) from the intersil drivers 
2.0.9, but it seems that they were removed from the web site, but they 
are still floating around.

Jose Araujo





From isomax  Thu Apr  3 07:26:13 2003
From: isomax (Jesus Gomez)
Date: Thu, 03 Apr 2003 17:26:13 +0200
Subject: Hostap box don't ping to another box with w98, and other
 problem
Message-ID: <1caa7f1c5cf2.1c5cf21caa7f@amena.com>

I have a hostAP box with:

Debian 3.0
2.4.20 kernel
Usr 2415 card (which is a pc-card inside a plx adaptor) with firm 1.4.9


And another with:

Windows 98
Usr 2415 (which is a pc-card inside a plx adaptor) card with firm 1.4.9

I ping from w98 to linux, ok
I ping from linux to w98, no pings are replied

When i type iwconfig, i see the message Driver for wlan0 has been 
compiled with we v14, since this program has v12.... I suspect it is 
not the problem ?Is it?

Another thing i note is, i setup in /etc/network/interfaces:

auto wlan0
iface wlan0 inet static
   address 192.168.0.10
   netmask 255.255.255.0
   wireless_essid my_essid
   wireless_channel 6
   ....... an some other options like these

but when i reboot none of the settings are'nt loaded, except the address

What am i doing bad

Thanks for your help




From djaoui  Thu Apr  3 07:58:00 2003
From: djaoui (=?iso-8859-1?q?david=20jaoui?=)
Date: Thu, 3 Apr 2003 17:58:00 +0200 (CEST)
Subject: Dead card after wrong pda and firmware flashing
Message-ID: <20030403155800.76574.qmail@web12307.mail.yahoo.com>


Hi,

Thanx for your answer Jouni.

You might be right : it's not sure it's a prism 2.5.

I have the dosflash utility and I have tryed it.
I have access to the card in legacy mode and I can do some stuffs in Genesis mode
but, I have errors and i can't complete operations.

About the software, The problem seems to be the PDA.
Before messing up with my card, I dumped everything : PDA, firmware and the whole flash.

Do you think they are valid to use and to reinsert into the card ?
If it still fail, do you think my card can go to garbage ?

Is Genesis mode a way to have full access to the card ? Because it's seems to be blocked. (busy bit uncleared error).

Maybe I don't type the right command line under dos. Can you help about that ?
Thanx

DJ



---------------------------------
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais !
Testez le nouveau Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030403/1b4ffce9/attachment.htm 


From don  Thu Apr  3 02:32:12 2003
From: don (don)
Date: 03 Apr 2003 11:32:12 +0100
Subject: Dead card after wrong pda and firmware flashing
In-Reply-To: <20030403054916.GD2028@jm.kir.nu>
References: <20030401003928.40047.qmail@web12301.mail.yahoo.com> 
	<20030403054916.GD2028@jm.kir.nu>
Message-ID: <1049365932.1087.23.camel@k7.a>


I have a dead hfa3841 card that failed during a reflash. I've never
heard of genesis mode before but a look around the net has provided some
sketchy information. It seems that if the hfa3841 chip powers up with a
10k pull up from the MD11 pin to the 3.3 volt rail then it goes into ram
load mode instead of reading the flash rom.

Is the above correct? If so, would it be possible to use a card with
defunct flash memory by wiring up the pull up resistor and then loading
the firmware directly into ram using prism2_srec?


Don Magee



On Thu, 2003-04-03 at 06:49, Jouni Malinen wrote:
> On Tue, Apr 01, 2003 at 02:39:28AM +0200, david jaoui wrote:
> 



> > Is my card dead ? Can I do something to have it back ?
> 
> Yes and yes, but not easily. If you can get someone with suitable
> hardware and firmware images to reflash it using genesis mode..
> 






From jerryf  Thu Apr  3 08:39:28 2003
From: jerryf (Jerry)
Date: Thu, 3 Apr 2003 10:39:28 -0600
Subject: Firmware , and flashing dead cards.
Message-ID: <002a01c2f9ff$983b6040$0e04000a@terraworld.net>

Well, after extensive stupy of the hosap archives, i have managed to find the file i needed to use... thanks to evilbunny... look here...

http://www.sydneywireless.com/hostap  the correct for ram downloading is the r1010506.hex file... Thanks bunny, so now i have 1.5.6  even better  :).  but i will get the 1.4.9 from Compaq before it goes the way of the intersil driver!

Jerryf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030403/14040fdd/attachment.htm 


From mrcool  Thu Apr  3 11:56:02 2003
From: mrcool (Jerry)
Date: Thu, 3 Apr 2003 13:56:02 -0600
Subject: WDS speeds...
Message-ID: <001001c2fa1b$0df646e0$1d04000a@terraworld.net>

Thanks to everyones help, i have 2 Hostaps working, playing with WDS it acually works!!  And even how i expected it to...  My question is about the bandwidth available over a WDS link...
Here is what i have found...

AP-A is connected to the wired network, Command-line ftp to a host local to the net (but on the other side of a router) i get download speeds of 800 to 900Kb/sec...  This is "normal" on this network across the router...

AP-B is WDS linked to AP-A  (not wired to anything) Comand-line ftp to the same host (just one more hop from AP-A to AP-B), i get download speeds of 80 to 100Kb/sec!!!    10% of  the available speed!!! A client computer associated to AP-B gets 60 to 80 Kb/sec, which is believable (and acceptable) compared to AP-B speed, but not, of course, compared to AP-A

Is the speed cut that bad?? is it, perhaps, the cpu on AP-B being an old Pentium 1 (p90) causing the slowdown?  even at half-duplex i would think i would get 400 to 500Kb/sec on AP-B...  

Anyone care to comment on this situation, as i dont know where to go from here??!!

THanks everyone for your help and patience and knowledge I appreciate it...

Jerryf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030403/05390225/attachment.htm 


From atari  Thu Apr  3 12:40:13 2003
From: atari (Thomas Peterhans)
Date: Thu, 3 Apr 2003 22:40:13 +0200 (CEST)
Subject: ZyAir B-300/100
Message-ID: <Pine.LNX.4.50.0304032237440.18381-100000@k7-500>

Hi

I was looking in the internet but i didn't find any page about these
cards. As far as i found it they contain a prism3 chip.
The Zyair B-300 is a pci card and B-100 is pccard. I would like to take
zyair B-300 to make an AP. Has anyone made experiecnes with one of these
cards?


Greets
Thomas

P.S.: Is there an IRC channel?



From mrcool  Thu Apr  3 14:10:22 2003
From: mrcool (Jerry)
Date: Thu, 3 Apr 2003 16:10:22 -0600
Subject: WDS Speeds...
Message-ID: <003001c2fa2d$d29d6d40$1d04000a@terraworld.net>

Hello... Here is a follow-up and more information concerning my last post about WDS Speeds...  dont know how much of this will be helpful, but here we go.  

My test machines are:   

AP-A  Celeron3 533 with 64Mb.  SuSE 8.0 , 4/2/03 Hostap CVS.  Linksys wpc11 pcmcia card in a pci/pcmcia bridge. i used the minimun install and added just what i needed (pico, wireless tools, etc) to create a hostap box.

AP-B p90 with 64Mb. SuSE 8.0, same software, CVS, etc.  Linksys wpc11 pcmcia card in a Linksys PLX adapter (pci).

I compiled the hostap driver with PRISM2_DOWNLOAD_SUPPORT turned on, and using prism2_srec i install intersil's 1.5.6 FW image to RAM (not flash), thereby endingup with:
NICID:  0x8002 v1.0.0
PRIID:  0x0015 v0.3.0
STAID: 0x001f v1.5.6

I found a FTP server on my local net (10.0...) thereby bypassing any routing, for my testing (Im trying to get an idea of the bandwidth available using WDS).

Command line FTP from AP-A (which has the wired connect to the network), i get 6.3 MEGABYTES/sec download. AP-A is hooked to the same switch as the ftp server.  (for comparison, a machine daisy-chained one more switch out from the ftp server gets 5.9 MEGABYTES/sec download).

Command line FTP from AP-B (which has a WDS link to AP-A ONLY) gets 
90 KILOBYTES/sec downloadspeed !! :(   !!!

A client machine (win98 laptop using ftp program) associated to AP-B gets 
83 KILOBYTES/secdownload speed.  If I walk to where AP-A is, the client computer will then roam to AP-A (like i thought it should).  Without loseing the download that was running!!  :)  The speed then, with the client associated to AP-A is 260 KILOBYTES/sec, although this is slow, its much more acceptable than 90Kb/sec.  

It occured to me, as i was typing this that alot of my problem might be the wireless link between AP-A and AP-B, doin some figuring i discovered that 1Mbit is appx = to 100Kb/sec (hope i figured this correct), anyway with this in mind, 90Kb/sec isnt out of line.  tomorrow i will move AP-B within range so that a maximum connect speed can be established, then see how it runs...

Also, (if anyone besides me is interested) i will reverse the situation and make AP-A become AP-B and viceversa and see how the numbers do...

Do my benchmarks seem consistant? or are they unusual as they seem to me?  

Please everyone, post your comments and thoughts all input is appreciated.
oh.  the question is: what happens to all the bandwidth over a WDS link...?

Thanks
Jerryf 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030403/bbd66585/attachment.htm 


From sndbeat  Thu Apr  3 21:20:49 2003
From: sndbeat (Vic Berdin)
Date: Thu, 3 Apr 2003 21:20:49 -0800 (PST)
Subject: HostAP digest, Vol 1 #177 - 15 msgs
In-Reply-To: <20030403122401.4244.59677.Mailman@sisyphus.iocaine.com>
Message-ID: <20030404052049.77118.qmail@web10404.mail.yahoo.com>

Hello John,

I believe you can insert your freeswan call to
shutdown as a priority task in your
/etc/pcmcia/network 'stop)' clause. And I don't think
this'll cause any problems. What card manager does
anyway is first, free the modules of ALL loads, then
uninstall them during the stop event. And freeswan is
just any other network load. As soon as freeswan is
down, card manager should have no problem unloading
the modules. Please do try the unload sequence you
mentioned on your mail, as it is correct. I believe it
will work out just fine.

HTH - Vic

 > --__--__--
> 
> Message: 1
> Subject: Paradox using FreeSwan and hostap_cs
> From: John Fulmer <jfulmer at hrblock.com>
> To: hostap at shmoo.com
> Organization: 
> Date: 01 Apr 2003 11:25:18 -0600

<message snipped>

> So I have a paradox. I need cardmgr to shut down
> Freeswan (ipsec0) to
> free up wlan0 so the driver can be unloaded, but
> that can't happen until
> wlan0 is released by Freeswan.
> 
> Is this expected behavior? Any ideas on how to work
> around this?
> 
> Thanks,
> 
> jf


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



From sndbeat  Thu Apr  3 21:41:29 2003
From: sndbeat (Vic Berdin)
Date: Thu, 3 Apr 2003 21:41:29 -0800 (PST)
Subject: Hostap box don't ping to another box with w98, and other problem
In-Reply-To: <20030404052106.41724.41198.Mailman@sisyphus.iocaine.com>
Message-ID: <20030404054129.29043.qmail@web10409.mail.yahoo.com>

Hello Jesus,

Wireless card specifics are usually configured in
/etc/pcmcia/wireless.opts. You may set your WLAN
network settings in /etc/network, but IMHO, it's best
to do it in /etc/pcmcia/network.opts to handle network
settings during card hot swapping more effectively.
Just try using the native card manager opts files and
see what happens.

HTH -Vic

--__--__--

Message: 4
From: Jesus Gomez <isomax at amena.com>
To: hostap at shmoo.com
Date: Thu, 03 Apr 2003 17:26:13 +0200
Subject: Hostap box don't ping to another box with
w98, and other
 problem

I have a hostAP box with=3A

Debian 3=2E0
2=2E4=2E20 kernel
Usr 2415 card (which is a pc-card inside a plx
adaptor) with firm 
1=2E4=2E=
9


And another with=3A

Windows 98
Usr 2415 (which is a pc-card inside a plx adaptor)
card with firm 
1=2E4=2E=
9

I ping from w98 to linux=2C ok
I ping from linux to w98=2C no pings are replied

When i type iwconfig=2C i see the message Driver for
wlan0 has been =

compiled with we v14=2C since this program has
v12=2E=2E=2E=2E I 
suspect =
it is =

not the problem =BFIs it=3F

Another thing i note is=2C i setup in
/etc/network/interfaces=3A

auto wlan0
iface wlan0 inet static
   address 192=2E168=2E0=2E10
   netmask 255=2E255=2E255=2E0
   wireless=5Fessid my=5Fessid
   wireless=5Fchannel 6
   =2E=2E=2E=2E=2E=2E=2E an some other options like
these

but when i reboot none of the settings are=27nt
loaded=2C except the 
addr=
ess

What am i doing bad

Thanks for your help




__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



From sndbeat  Fri Apr  4 02:40:39 2003
From: sndbeat (Vic Berdin)
Date: Fri, 4 Apr 2003 02:40:39 -0800 (PST)
Subject: Some (more) WDS concerns
Message-ID: <20030404104039.48095.qmail@web10407.mail.yahoo.com>

Hello everyone,

I'd like to get your opinion on some (more) of my WDS
concerns. I've been playing with WDS for about a week
now, and here's what I noticed:

My WDS setup:
-------------

Cli1-----wired-----WDS2-----air-----WDS1-----ISP
Cli2---------------air---------------|
Cli3---------------air---------------|

Where:
------
WDS1 and WDS2 are just a meter apart.

WDS1: Linux2.2.20 ZCOM XI-300
WDS2: Linux2.2.20 RFNET (intersil-prism1)
Cli1: LinuxPC
Cli2: Win98 (Orinoco Silver)
Cli3: Win98 (Orinoco Silver)

WDS2 acts as a relay station for WDS1.
All Cli machines are getting DHCP service originating
from WDS1.

WDS setups:

WDS1 & WDS2 MODE=Master
beacon_int=100
autom_ap_wds=1
other_ap_policy=1

Bridging code: Mathew Grant's old 'brcfg' (not
'brctl')

After making sure that ALL bridge ports are at a
forwaring state, I noticed that:

(1) Having ap_bridge_packets=1 & wds_type=0/1, 'ping'
from WDS1 (or WDS1 wireless clients Cli2 & Cli3) to
WDS2 always takes quite some time to get a response
(from 20 secs to almost 3mins). And in some cases, are
never returned until some packet activity from WDS2
(or its client Cli1) goes to or passes thru WDS1. Such
packet activities are in the form of DHCP request from
Cli1 or 'ping' from WDS2/Cli1 to WDS1 or its clients
or the ISP.

(2) Having ap_bridge_packets=0, and whatever vlue of
wds_type is, WDS1 clients Cli2 and Cli3 can't 'ping'
each other. However, both machines can 'ping' Cli1 of
WDS2.

(3) Having ap_bridge_packets=1, 'ping' from clients
seem to be OK in most cases.

(4) On some other card combination where I use WPC11
and ZCOM XI-300, I get tons of syslog errors along
with the same behaviors I mentioned above.

To sum it up, I'm still experimenting on which
combination of settings will best work for my cards.
But if I were to use only Intersil Prism I based cards
for my WDS peers, can anyone give me the best settings
I can try out?

TIA - Vic


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



From I.C.Pitcher  Fri Apr  4 03:29:25 2003
From: I.C.Pitcher (I C Pitcher)
Date: Fri, 4 Apr 2003 12:29:25 +0100
Subject: hostap_plx with SMC2632W
Message-ID: <4B5B022D31502241859CA7456EEBC62C965A3C@bond.ncl.ac.uk>

Sort of resolved the problem...

Looks like it was the motherboard/system that was the problem - I've
since compiled and run with exactly the same OS, kernel etc on two other
machines with different models of motherboard and the card works fine.

I tried changing PCI slots, upgrading BIOS, reinstalling everything on
the original machine, and it still comes back with the same problems.

Hey ho <sigh>

Ian

> -----Original Message-----
> Subject: hostap_plx with SMC2632W
> 
> 
> Trying to get hostap to run with an SMC2632W card in its plx 
> adaptor - the primary firmware of the card is 0.30 and the 
> secondary is 1.49.
> 
> I've been through Jasonb's article and compiled the system as 
> instructed but just get a 'hostap_plx: first command failed' 
> problem amongst many others
> 
> The card seems to be recognized as an 'Intersil Prism II ref' 
> according to its manfid.
> 
> I'm running SUSE 8.1 with a freshly built 2.4.20 kernel and 
> hostap_2002-10-12. I patched the kernel to wireless extension 
> V16 before building and have also installed wireless tools 
> v25 (although on compilation of tools 25 it told me that I 
> hadn't got wireless extensions
> 15...)
> 
> I've attached the dmesg.out file as well as my .config kernel 
> build file.
> 
> I've tried the system with and without ACPI - no difference...
> 
> Where am I going wrong ?
> 
> TIA
> 
> Ian
> 
> 



From icardenas  Fri Apr  4 03:44:30 2003
From: icardenas (Israel Cardenas Romero)
Date: Fri, 4 Apr 2003 13:44:30 +0200
Subject: WEP rekeying with hostap-2002-10-12
Message-ID: <000e01c2fa9f$8dbaaa40$7031a8c0@sevilla.sgi.es>

hi,

i've tested CVS version of 'hostap' but i didn't get it works fine.

I'm using now last stable version (2002-10-12) with 802.1x authentication and WEP rekeying, and it works fine. It seems to use a rekeying time of 3600 seconds (1 hour)... Can this time be configured?

I actually run this command:

hostapd -x -o192.168.49.222 -a192.168.49.222 -ssecret -SLinuxAP -b5 -i5 -dd wlan0 &

In CVS is possible to configure this time in 'hostapd.conf' file, but... how can I do the same in the stable version?



Israel Cardenas.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030404/8f49280a/attachment.htm 


From imp  Fri Apr  4 03:50:17 2003
From: imp (=?utf-7?B?K3ZCWFhaY1gwLQ==?=)
Date: Fri, 4 Apr 2003 20:50:17 +0900
Subject: response time..
Message-ID: <HIEILNBGFIFLDLBJCOLAGENHCHAA.imp@airlinktek.com>

Dear all..

I have tested the throughput of hostap using the NetIQ chariot program..

by the way, from time to time the response time to be too large. and it reduce the total average throughput...

Are there any comment for this issue ?

Thanks for attention...

Park.




From isomax  Fri Apr  4 04:31:22 2003
From: isomax (Jesus Gomez)
Date: Fri, 04 Apr 2003 14:31:22 +0200
Subject: Fixed: Hostap box don't ping to another box with w98
Message-ID: <1efc301ee603.1ee6031efc30@amena.com>

Sometimes the most evident thing is the most ignored. The W98 has a 
firewall blocking the pings. Shutdown the firewall and the pings 
arrived. 

The other problem is without fix, at the moment, if it botter me, i 
must put in the booting scripts. It is really extrange, in other 
computer running linex (a spanish, debian based distribution) it not 
occurs, it has we v13. ?could be?
-------------- next part --------------
An embedded message was scrubbed...
From: Jesus Gomez <isomax at amena.com>
Subject: Hostap box don't ping to another box with w98, and other
 problem
Date: Thu, 03 Apr 2003 17:26:13 +0200
Size: 1378
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030404/cf5460b3/attachment.eml 


From venky  Fri Apr  4 07:06:45 2003
From: venky (Venkatesh N)
Date: Fri, 04 Apr 2003 20:36:45 +0530
Subject: Reauthentication Problem
Message-ID: <3E8D9F85.738783FF@tataelxsi.co.in>

Hi All,

I am using the latest cvs version of hostap with both 802.1x and IAPP
enabled.
On the station side I am using windows XP.
The 802.1x EAP authentication works fine.Thanks to authors of hostap.

But I did observe a minor problem.
This problem occurs every hour / 3600 seconds (this is configured Reauth
timer)
during the "REAUTH_TIMER entering state
REAUTHENTICATE" process. This process some times seems to break the
network connection
and reauthentication does not occur.
The REAUTH state remains at INITIALIZE

Can anyone give any pointers to what might be causing this problem.

Thanks for all your valuable time........

Regards,
Venkatesh N






From phoenix.fer  Fri Apr  4 07:03:06 2003
From: phoenix.fer (Francesco Ferreri)
Date: Fri, 4 Apr 2003 17:03:06 +0200
Subject: HostAP + SMC 2632W
Message-ID: <004901c2fabb$4d75f680$0101a8c0@lupo>

Hi,
I'm trying to setup the HostAP driver (v. 2002-10-12) for my SMC 2632W card
on my laptop.
I'm
running linux kernel 2.4.20 (patched to Wireless Extensions v15): whenever I
insert the card, the driver fails initialization producing this output:

Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0045, io.base=0x0000, len=32
hostap_cs: index 0x01: Vcc 3.3, irq 3, io 0x0100-0x011f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
wlan0: init command completed too quickly - retrying
prism2_hw_config: initialized in 0 iterations
SWSUPPORT0 write/read failed: FFFF != 8A32
hostap_cs: Initialization failed

 After that, running ifconfig -a gives:

wlan0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Base address:0x100

It seems like driver fails in querying the card firmware; using the wlan-ng
driver gives similar results: system freezes until card release and dmesg
gives:

init_module: prism2_cs.o: 0.2.0 Loaded
init_module: dev_info is: prism2_cs
prism2_cs: index 0x01: Vcc 3.3, irq 3, io 0x0100-0x011f
hfa384x_cmd_access: Call to hfa384x_docmd_wait failed (127 65535)
prism2sta_getcardinfo: Failed to retrieve NICIDENTITY
prism2sta_getcardinfo: Failed, result=127
prism2sta_ifstate: prism2sta_getcardinfo() failed,result=127
hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0xffff.
prism2_cs.o: 0.2.0 Unloaded
p80211.o: 0.2.0 Unloaded

What might be the error: card firmware, system settings (irq, I/O ports,
...), pcmcia subsystem or driver ?

Thanks in advance,
Francesco Ferreri




From jlaraujo  Fri Apr  4 08:51:25 2003
From: jlaraujo (Jose Araujo)
Date: Fri, 04 Apr 2003 17:51:25 +0100
Subject: Reauthentication Problem
In-Reply-To: <3E8DB301.E2A11705@tataelxsi.co.in>
References: <3E8D9F85.738783FF@tataelxsi.co.in> <3E8DAB8E.8040503@dti.pga.pt> <3E8DB301.E2A11705@tataelxsi.co.in>
Message-ID: <3E8DB80D.7090905@dti.pga.pt>

Hi.

Well, i don't know if EAP-MD5 supports dynamic keying, i have read 
somewere that it doesn't, but the rfc doesn't seem to indicate that it 
does not.

I also thinking about using MD5, but from what i have read, it enables a 
man in the middle attack, that intercepts your authentication and then 
forward that request to the real AP enabling it to intercept your trafic 
and to crack your password.

If you have few users, then EAP-TLS shouldn't give you too much trouble 
and is much more secure.

So in my limited knowledge i suggest you to either change to TLS or 
disable dynamic keying.

Hope it helps

Jose Araujo

P.S. I am also sending this message to the hostap list. but it takes a 
little more time to be processed :-)

Venkatesh N wrote:

>Hi,
>
>Thanks for you quick response,,,
>
>I need MD5 authentication, so with this requirement what could be done
>to avoid failure of Re-Authentication
>
>regards,
>Venkatesh N
>
>Jose Araujo wrote:
>
>  
>
>>Hy,
>>
>>What version of XP are you using, please try to upgrade to XP SP1 (it
>>seems better, but it removes MD5 auth).
>>
>>In my setup the Key negotiation happens every 5 minutes (300 secs) and i
>>don't have any problem with both the broadcast key and the unicast key
>>(both at wep 128).
>>
>>I even tried to change keys every 20 secs, and it still worked like a charm.
>>
>>Jose Araujo
>>
>>Venkatesh N wrote:
>>
>>
>>    
>>





From jacques_m_caron  Fri Apr  4 08:59:26 2003
From: jacques_m_caron (Jacques Caron)
Date: Fri, 04 Apr 2003 18:59:26 +0200
Subject: Reauthentication Problem
In-Reply-To: <3E8DB80D.7090905@dti.pga.pt>
References: <3E8DB301.E2A11705@tataelxsi.co.in>
 <3E8D9F85.738783FF@tataelxsi.co.in>
 <3E8DAB8E.8040503@dti.pga.pt>
 <3E8DB301.E2A11705@tataelxsi.co.in>
Message-ID: <5.2.0.9.0.20030404185700.021e9fa0@pop.mail.yahoo.com>

Hi,

EAP-MD5 can't even provide session keys, so on top of being insecure it is 
quite useless for WLANs. Which explains why MS disabled it in XP SP1 (it's 
still there, just not available for WLANs, only for PPP-derived protocols, 
afaik).

EAP-TLS is a better choice, or PEAP + EAP-MSCHAP. There are a lot of other 
good candidates, but you need the appropriate support on both the client 
and RADIUS server, of course.

Jacques.

At 18:51 04/04/2003, Jose Araujo wrote:
>Hi.
>
>Well, i don't know if EAP-MD5 supports dynamic keying, i have read 
>somewere that it doesn't, but the rfc doesn't seem to indicate that it 
>does not.
>
>I also thinking about using MD5, but from what i have read, it enables a 
>man in the middle attack, that intercepts your authentication and then 
>forward that request to the real AP enabling it to intercept your trafic 
>and to crack your password.
>
>If you have few users, then EAP-TLS shouldn't give you too much trouble 
>and is much more secure.
>
>So in my limited knowledge i suggest you to either change to TLS or 
>disable dynamic keying.
>
>Hope it helps
>
>Jose Araujo
>
>P.S. I am also sending this message to the hostap list. but it takes a 
>little more time to be processed :-)
>
>Venkatesh N wrote:
>
>>Hi,
>>
>>Thanks for you quick response,,,
>>
>>I need MD5 authentication, so with this requirement what could be done
>>to avoid failure of Re-Authentication
>>
>>regards,
>>Venkatesh N
>>
>>Jose Araujo wrote:
>>
>>
>>
>>>Hy,
>>>
>>>What version of XP are you using, please try to upgrade to XP SP1 (it
>>>seems better, but it removes MD5 auth).
>>>
>>>In my setup the Key negotiation happens every 5 minutes (300 secs) and i
>>>don't have any problem with both the broadcast key and the unicast key
>>>(both at wep 128).
>>>
>>>I even tried to change keys every 20 secs, and it still worked like a charm.
>>>
>>>Jose Araujo
>>>
>>>Venkatesh N wrote:
>>>
>>>
>>>
>
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap





From jkmaline  Fri Apr  4 18:55:47 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 18:55:47 -0800
Subject: response time..
In-Reply-To: <HIEILNBGFIFLDLBJCOLAGENHCHAA.imp@airlinktek.com>
References: <HIEILNBGFIFLDLBJCOLAGENHCHAA.imp@airlinktek.com>
Message-ID: <20030405025547.GB1475@jm.kir.nu>

On Fri, Apr 04, 2003 at 08:50:17PM +0900, ?vBXXZcX0-? wrote:

> I have tested the throughput of hostap using the NetIQ chariot program..

Which wlan card and which firmware versions did you use in the AP and
STAs?

> by the way, from time to time the response time to be too large. and it reduce the total average throughput...

Can you give a bit more details about the test? Response time of what?

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 19:00:21 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 19:00:21 -0800
Subject: WEP rekeying with hostap-2002-10-12
In-Reply-To: <000e01c2fa9f$8dbaaa40$7031a8c0@sevilla.sgi.es>
References: <000e01c2fa9f$8dbaaa40$7031a8c0@sevilla.sgi.es>
Message-ID: <20030405030021.GC1475@jm.kir.nu>

On Fri, Apr 04, 2003 at 01:44:30PM +0200, Israel Cardenas Romero wrote:

> i've tested CVS version of 'hostap' but i didn't get it works fine.

Could you please give bit more details about what did not work? That
might even make it possible for someone to fix the issue.. ;-)

> I'm using now last stable version (2002-10-12) with 802.1x authentication and WEP rekeying, and it works fine. It seems to use a rekeying time of 3600 seconds (1 hour)... Can this time be configured?

2002-10-12 does not support WEP rekeying. However, it performs 802.1X
re-authentication in 3600 seconds. There is no configuration option for
this, but you can change the constant in eapol_sm.h
(REAUTH_TIMER_DEFAULT_reAuthPeriod).

-- 
Jouni Malinen                                            PGP id EFC895FA



From joseph  Fri Apr  4 20:00:06 2003
From: joseph (Joseph Chiu)
Date: Fri, 4 Apr 2003 20:00:06 -0800
Subject: HostAP WEP problem?
Message-ID: <BPEELMGAINDCONKDGDNCOECMDIAA.joseph@omnilux.net>

Hi,

I apologize in advance if this has been covered, and for such a long
message.  I've tried to google/search the archives, but I haven't seen this
behavior mentioned anywhere else.  (I don't think the problem related to the
"reauthentication after WEP change" described around Dec. '02.)

I've spent about a week trying to track down a terrible performance problem,
and I think I've got it boiled down to a point where I now have to ask the
list...

When I first turn load hostap and hostapd to run as AP with no WEP, I get
very good performance -- about 5 Mbit/sec.  Generally, the bit rate is 11
Mbit/sec or 5.5 Mbit/sec.

BUT, when I try to turn on WEP using "iwconfig wlan0 key s:blahblah", the
performance drops to an abysmal 200 Kbit/sec or so.   Generally, the bit
rate is 1 Mbit/sec when this happens.

Even when I then attempt turn off the WEP with "iwconfig wlan0 key off", the
terrible performance continues.  The only way to clear the problem, it
seems, is to power cycle the AP computer and also reset the client station
computer.

Just rebooting the AP doesn't seem to clear the problem, and the bit rate
remains at 1 Mbit/sec.

I've included the dmesg from the AP computer -- you can see that initially,
the AP was generally choosing 110 or 55 rate, and after the attempt to turn
on the WEP key, the rate drops to 10.

Some details -- I am running HostAP 2002-10-12, configured to use hostapd.
It is compiled against Linux 2.4.18-mips with wireless extension patched up
to version 15.  I am running on a embedded board with about 260 MIPS of
processing power (yes, much slower than a P4 2 GHz, but certainly more than
comparable to a P-133 that I see some people seem to run HostAP with).  This
is running against a Bromax WM-302 card which is based on Prism 3 and runs
STA firmware 1.4.2.  I prism2_srec load STA 1.4.9 for my test.

Many thanks and appreciations!

Joseph
-----Original Message-----
hostap_crypt: registered algorithm 'NULL'
hostap_crypt: registered algorithm 'WEP'
hostap_cs: hostap_cs.c 0.0.0 2002-10-12 (SSH Communications Security Corp,
Jouni Malinen)
hostap_cs: (c) Jouni Malinen <jkmaline at cc.hut.fi>
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 3.3, irq 44, io 0x0000-0xc0000000
hostap_cs: Registered netdevice wlan0
hostap_cs: Registered netdevice wlan0ap for AP management
prism2_hw_init()
prism2_hw_config: initialized in 18748 iterations
wlan0: trying to read PDA from 0x007f0000: OK
wlan0: NIC: id=0x801a v1.0.0
wlan0: PRI: id=0x15 v1.1.0
wlan0: STA: id=0x1f v1.4.9
wlan0: LinkStatus=2 (Disconnected)
prism2_download: dl_cmd=1 start_addr=0x003f0c01 num_areas=3
  area 0: addr=0x007e1800 len=47514 ptr=0x1001f000
  area 1: addr=0x007f0800 len=4214 ptr=0x1001d000
  area 2: addr=0x007fe000 len=3304 ptr=0x10011000
prism2_hw_init()
prism2_hw_config: initialized in 7994 iterations
wlan0: Writing 47514 bytes at 0x007e1800
wlan0: Writing 4214 bytes at 0x007f0800
wlan0: Writing 3304 bytes at 0x007fe000
prism2_hw_init()
prism2_hw_config: initialized in 3175 iterations
wlan0: trying to read PDA from 0x007f0000: OK
wlan0: NIC: id=0x801a v1.0.0
wlan0: PRI: id=0x15 v1.1.0
wlan0: STA: id=0x1f v1.4.9
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: prism2_open
VLAN REGISTER:  Allocated new group.
eth1.4088: add 01:00:5e:00:00:01 mcast address to master interface
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0ap: prism2_open
wlan0: LinkStatus=2 (Disconnected)
wlan0ap: hfa384x_setup_bap - timeout after
wlan0ap: prism2_tx_80211 - to BAP0 failed
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
prism2_hw_config: initialized in 18969 iterations
wlan0: trying to read PDA from 0x007f0000: OK
eth1: link up
eth0: link up
eth0: going to full duplex
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 55
wlan0: STA 00:40:05:de:39:55 TX rate raised to 110
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 55
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 20
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 55
wlan0: LinkStatus=2 (Disconnected)
wlan0: hfa384x_cmd: entry still in list? (entry=802117e0, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=802117e0,
type=0, cmd=0x0002, param0=0x0000)
set_encryption or reset_port failed
wlan0: hfa384x_cmd: entry still in list? (entry=802117e0, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=802117e0,
type=0, cmd=0x0021, param0=0xfc28)
wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-145, rid=fc28, len=2)
Could not read current WEP flags.
wlan0: encryption setup failed
set_encryption or reset_port failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 1000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8a32
wlan0: prism2_transmit: CMDCODE_TRANSMIT failed (res=-145)
wlan0: prism2_tx - to BAP0 failed
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
prism2_hw_config: initialized in 18592 iterations
wlan0: trying to read PDA from 0x007f0000: OK
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 20
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 55
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 20
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 10
wlan0: LinkStatus=2 (Disconnected)




From jkmaline  Fri Apr  4 20:20:09 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 20:20:09 -0800
Subject: Problem with reauthentication
In-Reply-To: <002301c2f0b3$e2212370$9864a8c0@ken>
References: <002301c2f0b3$e2212370$9864a8c0@ken>
Message-ID: <20030405042009.GA1974@jm.kir.nu>

On Sat, Mar 22, 2003 at 08:44:49PM -0000, Ken Wolstencroft wrote:

> On the station side I am using windows XP with a Dlink DWL-520+.

> The problem occurs every hour during the "REAUTH_TIMER entering state
> REAUTHENTICATE" process. This process seems to break the network connection
> and then takes a long time to reauthenticate, occasionally reauthentication
> does not occur.

I tried to duplicate the same problem, but wasn't able to. I was using
Lucent WaveLAN card as the client. In addition, I modified 802.1X reauth
timer to be 30 seconds instead of 3600 seconds to save time in testing
this.

> Can anyone give any pointers to what might be causing this problem, or how
> to disable reauthentication.

You can disable IEEE 802.1X reauthentication by changing definition of
REAUTH_TIMER_DEFAULT_reAuthEnabled from TRUE to FALSE in eapol_sm.h.

> IEEE 802.1X: 00:40:05:c7:73:06 REAUTH_TIMER entering state REAUTHENTICATE
> IEEE 802.1X: 00:40:05:c7:73:06 AUTH_PAE entering state CONNECTING
> IEEE 802.1X: Sending EAP Request-Identity to 00:40:05:c7:73:06 (identifier
> 16)

This packet is send unencrypted. It might be possible that your client
is dropping unencrypted frames at this point even though they are EAPOL
frames.

> IEEE 802.1X: 00:40:05:c7:73:06 REAUTH_TIMER entering state INITIALIZE
> DATA (TX callback) ACK

At least the client ACKed that frame; but anyway, it could have dropped
it at higher layer. In my tests with Lucent card as station, I do
receive an EAP Response-Identity from the client for this message and
reauthentication is completed successfully without breaking the
connection.

> IEEE 802.1X: 00:40:05:c7:73:06 AUTH_PAE entering state CONNECTING
> IEEE 802.1X: Sending EAP Request-Identity to 00:40:05:c7:73:06 (identifier
> 16)
> DATA (TX callback) ACK
> IEEE 802.1X: 00:40:05:c7:73:06 AUTH_PAE entering state CONNECTING
> IEEE 802.1X: Sending EAP Request-Identity to 00:40:05:c7:73:06 (identifier
> 16)
> DATA (TX callback) ACK
> IEEE 802.1X: 00:40:05:c7:73:06 AUTH_PAE entering state DISCONNECTED
> IEEE 802.1X: Unauthorizing station 00:40:05:c7:73:06
> IEEE 802.1X: Sending canned EAP packet FAILURE to 00:40:05:c7:73:06
> (identifier 16)

After few more failed retries, state machine unauthorizes this
connection and notifies station about this with an EAP failure. I would
guess that in your case even that frame is dropped at the client.
Current version of the hostapd does not disassociate/deauthenticate
(802.11 mgmt) station at this point, but maybe it could try this. It
should be enough to cause complete reauthentication and at least the
connection could be automatically recovered after short break.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 20:23:12 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 20:23:12 -0800
Subject: Reauthentication Problem
In-Reply-To: <3E8D9F85.738783FF@tataelxsi.co.in>
References: <3E8D9F85.738783FF@tataelxsi.co.in>
Message-ID: <20030405042312.GB1974@jm.kir.nu>

On Fri, Apr 04, 2003 at 08:36:45PM +0530, Venkatesh N wrote:

> This problem occurs every hour / 3600 seconds (this is configured Reauth
> timer)
> during the "REAUTH_TIMER entering state
> REAUTHENTICATE" process. This process some times seems to break the
> network connection
> and reauthentication does not occur.

Which wlan card model are you using in the station? I do not see this
problem in my tests with Lucent WaveLAN as a station. See my previous
message to the list for more details.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 21:02:39 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:02:39 -0800
Subject: HostAP + SMC 2632W
In-Reply-To: <004901c2fabb$4d75f680$0101a8c0@lupo>
References: <004901c2fabb$4d75f680$0101a8c0@lupo>
Message-ID: <20030405050239.GC1974@jm.kir.nu>

On Fri, Apr 04, 2003 at 05:03:06PM +0200, Francesco Ferreri wrote:

> I'm trying to setup the HostAP driver (v. 2002-10-12) for my SMC 2632W card
> on my laptop.

Which version of SMC 2632W?

> prism2_hw_init()
> wlan0: init command completed too quickly - retrying
> prism2_hw_config: initialized in 0 iterations
> SWSUPPORT0 write/read failed: FFFF != 8A32
> hostap_cs: Initialization failed

That does not seem to be a Prism2-based card, so I would assume that you
have version 2 of SMC 2632W, which is not Prism2-based and thus not
supported by Prism2 Host AP driver.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 21:07:03 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:07:03 -0800
Subject: Dead card after wrong pda and firmware flashing
In-Reply-To: <1049365932.1087.23.camel@k7.a>
References: <20030401003928.40047.qmail@web12301.mail.yahoo.com> <20030403054916.GD2028@jm.kir.nu> <1049365932.1087.23.camel@k7.a>
Message-ID: <20030405050703.GD1974@jm.kir.nu>

On Thu, Apr 03, 2003 at 11:32:12AM +0100, don wrote:

> I have a dead hfa3841 card that failed during a reflash. I've never
> heard of genesis mode before but a look around the net has provided some
> sketchy information. It seems that if the hfa3841 chip powers up with a
> 10k pull up from the MD11 pin to the 3.3 volt rail then it goes into ram
> load mode instead of reading the flash rom.

I don't remember which pin it was, but yes, that sounds about correct. I
have such hardware modification in one PC Card slot (dip switch for
selecting normal operations or pull up for Genesis mode), but I haven't
yet had enough time to implement code for flashing in genesis mode.

> Is the above correct? If so, would it be possible to use a card with
> defunct flash memory by wiring up the pull up resistor and then loading
> the firmware directly into ram using prism2_srec?

That should be possible, but not with current prism2_srec/Host AP
driver.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 21:09:41 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:09:41 -0800
Subject: Dead card after wrong pda and firmware flashing
In-Reply-To: <20030403155800.76574.qmail@web12307.mail.yahoo.com>
References: <20030403155800.76574.qmail@web12307.mail.yahoo.com>
Message-ID: <20030405050941.GE1974@jm.kir.nu>

On Thu, Apr 03, 2003 at 05:58:00PM +0200, david jaoui wrote:

> Before messing up with my card, I dumped everything : PDA, firmware and the whole flash.
> 
> Do you think they are valid to use and to reinsert into the card ?

That might be possible, assuming you indeed saved everything from the
flash.

> Is Genesis mode a way to have full access to the card ? Because it's seems to be blocked. (busy bit uncleared error).

Genesis mode stops normal startup from flash and make the card wait for
commands that can be used to write the flash. It should allow reflashing
of cards that have invalid firmware image on them.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 21:14:51 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:14:51 -0800
Subject: A question is asked about PEAP in hostap.
In-Reply-To: <20030401115536.46197.qmail@web306.mail.yahoo.co.jp>
References: <20030401115536.46197.qmail@web306.mail.yahoo.co.jp>
Message-ID: <20030405051451.GF1974@jm.kir.nu>

On Tue, Apr 01, 2003 at 08:55:36PM +0900, ?$B$U$8 ?$B$5$s wrote:

> (1)What should be put into "acct_server_shared_secret" and
> "eap_message" of hostapd.conf?

You do not need to configure accounting server or eap_message for EAP
authentication, so you can just comment these out.

> (2)Are some understood, although the following doubtful
> LOG(s) will be outputted, if it is going to use PEAP?
> 
> A part is shown below.
> 
> IEEE 802.1X: Sending canned EAP packet FAILURE to
> 00:30:5b:00:3f:30 (identifier 0)

That's fine. EAPOL state machine is defined to send that packet on
initialization. However, since it seem to cause some problems with at
least WinXP Supplicant, I'm considering of removing it from the "normal"
state transition path.

> IEEE 802.1X: 84 bytes from 00:30:5b:00:3f:30
>    IEEE 802.1X: version=1 type=0 length=80
>    EAP: code=2 identifier=2 length=80 (response)
>    EAP Response-Unknown   <---???

I have not added EAP method number for PEAP, so it is shown as Unknown.
However, this should not be a problem since IEEE 802.1X Authenticator
(i.e., AP) does not need to know anything about the used EAP method.

> Since a setup of (1) is doubtful, can't PEAP be used?

I haven't tested PEAP myself, but it should work.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 21:25:48 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:25:48 -0800
Subject: Documentation fixes
In-Reply-To: <Pine.LNX.4.53.0303311252340.3559@marabou.research.att.com>
References: <Pine.LNX.4.53.0303311252340.3559@marabou.research.att.com>
Message-ID: <20030405052548.GG1974@jm.kir.nu>

On Mon, Mar 31, 2003 at 12:58:23PM -0500, Pavel Roskin wrote:

> The attached patch documents "iwpriv wlan0 reset 3" and "iwpriv wlan0
> reset 4".

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



From mike  Fri Apr  4 21:28:41 2003
From: mike (Mike Machado)
Date: 04 Apr 2003 21:28:41 -0800
Subject: Firmware and Bridging Questions.
In-Reply-To: <20030325201144.7e595c47.lists@chincogan.net.au>
References: <20030325201144.7e595c47.lists@chincogan.net.au>
Message-ID: <1049520521.981.2.camel@woodstock.innercite.com>

On Tue, 2003-03-25 at 01:11, Chincogan Network Services Lists wrote:

> 2. I pulled a WET11 apart the other day to do a firmware upgrade on it, and it had firmware version 1.3.4 on it, this device is an ethernet bridge, how come it can do standards based bridging with <1.5.x firmware?

I was just about to post and ask this same question, but not related to
WDS. I personally have not done it, but a friend of mine put a 200mW
card in a WET11 with no special firmware, and it was still able to be a
client bridge. It is in Managed mode associated to an AP, and it can
bridge the traffic to the LAN port? What are they doing special that
HostAP cannot do? Are they downloading some special firmware in RAM that
allows this bridging to take place?


-- 
Mike Machado
mike at innercite.com
InnerCite Inc.
Engineering Director / CTO




From jkmaline  Fri Apr  4 21:28:05 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:28:05 -0800
Subject: Dynamic WEP key ??
In-Reply-To: <HIEILNBGFIFLDLBJCOLAEELOCHAA.imp@airlinktek.com>
References: <HIEILNBGFIFLDLBJCOLAEELOCHAA.imp@airlinktek.com>
Message-ID: <20030405052805.GH1974@jm.kir.nu>

On Mon, Mar 31, 2003 at 04:14:40PM +0900, ?vBXXZcX0-? wrote:

> Are hostapd support dynamic WEP key ? 
> If so, how can I set it for dynamic wep key ?

Yes, read IEEE 802.1X section in README.prism2 for more instructions. If
you are using CVS version of hostapd, please do note that the
instruction have not yet been updated for it and you must use
hostapd.conf instead of command line arguments.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 21:30:41 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:30:41 -0800
Subject: linkstatus=2
In-Reply-To: <3E7C046B.6070208@web.de>
References: <3E7C046B.6070208@web.de>
Message-ID: <20030405053041.GI1974@jm.kir.nu>

On Fri, Mar 21, 2003 at 10:36:27PM -0800, Project Manager wrote:

> Does anyone know what the kernel log message:
> 
> *kernel: wlan0: LinkStatus=2 (Disconnected)*
> 
> mean?

It's an information event from the wlan card telling that card moved to
Disconnected state. Please note that this link change occurs every time
you change a configuration item (e.g., with iwconfig) that require port0
disable/enable.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 21:32:52 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:32:52 -0800
Subject: FreeRadius and Hostapd
In-Reply-To: <Pine.SOL.4.44.0303192109220.28297-100000@rac2.wam.umd.edu>
References: <Pine.SOL.4.44.0303192109220.28297-100000@rac2.wam.umd.edu>
Message-ID: <20030405053252.GJ1974@jm.kir.nu>

On Wed, Mar 19, 2003 at 09:12:36PM -0500, Gilad Suberri wrote:

> I have installed my wireless card, hostap driver, and freeradius server
> on the same machine and am using XSupplicant as the client. For the
> command line arguments when running hostapd, what should I use for the IP
> address of the server and the AP (since they are on the same machine).

I have usually used localhost address (127.0.0.1), but you can use any
other local address, too. You just need to make sure that the radius
server is accepting connection from (and to) that address.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 21:36:23 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:36:23 -0800
Subject: individual wep key
In-Reply-To: <20030317183125.67a03add.msc1@alu.um.es>
References: <20030317183125.67a03add.msc1@alu.um.es>
Message-ID: <20030405053623.GK1974@jm.kir.nu>

On Mon, Mar 17, 2003 at 06:31:25PM +0100, Manuel S?nchez Cuenca wrote:

> how obtains and distributes hostap the individual wep keys?

hostapd generates individual WEP keys using pseudo-random data
(/dev/urandom) and it distributes these keys using IEEE 802.1X EAPOL-Key
frames, i.e., encrypted using session keys generated during EAP
authentication.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 21:44:57 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:44:57 -0800
Subject: Unidentified card variant ?
In-Reply-To: <200303112229.27114.harry@shoka.net>
References: <200303112229.27114.harry@shoka.net>
Message-ID: <20030405054457.GL1974@jm.kir.nu>

On Tue, Mar 11, 2003 at 10:29:27PM +0000, Harry Moyes wrote:

> I'm having problems loading updated firmware to my pheenet prism2 cards.
> I attach utils dumps and the result of attempting to load firmware.
> I've tried several releases of firmware with the same effect.
> 
> It looks to me as if hostap does not recognise NICID 0x8003

Why do you think hostap does not recognize NICID 0x8003?

> Is it reasonable to teach hostap about this card?

Wasn't it already able to initialize it correctly and thus "knows that
card"?

> [root at pei utils]# ./prism2_srec -vvr wlan0 
> /home/shoka/source/firmware/SF010306.HEX

> Verifying update compatibility and combining data:
> NICID was not found from the list of supported platforms.
> Incompatible updata data.

However, you are trying to load a firmware image that is not targetted
for that Prism2 model. prism2_srec refuses to download that image since
it would just crash the card..

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 21:52:07 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:52:07 -0800
Subject: ACK duration field wrong with fragmentation?
In-Reply-To: <003201c2e7c5$481192c0$151e0a0a@stmantoniov>
References: <003201c2e7c5$481192c0$151e0a0a@stmantoniov>
Message-ID: <20030405055207.GM1974@jm.kir.nu>

On Tue, Mar 11, 2003 at 12:56:41PM +0100, Antonio Vilei wrote:

> I was using wlansniff and I noticed that when a station (Prism2.5 based fw
> v1.3.6) sends fragments, the duration field in the fragments is correct, but
> duration field value in the each ACK is zero. Shouldn't it be non zero (not
> in the last ACK of course where zero is correct)?
> 
> Is it a firmware bug?

Yes, the duration field of an ACK frame should be non-zero after frames
with More Fragment flag set. Please report this to Intersil technical
support and tell them to take a closer look at IEEE 802.11 Chap.
7.2.1.3 ;-).

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 21:56:05 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 21:56:05 -0800
Subject: dropped received packet without ToDS flag errors
In-Reply-To: <20030311125248.A20838@hzdhome.home.blkseanet.ru>
References: <20030311125248.A20838@hzdhome.home.blkseanet.ru>
Message-ID: <20030405055605.GN1974@jm.kir.nu>

On Tue, Mar 11, 2003 at 12:52:48PM +0200, Vladimir Ivaschenko wrote:

> Lately one of our APs started to spew a lot of the following messages:
> 
> dropped received packet from 00:60:b3:16:d3:67  with no ToDS flag (type=0x02, subtype=0x00)
> RX status=0x0000 (port=0, type=0, fcserr=0) silence=5 signal=45 rate=110 rxflow=0; jiffies=58375341
>   FC=0x0008 (type=2:0) dur=0x0000 seq=0x2ee0 data_len=66
>   A1=ff:ff:ff:ff:ff:ff A2=00:60:b3:16:d3:67 A3=00:00:00:00:00:00 A4=30:38:35:20:20:20

> Any ideas what it is, how fatal can it be and can these messages be
> suppressed?

That looks like a broadcast message from an adhoc network (802.11 IBSS).
It is not at all fatal and yes, it could be just silently dropped. You
can comment it out in driver/modules/hostap_ap.c, hostap_handle_sta_rx()
function.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr  4 22:44:01 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 4 Apr 2003 22:44:01 -0800
Subject: Firmware and Bridging Questions.
In-Reply-To: <1049520521.981.2.camel@woodstock.innercite.com>
References: <20030325201144.7e595c47.lists@chincogan.net.au> <1049520521.981.2.camel@woodstock.innercite.com>
Message-ID: <20030405064401.GA3084@jm.kir.nu>

On Fri, Apr 04, 2003 at 09:28:41PM -0800, Mike Machado wrote:

> client bridge. It is in Managed mode associated to an AP, and it can
> bridge the traffic to the LAN port? What are they doing special that
> HostAP cannot do?

What makes you think Host AP driver cannot do this? Have you tried AP
client mode in Managed mode? I implemented it based on some packet
captures from another AP (D-Link?). Since there is not really a
standard for doing this kind of links, it might require some minor
changes to match with mechanism used in another AP device. If this is
the case, please provide me some sniffer logs (including full 802.11
headers) from a working setup using AP devices, and I'll try to add
support for the used mechanism.

-- 
Jouni Malinen                                            PGP id EFC895FA



From icardenas  Sat Apr  5 06:58:23 2003
From: icardenas (Israel Cardenas Romero)
Date: Sat,  5 Apr 2003 16:58:23 +0200
Subject: Reauthentication Problem
In-Reply-To: <20030405042312.GB1974@jm.kir.nu>
References: <3E8D9F85.738783FF@tataelxsi.co.in> <20030405042312.GB1974@jm.kir.nu>
Message-ID: <1049554703.3e8eef0f566be@213.227.48.245>

> > This problem occurs every hour / 3600 seconds (this is configured Reauth
> > timer)
> > during the "REAUTH_TIMER entering state
> > REAUTHENTICATE" process. This process some times seems to break the
> > network connection
> > and reauthentication does not occur.
> 
> Which wlan card model are you using in the station? I do not see this
> problem in my tests with Lucent WaveLAN as a station. See my previous
> message to the list for more details.
> 

I have this problem too. I'm using two HostAP boxes, first with a Conceptronic PCI 
card and sencond with a USRobotics PCMCIA card. Stations uses Cisco Aironet 350 
cards or Orinoco cards.

Stations with Windows XP supplicants loose connection when reauthentication 
process ocurs. Even these stations have problems to login into wireless network, 
because they have to try login into two or three times to get it.

I've comprobed that stations using AEGIS client (from MeetingHouse) in Windows 
2000 and Windows XP haven't this problem, and all reauthentications are good.

Can this be a problem of Windows XP client, or a problem of HostAP 802.1x 
support?...

Israel Cardenas Romero






From icardenas  Sat Apr  5 07:06:30 2003
From: icardenas (Israel Cardenas Romero)
Date: Sat,  5 Apr 2003 17:06:30 +0200
Subject: WEP rekeying with stable version
Message-ID: <1049555190.3e8ef0f6ae4ff@213.227.48.245>

Jouni,

i've seen last stable version finishes authentication and reauthentication process 
with these lines:

1.- IEEE 802.1X: Sending canned EAP packet SUCCESS to 00:xx:xx:xx:xx:e2 
(identifier 24)
2.- IEEE 802.1X: 00:0b:46:26:1b:e2 AUTH_KEY_TX entering state KEY_TRANSMIT
3.- IEEE 802.1X: Sending EAPOL-Key(s) to 00:xx:xx:xx:xx:e2 (identifier 24)
4.- IEEE 802.1X: Sending EAPOL-Key to 00:xx:xx:xx:xx:e2 (broadcast index=1)
5.- Individual WEP key - hexdump(len=5): 8d 4a 26 a0 58
6.- IEEE 802.1X: Sending EAPOL-Key to 00:xx:xx:xx:xx:e2 (unicast index=0)
7.- IEEE 802.1X: 00:0b:46:26:1b:e2 AUTH_PAE entering state AUTHENTICATED
8.- IEEE 802.1X: Authorizing station 00:xx:xx:xx:xx:e2

If this version has not WEP rekeying, what do lines 5 and 6 mean?
I've comprobed that individual WEP key (unicast) is different in every 
reauthentication process...

-- 

Israel Cardenas Romero






From kenw  Sat Apr  5 07:45:01 2003
From: kenw (Ken Wolstencroft)
Date: Sat, 5 Apr 2003 16:45:01 +0100
Subject: Reauthentication Problem
Message-ID: <000f01c2fb8a$51d90170$9864a8c0@ken>

Thanks Jouni for your reply.
I am using Dlink DWL520+ in my station (version 2.3e and version 3.01
drivers downloaded from Dlinks website).

All te best,
Ken

> ----- Original Message -----
> From: "Jouni Malinen" <jkmaline at cc.hut.fi>
> To: <hostap at shmoo.com>
> Sent: Saturday, April 05, 2003 5:23 AM
> Subject: Re: Reauthentication Problem
>
>
> > On Fri, Apr 04, 2003 at 08:36:45PM +0530, Venkatesh N wrote:
> >
> > > This problem occurs every hour / 3600 seconds (this is configured
Reauth
> > > timer)
> > > during the "REAUTH_TIMER entering state
> > > REAUTHENTICATE" process. This process some times seems to break the
> > > network connection
> > > and reauthentication does not occur.
> >
> > Which wlan card model are you using in the station? I do not see this
> > problem in my tests with Lucent WaveLAN as a station. See my previous
> > message to the list for more details.
> >
> > --
> > Jouni Malinen                                            PGP id EFC895FA
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> >
>





From jkmaline  Sat Apr  5 09:02:44 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 5 Apr 2003 09:02:44 -0800
Subject: WEP rekeying with stable version
In-Reply-To: <1049555190.3e8ef0f6ae4ff@213.227.48.245>
References: <1049555190.3e8ef0f6ae4ff@213.227.48.245>
Message-ID: <20030405170244.GA1868@jm.kir.nu>

On Sat, Apr 05, 2003 at 05:06:30PM +0200, Israel Cardenas Romero wrote:

> i've seen last stable version finishes authentication and reauthentication process 
> with these lines:
> 
> 1.- IEEE 802.1X: Sending canned EAP packet SUCCESS to 00:xx:xx:xx:xx:e2 
> (identifier 24)
> 2.- IEEE 802.1X: 00:0b:46:26:1b:e2 AUTH_KEY_TX entering state KEY_TRANSMIT
> 3.- IEEE 802.1X: Sending EAPOL-Key(s) to 00:xx:xx:xx:xx:e2 (identifier 24)
> 4.- IEEE 802.1X: Sending EAPOL-Key to 00:xx:xx:xx:xx:e2 (broadcast index=1)
> 5.- Individual WEP key - hexdump(len=5): 8d 4a 26 a0 58
> 6.- IEEE 802.1X: Sending EAPOL-Key to 00:xx:xx:xx:xx:e2 (unicast index=0)

> If this version has not WEP rekeying, what do lines 5 and 6 mean?
> I've comprobed that individual WEP key (unicast) is different in every 
> reauthentication process...

I was a bit unclear when saying it does not support rekeying. Yes,
these are new individual WEP keys and that key is indeed changed on
reauthentication. The rekeying functionality that was added after
2002-10-12 release is rekeying both broadcast and unicast keys without
reauthentication (i.e., it can be done more often without needed to talk
to RADIUS server).

-- 
Jouni Malinen                                            PGP id EFC895FA



From rich  Sat Apr  5 09:04:02 2003
From: rich (Richard W.M. Jones)
Date: Sat, 5 Apr 2003 18:04:02 +0100
Subject: OpenZaurus 3.2 & D-Link DCF 660W with HostAP driver not working!
Message-ID: <20030405170401.GB21440@redhat.com>

Hi:

I'm having a bunch of problems with OpenZaurus 3.2 & a D-Link DCF-660W
wireless CF card. It acquires the AP about one time in thirty. The
rest of the time the link light just blinks on and off.

I understand that some people have this combination working fine, and
others have the same endless problems as me - so I think there is some
sort of software problem or a subtle change to the firmware.

This is the output of dmesg:

hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_config: initialized in 18186 iterations
wlan0: NIC: id=0x800c v1.0.0
wlan0: PRI: id=0x15 v1.0.7
wlan0: STA: id=0x1f v1.3.6
wlan0: LinkStatus=2 (Disconnected)
wlan0: hfa384x_setup_bap - timeout after
wlan0: hfa384x_set_rid (rid=fce0, len=2) - failed - res=-110
wlan0: failed to set TickTime 10
prism2: wlan0: operating mode changed 3 -> 2
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=00:05:5d:fa:23:be
wlan0: hfa384x_setup_bap - timeout after
wlan0: hfa384x_set_rid (rid=fc03, len=2) - failed - res=-110
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: prism2_open

The AP is a D-Link 1000AP.

Ideas? Is there any other information which would be useful?

Rich.

-- 
Richard Jones, Red Hat Inc. (London office, UK) http://www.redhat.com/
http://www.annexia.org/ Freshmeat projects: http://freshmeat.net/users/rwmj
PTHRLIB is a library for writing small, efficient and fast servers in C.
HTTP, CGI, DBI, lightweight threads: http://www.annexia.org/freeware/pthrlib/



From eduardo  Sat Apr  5 14:25:38 2003
From: eduardo (Eduardo Kaftanski)
Date: Sat, 5 Apr 2003 18:25:38 -0400
Subject: Can I upgrade a DLINK 520 to 1.5.6?
Message-ID: <20030405222538.GA1477@enriqueto.nn.cl>

Please help me. I've been trying all day to make a DLink 520 work
as a WDS bridge to a Linksys Access Point.

Card works very well as an AP, ever only having 1.3.4 flashed into it...

I finally got a working prism2_srec and some 1.5.6 driver files and,
even whow prism2_srec says the driver would work, sending it to RAM hangs
the card and give a IOCTL error.

What am I doing wrong? Should I flash it first to 1.4.9 and then
upload 1.5.6 to RAM?

THanks.



-- 
Eduardo Kaftanski
eduardo at linuxcenter.cl
Gerente Ingenieria LinuxCenter S.A.
Canada 239 5to Piso, Providencia, Stgo de Chile.
http://www.linuxcenter.cl 2745000



From joseph  Sat Apr  5 15:45:16 2003
From: joseph (Joseph Chiu)
Date: Sat, 5 Apr 2003 15:45:16 -0800
Subject: Prism3 chokes after on-card WEP encryption use
In-Reply-To: <BPEELMGAINDCONKDGDNCOECMDIAA.joseph@omnilux.net>
Message-ID: <BPEELMGAINDCONKDGDNCOEDDDIAA.joseph@omnilux.net>

Hi,
I just retested HostAP 2002-10-12 with host-based encryption on STA 1.4.9,
and the I don't suffer from the awful performance (even with WEP
subsequently turned off).  Can anyone shed a light as to what might be
happening?  Please?
Thanks,
Joseph


-----Original Message-----
From: hostap-admin at shmoo.com [mailto:hostap-admin at shmoo.com]On Behalf Of
Joseph Chiu
Sent: Friday, April 04, 2003 8:00 PM
To: hostap at shmoo.com
Subject: HostAP WEP problem?


Hi,

I apologize in advance if this has been covered, and for such a long
message.  I've tried to google/search the archives, but I haven't seen this
behavior mentioned anywhere else.  (I don't think the problem related to the
"reauthentication after WEP change" described around Dec. '02.)

I've spent about a week trying to track down a terrible performance problem,
and I think I've got it boiled down to a point where I now have to ask the
list...

When I first turn load hostap and hostapd to run as AP with no WEP, I get
very good performance -- about 5 Mbit/sec.  Generally, the bit rate is 11
Mbit/sec or 5.5 Mbit/sec.

BUT, when I try to turn on WEP using "iwconfig wlan0 key s:blahblah", the
performance drops to an abysmal 200 Kbit/sec or so.   Generally, the bit
rate is 1 Mbit/sec when this happens.

Even when I then attempt turn off the WEP with "iwconfig wlan0 key off", the
terrible performance continues.  The only way to clear the problem, it
seems, is to power cycle the AP computer and also reset the client station
computer.

Just rebooting the AP doesn't seem to clear the problem, and the bit rate
remains at 1 Mbit/sec.

I've included the dmesg from the AP computer -- you can see that initially,
the AP was generally choosing 110 or 55 rate, and after the attempt to turn
on the WEP key, the rate drops to 10.

Some details -- I am running HostAP 2002-10-12, configured to use hostapd.
It is compiled against Linux 2.4.18-mips with wireless extension patched up
to version 15.  I am running on a embedded board with about 260 MIPS of
processing power (yes, much slower than a P4 2 GHz, but certainly more than
comparable to a P-133 that I see some people seem to run HostAP with).  This
is running against a Bromax WM-302 card which is based on Prism 3 and runs
STA firmware 1.4.2.  I prism2_srec load STA 1.4.9 for my test.

Many thanks and appreciations!

Joseph
-----Original Message-----
hostap_crypt: registered algorithm 'NULL'
hostap_crypt: registered algorithm 'WEP'
hostap_cs: hostap_cs.c 0.0.0 2002-10-12 (SSH Communications Security Corp,
Jouni Malinen)
hostap_cs: (c) Jouni Malinen <jkmaline at cc.hut.fi>
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 3.3, irq 44, io 0x0000-0xc0000000
hostap_cs: Registered netdevice wlan0
hostap_cs: Registered netdevice wlan0ap for AP management
prism2_hw_init()
prism2_hw_config: initialized in 18748 iterations
wlan0: trying to read PDA from 0x007f0000: OK
wlan0: NIC: id=0x801a v1.0.0
wlan0: PRI: id=0x15 v1.1.0
wlan0: STA: id=0x1f v1.4.9
wlan0: LinkStatus=2 (Disconnected)
prism2_download: dl_cmd=1 start_addr=0x003f0c01 num_areas=3
  area 0: addr=0x007e1800 len=47514 ptr=0x1001f000
  area 1: addr=0x007f0800 len=4214 ptr=0x1001d000
  area 2: addr=0x007fe000 len=3304 ptr=0x10011000
prism2_hw_init()
prism2_hw_config: initialized in 7994 iterations
wlan0: Writing 47514 bytes at 0x007e1800
wlan0: Writing 4214 bytes at 0x007f0800
wlan0: Writing 3304 bytes at 0x007fe000
prism2_hw_init()
prism2_hw_config: initialized in 3175 iterations
wlan0: trying to read PDA from 0x007f0000: OK
wlan0: NIC: id=0x801a v1.0.0
wlan0: PRI: id=0x15 v1.1.0
wlan0: STA: id=0x1f v1.4.9
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: prism2_open
VLAN REGISTER:  Allocated new group.
eth1.4088: add 01:00:5e:00:00:01 mcast address to master interface
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0ap: prism2_open
wlan0: LinkStatus=2 (Disconnected)
wlan0ap: hfa384x_setup_bap - timeout after
wlan0ap: prism2_tx_80211 - to BAP0 failed
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
prism2_hw_config: initialized in 18969 iterations
wlan0: trying to read PDA from 0x007f0000: OK
eth1: link up
eth0: link up
eth0: going to full duplex
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 55
wlan0: STA 00:40:05:de:39:55 TX rate raised to 110
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 55
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 20
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 55
wlan0: LinkStatus=2 (Disconnected)
wlan0: hfa384x_cmd: entry still in list? (entry=802117e0, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=802117e0,
type=0, cmd=0x0002, param0=0x0000)
set_encryption or reset_port failed
wlan0: hfa384x_cmd: entry still in list? (entry=802117e0, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=802117e0,
type=0, cmd=0x0021, param0=0xfc28)
wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-145, rid=fc28, len=2)
Could not read current WEP flags.
wlan0: encryption setup failed
set_encryption or reset_port failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 1000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8a32
wlan0: prism2_transmit: CMDCODE_TRANSMIT failed (res=-145)
wlan0: prism2_tx - to BAP0 failed
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
prism2_hw_config: initialized in 18592 iterations
wlan0: trying to read PDA from 0x007f0000: OK
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 20
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 55
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 20
wlan0: STA 00:40:05:de:39:55 TX rate lowered to 10
wlan0: LinkStatus=2 (Disconnected)

_______________________________________________
HostAP mailing list
HostAP at shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap




From eduardo  Sat Apr  5 17:18:18 2003
From: eduardo (Eduardo Kaftanski)
Date: Sat, 5 Apr 2003 21:18:18 -0400
Subject: Can I upgrade a DLINK 520 to 1.5.6?
In-Reply-To: <20030405222538.GA1477@enriqueto.nn.cl>
References: <20030405222538.GA1477@enriqueto.nn.cl>
Message-ID: <20030406011818.GA1492@enriqueto.nn.cl>

> 
> Card works very well as an AP, ever only having 1.3.4 flashed into it...
> 
> I finally got a working prism2_srec and some 1.5.6 driver files and,
> even whow prism2_srec says the driver would work, sending it to RAM hangs
> the card and give a IOCTL error.
> 
> What am I doing wrong? Should I flash it first to 1.4.9 and then
> upload 1.5.6 to RAM?
> 

Answering my own question (a couple of google-hours later..)

-I got the card in a win2k machine
-I flashed it with the windows flasher and 1.4.9 code
-I can now upload 1.5.6 to ram at startup.

I sitll can get WDS to work, and I am trying to use the latest CVS code 
that says hostapd can be client and server at the same time, but it does
not seem to work...

WDS never worked. AP is Linksys WAP11. Hostap works in managed mode,
but I need to use it to bridge to nets...


-- 
Eduardo Kaftanski
eduardo at linuxcenter.cl
Gerente Ingenieria LinuxCenter S.A.
Canada 239 5to Piso, Providencia, Stgo de Chile.
http://www.linuxcenter.cl 2745000



From eduardo  Sat Apr  5 17:54:03 2003
From: eduardo (Eduardo Kaftanski)
Date: Sat, 5 Apr 2003 21:54:03 -0400
Subject: WDS problems, was Re: Can I upgrade a DLINK 520 to 1.5.6?
In-Reply-To: <20030406011818.GA1492@enriqueto.nn.cl>
References: <20030405222538.GA1477@enriqueto.nn.cl> <20030406011818.GA1492@enriqueto.nn.cl>
Message-ID: <20030406015403.GA2108@enriqueto.nn.cl>

> 
> Answering my own question (a couple of google-hours later..)
> 
> -I got the card in a win2k machine
> -I flashed it with the windows flasher and 1.4.9 code
> -I can now upload 1.5.6 to ram at startup.
> 
> I sitll can get WDS to work, and I am trying to use the latest CVS code 
> that says hostapd can be client and server at the same time, but it does
> not seem to work...
> 
> WDS never worked. AP is Linksys WAP11. Hostap works in managed mode,
> but I need to use it to bridge to nets...
> 

One hour after that I found this:

/usr/local/bin/prism2_param wlan0 wds_type 8

this fixed the problem with WDS not working. I now receive packets
from computers in the wired lan at the other side of the WAP11, but sending
anything to them results in:

AP: packet to non-associated STA 00:0a:27:d5:f3:38
wlan0: Could not find STA for this TX error

Any ideas? 00:0a:27:d5:f3:38 IS the Mac address of the computer at the other
side...


(this already looks like a howto... I promise to write one
if I get this working.)



-- 
Eduardo Kaftanski
eduardo at linuxcenter.cl
Gerente Ingenieria LinuxCenter S.A.
Canada 239 5to Piso, Providencia, Stgo de Chile.
http://www.linuxcenter.cl 2745000



From jkmaline  Sat Apr  5 19:10:17 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 5 Apr 2003 19:10:17 -0800
Subject: WDS problems, was Re: Can I upgrade a DLINK 520 to 1.5.6?
In-Reply-To: <20030406015403.GA2108@enriqueto.nn.cl>
References: <20030405222538.GA1477@enriqueto.nn.cl> <20030406011818.GA1492@enriqueto.nn.cl> <20030406015403.GA2108@enriqueto.nn.cl>
Message-ID: <20030406031017.GA9231@jm.kir.nu>

On Sat, Apr 05, 2003 at 09:54:03PM -0400, Eduardo Kaftanski wrote:

> /usr/local/bin/prism2_param wlan0 wds_type 8
> 
> this fixed the problem with WDS not working. I now receive packets
> from computers in the wired lan at the other side of the WAP11, but sending
> anything to them results in:
> 
> AP: packet to non-associated STA 00:0a:27:d5:f3:38
> wlan0: Could not find STA for this TX error

Did you mean to setup "use AP client mode in 'Managed mode'" option when
setting wds_type to 8? If yes, that should have been 2, not 8..

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Sat Apr  5 20:40:08 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 5 Apr 2003 20:40:08 -0800
Subject: Prism2/2.5/3 Host AP - new release v0.0.1 - 2003-04-05
Message-ID: <20030406044008.GA11949@jm.kir.nu>

A new version of Prism2 Host AP driver was just released and it is now
available from http://hostap.epitest.fi/

I was already going to release this version a long time ago, but other
wireless LAN related projects have taken most of my time and this was
been delayed. In addition, I was hoping to go through all pending emails
in my Host AP mailing folders before releasing new version, but this
proved to be too time consuming; I still have almost 500 messages left..
Anyway, I wanted to get this release out so that I can more freely
ignore bug reports for old versions ;-).

I'm going to go through the pending emails at some point and include
submitted patches etc. into the code. However, this will take some time
and if you think some of your emails about important issues has been
ignored (and the issue is still present in this release), feel free to
resend them to get more attention to the problems.


2003-04-05 - v0.0.1

* added support for IEEE 802.11 standard compliant WDS (4 addresses)
  frames for Host AP mode
  - this requires station firmware version 1.5.x or newer
  - standard compliant vs. bogus 3-addr format can be selected with
    bit2 of prism2_param wds_type; it is automatically enabled, if
    station firmware is version 1.5.0 or newer
* added new prism2_param 'hostscan' for requesting scanning of APs and
  IBBSs from all channels; this requires STA f/w 1.3.1 or newer; in
  Master mode, this command moves to Managed mode for a second to
  perform to scan, so normal AP functionality is disturbed; at the
  moment, the results are shown only in the kernel ring buffer
  ('dmesg')
* added experimental version of passive AP scanning functionality for
  Host AP mode:
  - driver can be instructed to scan other channels passively, i.e.,
    by listening to beacon frames from other APs
  - prism2_param 'ap_scan' is used to set the interval (in seconds)
    between scan attempts on different channels; 0 = passive scanning
    disabled (default)
  - prism2_param 'other_ap_policy' should be set to at least 1
    (2 or 3 would probably be more useful) in order to record the
    found APs
  - changing channels will cause some disturbance on normal
    functionality and using very small values of ap_scan is not
    recommended
* added new procfs file /proc/net/hostap/<device>/ap to provide
  compact information about other APs found (other_ap_policy must be
  set for this)
* added support for TX callbacks
  - driver code can register callback that will receive status of
    selected TX frame (i.e., whether they were ACKed or not)
  - modified AP management to mark stations authenticated/associated
    only after they have acknowledged the response frame (previously,
    stations were marked auth/assoc when sending the frame)
* moved a lot of code from hardware interrupt context to tasklets
  (software IRQ)
  - RX, Info, TX and TX Exc event handling is now in tasklets instead
    of performing data copying and all computation in hardware IRQ
    handler (this includes host-based decryption)
  - this should make the driver behave better especially with low
    performance CPUs that might have lost interrupts and systems that
    need timely IRQ delivery for other devices
  - AP code in hostap_ap.c is from now never called in hard IRQ
    context, so lighter spinlocks can be used; most of the other code
    can also use lighter locks (e.g., with baplock)
  - as an extra bonus, RX code path is now more readable than before
* added new kernel patch for including Host AP driver into Linux 2.5.47
  - new kernel configuration items for selecting hostapd and firmware
    download support
* added station (Managed/Ad-hoc) mode support for promiscuous mode and
  multicast frames (using promiscuous mode with kernel side packet
  filtering); Note! This is currently commented out due to problems
  with various station firmware versions.
* modified Host AP (Master) mode to honor TX rate configuration
  (e.g., 'iwconfig wlan0 rate 11M')
* fixed kernel AP management code to change station status from AP to
  STA when no beacons have been received from the AP for some time and
  a station using same hwaddr tries to authenticate with us
* fixed monitor mode setting with the old, now deprecated, interface
  (iwpriv wlan0 monitor #)
* changed Buffer Access Path (BAP) usage
  - use only one BAP (BAP0) for all wlan card memory access (RX, TX,
    info frame, configuration)
  - there have been lot of problems with using two BAPs concurrently
    even though hardware should support it; in addition, PCI Prism2.5
    has a known problem that would require sleeping for some time
    between BAP0 and BAP1 accesses (with recommended workaround to use
    only one BAP)
  - from now on, BAP accesses are fully protected with local->baplock
    and this should remove all issues related to concurrent (or "almost
    concurrent") BAP0/BAP1 accesses
  - very experimental PCI bus mastering code is still using BAP1, but
    it is not enabled in default configuration (and anyway, it has not
    even been tested with the latest versions of the driver)
* added SIOCSIWSCAN ('iwlist wlan0 scan') support also to Host AP mode
* updated EAPOL state machines to use IEEE 802.1aa/D4
  (note! order of EAP Success and EAPOL-Key packets has been reverted
  back to IEEE 802.1x due to compatibility problems with WinXP
  Supplicant)
* added support for WEP rekeying into hostapd (IEEE 802.1x)
* added preliminary (and so far minimal) support for IEEE 802.11f
  (IAPP) to hostapd
* added preliminary support for RADIUS Accounting to hostapd
* added preliminary support for station functionality into hostapd:
  - associate as a client to another AP while simultaneously operating
    as an AP (must use same channel as the other AP)
  - hostapd can wait for beacons from one AP (command line argument -C)
    and then authenticate and associate with it
  - new netdevice (wlan#sta) will be used for data frames to and from
    this BSS
  - this link can be used instead of WDS link, e.g., to extend range
    of an AP or to remove need for wired uplink; however, client
    connection does _not_ support layer 2 bridge operations (i.e.,
    IP routing or ProxyARP must be used)
  - Note! Simultaneous client operation seems to work with station
    firmware version 0.6.2, 0.7.6, and 0.8.0, but not with 1.?.?.
    With new firmware versions, promiscuous mode can be used to work
    around this ('iwpriv wlan0 set_rid_word 64645 1')
* added '-B' command line argument for hostapd to fork it into
  a background process
* moved hostapd configuration from command line arguments into a
  configuration file (see hostapd/hostapd.conf for an example)
* added hostapd configuration file reloading on SIGHUP (not yet fully
  implemented)
* added hostapd support for MAC address based ACLs in IEEE 802.11
  authentication
  - accept/deny lists in configuration file
  - optional query to external RADIUS Authentication server
    (User-Name and User-Password are set to station MAC address;
    default format (RADIUS_ADDR_FORMAT in hostapd/radius.h has no
    delimiters and uses lower case hex characters, e.g.,
    00123456789a (= 00:12:34:56:78:9a); this shares the same RADIUS
    server configuration with IEEE 802.1X
* added support for S3 firmware info records that span multiple lines
  and for multiple variant,bottom,top triplets (prism2_srec)
* added new prism2_param 'enh_sec' for hiding SSID in beacon frames
  and ignoring clients configured with "ANY" (broadcast) SSID
  (note: this requires STA f/w ver 1.6.3 or newer)
* added a workaround for STA f/w version 1.6.3 (and possibly other
  1.6.x or newer) to operate in Host AP mode
* fixed TX rate controlling and statistics gathering for WDS links that
  are generated manually (i.e., not based on received beacon) and for
  AP client mode; this should improve WDS performance for cases where
  the maximum rate seemed to be 1 or 2 Mbps


-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Sat Apr  5 21:03:19 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 5 Apr 2003 21:03:19 -0800
Subject: WDS Speeds...
In-Reply-To: <003001c2fa2d$d29d6d40$1d04000a@terraworld.net>
References: <003001c2fa2d$d29d6d40$1d04000a@terraworld.net>
Message-ID: <20030406050319.GA12015@jm.kir.nu>

On Thu, Apr 03, 2003 at 04:10:22PM -0600, Jerry wrote:

> Command line FTP from AP-B (which has a WDS link to AP-A ONLY) gets 
> 90 KILOBYTES/sec downloadspeed !! :(   !!!

> It occured to me, as i was typing this that alot of my problem might be the wireless link between AP-A and AP-B, doin some figuring i discovered that 1Mbit is appx = to 100Kb/sec (hope i figured this correct), anyway with this in mind, 90Kb/sec isnt out of line.

Yes, the WDS link was most probably using only 1 Mbps, not 11 Mbps.
Please re-test with v0.0.1 of Host AP driver. It should fix rate control
for WDS links by adding STA entry when a new WDS links is created. In
older versions, STA entry was only added if the WDS link was created
automatically based on received beacon frame. I was able to get over
6 Mbps (UDP) throughput over a manually added WDS link after this
update.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Sat Apr  5 21:08:35 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 5 Apr 2003 21:08:35 -0800
Subject: WDS in managed mode
In-Reply-To: <EF5625F9F795C94BA28B150706A21548A0524F@MAIL>
References: <EF5625F9F795C94BA28B150706A21548A0524F@MAIL>
Message-ID: <20030406050835.GB12015@jm.kir.nu>

On Tue, Apr 01, 2003 at 12:43:51PM -0500, Foy, Patrick wrote:

> Is WDS supported in master mode and managed mode?  The hostAP driver could
> be changed to support it, but does the Intersil firmware have issues with
> it?

Yes, WDS is supported in both modes with Host AP driver. However,
managed mode operations ('AP client mode') has not been tested very
thoroughly. You need to set prism2_param wds_type to 2 in order to
enable this for managed mode.

-- 
Jouni Malinen                                            PGP id EFC895FA



From dave  Sun Apr  6 01:35:36 2003
From: dave (Dave)
Date: Sun, 6 Apr 2003 01:35:36 -0800
Subject: WDS Speeds Fixed
Message-ID: <000b01c2fc1f$e12836d0$f00aa8c0@ws7>

Thanks for the WDS speed fix Jouni! It works well now @ 11Mbps between 2
hostap boxes.

I still have a minor problem somewhat related...if you have any tips to
point me in the right direction they will be greatly appreciated.

Linux 2.4.20
Hostap latest release (few hours ago)
Senao cards

AP1 has 1 radio dedicated to Master mode (channel 1, essid test) and one
radio dedicated to a WDS link to AP2 (channel 11, essid testWDS). AP2 has
one radio dedicated to the WDS link to AP1 (channel 11, essid testWDS).

When transferring a 10Mb file from AP2 to AP1 via the console, I can see
that the WDS is now running @ 11Mbps as I get it in about 30 seconds or so.
When a STA associates to the AP1 master radio and transfers a 10Mb file from
AP1 to the STA I see speeds around 5Mbps...all is good here.

When I bridge wlan0 and wlan1wds0 on AP1 using Linux bridging and I try to
download a 10Mb file from AP2 through the AP1 bridge I am seeing only about
1.5Mbps maximum.

Is there something I should be looking out for on the bridge on AP1 or
something? It is obvious to me that the bottleneck is not the WDS link
between AP1 and AP2 nor is the bottleneck between the STA and AP1 since
between all of them I can get full speed...but when going through the bridge
on AP1 I am losing most of the bandwidth....any ideas?


Thanks!

-Dave





From djaoui  Sun Apr  6 14:11:59 2003
From: djaoui (=?iso-8859-1?q?david=20jaoui?=)
Date: Sun, 6 Apr 2003 23:11:59 +0200 (CEST)
Subject: Dead card after wrong pda and firmware flashing
Message-ID: <20030406211159.11979.qmail@web12301.mail.yahoo.com>


Genesis mode stops normal startup from flash and make the card wait for
commands that can be used to write the flash. It should allow 
reflashing
of cards that have invalid firmware image on them.


OK, but does that work for replacing wrong PDA too ?
Is it possible to reflash the whole flash ?
Can you give the right command line to flash correctly with a whole flash memory image in a right way with genesis mode or host based flash mode ? (cause i'm lost)

For now, with those modes I still have "busy bit uncleared" or "Memory Allocation Error".
Hope it's not too bad Doc.

I hope it'll be solved in order not to throw a 127 ? PCMCIA card to the garbage.
Thanks, Bye



---------------------------------
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais !
Testez le nouveau Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030406/553a3d4e/attachment.htm 


From imp  Sun Apr  6 19:01:40 2003
From: imp (=?utf-7?B?K3ZCWFhaY1gwLQ==?=)
Date: Mon, 7 Apr 2003 11:01:40 +0900
Subject: Response time
Message-ID: <HIEILNBGFIFLDLBJCOLAEENPCHAA.imp@airlinktek.com>

Dear Jouni Malinen

About The response time issue..
Using the test with Net IQ chariot program we can show the graph for throughput and response time..
As you know, the chariot give a lot of script for testing of network performance..

When I use throughput script and one wireless station, one AP, and PC

PC ----- (wire network) ----- AP ------ (wireless network) --- STA.

I want to attach the captured graph but the lists.shmoo.com mailling list does not support the attachment
for any file or graphic ... 

anyway, the throughput graph drop down to 1.0 M almost every 20 ~ 30 secs and the response time graph
rising up at that time... (average throughput is 4.5 Mbps and highest one is 5.5Mbps on ARM 920T process)

Are there any way to make hostap more faster ? 

Thanks for attention..

 







From eduardo  Sun Apr  6 20:28:51 2003
From: eduardo (Eduardo Kaftanski)
Date: Sun, 6 Apr 2003 23:28:51 -0400
Subject: It worked. Was WDS not working and others.
In-Reply-To: <20030406044008.GA11949@jm.kir.nu>
References: <20030406044008.GA11949@jm.kir.nu>
Message-ID: <20030407032851.GB6317@enriqueto.nn.cl>

I made it work. Thanks for the mails that helped... O as promised,
I made a mini-howto. Download at will.

Here's the short version of the story. Howto is online at 
	http://e.nn.cl/wlan/linux-hostap-dlink520-WAP11-mini-howto.txt

	I spent last entire day trying to get my next door neighbor conencted
to a small wlan I share with another neighbor. I had been using wlan-ng
in ad-hoc mode to comunicate with neighbor 1, but as neighbor 1 and 2 are
out of range between them, and neighbor's 2 computer is too old for a
wireless lan of his own, I had to get a Linksys WAP11 working as a client
or my Linux box running as an AP.


-- 
Eduardo Kaftanski
eduardo at linuxcenter.cl
Gerente Ingenieria LinuxCenter S.A.
Canada 239 5to Piso, Providencia, Stgo de Chile.
http://www.linuxcenter.cl 2745000



From ml  Mon Apr  7 04:30:56 2003
From: ml (Dominique Blas)
Date: Mon, 7 Apr 2003 13:30:56 +0200
Subject: HostAP and [FH]MIPv6
In-Reply-To: <200303112229.27114.harry@shoka.net>
References: <200303112229.27114.harry@shoka.net>
Message-ID: <200304071330.56166.ml@blas.net>

Hi,

I can't remember if I already asked about (no clue in the archive).
Is someone actually working on a possible insertion of [FH]MIPv6 code (Monash University) inside hostap so that hostap should play the role of a mobile agent instead of the mobile itself ?

This, in order to neutralize the type of mobile : IPv4 or IPv6.


db



From peyush  Mon Apr  7 04:56:10 2003
From: peyush (Peyush Agarwal)
Date: Mon, 07 Apr 2003 17:26:10 +0530
Subject: Problem with setting bit rate & getting infm abt other APs.
References: <20030406044008.GA11949@jm.kir.nu>
Message-ID: <3E91675A.361ACDE5@tataelxsi.co.in>

Hello,

I am using the latest version of hostap (v0.0.1) and facing the below
problems:

1. Trying to set the 'Bit Rate' using the command "iwpriv <intf-name> rate
<rate-to-set>M". It executes, but the rate of the wireless interface doesn't
changes.

2. I've enabled the 'other_ap_policy' to accept ALL beacons. But
"/proc/net/hostap/<device>/ap" doesn't provide any information about other
APs in range!

Any probable reason as to why 1 & 2 are failing ?

Thanks.
Regds.
Peyush.





From keentan_coldfire  Mon Apr  7 06:01:10 2003
From: keentan_coldfire (=?gb2312?q?tan=20keen?=)
Date: Mon, 7 Apr 2003 21:01:10 +0800 (CST)
Subject: hostap can not relays the frames between  win2k client and freeradius ?? 
Message-ID: <20030407130110.11052.qmail@web15302.mail.bjs.yahoo.com>


hello,

 I have built up  802.1x  by linux client xsupplicant  & hostap & freeradius ,then  i replace the xsupplicant with winXP client  , it all work fine !

but,now  i    followed the http://support.microsoft.com/default.aspx?scid=kb;en-us;313664    to replace winXP with Win2k . (  have used  win2000 SP3 and have install the win2000 client downloading from MS's web site  and start up the wareless server ... ) It seems there is something wrong when  win2k transmit eap frames with hostap  !

   why?  i have forgoten doing something important ?

./hostap -x  -d -o 127.0.0.1 -a 127.0.0.1 -s whatever  wlan0

i got:

Opening raw packet socket for ifindex 5
Using interface wlan0ap with hwaddr 00:40:05:af:05:14 and ssid 'test'
Flushing old station entries
Received 30 bytes management frame
MGMT
mgmt::auth
authentication: STA=00:40:05:af:05:2e auth_alg=0 auth_transaction=1 status_code=0
  New STA
Station 00:40:05:af:05:2e authenticated (open system)
Received 40 bytes management frame
MGMT
mgmt::assoc_req
association request: STA=00:40:05:af:05:2e capab_info=0x01 listen_interval=1
  new AID 1
Station 00:40:05:af:05:2e associated (aid 1)
IEEE 802.1X: Start authentication for new station 00:40:05:af:05:2e
IEEE 802.1X: 00:40:05:af:05:2e AUTH_PAE entering state INITIALIZE
IEEE 802.1X: 00:40:05:af:05:2e BE_AUTH entering state INITIALIZE
IEEE 802.1X: 00:40:05:af:05:2e REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:40:05:af:05:2e AUTH_KEY_TX entering state NO_KEY_TRANSMIT
IEEE 802.1X: 00:40:05:af:05:2e AUTH_PAE entering state DISCONNECTED
IEEE 802.1X: Unauthorizing station 00:40:05:af:05:2e
IEEE 802.1X: Sending canned EAP packet FAILURE to 00:40:05:af:05:2e (identifier 0)
IEEE 802.1X: 00:40:05:af:05:2e BE_AUTH entering state IDLE
IEEE 802.1X: 00:40:05:af:05:2e REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:40:05:af:05:2e AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:40:05:af:05:2e (identifier 1)
IEEE 802.1X: 00:40:05:af:05:2e REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:40:05:af:05:2e REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:40:05:af:05:2e REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:40:05:af:05:2e AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:40:05:af:05:2e (identifier 1)
IEEE 802.1X: 00:40:05:af:05:2e REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:40:05:af:05:2e REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:40:05:af:05:2e REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:40:05:af:05:2e REAUTH_TIMER entering state INITIALIZE
Signal 2 received - terminating
Flushing old station entries
Deauthenticate all stations

============================

run the freeradius ,i got :   it seem he have not got some  frames from  hostap!

... ......... 

.........
 radutmp: callerid = yes
Module: Instantiated radutmp (radutmp) 
 main: smux_password = ""
 main: snmp_write_access = no
SMUX connect try 1
Can't connect to SNMP agent with SMUX: Connection refused
Listening on IP address *, ports 1812/udp and 1813/udp, with proxy on 1814/udp.
Ready to process requests.

=================

by the way , i am using d-link dwl 520 adaptor .

                  thanks!!



---------------------------------
Do You Yahoo!?
"?????KTV, ????????OK~~"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030407/0eb8fe01/attachment.htm 


From fh1202jp  Sun Apr  6 18:36:27 2003
From: fh1202jp (=?ISO-2022-JP?B?GyRCJFUkOBsoQiAbJEIkNSRzGyhC?=)
Date: Mon, 7 Apr 2003 10:36:27 +0900 (JST)
Subject: A question is asked about PEAP in hostap.  
Message-ID: <20030407013627.66385.qmail@web304.mail.yahoo.co.jp>

Thank you for a reply.
The newest version (V0.0.1) was used and
"acct_server_shared_secret" and "eap_message" were
comment, and when connection was tried, it operated well.
Thank you very much. 
Moreover, Please help, when I am troubled.


__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!  http://bb.yahoo.co.jp/




From mock  Mon Apr  7 07:42:51 2003
From: mock (Stefan Mock)
Date: Mon, 7 Apr 2003 16:42:51 +0200
Subject: Which PCI Card can I use ?
Message-ID: <001201c2fd13$f78a09e0$e8879fc1@mocknotebook>

Hello,

can anybody tell me, wich card (manufactor) use the Intersil Chip ? 
I try to by a new PCI Card, but most time the cards work with 22 Mb and I think this cards don`t use the Intersil Chip.

Thanks a lot for your help

Stefan Mock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030407/f90951ff/attachment.htm 


From ian.cass  Mon Apr  7 09:18:39 2003
From: ian.cass (Ian Cass)
Date: Mon, 7 Apr 2003 17:18:39 +0100
Subject: Which PCI Card can I use ?
References: <001201c2fd13$f78a09e0$e8879fc1@mocknotebook>
Message-ID: <03d101c2fd21$59b00090$4c28a8c0@cblan.mblox.com>

Stefan Mock <mock at bbmnetze.de> wrote:
> Hello,
> 
> can anybody tell me, wich card (manufactor) use the Intersil Chip ?

I use the Actiontec hacked like so....

http://consume.andylaurence.co.uk/actiontec.shtml

-- 
Ian Cass



From tkallenberg  Mon Apr  7 09:28:29 2003
From: tkallenberg (Thomas Kallenberg)
Date: Mon, 7 Apr 2003 18:28:29 +0200
Subject: Which PCI Card can I use ?
Message-ID: <200304071828.29949.tkallenberg@intergga.ch>

Hi !

Check out this one. I don't know if it's up to date.
http://www.seattlewireless.net/index.cgi/HardwareComparison?action=print

Myself I use a Trendnet TEW-203PI (there is a new one, but  don't know
about that.) System runs Debian unstable + kernel 2.5.66-bk10 +
hostap-0.0.1, works good.
http://www.trendware.com/products/TEW-203PI.htm

Thomas

 On Monday April 7 2003 16:42, Stefan Mock wrote:
 > Hello,
 >
 > can anybody tell me, wich card (manufactor) use the Intersil Chip ?
 > I try to by a new PCI Card, but most time the cards work with 22 Mb and I
 > think this cards don`t use the Intersil Chip.
 >
 > Thanks a lot for your help
 >
 > Stefan Mock

-- 
Thomas Kallenberg
tkallenberg at intergga.ch

-- 
Thomas Kallenberg
tkallenberg at intergga.ch




From gooog77  Mon Apr  7 18:34:07 2003
From: gooog77 (Teresa)
Date: Tue, 8 Apr 2003 09:34:07 +0800
Subject: Backend Authentication SM problem?
References: <HIEILNBGFIFLDLBJCOLAEELOCHAA.imp@airlinktek.com> <20030405052805.GH1974@jm.kir.nu>
Message-ID: <OE60s8DoveGH5atYS490000354b@hotmail.com>

Dear all,

According to the Backend Authentication state machine,
An "Access-Reject" packet received from Authentication server,
so the state machine should jump to "FAIL" status....
Here is a problem.....once I input the wrong identity (wrong user name or
password),
the state machine jump to "TIMEOUT" instead of "FAIL"...which is odd.
AP did receive reject packet from RADIUS, how come enter into TIMEOUT
stage????

Here is the debug message:
Incoming RADIUS packet did not have correct Message-Authenticator - dropped






From jkmaline  Mon Apr  7 19:34:19 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 7 Apr 2003 19:34:19 -0700
Subject: Problem with setting bit rate & getting infm abt other APs.
In-Reply-To: <3E91675A.361ACDE5@tataelxsi.co.in>
References: <20030406044008.GA11949@jm.kir.nu> <3E91675A.361ACDE5@tataelxsi.co.in>
Message-ID: <20030408023419.GA1507@jm.kir.nu>

On Mon, Apr 07, 2003 at 05:26:10PM +0530, Peyush Agarwal wrote:

> 1. Trying to set the 'Bit Rate' using the command "iwpriv <intf-name> rate
> <rate-to-set>M". It executes, but the rate of the wireless interface doesn't
> changes.

I'm assuming that you mean 'iwconfig iface rate' command, not iwpriv.
This changed only the set of rates that are used in TX rate control. I
fixed it now to also change the advertised SuppRates element in beacon
frames. In addition, I added new prism2_param 'basic_rates' for
configuring the basic rate set. Both of these changes are available in
the CVS repository.

> 2. I've enabled the 'other_ap_policy' to accept ALL beacons. But
> "/proc/net/hostap/<device>/ap" doesn't provide any information about other
> APs in range!

Which version of station firmware are you using? I have seen at least
v1.4.9 not passing beacon frames to the host system when in Host AP
mode. This would explain such the behavior you have seen.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Mon Apr  7 19:37:16 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 7 Apr 2003 19:37:16 -0700
Subject: WDS Speeds Fixed
In-Reply-To: <000b01c2fc1f$e12836d0$f00aa8c0@ws7>
References: <000b01c2fc1f$e12836d0$f00aa8c0@ws7>
Message-ID: <20030408023716.GB1507@jm.kir.nu>

On Sun, Apr 06, 2003 at 01:35:36AM -0800, Dave wrote:

> Is there something I should be looking out for on the bridge on AP1 or
> something? It is obvious to me that the bottleneck is not the WDS link
> between AP1 and AP2 nor is the bottleneck between the STA and AP1 since
> between all of them I can get full speed...but when going through the bridge
> on AP1 I am losing most of the bandwidth....any ideas?

How close to each other are the two radios in AP1? Are you using
external antennas? I have seen lot of interference when placing two
radios close to each other, even if they are using channels 1 and 11.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Mon Apr  7 19:54:01 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 7 Apr 2003 19:54:01 -0700
Subject: Backend Authentication SM problem?
In-Reply-To: <OE60s8DoveGH5atYS490000354b@hotmail.com>
References: <HIEILNBGFIFLDLBJCOLAEELOCHAA.imp@airlinktek.com> <20030405052805.GH1974@jm.kir.nu> <OE60s8DoveGH5atYS490000354b@hotmail.com>
Message-ID: <20030408025401.GA2766@jm.kir.nu>

On Tue, Apr 08, 2003 at 09:34:07AM +0800, Teresa wrote:

> According to the Backend Authentication state machine,
> An "Access-Reject" packet received from Authentication server,
> so the state machine should jump to "FAIL" status....

Yes, that is correct.

> Here is a problem.....once I input the wrong identity (wrong user name or
> password),
> the state machine jump to "TIMEOUT" instead of "FAIL"...which is odd.
> AP did receive reject packet from RADIUS, how come enter into TIMEOUT
> stage????
> 
> Here is the debug message:
> Incoming RADIUS packet did not have correct Message-Authenticator - dropped

hostapd received the frame, but decided to drop it since there was no
way of verifying the authenticity of the packet. Which RADIUS server are
you using? Can you configure it to send Message-Authenticator attribute
in all packets, even Access-Rejects? I think I have seen Access-Rejects
with Message-Authenticator attribute at least from FreeRADIUS and
Microsoft IAS. If

Another alternative would be to change hostapd to allow Access-Rejects
without authentication. However, this would allow number of
denial-of-service attacks if the AP(Authenticator) <-> Authentication
Server connection is not protected by an external mechanism, like IPSec.
I would rather not make this default behavior, but I could consider
making it a configurable option that could then be used if IPSec is used
between Authenticator and Authentication Server.

-- 
Jouni Malinen                                            PGP id EFC895FA



From dave  Mon Apr  7 20:03:03 2003
From: dave (Dave)
Date: Mon, 7 Apr 2003 20:03:03 -0700
Subject: WDS Speeds Fixed
References: <000b01c2fc1f$e12836d0$f00aa8c0@ws7> <20030408023716.GB1507@jm.kir.nu>
Message-ID: <001b01c2fd7b$5f55abd0$f00aa8c0@ws7>

Hi Jouni,

Yep...they are about 2" apart in a Soekris 4511 board. One is a Mini-PCI and
one is a PCMCIA...

They both terminate into N-Female bulkheads where LMR400 is run to the
external antennas...one directional and one omni...both mounted on same
mast.

I have somewhat resolved some of the problem....I don't know how but now I
am seeing about 250Kbps...still not the 500Kbps that I would expect to see
but it is heading in the right direction.

Thanks!

-Dave



> On Sun, Apr 06, 2003 at 01:35:36AM -0800, Dave wrote:
>
> > Is there something I should be looking out for on the bridge on AP1 or
> > something? It is obvious to me that the bottleneck is not the WDS link
> > between AP1 and AP2 nor is the bottleneck between the STA and AP1 since
> > between all of them I can get full speed...but when going through the
bridge
> > on AP1 I am losing most of the bandwidth....any ideas?
>
> How close to each other are the two radios in AP1? Are you using
> external antennas? I have seen lot of interference when placing two
> radios close to each other, even if they are using channels 1 and 11.
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




From jkmaline  Mon Apr  7 21:10:04 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 7 Apr 2003 21:10:04 -0700
Subject: new capture format
In-Reply-To: <20021225224317.A25654@nevermore.toe.doomcom.org>
References: <20021225224317.A25654@nevermore.toe.doomcom.org>
Message-ID: <20030408041004.GA10757@jm.kir.nu>

On Wed, Dec 25, 2002 at 10:43:17PM -0500, Gerald Britton wrote:

> I've completed an implementation of the new capture format included in
> recent linux-wlan-ng.  It's attached.  This implements monitor_type 2

Thanks! I (finally) merged this into CVS version of Host AP driver.

-- 
Jouni Malinen                                            PGP id EFC895FA



From dave  Mon Apr  7 21:57:03 2003
From: dave (Dave)
Date: Mon, 7 Apr 2003 21:57:03 -0700
Subject: Lock rate?
Message-ID: <000c01c2fd8b$4be3b190$2a010a0a@ws7>

Is there a way to lock a rate to a certain speed regardless of the
conditions of the link?

Basically I want to prevent auto rate control and lock it at a certain rate
(11Mbps) and have it never change regardless of whether the link is up or
down or has interference or whatever...



Thanks!

-Dave





From jkmaline  Mon Apr  7 22:05:21 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 7 Apr 2003 22:05:21 -0700
Subject: Lock rate?
In-Reply-To: <000c01c2fd8b$4be3b190$2a010a0a@ws7>
References: <000c01c2fd8b$4be3b190$2a010a0a@ws7>
Message-ID: <20030408050521.GA1395@jm.kir.nu>

On Mon, Apr 07, 2003 at 09:57:03PM -0700, Dave wrote:

> Is there a way to lock a rate to a certain speed regardless of the
> conditions of the link?

Yes, although it is not fully tested (i.e., please let me know if it
does not work ;-).

> Basically I want to prevent auto rate control and lock it at a certain rate
> (11Mbps) and have it never change regardless of whether the link is up or
> down or has interference or whatever...

Try "iwconfig wlan0 rate 11M fixed".

-- 
Jouni Malinen                                            PGP id EFC895FA



From sndbeat  Mon Apr  7 23:09:31 2003
From: sndbeat (Vic Berdin)
Date: Mon, 7 Apr 2003 23:09:31 -0700 (PDT)
Subject: FYI: RFNet Intersil-PrismI Card conf entry
Message-ID: <20030408060931.23518.qmail@web10408.mail.yahoo.com>

Hello Everyone,

To those who have the RFNet card, and plans to use it
with with the hostap project, I had to add these to
the hostap_cs.conf to make it work:

card "RFNet PCM-01 11 Mbps WLAN Card"
   manfid 0x0156, 0x0002
   bind "hostap_cs"

FYI only - Vic



__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



From imp  Mon Apr  7 23:19:44 2003
From: imp (=?utf-7?B?K3ZCWFhaY1gwLQ==?=)
Date: Tue, 8 Apr 2003 15:19:44 +0900
Subject: 802.1X Auth sometime broken the sequence..
Message-ID: <HIEILNBGFIFLDLBJCOLAAEOHCHAA.imp@airlinktek.com>

Dear all..

When I try to hostap 802.1X authentication using AGEIS Server and Client (it can use for 15 days trial version from 
www.mtghouse.com site)  some time the hostap authentication state machine's identifier number looks broken or twist.. 

Please look at this specially identifier number ... 

IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state ABORTING
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:90:4b:0e:a3:c6 (identifier 3)
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state IDLE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state DISCONNECTED
IEEE 802.1X: Unauthorizing station 00:90:4b:0e:a3:c6
IEEE 802.1X: Sending canned EAP packet FAILURE to 00:90:4b:0e:a3:c6 (identifier 3)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:90:4b:0e:a3:c6 (identifier 4)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 46 bytes from 00:90:4b:0e:a3:c6
   IEEE 802.1X: version=1 type=0 length=15
   ignoring 27 extra octets after IEEE 802.1X packet
   EAP: code=2 identifier=3 length=15 (response)
EAP Identifier of the Response-Identity from 00:90:4b:0e:a3:c6 does not match (was 3, expected 4)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 46 bytes from 00:90:4b:0e:a3:c6
   IEEE 802.1X: version=1 type=0 length=15
   ignoring 27 extra octets after IEEE 802.1X packet
   EAP: code=2 identifier=4 length=15 (response)
   EAP Response-Identity
   Identity='8021x-user'
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state AUTHENTICATING
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state RESPONSE
Encapsulating EAP message into a RADIUS packet
Sending RADIUS message to authentication server
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
...
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state TIMEOUT
IEEE 802.1X: Sending canned EAP packet FAILURE to 00:90:4b:0e:a3:c6 (identifier 4)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state ABORTING
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:90:4b:0e:a3:c6 (identifier 5)
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state IDLE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 46 bytes from 00:90:4b:0e:a3:c6
   IEEE 802.1X: version=1 type=1 length=0
   ignoring 42 extra octets after IEEE 802.1X packet
   EAPOL-Start
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:90:4b:0e:a3:c6 (identifier 5)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state DISCONNECTED
IEEE 802.1X: Unauthorizing station 00:90:4b:0e:a3:c6
IEEE 802.1X: Sending canned EAP packet FAILURE to 00:90:4b:0e:a3:c6 (identifier 5)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:90:4b:0e:a3:c6 (identifier 6)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 46 bytes from 00:90:4b:0e:a3:c6
   IEEE 802.1X: version=1 type=0 length=15
   ignoring 27 extra octets after IEEE 802.1X packet
   EAP: code=2 identifier=5 length=15 (response)
EAP Identifier of the Response-Identity from 00:90:4b:0e:a3:c6 does not match (was 5, expected 6)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 46 bytes from 00:90:4b:0e:a3:c6
   IEEE 802.1X: version=1 type=0 length=15
   ignoring 27 extra octets after IEEE 802.1X packet
   EAP: code=2 identifier=5 length=15 (response)
EAP Identifier of the Response-Identity from 00:90:4b:0e:a3:c6 does not match (was 5, expected 6)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 46 bytes from 00:90:4b:0e:a3:c6
   IEEE 802.1X: version=1 type=0 length=15
   ignoring 27 extra octets after IEEE 802.1X packet
   EAP: code=2 identifier=6 length=15 (response)
   EAP Response-Identity
   Identity='8021x-user'
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state AUTHENTICATING
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state RESPONSE
Encapsulating EAP message into a RADIUS packet
Sending RADIUS message to authentication server
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
...
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state TIMEOUT
IEEE 802.1X: Sending canned EAP packet FAILURE to 00:90:4b:0e:a3:c6 (identifier 6)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state ABORTING
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:90:4b:0e:a3:c6 (identifier 7)
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state IDLE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 46 bytes from 00:90:4b:0e:a3:c6
   IEEE 802.1X: version=1 type=0 length=15
   ignoring 27 extra octets after IEEE 802.1X packet
   EAP: code=2 identifier=7 length=15 (response)
   EAP Response-Identity
   Identity='8021x-user'
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state AUTHENTICATING
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state RESPONSE
Encapsulating EAP message into a RADIUS packet
Sending RADIUS message to authentication server
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
....
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state TIMEOUT
IEEE 802.1X: Sending canned EAP packet FAILURE to 00:90:4b:0e:a3:c6 (identifier 7)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state ABORTING
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:90:4b:0e:a3:c6 (identifier 8)
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state IDLE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state DISCONNECTED
IEEE 802.1X: Unauthorizing station 00:90:4b:0e:a3:c6
IEEE 802.1X: Sending canned EAP packet FAILURE to 00:90:4b:0e:a3:c6 (identifier 8)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:90:4b:0e:a3:c6 (identifier 9)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 46 bytes from 00:90:4b:0e:a3:c6
   IEEE 802.1X: version=1 type=0 length=15
   ignoring 27 extra octets after IEEE 802.1X packet
   EAP: code=2 identifier=8 length=15 (response)
EAP Identifier of the Response-Identity from 00:90:4b:0e:a3:c6 does not match (was 8, expected 9)
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 46 bytes from 00:90:4b:0e:a3:c6
   IEEE 802.1X: version=1 type=0 length=15
   ignoring 27 extra octets after IEEE 802.1X packet
   EAP: code=2 identifier=9 length=15 (response)
   EAP Response-Identity
   Identity='8021x-user'
IEEE 802.1X: 00:90:4b:0e:a3:c6 AUTH_PAE entering state AUTHENTICATING
IEEE 802.1X: 00:90:4b:0e:a3:c6 BE_AUTH entering state RESPONSE
Encapsulating EAP message into a RADIUS packet
Sending RADIUS message to authentication server
IEEE 802.1X: 00:90:4b:0e:a3:c6 REAUTH_TIMER entering state INITIALIZE
...




From dave  Tue Apr  8 00:42:25 2003
From: dave (Dave)
Date: Tue, 8 Apr 2003 00:42:25 -0700
Subject: Lock rate?
References: <000c01c2fd8b$4be3b190$2a010a0a@ws7> <20030408050521.GA1395@jm.kir.nu>
Message-ID: <000a01c2fda2$67499500$2a010a0a@ws7>

> > Is there a way to lock a rate to a certain speed regardless of the
> > conditions of the link?
>
> Yes, although it is not fully tested (i.e., please let me know if it
> does not work ;-).

Does not work..;)

That is the one of the first things I tried...

I also tried "prism2_param wlan0 txratectrl 1" to see if the FW and
combination of "iwconfig wlan0 rate 11M fixed" would do it...and no such
luck...

Note: wlan0 is in repeater/wds mode and now when using the latest hostap
driver as of yesterday...I can see that 11Mbps does work now as I noted in
previous email....but rate adjusts periodically (I assume due to packet
loss/retry).

Is there a place in the driver code that I could lock speeds (hardcode) when
in WDS mode?

Thanks!

-Dave


> > Basically I want to prevent auto rate control and lock it at a certain
rate
> > (11Mbps) and have it never change regardless of whether the link is up
or
> > down or has interference or whatever...
>
> Try "iwconfig wlan0 rate 11M fixed".
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




From gooog77  Tue Apr  8 03:49:17 2003
From: gooog77 (Teresa)
Date: Tue, 8 Apr 2003 18:49:17 +0800
Subject: Try to restart hostapd
References: <HIEILNBGFIFLDLBJCOLAEELOCHAA.imp@airlinktek.com> <20030405052805.GH1974@jm.kir.nu> <OE60s8DoveGH5atYS490000354b@hotmail.com> <20030408025401.GA2766@jm.kir.nu>
Message-ID: <OE46zIPLmPIei5gjakz00003368@hotmail.com>

Dear all,

I try to restart hostapd....

Error message come from hostapd.c
=======================
bind: address already in use
=======================
I think the problem is address can not be reused..
so I add "setsockopt" to allow reuse address, 
but still got the same error message. 

Do you have any idea whay may cause this??
How can i get rid of this?


Many many thanks.



From ms  Tue Apr  8 03:58:39 2003
From: ms (Mike Saywell)
Date: Tue, 8 Apr 2003 11:58:39 +0100
Subject: Automatic WDS (bug?)
Message-ID: <20030408105839.GK2303@ecs.soton.ac.uk>

Hi,

Whilst I've got automatic WDS links working I think there is a slight
bug in the implementation...

The network comprises of 2 machines with a WDS link between them:

host1 ~ ~ ~ ~ WDS ~ ~ ~ ~ host2

When I start the machines initially everything is fine and the link is
created automatically, however if I reboot either machine then it fails
to add the automatic WDS link after the reboot.

I think what's happening is that after I've rebooted e.g. host2, host1
still reveives frames from host2 so keeps the WDS interface active.
I can see in dmesg that host2 receives WDS frames from host1, but this
doesn't create a new WDS interface - is this the correct behaviour? :)

I'm using a pretty recent version of HostAP (from cvs), I couldn't see
any mention of this problem in the changelog since then.

Cheers,

Mike Saywell

Southampton Open Wireless Network
http://www.sown.org.uk



From heeyeoly  Tue Apr  8 00:22:22 2003
From: heeyeoly (heeyeol Yu)
Date: Tue, 8 Apr 2003 00:22:22 -0700
Subject: Host AP setting for Linksys WPC11
Message-ID: <008601c2fd9f$994d90e0$3e88b383@yuatxp>

Hi. all
 
I have question while reading web
http://www.trekweb.com/~jasonb/articles/linux_wireless2.shtml and
http://hostap.epitest.fi/ for hostAP.
Now I am setting up that in my case.
I roughly followed your description with kernel 2.4.19.
But in the kernel setting I enabled other modules, such as IEEE wavelan,
as well as "select "Wireless LAN (non-hamradio)", and select "y"".
Also I installed linux-wlan-ng-0.1.16-pre6 of prism2_cs module for
Linksys WPC11 after kernel compilation and new kernel image.
I used recent version of hostap-2002-10-12 package and wireless tool 25.
 
Now the strange things are
1)      lsmod
[root at yuatlinux whyless]# lsmod
Module                  Size  Used by
3c574_cs                9040   1
prism2_cs              87472   1
p80211                 24080   1  [prism2_cs]
hostap_cs              43536   0  (autoclean) (unused)
hostap                 51632   0  (autoclean) [hostap_cs]
hostap_crypt            1584   0  (autoclean) [hostap]
ds                      6720   2  [3c574_cs prism2_cs hostap_cs]
I wonder how usage of hostap_cs and hostap are zero while other modules
such as 3c574 or prism2_cs is one.
Does this mean that even the module of hostap_cs is up, the correct
usage is not made?
Do I need only hostap_cs or prism2_cs as well?
How can I mange upload hostap_cs and prism2_cs if these are needed?
Are these located in /etc/pcmcia/wireless* or /etc/wlan/*?
 
2)      iwconfig
[root at yuatlinux whyless]# iwconfig wlan0 essid "test"
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; Function not implemented.
I used the recent wireless tool. But iwconfig command says there is
problem.
3)      /etc/sysconfig/network-scripts/ifcfg-wlan0
I set the script file as the following
--------
/etc/sysconfig/network-scripts/ifcfg-wlan0
DEVICE="wlan0"
IPADDR="192.168.100.1"
NETMASK="255.255.255.0"
ONBOOT="yes"
BOOTPROTO="static"
IPXNETNUM_802_2=""
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXNETNUM_802_3=""
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXNETNUM_ETHERII=""
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXNETNUM_SNAP=""
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
ESSID="testBSS"
MODE=master
Is it correct one?
4)      firmware of station
I found that station firmware is 1.4.2. Is it sufficient for AP mode? If
not where and how can I upgrade for suitable firmware?
 
Best regards
 
[root at yuatlinux whyless]# lsmod
Module                  Size  Used by
3c574_cs                9040   1
prism2_cs              87472   1
p80211                 24080   1  [prism2_cs]
hostap_cs              43536   0  (autoclean) (unused)
hostap                 51632   0  (autoclean) [hostap_cs]
hostap_crypt            1584   0  (autoclean) [hostap]
ds                      6720   2  [3c574_cs prism2_cs hostap_cs]
 
If you shut all doors to error,
  Truth cannot enter
             - Tagore
 
===========================
John Heeyeol Yu
Computer Science Department
H: 310-838-2396
O: 310-206-8589
F: 310-825-7578
http://www.cs.ucla.edu/~heeyeoly
===========================
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030408/94f2e332/attachment.htm 


From R.I.Kirkcaldy  Tue Apr  8 02:14:23 2003
From: R.I.Kirkcaldy (Richard Kirkcaldy)
Date: Tue, 8 Apr 2003 10:14:23 +0100 (BST)
Subject: Errors installing
Message-ID: <Pine.GSO.4.33.0304081010280.5074-100000@lithium.cen.brad.ac.uk>

Hi,
I'm having problems installing hostap.  When I try running make pci, it
gives a lot of errors reffering to ksyms.  I'm running the default debian
2.4.20 kernel, modversions enabled, wireless extensions enabled.
Can anybody tell me why I'm getting these errors?


 --
Richard Kirkcaldy


http://lordrich.com - the revolution will not be televised




From Alberto.Aliaga  Tue Apr  8 06:02:58 2003
From: Alberto.Aliaga (Aliaga, Alberto)
Date: Tue, 8 Apr 2003 15:02:58 +0200 
Subject: Problem with encrypt mode: incorrect decryption of WEB.
Message-ID: <3EE7E6D3FA26D611893F0002A508D62E12A5A6@ESCWEBARM001>

Hi list,

	I have succeeded installing HostAP driver for my Conceptronic
PCI-PCMCIA C11iDT Card. But I have got a problem when i try to enable the
encrypt mode. When I configure the card by means of iwconfig and
wireless.opt file and try to restart pcmcia card, the link between my AP and
a laptop goes up without problem but, after a while, the conexion is broken
without any apparent cause. The physical link is up but I have realized that
in the /proc/net/hoastap/wlan0/stat file the discarded-by-bad-encryption
counter is counting up. It seems to be any issue about de/encryption process
because if I restart the pcmcia card and then the link goes up for a while
but It fails again after a few seconds. I have already tried to include
    /usr/bin/prism2_param wlan0 host_decrypt 1
in order to take out de/encryption process from card firmware but It doesn't
work.
please, ?does anyone know what's happenig?
Thank you. 




From jerryf  Tue Apr  8 07:03:10 2003
From: jerryf (Jerry)
Date: Tue, 8 Apr 2003 09:03:10 -0500
Subject: Host AP setting for Linksys WPC11
Message-ID: <001601c2fdd7$9669b060$1204000a@terraworld.net>

Your problem is that you are loading the prism2 driver, too...  this conflicts with hostap (or any other driver you might try,such as orinoco_cs).

I believe there is a prism2.conf file in etc somewhere that you need to comment out the definition for your card, so it wont load the prism2_cs driver...

Also, FW 1.4.2 is useless, unfortunately, there isnt any other way i have found to bring wpc11 card up to 1.4.9 or better... I have, however, managed to prism2_srec up 1.5.6 in the card's RAM, which works fine...  

Goodluck...

Jerry 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030408/9668d4a5/attachment.htm 


From neverland11  Tue Apr  8 08:08:25 2003
From: neverland11 (=?iso-8859-1?B?Sm9oYW5uYSBH/GxseQ==?=)
Date: Tue, 08 Apr 2003 17:08:25 +0200
Subject: hostAP stat parameter - URGENT QUESTION
Message-ID: <F57wFI1ZG5yoVTvKRNZ00003f49@hotmail.com>

Hello,

Were do I get some informations about the meaning of the individual 
parameters of my stat file ?!

In general: What is RX and TX ??

STA=00:02:2d:61:2e:57
users=0
aid=1
flags=0x0003 AUTH ASSOC
capability=0x01
listen_interval=1
supported_rates=1Mbps 2Mbps 5.5Mbps 11Mbps
jiffies=688870
last_auth=520703
last_assoc=520704
last_rx=688854
last_tx=675072
rx_packets=401	/packete
tx_packets=81	/packete
rx_bytes=60073	/bytes
tx_bytes=13451	/bytes
buffer_count=0	/Puffer Impulse
last_rx: silence=0 signal=45 rate=110 flow=0
tx_rate=110
tx[1M]=0
tx[2M]=0
tx[5.5M]=0
tx[11M]=81		/11Mbps
rx[1M]=0
rx[2M]=54		/2Mbps
rx[5.5M]=0
rx[11M]=375		/11Mbps
txexc=0


thank you very much for an immediate answer
Johanna from austria



_________________________________________________________________
Die aktuellsten Computer News gibts auf MSN! http://www.msn.at/computer




From mrcool  Tue Apr  8 09:24:38 2003
From: mrcool (Jerry)
Date: Tue, 8 Apr 2003 11:24:38 -0500
Subject: hostAP stat parameter - URGENT QUESTION
Message-ID: <001001c2fdeb$59bb8a80$0a04000a@terraworld.net>

RX = recieve
TX = transmit...

jerryf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030408/db38d735/attachment.htm 


From jt  Tue Apr  8 09:29:47 2003
From: jt (Jean Tourrilhes)
Date: Tue, 8 Apr 2003 09:29:47 -0700
Subject: Lock rate?
Message-ID: <20030408162947.GA23488@bougret.hpl.hp.com>

Dave wrote :
> > > Is there a way to lock a rate to a certain speed regardless of the
> > > conditions of the link?
> >
> > Yes, although it is not fully tested (i.e., please let me know if it
> > does not work ;-).
> 
> Does not work..;)
> 
> That is the one of the first things I tried...
> 
> I also tried "prism2_param wlan0 txratectrl 1" to see if the FW and
> combination of "iwconfig wlan0 rate 11M fixed" would do it...and no such
> luck...

	Remember that you can only set your *transmit* rate, the
receive rate will always be dictated by the other end of the link. So,
if you can download faster than the rate you have set with iwconfig,
that's fully expected.

	Jean




From jmeden  Tue Apr  8 09:41:54 2003
From: jmeden (Jeff Meden)
Date: Tue, 08 Apr 2003 12:41:54 -0400
Subject: hostAP stat parameter - URGENT QUESTION
In-Reply-To: <F57wFI1ZG5yoVTvKRNZ00003f49@hotmail.com>
References: <F57wFI1ZG5yoVTvKRNZ00003f49@hotmail.com>
Message-ID: <3E92FBD2.80501@qn.net>

If you're referring to jiffies and the last_* variables, i believe they 
come from the 802.11 'timing vector' (or whatever the actual term is), 
which is a counter used by the driver to keep track of client timeouts, 
and forms part of a wep key, among other things.  Its measured in 
thousanths of a second, jiffies is now (i believe) and the last_ times 
are self-explanatory.

Johanna G?lly wrote:

> Hello,
>
> Were do I get some informations about the meaning of the individual 
> parameters of my stat file ?!
>
> In general: What is RX and TX ??
>
> STA=00:02:2d:61:2e:57
> users=0
> aid=1
> flags=0x0003 AUTH ASSOC
> capability=0x01
> listen_interval=1
> supported_rates=1Mbps 2Mbps 5.5Mbps 11Mbps
> jiffies=688870
> last_auth=520703
> last_assoc=520704
> last_rx=688854
> last_tx=675072
> rx_packets=401    /packete
> tx_packets=81    /packete
> rx_bytes=60073    /bytes
> tx_bytes=13451    /bytes
> buffer_count=0    /Puffer Impulse
> last_rx: silence=0 signal=45 rate=110 flow=0
> tx_rate=110
> tx[1M]=0
> tx[2M]=0
> tx[5.5M]=0
> tx[11M]=81        /11Mbps
> rx[1M]=0
> rx[2M]=54        /2Mbps
> rx[5.5M]=0
> rx[11M]=375        /11Mbps
> txexc=0
>
>
> thank you very much for an immediate answer
> Johanna from austria
>
>
>
> _________________________________________________________________
> Die aktuellsten Computer News gibts auf MSN! http://www.msn.at/computer
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>





From akash  Tue Apr  8 11:59:29 2003
From: akash (Akash Malhotra)
Date: Tue, 8 Apr 2003 13:59:29 -0500 (CDT)
Subject: HostAp installing problem on Redhat 8 custom kernel
Message-ID: <Pine.LNX.4.44.0304081337300.31058-100000@staph.me.umn.edu>

Hi 

I am new user. I am using REDHAT 8 (kernel 2.4.18-14). I made a custom
kernel, then installed pcmcia-cs 3.2.4 latest downloadable software. I
installed it and everything went on smoothly. Then I tried installling 
hostap-0.0.1.I did make pccard and then make pccard_install.

I cheked my make file also it was pointing towards /usr/src/linux same as 
my custom kernel build.

Now when i plug in my card Ornioco Gold card I get two beep first one
is loudeer and the other is just audible.

I didnt get any interface when I did ifconfig -a


Am I doing anything wrong. Any help is appreciated.

The mesage from my /var/log/messages are like this( after I plug in my 
card)

executing modprobe orinoco_cs

orinoco_cs Card Services release doesnot match
/lib/modules/2.4.18-14custom/pcmcia/orinoco_cs.o : init_module: Invalid 
Argument

/lib/modules/2.4.18-14custom/pcmcia/orinoco_cs.o: insmod
/lib/modules/2.4.18-14custom/pcmcia/orinoco_cs.o Failed

/lib/modules/2.4.18-14custom/pcmcia/orinoco_cs.o:unreseolved symbol 
alloc_orinocodev_Rsmp_8ca3e787


And many more:::


Thanks 

-Akash




From mrcool  Tue Apr  8 13:14:54 2003
From: mrcool (Jerry)
Date: Tue, 8 Apr 2003 15:14:54 -0500
Subject: HostAp installing problem on Redhat 8 custom kernel
Message-ID: <000e01c2fe0b$84da7580$0a04000a@terraworld.net>

First, is that a laptop or are you using a pci bridge?, second, did everything work before you compiled your kernel??

I have found that the problems that you descibe are usually the pci bridge, not the lancard driver.  Look for messages from the kernel similar to : "No interupt assigned to pci device line xx, please try 'pci=biosirq'" that is a dead givaway that the pci bridge isnt recognized.  

Are you using kernel pcmcia or external? 

Jerryf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030408/cc1a6439/attachment.htm 


From dave  Tue Apr  8 16:06:36 2003
From: dave (Dave)
Date: Tue, 8 Apr 2003 16:06:36 -0700
Subject: Lock rate?
References: <20030408162947.GA23488@bougret.hpl.hp.com>
Message-ID: <000801c2fe23$81ab41b0$0507ee3f@ws1>

WDS broken again..;(

Back to the drawing board....

I had previously though that WDS rate controlling was resolved in the latest
release..it sure appeared to be for a few hours, but now it is back to 2Mbps
and stuck there.

Jouni, could you point me to where in the source I could lock the rate for
WDS links so it will never auto adjust?


Thanks!

-Dave


> Dave wrote :
> > > > Is there a way to lock a rate to a certain speed regardless of the
> > > > conditions of the link?
> > >
> > > Yes, although it is not fully tested (i.e., please let me know if it
> > > does not work ;-).
> >
> > Does not work..;)
> >
> > That is the one of the first things I tried...
> >
> > I also tried "prism2_param wlan0 txratectrl 1" to see if the FW and
> > combination of "iwconfig wlan0 rate 11M fixed" would do it...and no such
> > luck...
>
> Remember that you can only set your *transmit* rate, the
> receive rate will always be dictated by the other end of the link. So,
> if you can download faster than the rate you have set with iwconfig,
> that's fully expected.
>
> Jean
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




From jkmaline  Tue Apr  8 19:16:18 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 8 Apr 2003 19:16:18 -0700
Subject: Lock rate?
In-Reply-To: <000a01c2fda2$67499500$2a010a0a@ws7>
References: <000c01c2fd8b$4be3b190$2a010a0a@ws7> <20030408050521.GA1395@jm.kir.nu> <000a01c2fda2$67499500$2a010a0a@ws7>
Message-ID: <20030409021618.GD1708@jm.kir.nu>

On Tue, Apr 08, 2003 at 12:42:25AM -0700, Dave wrote:

> Note: wlan0 is in repeater/wds mode and now when using the latest hostap
> driver as of yesterday...I can see that 11Mbps does work now as I noted in
> previous email....but rate adjusts periodically (I assume due to packet
> loss/retry).

I had fixed rate control of WDS links only for Master mode. I just fixed
the code to use same rate control mechanism in other modes, too. Fix is
in the CVS.

> Is there a place in the driver code that I could lock speeds (hardcode) when
> in WDS mode?

I would rather not hide the real problem by hardcoding it. Anyway, TX
rate is controlled by tx_rate field of TX descriptor, so you would need
to hardcode that to the rate you want to use.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Tue Apr  8 19:18:32 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 8 Apr 2003 19:18:32 -0700
Subject: Lock rate?
In-Reply-To: <20030408162947.GA23488@bougret.hpl.hp.com>
References: <20030408162947.GA23488@bougret.hpl.hp.com>
Message-ID: <20030409021832.GE1708@jm.kir.nu>

On Tue, Apr 08, 2003 at 09:29:47AM -0700, Jean Tourrilhes wrote:

> 	Remember that you can only set your *transmit* rate, the
> receive rate will always be dictated by the other end of the link. So,
> if you can download faster than the rate you have set with iwconfig,
> that's fully expected.

That is true. However, 802.11 management frames include Supported Rates
element that can be used to select which rates will be used. It should
thus be able to hardcode transmit rates in both ends by sending a
beacon/proberesp (if in AP mode) or assocreq (if in STA mode) with only
one rate in that info element.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Tue Apr  8 19:20:47 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 8 Apr 2003 19:20:47 -0700
Subject: FYI: RFNet Intersil-PrismI Card conf entry
In-Reply-To: <20030408060931.23518.qmail@web10408.mail.yahoo.com>
References: <20030408060931.23518.qmail@web10408.mail.yahoo.com>
Message-ID: <20030409022047.GF1708@jm.kir.nu>

On Mon, Apr 07, 2003 at 11:09:31PM -0700, Vic Berdin wrote:

> To those who have the RFNet card, and plans to use it
> with with the hostap project, I had to add these to
> the hostap_cs.conf to make it work:
> 
> card "RFNet PCM-01 11 Mbps WLAN Card"
>    manfid 0x0156, 0x0002
>    bind "hostap_cs"

FYI: I will not add manfid 0x0156, 0x0002 entry to the Host AP driver
configuration file since it is used by N+1 different cards, included
non-Prism2 cards, like Lucent/Orinoco. If you want that to be added to
the default configuration file, please send full 'cardctl ident' output
and I'll add an entry based on "product info" ("version" in the config
file).

-- 
Jouni Malinen                                            PGP id EFC895FA



From dave  Tue Apr  8 19:23:52 2003
From: dave (Dave)
Date: Tue, 8 Apr 2003 19:23:52 -0700
Subject: WDS speed issues revisited
Message-ID: <000701c2fe3f$10b72cf0$f00aa8c0@ws7>

Still working on WDS/Repeater speed issues.

I physically set two hostap boxes on my workbench about 5 feet apart,
installed two brand new radios, rebuilt hostap from the latest release and
installed/configured...no luck on a successful, stable 11Mbps WDS link.

When in Ad-Hoc mode I can move 11Mbps between the boxes both ways no
problem. When in Repeater/WDS mode I sometimes get 11Mbps one way and 2Mbps
the other way and sometimes vice versa, but never (other than the first day
new release came out) can I get 11Mbps both ways....don't know what the deal
was with that but it had me happy for about 6 hours...;)

Both cards are identical make/model (Senao 200mW), Kernel is 2.4.20,
Wireless Tools version 26 and using WE16.

I think I understand correctly that in modes not Repeater mode (Ad-Hoc,
Master, Managed), beacons are included which provide signal details and
speed details to the other side of a link. I think I also understand that in
Repeater mode these beacons are not present which would prevent correctly
adjusting TX rates based on conditions....is this correct?

So if these beacons are not present in WDS/Repeater mode...why would the TX
rate of a certain side of the link change to anything but the initially
configured rate? What causes the TX rate to change if not the beacon stats?

I even dug into the driver code a little bit trying to hack a fix...but no
luck....I was looking into the new add_sta functions....

And now I see Jouni hard at work with some new WDS fixes a few minutes
ago...;)

Off to try CVS now...


-Dave




From dave  Tue Apr  8 19:45:12 2003
From: dave (Dave)
Date: Tue, 8 Apr 2003 19:45:12 -0700
Subject: WDS speed issues revisited
References: <000701c2fe3f$10b72cf0$f00aa8c0@ws7>
Message-ID: <000301c2fe42$0b59db10$f00aa8c0@ws7>

Still no luck with CVS as of about 15 minutes ago...

Maybe something is wrong with my settings? I included current iwconfig
output from each WDS box below as well as startup settings which are applied
on bootup for each.




WDS1:

wlan0     IEEE 802.11b  ESSID:"WDS"
          Mode:Repeater  Frequency:2.462GHz  Access Point: 00:00:00:00:00:00
          Bit Rate=2Mb/s   Tx-Power=24 dBm   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlan0wds  IEEE 802.11b  ESSID:"WDS"
          Mode:Repeater  Frequency:2.462GHz  Access Point: 00:00:00:00:00:00
          Bit Rate=2Mb/s   Tx-Power=24 dBm   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

and my startup settings for WDS1:

mode=repeater
channel=11
essid=WDS
txpower=200mW
sens=1
other_ap_policy=0
max_wds=1
autom_ap_wds=0
wds_type=4
ap_auth_algs=1
txratectrl=0
beacon_int=100
dtim_period=10
pseudo_ibss=0
ap_max_inactivity=10
ap_bridge_packets=0
ap_nullfunc_ack=0
wds_neighbor=00:02:6F:01:FA:47
firmware=1.5.6:/etc/pcmcia/rf010506.hex








WDS2:

wlan0     IEEE 802.11b  ESSID:"WDS"
          Mode:Repeater  Frequency:2.462GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:11Mb/s   Tx-Power=24 dBm   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlan0wds  IEEE 802.11b  ESSID:"WDS"
          Mode:Repeater  Frequency:2.462GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:11Mb/s   Tx-Power=24 dBm   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

and my startup settings for WDS2:

mode=repeater
channel=11
essid=WDS
txpower=200mW
sens=1
other_ap_policy=0
max_wds=1
autom_ap_wds=0
wds_type=4
ap_auth_algs=1
txratectrl=0
beacon_int=100
dtim_period=10
pseudo_ibss=0
ap_max_inactivity=10
ap_bridge_packets=0
ap_nullfunc_ack=0
wds_neighbor=00:02:6F:03:FE:E5
firmware=1.5.6:/etc/pcmcia/rf010506.hex

....
>
> And now I see Jouni hard at work with some new WDS fixes a few minutes
> ago...;)
>
> Off to try CVS now...
>
>
> -Dave
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




From jkmaline  Tue Apr  8 21:46:12 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 8 Apr 2003 21:46:12 -0700
Subject: WDS speed issues revisited
In-Reply-To: <000701c2fe3f$10b72cf0$f00aa8c0@ws7>
References: <000701c2fe3f$10b72cf0$f00aa8c0@ws7>
Message-ID: <20030409044612.GA11197@jm.kir.nu>

On Tue, Apr 08, 2003 at 07:23:52PM -0700, Dave wrote:

> I physically set two hostap boxes on my workbench about 5 feet apart,
> installed two brand new radios, rebuilt hostap from the latest release and
> installed/configured...no luck on a successful, stable 11Mbps WDS link.

Which transmit rates are being used with the CVS version (i.e., the one
that is supposed to fix Repeater mode rate control)? Do you see
different rates being used or only one? I would be interested in seeing
/proc/net/hostap/wlan0/<other end hwaddr> statistics for the link.

If the other end does not ACK frames for some reason, rate control
algorithm will most certainly drop the rate. If that is the case, I
would like to find out why the ACKs are not sent.

If you want to test hardcoding rate control, that should also be fixed
now (althought complete untested ;-) for Repeater mode. 'iwconfig wlan0
rate 11M fixed' should in theory allow only rate 11M being selected for
TX rate.

-- 
Jouni Malinen                                            PGP id EFC895FA



From sndbeat  Tue Apr  8 22:14:02 2003
From: sndbeat (Vic Berdin)
Date: Tue, 8 Apr 2003 22:14:02 -0700 (PDT)
Subject: HostAP digest, Vol 1 #184 - 15 msgs
In-Reply-To: <20030409024601.32384.72676.Mailman@sisyphus.iocaine.com>
Message-ID: <20030409051402.39145.qmail@web10411.mail.yahoo.com>

Hello Jouni,

I understand. Anyway, cardctl output is:

Socket 0:
  product info: "PCM-01", "RFNET 11Mbps PCMCIA-Card",
"Version 01.02", ""
  manfid: 0x0156, 0x0002
  function: 6 (network)

And I did change my entries to:

card "RFNet PCM-01 11 Mbps WLAN Card"
   version "PCM-01", "RFNET 11Mbps PCMCIA-Card",
"Version 01.02"
   bind "hostap_cs"

Thanks for the reminder.

--__--__--

Message: 13
Date: Tue, 8 Apr 2003 19:20:47 -0700
From: Jouni Malinen <jkmaline at cc.hut.fi>
To: hostap at shmoo.com
Subject: Re: FYI: RFNet Intersil-PrismI Card conf
entry

On Mon, Apr 07, 2003 at 11:09:31PM -0700, Vic Berdin
wrote:

> To those who have the RFNet card, and plans to use
it
> with with the hostap project, I had to add these to
> the hostap_cs.conf to make it work:
> 
> card "RFNet PCM-01 11 Mbps WLAN Card"
>    manfid 0x0156, 0x0002
>    bind "hostap_cs"

FYI: I will not add manfid 0x0156, 0x0002 entry to the
Host AP driver
configuration file since it is used by N+1 different
cards, included
non-Prism2 cards, like Lucent/Orinoco. If you want
that to be added to
the default configuration file, please send full
'cardctl ident' output
and I'll add an entry based on "product info"
("version" in the config
file).

-- 
Jouni Malinen                                         
  PGP id 
EFC895FA


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



From dave  Tue Apr  8 22:48:16 2003
From: dave (Dave)
Date: Tue, 8 Apr 2003 22:48:16 -0700
Subject: WDS speed issues revisited
References: <000701c2fe3f$10b72cf0$f00aa8c0@ws7> <20030409044612.GA11197@jm.kir.nu>
Message-ID: <000401c2fe5b$9e98ac80$f00aa8c0@ws7>

I think I may have found the issue and resolution...and it bums me out
because I have been bit by this before...;(

Some of my cards have STA FW of 1.5.6 and the rest have 1.4.9 or 1.3.6. I
never worried much about permanantly flashing them up to 1.5.6 because my
startup scripts do a ram upload at boot time....and I CAN talk WDS 4-ADDR
then...so I thought all was good.

On a hunch I used two cards that had 1.5.6 and did no ram upload on
bootup...once the first ping packet from AP1 hit AP2 both WDS speeds jumped
up from 2Mbps to 11Mbps and stayed there even after packets stopped.

I then tried a 1.5.6 card with no ram upload and a 1.4.9 card ram uploaded
to 1.5.6 on bootup...sure enough I could talk WDS 4-ADDR but the 1.4.9 card
was stuck at 2Mbps while the 1.5.6 card jumped to 11Mbps right away.

This has bitten me before when trying to get WDS-4 working previously...and
I should have remembered the issue.

Jouni (or anyone), what is the correct procedure to reinitialize a card
after a ram upload in order to take advantage of the features of the newer
FW. I have tried tonight to issue an "iwpriv wlan0 reset 2" thinking that
might do it but to no avail.

I have flashed 1.5.6 into two of my 1.4.9 cards and am not doing a ram
upload on bootup...and for the past 30 minutes I see 11Mbps on both
boxes....I will try some heavy data transfers and see if anything happens
but it is my guess that all will be ok.

Thanks again for all your assistance Jouni...you have been extremely
helpful....and patient. I will let you know how fixed rate control works as
soon as I get a couple radios a few miles apart where conditions should
cause normal rate control.


Thanks!

-Dave



> On Tue, Apr 08, 2003 at 07:23:52PM -0700, Dave wrote:
>
> > I physically set two hostap boxes on my workbench about 5 feet apart,
> > installed two brand new radios, rebuilt hostap from the latest release
and
> > installed/configured...no luck on a successful, stable 11Mbps WDS link.
>
> Which transmit rates are being used with the CVS version (i.e., the one
> that is supposed to fix Repeater mode rate control)? Do you see
> different rates being used or only one? I would be interested in seeing
> /proc/net/hostap/wlan0/<other end hwaddr> statistics for the link.
>
> If the other end does not ACK frames for some reason, rate control
> algorithm will most certainly drop the rate. If that is the case, I
> would like to find out why the ACKs are not sent.
>
> If you want to test hardcoding rate control, that should also be fixed
> now (althought complete untested ;-) for Repeater mode. 'iwconfig wlan0
> rate 11M fixed' should in theory allow only rate 11M being selected for
> TX rate.
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




From hostapd  Wed Apr  9 01:27:23 2003
From: hostapd (Slavoj Hruska)
Date: Wed, 9 Apr 2003 08:27:23 +0000
Subject: Question abou Auth. and deauth.
Message-ID: <19352.030409@cybercity.sk>

Hello folks,


Example.

  AP1 - Chan 1  Essid Net1
  AP2 - Chan 10 Essid Net2

  SA1 - Chan 1  Essid Net1


sa1# iwconnfig wlan0 essid Net2

After that SA1 is associated and connected to AP2, but AP1 don't
deassociate SA1. SA1 comunicate with AP2 and not AP1, so why AP1 still
keep record about association of SA1 to itself?

Q: Is the bug at Client side, what client (SA1) don't send deassoc.
req to AP1 before send assoc. req. to AP2? Or is bug at AP side, and
don't correctly deassoc. SA1?

A: ????



Best regards,
 Slavoj                          mailto:hostapd at cybercity.sk





From hostapd  Wed Apr  9 02:26:31 2003
From: hostapd (Slavoj Hruska)
Date: Wed, 9 Apr 2003 09:26:31 +0000
Subject: Question abou Auth. and deauth.
In-Reply-To: <023e01c2fe64$6cc43d60$468101d9@pcwks356>
References: <023e01c2fe64$6cc43d60$468101d9@pcwks356>
Message-ID: <8393.030409@cybercity.sk>

Hello Manjunathan,

Wednesday, April 09, 2003, 6:51:18 AM, you wrote:

MP> Hi,
MP>   Whats happening is fine!

MP> This behaviour of both AP1 and SA1 is correct!

That's a real situation, that's a common, but is it fine?
Is it logical what when I (hostapd client SA1) change AP to other I
will not say to old AP good bye? That's like with girlfriends. If u
wana change it u need to say first one good bye. Common in real life is
what u change it before u say good bye and after timeout she know what
u leave, but is it correct? I don't known.

MP> The AP1 shall deassoc. SA1 after a timeout period of 300 seconds(check the
MP> source headers file, I am not about exactly value).

MP> Actually to strictly enforce single association, one must use the protocol
MP> called IAPP or IEEE802.11f/D5 draft.
I don't know too much about that standards. I am at first tester, user, and
at last a developper...


MP> In fact the IAPP or basic or simple version of inter access point protocol
MP> is implemented in Hostap.

MP> This protocol indicates to the old ap , that is AP1 on reassociating with
MP> AP2, and then AP1 shall deassoc SA1.
Is a problem to add may be few lines (IMHO: 2 max 3) to send deassoc
req. before change ESSID and try to find a new AP?

MP> U also need other network elements such as Radius server etc.
Radius server for authentification is nice, but that's don't meed our
goals.

MP> Cheers,
MP> Manjunathan Padua Y

Best regards,
 Slavoj                            mailto:hostapd at cybercity.sk





From hostap  Wed Apr  9 01:15:31 2003
From: hostap (Laszlo Halasz Hungary)
Date: Wed, 09 Apr 2003 10:15:31 +0200
Subject: WDS
Message-ID: <3E93D6A3.7070109@szivarvanynet.hu>

Hi everybody,

Excuse me for stupid question: what is the WDS?

Hal





From neverland11  Wed Apr  9 01:23:34 2003
From: neverland11 (=?iso-8859-1?B?Sm9oYW5uYSBH/GxseQ==?=)
Date: Wed, 09 Apr 2003 10:23:34 +0200
Subject: hostAP stat parameter 
Message-ID: <F3705Br6XfhS7nhJ3og0002a6f1@hotmail.com>

Hello,

I?m a new user and have to argue with the host AP driver for university.
Could anyone be so kind and explain the individual parameters of the 
following stat file?!?
I wrote my assumed explanation in // comments !!


STA=00:02:2d:61:2e:57  // wlan card with hardwareaddress
users=0  // ?
aid=1  // ?
flags=0x0003 AUTH ASSOC  // ?
capability=0x01   // ?
listen_interval=1 // ?
supported_rates=1Mbps 2Mbps 5.5Mbps 11Mbps //  supported rates :)
jiffies=688870  // ??
last_auth=520703  // ??
last_assoc=520704  // ??
last_rx=688854  // last received, indicated in bytes ?
last_tx=675072    // last transmitted, indicated in ?
rx_packets=401	// received packets
tx_packets=81	/packete
rx_bytes=60073	// received bytes -  current transmission ?
tx_bytes=13451	// transmitted bytes -  current transmission?
buffer_count=0	// ??
last_rx: silence=0 signal=45 rate=110 flow=0 // ??
tx_rate=110 // ??
tx[1M]=0  // ??
tx[2M]=0  // ??
tx[5.5M]=0  // ??
tx[11M]=81		/11Mbps
rx[1M]=0  // ??
rx[2M]=54		/2Mbps
rx[5.5M]=0  // ??
rx[11M]=375		/11Mbps
txexc=0  // ??


thank you very much for an immediate answer
Johanna


_________________________________________________________________
Messenger? - ?Wer in Echtzeit kommunizieren will, l?dt den MSN Messenger. 
Cool, kostenlos und mit 3D Emoticons:  http://messenger.msn.at




From dave  Wed Apr  9 01:54:33 2003
From: dave (Dave)
Date: Wed, 9 Apr 2003 01:54:33 -0700
Subject: WDS speed issues revisited
References: <000701c2fe3f$10b72cf0$f00aa8c0@ws7> <20030409044612.GA11197@jm.kir.nu> <000401c2fe5b$9e98ac80$f00aa8c0@ws7>
Message-ID: <000a01c2fe75$a41232c0$0a010a0a@ws7>

Jouni,

'iwconfig wlan0 rate 11M fixed'

does not fix the TX rate. In fact once I issue that command for one side of
a WDS link which is currently at 11Mbps, the rate drops to 2Mbps.

I think I understand Jean's comment that the RX is controlled by the
opposite ends TX...but if the opposite ends TX is fixed to 11M then in
theory wouldn't this ends RX receive at 11M....minus the overhead, retrys,
errors, birds, planes..

I am at least confident that the displayed speed via iwconfig wlan0 on each
side of the link in WDS/Repeater mode is accurate as I perform data
transfers each way and it is right at the displayed speed.

I also am pretty comfortable that the initial WDS issue was related to my FW
mishap...I now have radios seperated by 2.5 miles and initially get an
11Mbps link...which quickly turns into a 1Mbps link as soon as data starts
moving...but that is probably related to fade margin or something because I
do not have perfect LOS...but still it would be great to have it fixed at
11Mbps and deal with fade and errors and loss as a seperate issue.

Again thanks for all your help!

-Dave


>
> I think I may have found the issue and resolution...and it bums me out
> because I have been bit by this before...;(
>
> Some of my cards have STA FW of 1.5.6 and the rest have 1.4.9 or 1.3.6. I
> never worried much about permanantly flashing them up to 1.5.6 because my
> startup scripts do a ram upload at boot time....and I CAN talk WDS 4-ADDR
> then...so I thought all was good.
>
> On a hunch I used two cards that had 1.5.6 and did no ram upload on
> bootup...once the first ping packet from AP1 hit AP2 both WDS speeds
jumped
> up from 2Mbps to 11Mbps and stayed there even after packets stopped.
>
> I then tried a 1.5.6 card with no ram upload and a 1.4.9 card ram uploaded
> to 1.5.6 on bootup...sure enough I could talk WDS 4-ADDR but the 1.4.9
card
> was stuck at 2Mbps while the 1.5.6 card jumped to 11Mbps right away.
>
> This has bitten me before when trying to get WDS-4 working
previously...and
> I should have remembered the issue.
>
> Jouni (or anyone), what is the correct procedure to reinitialize a card
> after a ram upload in order to take advantage of the features of the newer
> FW. I have tried tonight to issue an "iwpriv wlan0 reset 2" thinking that
> might do it but to no avail.
>
> I have flashed 1.5.6 into two of my 1.4.9 cards and am not doing a ram
> upload on bootup...and for the past 30 minutes I see 11Mbps on both
> boxes....I will try some heavy data transfers and see if anything happens
> but it is my guess that all will be ok.
>
> Thanks again for all your assistance Jouni...you have been extremely
> helpful....and patient. I will let you know how fixed rate control works
as
> soon as I get a couple radios a few miles apart where conditions should
> cause normal rate control.
>
>
> Thanks!
>
> -Dave
>
>
>
> > On Tue, Apr 08, 2003 at 07:23:52PM -0700, Dave wrote:
> >
> > > I physically set two hostap boxes on my workbench about 5 feet apart,
> > > installed two brand new radios, rebuilt hostap from the latest release
> and
> > > installed/configured...no luck on a successful, stable 11Mbps WDS
link.
> >
> > Which transmit rates are being used with the CVS version (i.e., the one
> > that is supposed to fix Repeater mode rate control)? Do you see
> > different rates being used or only one? I would be interested in seeing
> > /proc/net/hostap/wlan0/<other end hwaddr> statistics for the link.
> >
> > If the other end does not ACK frames for some reason, rate control
> > algorithm will most certainly drop the rate. If that is the case, I
> > would like to find out why the ACKs are not sent.
> >
> > If you want to test hardcoding rate control, that should also be fixed
> > now (althought complete untested ;-) for Repeater mode. 'iwconfig wlan0
> > rate 11M fixed' should in theory allow only rate 11M being selected for
> > TX rate.
> >
> > --
> > Jouni Malinen                                            PGP id EFC895FA
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> >
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




From g9019  Wed Apr  9 02:41:50 2003
From: g9019 (Lien Chih-Feng)
Date: Wed, 9 Apr 2003 17:41:50 +0800
Subject: The user's location
Message-ID: <00c601c2fe7c$3ec828a0$0201a8c0@emit>

Dear all:

Is there any method to let me know all the client's in my AP's coverage
area?
(include the client's that association with other AP's in different channel
as mine).
Thanks for your answer.





From jlaraujo  Wed Apr  9 03:47:15 2003
From: jlaraujo (Jose Araujo)
Date: Wed, 09 Apr 2003 11:47:15 +0100
Subject: hostAP stat parameter
In-Reply-To: <F3705Br6XfhS7nhJ3og0002a6f1@hotmail.com>
References: <F3705Br6XfhS7nhJ3og0002a6f1@hotmail.com>
Message-ID: <3E93FA33.4020502@dti.pga.pt>

Hi,

I will comment those stats that i know inline, ok.

Johanna G?lly wrote:

>
> Hello,
>
> I?m a new user and have to argue with the host AP driver for university.
> Could anyone be so kind and explain the individual parameters of the 
> following stat file?!?
> I wrote my assumed explanation in // comments !!
>
>
> STA=00:02:2d:61:2e:57  // wlan card with hardwareaddress
> users=0  // ?
> aid=1  // ?
> flags=0x0003 AUTH ASSOC  // ?
> capability=0x01   // ?
> listen_interval=1 // ?
> supported_rates=1Mbps 2Mbps 5.5Mbps 11Mbps //  supported rates :)
> jiffies=688870  // ??
> last_auth=520703  // ?? 

maybe seconds since last auth

> last_assoc=520704  // ?? 

maybe seconds since last association

> last_rx=688854  // last received, indicated in bytes ?

seconds since last rx

> last_tx=675072    // last transmitted, indicated in ? 

seconds since last tx

> rx_packets=401    // received packets
> tx_packets=81    /packete
> rx_bytes=60073    // received bytes -  current transmission ? 

total bytes received

> tx_bytes=13451    // transmitted bytes -  current transmission? 

total bytes sent

> buffer_count=0    // ??
> last_rx: silence=0 signal=45 rate=110 flow=0 // ??
> tx_rate=110 // ?? 

current tx rate (110(11Mbps) 55(5.5Mbps) 20(2Mbps) 10(1Mbps))

> tx[1M]=0  // ??
> tx[2M]=0  // ??
> tx[5.5M]=0  // ??
> tx[11M]=81        /11Mbps 

packets transmitted per rate

> rx[1M]=0  // ??
> rx[2M]=54        /2Mbps
> rx[5.5M]=0  // ??
> rx[11M]=375        /11Mbps 

packets received per rate

> txexc=0  // ??
>
>
> thank you very much for an immediate answer
> Johanna

Hope it helps

Jose Araujo




From neverland11  Wed Apr  9 05:32:05 2003
From: neverland11 (=?iso-8859-1?B?Sm9oYW5uYSBH/GxseQ==?=)
Date: Wed, 09 Apr 2003 14:32:05 +0200
Subject: The user's location
Message-ID: <F51bJgaT7OVjlAexg63000045c6@hotmail.com>

that would also interest me:
which parameters (signalrate, etc) give information about the distance of 
the AP to the
individual Clients?
Is there any method to let me know all the client's in my AP's coverage
area? (include the client's that association with other AP's in different 
channel as mine).
Thanks for your answer.

johanna

_________________________________________________________________
Immer auf dem Laufenden mit den Mobile & Telekom News auf MSN! 
http://www.msn.at/mobil




From keentan_coldfire  Wed Apr  9 06:00:32 2003
From: keentan_coldfire (=?gb2312?q?tan=20keen?=)
Date: Wed, 9 Apr 2003 21:00:32 +0800 (CST)
Subject: Can anyone help me about win2k client talk with AP by 802.1x ?
Message-ID: <20030409130032.84567.qmail@web15310.mail.bjs.yahoo.com>


Hi,all

   I have run winXP client (DWL-520) with hostap(2002-10 release , DWL-520) and freeradius , it  works well . 

    But  , now i replace the winxp client with win2k's one( i have upgraded the win2000 sp3 and download client from MS's web site ), after configuring  the adapter to use 802.1x method , i found that the client can not talk with hostap(it seems the client can not send any useful frame to  ap) , Does  anyone  have the same experiences?

     when i disable the 802.1x method , the client can communicate with hostap by 802.11 frames .  

  The hostap can't support win2k client using 802.1x  ? Is there something wrong with win2k client using 802.1x ?

    Could you give me some suggests?   Thanks !!

best regards ,

keentan



---------------------------------
Do You Yahoo!?
"?????KTV, ????????OK~~"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030409/b2440e88/attachment.htm 


From neverland11  Wed Apr  9 06:03:41 2003
From: neverland11 (=?iso-8859-1?B?Sm9oYW5uYSBH/GxseQ==?=)
Date: Wed, 09 Apr 2003 15:03:41 +0200
Subject: beacons ??
Message-ID: <F19oG9Bvo93GhAUTfom0002db8b@hotmail.com>


hi to all,

sorry for that stupid question, but what are BEACONS ?

and what means
>beacon interval (1 = 1024 usec) what how long is 1 usec ?


thank you very much !!

johanna



_________________________________________________________________
Immer auf dem Laufenden mit den Mobile & Telekom News auf MSN! 
http://www.msn.at/mobil




From icardenas  Wed Apr  9 06:12:58 2003
From: icardenas (Israel Cardenas Romero)
Date: Wed, 9 Apr 2003 15:12:58 +0200
Subject: Can anyone help me about win2k client talk with AP by 802.1x ?
References: <20030409130032.84567.qmail@web15310.mail.bjs.yahoo.com>
Message-ID: <001001c2fe99$bdab80a0$7031a8c0@sevilla.sgi.es>

I've this problem too.


Hi,all
   I have run winXP client (DWL-520) with hostap(2002-10 release , DWL-520)
and freeradius , it  works well .
    But  , now i replace the winxp client with win2k's one( i have upgraded
the win2000 sp3 and download client from MS's web site ), after configuring
the adapter to use 802.1x method , i found that the client can not talk with
hostap(it seems the client can not send any useful frame to  ap) , Does
anyone  have the same experiences?
     when i disable the 802.1x method , the client can communicate with
hostap by 802.11 frames .
  The hostap can't support win2k client using 802.1x  ? Is there something
wrong with win2k client using 802.1x ?
    Could you give me some suggests?   Thanks !!
best regards ,
keentan




Do You Yahoo!?
"?????KTV, ????????OK~~"




From georg  Wed Apr  9 06:31:02 2003
From: georg (Georg Buschbeck)
Date: Wed, 9 Apr 2003 15:31:02 +0200
Subject: Problems with WEP Connection
Message-ID: <82255C5A-6A8F-11D7-9AFE-0003936AE28E@mow.ath.cx>

Hi,


I'm a new user to HostAP. I use the Siemens M11 i-gate PCMICA card ( 
and in future the PCI version, too). It's based on the PrismII. With 
HostAP i use today's CVS-Version.

1) When I run HostAP without using WEP, i doing very well, besides, 
dhcpd is not running on this interface?
2) Using WEP - The Connection get's established, but automaticly i 
can't send tcp/ip packets (ping) to the remote machine. I tried mapping 
the hardware adress manualy - and it worked.
But why doesn't it work automaticly?

My System:
Toshiba 4090 CDS,
linux 2.4.20,
wireless-tools Version 25

Any suggestions?

georg 




From g9019  Wed Apr  9 02:37:44 2003
From: g9019 (g9019)
Date: Wed, 9 Apr 2003 17:37:44 +0800
Subject: the user's location
Message-ID: <20030409093744.M4235@www.cs.nccu.edu.tw>

Dear all:

Is there any method to let me know all the client's in my AP's coverage area?
(include the client's that association with other AP's in different channel 
as mine).
Thanks for your answer.


--
Department of Computer Science
National Chengchi University, Taipei, Taiwan, R.O.C.




From hostap  Wed Apr  9 10:12:36 2003
From: hostap (Laszlo Halasz Hungary)
Date: Wed, 09 Apr 2003 19:12:36 +0200
Subject: WDS
In-Reply-To: <20030409090714.74533.qmail@web10907.mail.yahoo.com>
References: <20030409090714.74533.qmail@web10907.mail.yahoo.com>
Message-ID: <3E945484.5020801@szivarvanynet.hu>

Ok, thanks.

Then if i wish to make the public internet with HostAP, i must to use 
this thing (for security, etc) ?

Hal

Nikhil Chauhan ?rta:

> Wireless distribution system (WDS)
> ==================================
>
> IEEE 802.11 specifies a method for using wireless connection as a
> distribution system. A special data frame with four addresses is
> defined for this. This allows layer 2 bridging of packets (two
> addresses, the immediate sender and receiver, are required for 802.11
> frame acknowledgement; the other two addresses are the original
> sending and receiver of the frame).
>
>  */"Laszlo Halasz (Hungary)" <hostap at szivarvanynet.hu>/* wrote:
>
>     Hi everybody,
>
>     Excuse me for stupid question: what is the WDS?
>
>     Hal
>
>
>     _______________________________________________
>     HostAP mailing list
>     HostAP at shmoo.com
>     http://lists.shmoo.com/mailman/listinfo/hostap
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Tax Center 
> <http://us.rd.yahoo.com/finance/mailsig/*http://tax.yahoo.com> - File 
> online, calculators, forms, and more 





From neverland11  Wed Apr  9 10:58:20 2003
From: neverland11 (=?iso-8859-1?B?Sm9oYW5uYSBH/GxseQ==?=)
Date: Wed, 09 Apr 2003 19:58:20 +0200
Subject: what are beacons ??
Message-ID: <F363pQubaQYGpmIQT5C00006d67@hotmail.com>

hi to all,

sorry for that stupid question, but what are BEACONS ?

and:
- what means "beacon interval (1 = 1024 usec)"
- how long is 1 usec ?

thank you very much !!

johanna

_________________________________________________________________
Die aktuellsten Computer News gibts auf MSN! http://www.msn.at/computer




From tkallenberg  Wed Apr  9 11:06:51 2003
From: tkallenberg (Thomas Kallenberg)
Date: Wed, 9 Apr 2003 20:06:51 +0200
Subject: WDS
In-Reply-To: <3E93D6A3.7070109@szivarvanynet.hu>
References: <3E93D6A3.7070109@szivarvanynet.hu>
Message-ID: <200304092006.51929.tkallenberg@intergga.ch>

WDS (Wireless distibution system)

TK

On Wednesday April 9 2003 10:15, Laszlo Halasz (Hungary) wrote:
> Hi everybody,
>
> Excuse me for stupid question: what is the WDS?
>
> Hal
>
>

-- 
Thomas Kallenberg
tkallenberg at intergga.ch




From proski  Wed Apr  9 11:07:43 2003
From: proski (Pavel Roskin)
Date: Wed, 9 Apr 2003 14:07:43 -0400 (EDT)
Subject: Locking AP table incorrect?
Message-ID: <Pine.LNX.4.53.0304091355070.5692@marabou.research.att.com>

Hello!

I'm looking into the sources of CVS HostAP and I don't quite understand
why the AP table is locked when it's accessed for reading, but not for
writing.

Let's for example see prism2_hostapd_add_sta() in hostap_ap.c:

        spin_lock_bh(&ap->sta_table_lock);
        sta = ap_get_sta(ap, param->sta_addr);
        if (sta)
                atomic_inc(&sta->users);
        spin_unlock_bh(&ap->sta_table_lock);

        if (sta == NULL) {
                sta = ap_add_sta(ap, param->sta_addr);
                if (sta == NULL)
                        return -1;
        }

I see that ap_add_sta() locks the table, but the fact is, the lock is
being released for some time.  What happens is:

lock
check if station is already in the list
unlock
# bad things happen if somebody inserts station now
if station is not in the list:
    lock
    add station to the list
    unlock
end if

I think it would be better to move the check that the station is already
in the list inside ap_add_sta() and do it without releasing the lock.  If
necessary, an additional argument would specify if ap_add_sta() should
return an error or update the existing entry.

-- 
Regards,
Pavel Roskin



From proski  Wed Apr  9 11:13:05 2003
From: proski (Pavel Roskin)
Date: Wed, 9 Apr 2003 14:13:05 -0400 (EDT)
Subject: what are beacons ??
In-Reply-To: <F363pQubaQYGpmIQT5C00006d67@hotmail.com>
References: <F363pQubaQYGpmIQT5C00006d67@hotmail.com>
Message-ID: <Pine.LNX.4.53.0304091409190.5728@marabou.research.att.com>

Hello!

> sorry for that stupid question, but what are BEACONS ?

First hit on Google for "what are 802.11 beacons":
http://www.80211-planet.com/tutorials/article.php/1492071

> and:
> - what means "beacon interval (1 = 1024 usec)"
> - how long is 1 usec ?

1 usec is one microsecond.  If you set beacon interval to 1, it will be
sent with the interval 1024 microseconds, or 1.024 milliseconds.  Normally
about 10 beacons per second is OK, that would be beacon interval 100, or
0.1024 seconds.

-- 
Regards,
Pavel Roskin



From cijoml  Wed Apr  9 15:02:01 2003
From: cijoml (Michal Semler)
Date: Thu, 10 Apr 2003 00:02:01 +0200
Subject: kismet and prismstumbler with hostap???
Message-ID: <E193Ndq-0002RN-00@notas>

Jouni,

Can I now with patches like wlan-ng use kismet and prismstumbler as with 
wlan-ng?

Thanks for reply

Michal



From jim  Wed Apr  9 19:12:11 2003
From: jim (Jim TerWee)
Date: Wed, 9 Apr 2003 21:12:11 -0500 (CDT)
Subject: kismet and prismstumbler with hostap???
In-Reply-To: <E193Ndq-0002RN-00@notas>
References: <E193Ndq-0002RN-00@notas>
Message-ID: <45412.207.41.64.14.1049940731.squirrel@207.41.64.133>

I have been using kismet for a while now with hostap. A quick google
hostap + kismet
http://www.kismetwireless.net/cards.shtml
will give you all the info you need to know;)

> Jouni,
>
> Can I now with patches like wlan-ng use kismet and prismstumbler as with
>  wlan-ng?
>
> Thanks for reply
>
> Michal

-- 
Jim TerWee       | Our capacity for understanding is
jim at terwee.com   | inversely proportional to how
Invisimax        | much we think we know. The more I
                 | know, the more I don't know!





From gilad  Wed Apr  9 23:36:13 2003
From: gilad (Gilad Suberri)
Date: Thu, 10 Apr 2003 02:36:13 -0400 (EDT)
Subject: Hostapd FreeRadius XSupplicant
Message-ID: <Pine.SOL.4.44.0304100225550.27936-100000@rac3.wam.umd.edu>

Hi, I have two computers setup, one is running FreeRadius and a wireless
card in Master mode, the other is running XSupplicant and a wirless card
in Managed mode.  I start Hostapd and FreeRadius and then use XSupplicant
to connect.  The freeradius server eventually crashes with this error:
relocation error: /usr/..../rlm_eap_tls_0.8.1.so: undefined symbol
SSL_set_msg_callback.
The hostapd daemon gives these messages at this time:
IEEE 802.1x : Unauthorized station

Any ideas? Thanks.

Gilad





From gooog77  Wed Apr  9 23:59:40 2003
From: gooog77 (Teresa)
Date: Thu, 10 Apr 2003 14:59:40 +0800
Subject: Hostapd reload signal
Message-ID: <OE29o6wDEG9jYQHmIl400025d8a@hotmail.com>

Dear all,

Does anybody knows how to implement 
hostapd reload function?
Or there is a available reload function for hostapd???

What else should I do to handle reload signal 
except for open/close sockets, remove stations added to deny list.

Thanks in advance.





From v.srinivas  Thu Apr 10 00:12:48 2003
From: v.srinivas (v.srinivas)
Date: Thu, 10 Apr 2003 12:42:48 +0530
Subject: Reg. Fragmentation
Message-ID: <00a501c2ff30$985dea80$6000a8c0@Srinivas>

Dear all,

I need u people help to clarfy my doubts ....

How we are going to Decide about Frag threshold value...
means, if we want to change Frag threshold dynamically, for more reliable transmission  ..

How and in what way we've to calculate...
what are all the parameters we've to consider while calculating 

whether it depends on BaseBand Processor parameters, if so how and whar are they?

Thanks and Regards,
Srinvas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030410/b11b07b4/attachment.htm 


From kalle.svensson  Thu Apr 10 00:32:05 2003
From: kalle.svensson (Kalle Svensson)
Date: Thu, 10 Apr 2003 09:32:05 +0200
Subject: WDS
In-Reply-To: <3E93D6A3.7070109@szivarvanynet.hu>
References: <3E93D6A3.7070109@szivarvanynet.hu>
Message-ID: <3E951DF5.5070906@landala.com>

Hello!

Use the net, and have a look at 
http://www.proxim.com/support/techbulletins/TB-046.pdf

   ///Kalle


Laszlo Halasz (Hungary) wrote:
> Hi everybody,
> 
> Excuse me for stupid question: what is the WDS?
> 
> Hal
> 
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 




From gooog77  Thu Apr 10 03:05:34 2003
From: gooog77 (Teresa)
Date: Thu, 10 Apr 2003 18:05:34 +0800
Subject: EAP Identifier
Message-ID: <OE12kUwWpSWerOc0Ne000014733@hotmail.com>

What may cause the following error messages?
EAP Identifier of the Response-Identity from xx-xx-xx-xx-xx-xx does not
match(was 23, expected 24)



From valen  Thu Apr 10 05:35:41 2003
From: valen (=?ISO-8859-1?Q?Jussi_M=E4ki?=)
Date: Thu, 10 Apr 2003 15:35:41 +0300 (EEST)
Subject: PATCH: Operational rates
Message-ID: <Pine.LNX.4.44.0304101518370.219-100000@kone.ihanaa.org>

This patch adds prism2_param 33 to set tx_rate_control to bitmap
specified so you can set specific rates, syntax is exactly the same as in
basic_rates.

For example: "iwpriv wlan0 prism2_param 33 6" will set
tx_rate_control to rates 2Mbps and 5.5Mbps.

---
Index: driver/modules/hostap_ioctl.c
===================================================================
RCS file: /cvs/hostap/driver/modules/hostap_ioctl.c,v
retrieving revision 1.32
diff -u -r1.32 hostap_ioctl.c
--- driver/modules/hostap_ioctl.c	8 Apr 2003 04:08:27 -0000	1.32
+++ driver/modules/hostap_ioctl.c	10 Apr 2003 12:32:27 -0000
@@ -1916,6 +1916,11 @@
 	  IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "basic_rates" },
 	{ PRISM2_PARAM_BASIC_RATES,
 	  0, IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, "getbasic_rates" },
+	{ PRISM2_PARAM_OPER_RATES,
+	  IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "oper_rates" },
+	{ PRISM2_PARAM_OPER_RATES,
+	  0, IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, "getoper_rates" },
+
 #endif /* PRISM2_USE_WE_SUB_IOCTLS */
 #endif /* WIRELESS_EXT >= 12 */
 };
@@ -2255,6 +2260,15 @@
 			ret = -EINVAL;
 		break;

+	case PRISM2_PARAM_OPER_RATES:
+		local->tx_rate_control = value;
+		if (hostap_set_word(dev, HFA384X_RID_TXRATECONTROL,
+		                    local->tx_rate_control) ||
+				    hostap_set_word(dev, HFA384X_RID_CNFSUPPORTEDRATES,
+	                            local->tx_rate_control) || local->func->reset_port(dev))
+			ret = -EINVAL;
+		break;
+
 	default:
 		printk(KERN_DEBUG "%s: prism2_param: unknown param %d\n",
 		       dev->name, param);
@@ -2432,6 +2446,10 @@
 		*param = local->basic_rates;
 		break;

+	case PRISM2_PARAM_OPER_RATES:
+		*param = local->tx_rate_control;
+		break;
+
 	default:
 		printk(KERN_DEBUG "%s: get_prism2_param: unknown param %d\n",
 		       dev->name, *param);
Index: driver/modules/hostap_wlan.h
===================================================================
RCS file: /cvs/hostap/driver/modules/hostap_wlan.h,v
retrieving revision 1.45
diff -u -r1.45 hostap_wlan.h
--- driver/modules/hostap_wlan.h	8 Apr 2003 04:08:27 -0000	1.45
+++ driver/modules/hostap_wlan.h	10 Apr 2003 12:32:28 -0000
@@ -881,6 +881,7 @@
 	PRISM2_PARAM_ENH_SEC = 30,
 	PRISM2_PARAM_IO_DEBUG = 31,
 	PRISM2_PARAM_BASIC_RATES = 32,
+	PRISM2_PARAM_OPER_RATES = 33,
 };

 enum { HOSTAP_ANTSEL_DO_NOT_TOUCH = 0, HOSTAP_ANTSEL_DIVERSITY = 1,




From entwisi  Thu Apr 10 06:44:21 2003
From: entwisi (entwisi)
Date: 10 Apr 2003 14:44:21 +0100
Subject: Mandrake 9.1 compile errors
Message-ID: <1049982260.3583.7.camel@ianserver.localhost>

Hi,
	I have been using the hostapp drivers under MDK9.0 for some time now. I
decided (foolishly) to upgrade to MDK9.1. The upgrade screwed up so I
did a clean install. MDK now recognised my Prism 2.5 PCI card(Actiontec)
and installed the orinoco drivers. However my client PCs can no longer
connect. So I would like to return to the hostap drivers but when trying
to compile them I get lots of errors as below. Any help greatly
appreciated.


Ian
output from 'make pci'
gcc -I/usr/src/linux/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c 
-I/usr/src/linux/arch/i386/mach-generic
-I/usr/src/linux/include/asm/mach-default -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -E -D__GENKSYMS__
driver/modules/hostap.c | \
        /sbin/genksyms -k 2.4.21 > driver/modules/hostap.ver
<command line>:134671887:256:
/usr/src/linux/include/linux/modversions.h: No such file or directory
gcc -I/usr/src/linux/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c 
-I/usr/src/linux/arch/i386/mach-generic
-I/usr/src/linux/include/asm/mach-default -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -E -D__GENKSYMS__
driver/modules/hostap_crypt.c | \
        /sbin/genksyms -k 2.4.21 > driver/modules/hostap_crypt.ver
<command line>:134671887:256:
/usr/src/linux/include/linux/modversions.h: No such file or directory
gcc -I/usr/src/linux/include -include driver/modules/hostap_crypt.ver
-include driver/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -g
-c  -I/usr/src/linux/arch/i386/mach-generic
-I/usr/src/linux/include/asm/mach-default -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -o
driver/modules/hostap_pci.o driver/modules/hostap_pci.c
<command line>:3:1: /usr/src/linux/include/linux/modversions.h: No such
file or directory
In file included from driver/modules/hostap_wlan.h:8,
                 from driver/modules/hostap_pci.c:24:
driver/modules/hostap_crypt.h:40: `_set_ver' declared as function
returning a function
driver/modules/hostap_crypt.h:40: warning: parameter names (without
types) in function declaration
driver/modules/hostap_crypt.h:41: `_set_ver' declared as function
returning a function
driver/modules/hostap_crypt.h:41: warning: parameter names (without
types) in function declaration
driver/modules/hostap_crypt.h:42: `_set_ver' declared as function
returning a function
driver/modules/hostap_crypt.h:42: warning: parameter names (without
types) in function declaration
In file included from driver/modules/hostap_hw.c:57,
                 from driver/modules/hostap_pci.c:164:
driver/modules/hostap.h:6: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:6: conflicting types for `_set_ver'
driver/modules/hostap_crypt.h:42: previous declaration of `_set_ver'
driver/modules/hostap.h:12: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:12: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:12: conflicting types for `_set_ver'
driver/modules/hostap.h:6: previous declaration of `_set_ver'
driver/modules/hostap.h:13: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:13: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:14: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:14: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:15: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:15: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:16: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:16: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:18: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:18: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:20: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:20: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:21: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:21: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:22: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:22: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:23: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:23: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:24: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:24: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:25: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:25: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:26: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:26: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:28: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:28: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:29: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:29: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:34: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:34: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:35: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:35: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:40: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:40: warning: parameter names (without types) in
function declaration
driver/modules/hostap.h:41: `_set_ver' declared as function returning a
function
driver/modules/hostap.h:41: warning: parameter names (without types) in
function declaration
In file included from driver/modules/hostap_hw.c:58,
                 from driver/modules/hostap_pci.c:164:
driver/modules/hostap_ap.h:208: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:208: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:209: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:209: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:210: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:210: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:212: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:212: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:222: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:222: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:223: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:223: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:225: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:225: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:230: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:230: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:233: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:233: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:234: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:234: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:235: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:235: warning: parameter names (without types)
in function declaration
driver/modules/hostap_ap.h:239: `_set_ver' declared as function
returning a function
driver/modules/hostap_ap.h:239: warning: parameter names (without types)
in function declaration
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_setup_rids':
driver/modules/hostap_hw.c:872: `hostap_get_porttype' undeclared (first
use in this function)
driver/modules/hostap_hw.c:872: (Each undeclared identifier is reported
only once
driver/modules/hostap_hw.c:872: for each function it appears in.)
driver/modules/hostap_hw.c:872: called object is not a function
driver/modules/hostap_hw.c:873: `hostap_set_word' undeclared (first use
in this function)
driver/modules/hostap_hw.c:873: called object is not a function
driver/modules/hostap_hw.c:884: `hostap_set_string' undeclared (first
use in this function)
driver/modules/hostap_hw.c:885: called object is not a function
driver/modules/hostap_hw.c:893: called object is not a function
driver/modules/hostap_hw.c:915: called object is not a function
driver/modules/hostap_hw.c:923: called object is not a function
driver/modules/hostap_hw.c:933: called object is not a function
driver/modules/hostap_hw.c:943: called object is not a function
driver/modules/hostap_hw.c:952: called object is not a function
driver/modules/hostap_hw.c:962: called object is not a function
driver/modules/hostap_hw.c:969: called object is not a function
driver/modules/hostap_hw.c:987: called object is not a function
driver/modules/hostap_hw.c:994: called object is not a function
driver/modules/hostap_hw.c:1003: called object is not a function
driver/modules/hostap_hw.c:1005: `hostap_set_encryption' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1005: called object is not a function
driver/modules/hostap_hw.c:1010: `hostap_set_antsel' undeclared (first
use in this function)
driver/modules/hostap_hw.c:1010: called object is not a function
driver/modules/hostap_hw.c:1014: called object is not a function
driver/modules/hostap_hw.c:1020: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `handle_reset_queue':
driver/modules/hostap_hw.c:1311: `hostap_netif_wake_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1311: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_transmit_cb':
driver/modules/hostap_hw.c:1399: `hostap_netif_wake_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1399: called object is not a function
driver/modules/hostap_hw.c:1428: `hostap_netif_stop_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1428: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_transmit':
driver/modules/hostap_hw.c:1450: `hostap_netif_stop_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1450: called object is not a function
driver/modules/hostap_hw.c:1463: `hostap_get_stats' undeclared (first
use in this function)
driver/modules/hostap_hw.c:1463: called object is not a function
driver/modules/hostap_hw.c:1465: `hostap_netif_wake_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1465: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_tx':
driver/modules/hostap_hw.c:1598: `hostap_get_stats' undeclared (first
use in this function)
driver/modules/hostap_hw.c:1598: called object is not a function
driver/modules/hostap_hw.c:1785: `hostap_handle_sta_tx' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1786: called object is not a function
driver/modules/hostap_hw.c:1794: `hostap_dump_tx_header' undeclared
(first use in this function)
driver/modules/hostap_hw.c:1794: called object is not a function
driver/modules/hostap_hw.c:1886: called object is not a function
driver/modules/hostap_hw.c:2021: `hostap_handle_sta_release' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2021: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_rx_80211':
driver/modules/hostap_hw.c:2160: `hostap_80211_get_hdrlen' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2160: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `monitor_rx':
driver/modules/hostap_hw.c:2284: `hostap_get_stats' undeclared (first
use in this function)
driver/modules/hostap_hw.c:2284: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_rx':
driver/modules/hostap_hw.c:2426: `hostap_get_stats' undeclared (first
use in this function)
driver/modules/hostap_hw.c:2426: called object is not a function
driver/modules/hostap_hw.c:2467: `hostap_dump_rx_header' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2467: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `hostap_rx_frame_mgmt':
driver/modules/hostap_hw.c:2616: `hostap_rx' undeclared (first use in
this function)
driver/modules/hostap_hw.c:2616: called object is not a function
driver/modules/hostap_hw.c: In function `hostap_rx_frame_decrypt':
driver/modules/hostap_hw.c:2723: `hostap_handle_sta_crypto' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2723: called object is not a function
driver/modules/hostap_hw.c:2773: `hostap_handle_sta_release' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2773: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `hostap_rx_skb':
driver/modules/hostap_hw.c:2795: `hostap_get_stats' undeclared (first
use in this function)
driver/modules/hostap_hw.c:2795: called object is not a function
driver/modules/hostap_hw.c:2808: `hostap_dump_rx_header' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2808: called object is not a function
driver/modules/hostap_hw.c:2832: called object is not a function
driver/modules/hostap_hw.c:2850: `hostap_handle_sta_rx' undeclared
(first use in this function)
driver/modules/hostap_hw.c:2850: called object is not a function
driver/modules/hostap_hw.c:2961: called object is not a function
driver/modules/hostap_hw.c:3006: `hostap_is_sta_assoc' undeclared (first
use in this function)
driver/modules/hostap_hw.c:3006: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_alloc_ev':
driver/modules/hostap_hw.c:3091: `hostap_netif_wake_queues' undeclared
(first use in this function)
driver/modules/hostap_hw.c:3091: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `hostap_tx_callback':
driver/modules/hostap_hw.c:3159: `hostap_80211_get_hdrlen' undeclared
(first use in this function)
driver/modules/hostap_hw.c:3159: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `hostap_sta_tx_exc_tasklet':
driver/modules/hostap_hw.c:3273: `hostap_handle_sta_tx_exc' undeclared
(first use in this function)
driver/modules/hostap_hw.c:3273: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `hostap_info_tasklet':
driver/modules/hostap_hw.c:3369: `hostap_info_process' undeclared (first
use in this function)
driver/modules/hostap_hw.c:3369: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_check_sta_fw_version':
driver/modules/hostap_hw.c:3714: `hostap_check_sta_fw_version'
undeclared (first use in this function)
driver/modules/hostap_hw.c:3714: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_init_local_data':
driver/modules/hostap_hw.c:4004: `hostap_set_multicast_list_queue'
undeclared (first use in this function)
driver/modules/hostap_hw.c:4004: warning: passing arg 2 of
`HOSTAP_QUEUE_INIT' makes pointer from integer without a cast
driver/modules/hostap_hw.c:4010: `hostap_info_init' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4010: called object is not a function
driver/modules/hostap_hw.c:4044: `hostap_setup_dev' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4044: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_init_dev':
driver/modules/hostap_hw.c:4130: `hostap_init_proc' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4130: called object is not a function
driver/modules/hostap_hw.c:4135: `hostap_init_data' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4135: called object is not a function
In file included from driver/modules/hostap_pci.c:164:
driver/modules/hostap_hw.c: In function `prism2_free_local_data':
driver/modules/hostap_hw.c:4183: `hostap_free_data' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4183: called object is not a function
driver/modules/hostap_hw.c:4189: `hostap_remove_proc' undeclared (first
use in this function)
driver/modules/hostap_hw.c:4189: called object is not a function
driver/modules/hostap_pci.c: In function `prism2_pci_suspend':
driver/modules/hostap_pci.c:344: `hostap_netif_stop_queues' undeclared
(first use in this function)
driver/modules/hostap_pci.c:344: called object is not a function
make: *** [driver/modules/hostap_pci.o] Error 1





From pfoy  Thu Apr 10 06:03:02 2003
From: pfoy (Foy, Patrick)
Date: Thu, 10 Apr 2003 09:03:02 -0400
Subject: Authentication and Association with WDS
Message-ID: <EF5625F9F795C94BA28B150706A21548A05267@MAIL>

Is there a way to have the prism2 NIC initiate the authentication and
association management frames when using WDS?  Normally, when the NIC is in
station mode, it kicks off this process; however, this handshaking is
missing with WDS because the NIC doesn't perform this function in AP mode.

Any thoughts?

Patrick .  



From gilad  Thu Apr 10 06:49:59 2003
From: gilad (Gilad Suberri)
Date: Thu, 10 Apr 2003 09:49:59 -0400
Subject: Hostapd FreeRadius XSupplicant
References: <F743Vqg35QykZG4HFIy000150d9@hotmail.com>
Message-ID: <003e01c2ff68$189cb500$6501a8c0@hyatsv01.md.comcast.net>

Hey thanks for the help. Did you get yours to work? If not, where are you
getting stuck?
Do you think there are more problems then just the certificate, it seems
weird that an expired certificate would crash the freeradius?

Gilad

----- Original Message -----
From: "Johnny zhang" <mysockit at hotmail.com>
To: <gilad at wam.umd.edu>
Sent: Thursday, April 10, 2003 9:11 AM
Subject: Re: Hostapd FreeRadius XSupplicant


> Hi gilad:
>
> If you followed this howto:
> http://www.missl.cs.umd.edu/wireless/eaptls/
>
> Do not use the "cert.tgz",the files expired.
> You need to creat your own certification files.
>
>
>
>
> >From: Gilad Suberri <gilad at wam.umd.edu>
> >To: hostap at shmoo.com
> >Subject: Hostapd FreeRadius XSupplicant
> >Date: Thu, 10 Apr 2003 02:36:13 -0400 (EDT)
> >
> >Hi, I have two computers setup, one is running FreeRadius and a wireless
> >card in Master mode, the other is running XSupplicant and a wirless card
> >in Managed mode.  I start Hostapd and FreeRadius and then use XSupplicant
> >to connect.  The freeradius server eventually crashes with this error:
> >relocation error: /usr/..../rlm_eap_tls_0.8.1.so: undefined symbol
> >SSL_set_msg_callback.
> >The hostapd daemon gives these messages at this time:
> >IEEE 802.1x : Unauthorized station
> >
> >Any ideas? Thanks.
> >
> >Gilad
> >
> >
> >_______________________________________________
> >HostAP mailing list
> >HostAP at shmoo.com
> >http://lists.shmoo.com/mailman/listinfo/hostap
>
>
> _________________________________________________________________
> ?????????????? MSN Messenger:  http://messenger.msn.com/cn
>




From jkmaline  Thu Apr 10 06:47:31 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 10 Apr 2003 06:47:31 -0700
Subject: PATCH: Operational rates
In-Reply-To: <Pine.LNX.4.44.0304101518370.219-100000@kone.ihanaa.org>
References: <Pine.LNX.4.44.0304101518370.219-100000@kone.ihanaa.org>
Message-ID: <20030410134731.GA1644@jm.kir.nu>

On Thu, Apr 10, 2003 at 03:35:41PM +0300, Jussi M?ki wrote:

> This patch adds prism2_param 33 to set tx_rate_control to bitmap
> specified so you can set specific rates, syntax is exactly the same as in
> basic_rates.

What would this be used for? 'iwconfig wlan0 rate <val>' is already
implemented and is the standard way of setting that value.

-- 
Jouni Malinen                                            PGP id EFC895FA



From OIzhvanov  Thu Apr 10 06:12:11 2003
From: OIzhvanov (Oleg Izhvanov)
Date: Thu, 10 Apr 2003 10:12:11 -0300
Subject: Hostapd FreeRadius XSupplicant
In-Reply-To: <Pine.SOL.4.44.0304100225550.27936-100000@rac3.wam.umd.edu>
References: <Pine.SOL.4.44.0304100225550.27936-100000@rac3.wam.umd.edu>
Message-ID: <3E956DAB.5090606@rfmd.com>

Gilad Suberri wrote:

> Hi, I have two computers setup, one is running FreeRadius and a wireless
> card in Master mode, the other is running XSupplicant and a wirless card
> in Managed mode.  I start Hostapd and FreeRadius and then use XSupplicant
> to connect.  The freeradius server eventually crashes with this error:
> relocation error: /usr/..../rlm_eap_tls_0.8.1.so: undefined symbol
> SSL_set_msg_callback.
> The hostapd daemon gives these messages at this time:
> IEEE 802.1x : Unauthorized station

What version of OpenSSL do you use ? Such errors are common when OpenSSL
version installed differs from that is expected by FreeRADIUS EAP/TLS
module.I don't know whether OpenSSL coming with RedHat 8.0 is suitable
for FreeRADIUS. There is one document, which might help you, related to
FreeRADIUS setup & XSupplicant setup:

http://www.missl.cs.umd.edu/wireless/eaptls/

Try to use version of OpenSSL from within the document or get
latest CVS version of OpenSSL.

-- 
BR, Oleg Izhvanov <oleg.izhvanov at rfmd.com>




From jkmaline  Thu Apr 10 06:51:18 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 10 Apr 2003 06:51:18 -0700
Subject: Hostapd FreeRadius XSupplicant
In-Reply-To: <Pine.SOL.4.44.0304100225550.27936-100000@rac3.wam.umd.edu>
References: <Pine.SOL.4.44.0304100225550.27936-100000@rac3.wam.umd.edu>
Message-ID: <20030410135118.GB1644@jm.kir.nu>

On Thu, Apr 10, 2003 at 02:36:13AM -0400, Gilad Suberri wrote:

> Hi, I have two computers setup, one is running FreeRadius and a wireless
> card in Master mode, the other is running XSupplicant and a wirless card
> in Managed mode.  I start Hostapd and FreeRadius and then use XSupplicant
> to connect.  The freeradius server eventually crashes with this error:
> relocation error: /usr/..../rlm_eap_tls_0.8.1.so: undefined symbol
> SSL_set_msg_callback.

That is really not a Host AP problem and I would suggest using
FreeRADIUS mailing lists for this question. Anyway, that looks like a
mismatch between openssl library versions used during build and during
execution of the program. EAP-TSL in FreeRADIUS requires quite new
version of openssl.

-- 
Jouni Malinen                                            PGP id EFC895FA



From valen  Thu Apr 10 07:08:39 2003
From: valen (=?ISO-8859-1?Q?Jussi_M=E4ki?=)
Date: Thu, 10 Apr 2003 17:08:39 +0300 (EEST)
Subject: PATCH: Operational rates
In-Reply-To: <20030410134731.GA1644@jm.kir.nu>
Message-ID: <Pine.LNX.4.44.0304101706410.219-100000@kone.ihanaa.org>

> > This patch adds prism2_param 33 to set tx_rate_control to bitmap
> > specified so you can set specific rates, syntax is exactly the same as in
> > basic_rates.
>
> What would this be used for? 'iwconfig wlan0 rate <val>' is already
> implemented and is the standard way of setting that value.

True, but the reason i want this is to lock rates to 5.5Mbps and 11Mbps so
when large number of clients is connected the ap doesnt need to jump back
and forth between different modulations..




From christian_marx  Thu Apr 10 09:50:31 2003
From: christian_marx (Christian Marx)
Date: Thu, 10 Apr 2003 18:50:31 +0200
Subject: Newbie questions, access problems
Message-ID: <3E95A0D7.3050000@web.de>

Hi,

i?ve got some newbie questions.
I try to create an access point on a RedHat Linux 7.3 maschine.
These are the specs:

AMD K6 II/300
NetGear MA311 wireless PCI adapter
Intel EthernetPro 100 wired PCI adapter
RedHat Linux 7.3
Kernel 2.4.18-27.7.x

I've no problems to compile and activate the drivers and the daemon.
My problems began when i try to access my WLAN.

I can see the WLAN.
I can access the WLAN.

But i?ve no chance to get an IP adress from the DHCP Server.
Also i?ve got no chance to "ping" some machines in my wired network, 
even when i configure a fixed IP Adress on my wireless client.

My network looks like this:

IP address eth0 192.168.15.250/255.255.255.240
IP address eth0:0 192.168.15.251/255.255.255.240
IP address eth0:1 192.168.15.252/255.255.255.240
IP address eth1 192.168.15.253/255.255.255.240
IP address wlan0 192.168.5.254/255.255.255.248

Default gateway 192.168.15.254
No iptables rulebase.

The DHCP Server looks on the interface wlan0.

And here are my questions:
Do i need another network configuration ?
Do i need the bridging functionality ?

Thank you for every informations !

Christian





From mrcool  Thu Apr 10 11:12:26 2003
From: mrcool (Jerry)
Date: Thu, 10 Apr 2003 13:12:26 -0500
Subject: Newbie questions, access problems
References: <3E95A0D7.3050000@web.de>
Message-ID: <003b01c2ff8c$be545f60$0e04000a@terraworld.net>

if the MA311 is a pcmcia card, and the machine ISNT a laptop, then the
problem is usually the pcmcia/pci bridge.  (at least that the problems i
always have are.) more info, please
Jerry
----- Original Message -----
From: "Christian Marx" <christian_marx at web.de>
To: <hostap at shmoo.com>
Sent: Thursday, April 10, 2003 11:50 AM
Subject: Newbie questions, access problems


> Hi,
>
> i?ve got some newbie questions.
> I try to create an access point on a RedHat Linux 7.3 maschine.
> These are the specs:
>
> AMD K6 II/300
> NetGear MA311 wireless PCI adapter
> Intel EthernetPro 100 wired PCI adapter
> RedHat Linux 7.3
> Kernel 2.4.18-27.7.x
>
> I've no problems to compile and activate the drivers and the daemon.
> My problems began when i try to access my WLAN.
>
> I can see the WLAN.
> I can access the WLAN.
>
> But i?ve no chance to get an IP adress from the DHCP Server.
> Also i?ve got no chance to "ping" some machines in my wired network,
> even when i configure a fixed IP Adress on my wireless client.
>
> My network looks like this:
>
> IP address eth0 192.168.15.250/255.255.255.240
> IP address eth0:0 192.168.15.251/255.255.255.240
> IP address eth0:1 192.168.15.252/255.255.255.240
> IP address eth1 192.168.15.253/255.255.255.240
> IP address wlan0 192.168.5.254/255.255.255.248
>
> Default gateway 192.168.15.254
> No iptables rulebase.
>
> The DHCP Server looks on the interface wlan0.
>
> And here are my questions:
> Do i need another network configuration ?
> Do i need the bridging functionality ?
>
> Thank you for every informations !
>
> Christian
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




From rene  Thu Apr 10 11:51:31 2003
From: rene (Rene Scherer)
Date: Thu, 10 Apr 2003 19:51:31 +0100 (BST)
Subject: hostap driver with 802.11g chipset
Message-ID: <50003.139.149.1.194.1050000691.squirrel@www.scherer-online.com>

Hi all

I was wondering if anyone has tried this hostap driver with any of the new
11g PCI cards (e.g. Belkin 54g Wireless Desktop Network Card F5D7000)?

Thanks very much,
Rene







From christian_marx  Thu Apr 10 11:58:49 2003
From: christian_marx (Christian Marx)
Date: Thu, 10 Apr 2003 20:58:49 +0200
Subject: Newbie questions, access problems
In-Reply-To: <003b01c2ff8c$be545f60$0e04000a@terraworld.net>
References: <3E95A0D7.3050000@web.de> <003b01c2ff8c$be545f60$0e04000a@terraworld.net>
Message-ID: <3E95BEE9.3000603@vionetz.de>

Jerry wrote:
> if the MA311 is a pcmcia card, and the machine ISNT a laptop, then the
> problem is usually the pcmcia/pci bridge.  (at least that the problems i
> always have are.) more info, please
> Jerry
> ----- Original Message -----
> From: "Christian Marx" <christian_marx at web.de>
> To: <hostap at shmoo.com>
> Sent: Thursday, April 10, 2003 11:50 AM
> Subject: Newbie questions, access problems
> 
> 
> 
>>Hi,
>>
>>i?ve got some newbie questions.
>>I try to create an access point on a RedHat Linux 7.3 maschine.
>>These are the specs:
>>
>>AMD K6 II/300
>>NetGear MA311 wireless PCI adapter
>>Intel EthernetPro 100 wired PCI adapter
>>RedHat Linux 7.3
>>Kernel 2.4.18-27.7.x
>>
>>I've no problems to compile and activate the drivers and the daemon.
>>My problems began when i try to access my WLAN.
>>
>>I can see the WLAN.
>>I can access the WLAN.
>>
>>But i?ve no chance to get an IP adress from the DHCP Server.
>>Also i?ve got no chance to "ping" some machines in my wired network,
>>even when i configure a fixed IP Adress on my wireless client.
>>
>>My network looks like this:
>>
>>IP address eth0 192.168.15.250/255.255.255.240
>>IP address eth0:0 192.168.15.251/255.255.255.240
>>IP address eth0:1 192.168.15.252/255.255.255.240
>>IP address eth1 192.168.15.253/255.255.255.240
>>IP address wlan0 192.168.5.254/255.255.255.248
>>
>>Default gateway 192.168.15.254
>>No iptables rulebase.
>>
>>The DHCP Server looks on the interface wlan0.
>>
>>And here are my questions:
>>Do i need another network configuration ?
>>Do i need the bridging functionality ?
>>
>>Thank you for every informations !
>>
>>Christian
>>
>>
>>_______________________________________________
>>HostAP mailing list
>>HostAP at shmoo.com
>>http://lists.shmoo.com/mailman/listinfo/hostap
>>
> 
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
Thank you for the response,

here some more infos.
The Netgear MA311 is a normal Wireless PCI network card.

Christian
-- 
chmarx at gmx.net
christian_marx at web.de





From jeetendra  Thu Apr 10 23:00:18 2003
From: jeetendra (Jeetendra Kumar)
Date: Fri, 11 Apr 2003 11:30:18 +0530
Subject: kernel NULL pointer dereference with hostap_cs
Message-ID: <3E9659F2.8060905@alumnux.com>

Hi All,
I need your help.
I am using US Robotics IEEE 802.11b PC-CARD. When I start the cardmgr I 
get the following message

Unable to handle kernel NULL pointer dereference at virtual address 00000010
 printing eip:
c0230baa
*pde = 00000000
Oops: 0002
CPU:    0
EIP:    0010:[<c0230baa>]    Not tainted
EFLAGS: 00010246
eax: 00000000   ebx: c72d9000   ecx: c02e9463   edx: c72d9000
esi: c6efe600   edi: 00000000   ebp: 00000000   esp: c6b21ed8
ds: 0018   es: 0018   ss: 0018
Process ip (pid: 912, stackpage=c6b21000)
Stack: 00000000 00000000 ffffffff c116c220 c6efe600 00000001 c0252da0 
c6efe600
       c6efe600 00001002 00001003 c025442f c6efe600 00000000 c6b21f58 
c6efe600
       00000000 c0289234 c6efe600 00001003 c6b21f58 00000000 00000000 
00000000
Call Trace:    [<c0252da0>] [<c025442f>] [<c0289234>] [<c024bed0>] 
[<c014eaa7>]
  [<c01075d3>]

Code: f0 ff 40 10 8b 03 83 48 14 18 8b 4b 08 85 c9 75 2d 8b 83 f4
 <7>wlan0: LinkStatus=1 (Connected)
wlan0: LinkStatus: BSSID=00:0a:e9:00:64:cb

Please note the following:
    1. I am using linux kernel 2.4.20
    2. I am using the cvs version of hostap
    3. The output of dmesg is attached.
    4. ifconfig or iwconfig, or ifup, or service network restart, etc 
all hangs up.
    5. xinetd fails to shutdown.
    6. I get the same error with different version of hostap and kernel. 
(eg hostap-2002-10-12 and kernel 2.4.19).
    7. The card work fine under Windows 2000.

Could any advice me, where am I making mistake or what could be the 
source of error.

Thanks in advance.

------------------------------------
    _    Jeetendra Kumar           |
   ?v?   Alumnus Software Limited  |
  /(_)\  Kolkata, India - 700091   |
   ^ ^   http://www.alumnux.com    |
------------------------------------

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg.txt
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030411/5b3918de/attachment.txt 


From imp  Fri Apr 11 05:29:50 2003
From: imp (=?utf-7?B?K3ZCWFhaY1gwLQ==?=)
Date: Fri, 11 Apr 2003 21:29:50 +0900
Subject: could not find matching txfid 
Message-ID: <HIEILNBGFIFLDLBJCOLAGEPHCHAA.imp@airlinktek.com>

Dear all

After running hostap about 3hours 20min driver print 

wlan0: could not find matching txfid (0xf003) for alloc event
wlan0: could not find matching txfid (0xf003) for alloc event
wlan0: could not find matching txfid (0x0001) for alloc event

then, wlan0 interface does not work any more... 
I was running hostap as continus througput test program... 
and I use the latest version of hostap from CVS tree.. 

Could you give any comment ? 

Thanks




From pfoy  Fri Apr 11 05:46:55 2003
From: pfoy (Foy, Patrick)
Date: Fri, 11 Apr 2003 08:46:55 -0400
Subject: Primary Firmware Download
Message-ID: <EF5625F9F795C94BA28B150706A21548A0526A@MAIL>

Does the hostap driver with the prism2_srec utility support primary firmware
download to RAM? I tried it, but it didn't seem to work.  I need to figure
out if I am doing something wrong or the download feature needs more
debugging.   I saw some discussions last October expressing concern that the
primary download wasn't fully functional, but nothing since then.  I need to
make this work, so before I troubleshoot and research more information, I
wanted to get some feedback.
Thanks.




From jkmaline  Fri Apr 11 06:20:40 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Apr 2003 06:20:40 -0700
Subject: Primary Firmware Download
In-Reply-To: <EF5625F9F795C94BA28B150706A21548A0526A@MAIL>
References: <EF5625F9F795C94BA28B150706A21548A0526A@MAIL>
Message-ID: <20030411132040.GA1583@jm.kir.nu>

On Fri, Apr 11, 2003 at 08:46:55AM -0400, Foy, Patrick wrote:

> Does the hostap driver with the prism2_srec utility support primary firmware
> download to RAM? I tried it, but it didn't seem to work.  I need to figure
> out if I am doing something wrong or the download feature needs more
> debugging.   I saw some discussions last October expressing concern that the
> primary download wasn't fully functional, but nothing since then.  I need to
> make this work, so before I troubleshoot and research more information, I
> wanted to get some feedback.

It does not work yet. Downloading and starting primary firmware seems to
require something different than station firmware downloading and
anything I have tried just "kills" the card (it asserts CmdBusy and COR
sreset is needed to recover from this). I don't know whether
documentation for doing PRI download to RAM is available somewherer. If
it is, I would be willing to implement this feature. Just guessing what
is needed for it seems to take too much time.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jjo-hostap  Fri Apr 11 06:37:47 2003
From: jjo-hostap (JuanJo Ciarlante)
Date: Fri, 11 Apr 2003 10:37:47 -0300
Subject: AP client mode
Message-ID: <20030411103747.A9120@mendoza.gov.ar>

Hi...
 I'm trying to setup my --already working-- STA as AP client.
 I'm using 2.4.20 + hostap-0.0.1 -DPRISM2_HOSTAPD -DPRISM2_DOWNLOAD_SUPPORT
 on a DWL520 (fw 1.3.4).
 hostapd.conf has correct  assoc_ap_addr=<uplink_AP_MAC>
 Uplink AP is in open mode (Nokia A032).
 
 From README.prism2:
        "
        wds_type: WDS type bitfield
	          : 
	          2 = use AP client mode in 'Managed mode'
	"
... SEEMS that wlan card should in "managed" mode. Starting in managed mode
+ iwpriv wlan0 wds_type 2 associates even before launching hostapd;
launching hostapd has no effect (after all I'm _not_ in master mode).

Doing the other way, master mode + wds_type + hostapd correctly setups my
"local" AP (local STA gets associated Ok) _but_ I lose my association with
"uplink" AP, hostapd -dd shows some errors regarding auth ACKs (which
suggests that hostapd is trying to auth with uplink AP, which is in open
mode).

I don't know how to follow from here, thanks in advance.

Regards
-- 
--Juanjo

#  Juan Jose Ciarlante (JuanJo PGP) jjo ;at; mendoza.gov.ar              #
#  Key fingerprint = 76 60 A5 76 FD D2 53 E3  50 C7 90 20 22 8C F1 2D    #



From georg  Fri Apr 11 07:03:46 2003
From: georg (Georg Buschbeck)
Date: Fri, 11 Apr 2003 16:03:46 +0200
Subject: Newbie questions, access problems
Message-ID: <3E96CB42.2090208@mow.ath.cx>

> I can see the WLAN.
> I can access the WLAN.
>
> But i?ve no chance to get an IP adress from the DHCP Server.
> Also i?ve got no chance to "ping" some machines in my wired network, 
> even when i configure a fixed IP Adress on my wireless client.


this is my problem, too

> My network looks like this:
>
> IP address eth0 192.168.15.250/255.255.255.240
> IP address eth0:0 192.168.15.251/255.255.255.240
> IP address eth0:1 192.168.15.252/255.255.255.240
> IP address eth1 192.168.15.253/255.255.255.240
> IP address wlan0 192.168.5.254/255.255.255.248
>
> Default gateway 192.168.15.254
> No iptables rulebase.
>
> The DHCP Server looks on the interface wlan0.
>
> And here are my questions:
> Do i need another network configuration ?
> Do i need the bridging functionality ?



for this with me the following worked:
when i start dhcp daemon with

dhcpd wlan0


it listsens on wlan0 and gives out adresses,
but pinging don't work ...

bye,

georg





From vcuirassier  Fri Apr 11 07:46:11 2003
From: vcuirassier (vcuirassier at epsi.fr)
Date: Fri, 11 Apr 2003 16:46:11 +0200 (CEST)
Subject: No transmission between AP and clients
Message-ID: <1050072371.3e96d5338020b@intranet.epsi.fr>

Hi all,

I use the Netgear MA401 PCMCIA card and HostAP-2002-10-12 to make a Linux 2.4.18
based access point.

Everything seems to be correctly configured: the card is supported, the cardmgr
daemon launches hostap_cs after insertion and creates the wlan0 device (Master
mode). Then I assign an address to wlan0, and start the dhcp daemon on that
interface.

Clients can enter the wireless network (getting an address from dhcpd), but when
they ping the access point they don't get any reply, even if tcpdump shows
incoming ICMP ECHO requests. SSH and HTTP connections fail the same way. I don't
filter anything in the IP layer, so it can't be Netfilter that silently drops
packets.

Can anybody think of a possible reason for this problem?



From chmarx  Thu Apr 10 09:06:54 2003
From: chmarx (Christian Marx)
Date: Thu, 10 Apr 2003 18:06:54 +0200
Subject: Newbie questions, access problems
Message-ID: <3E95969E.5040904@vionetz.de>

Hi,

i?ve got some newbie questions.
I try to create an access point on a RedHat Linux 7.3 maschine.
These are the specs:

AMD K6 II/300
NetGear MA311 wireless PCI adapter
Intel EthernetPro 100 wired PCI adapter
RedHat Linux 7.3
Kernel 2.4.18-27.7.x

I've no problems to compile and activate the drivers and the daemon.
My problems began when i try to access my WLAN.

I can see the WLAN.
I can access the WLAN.

But i?ve no chance to get an IP adress from the DHCP Server.
Also i?ve got no chance to "ping" some machines in my wired network, 
even when i configure a fixed IP Adress on my wireless client.

My network looks like this:

IP address eth0 192.168.15.250/255.255.255.240
IP address eth0:0 192.168.15.251/255.255.255.240
IP address eth0:1 192.168.15.252/255.255.255.240
IP address eth1 192.168.15.253/255.255.255.240
IP address wlan0 192.168.5.254/255.255.255.248

Default gateway 192.168.15.254
No iptables rulebase.

The DHCP Server looks on the interface wlan0.

And here are my questions:
Do i need another network configuration ?
Do i need the bridging functionality ?


-- 
chmarx at gmx.net
christian_marx at web.de





From heeyeoly  Thu Apr 10 12:33:50 2003
From: heeyeoly (Yu, Heeyeol)
Date: Thu, 10 Apr 2003 14:33:50 -0500
Subject: firmware upgrade and hostapd running
Message-ID: <001901c2ff98$1fe30a00$3e88b383@yuatxp>

Hi all
 
I followed the general rules and yours. But when I tried to upgrade
firmware for AP mode in WPC11 PCMCIA card,
there is error message saying 
--------------------------
[root at yuatlinux utils]# ./prism2_srec -r wlan0 ../firmware/RF010409.HEX 
srec summary for RF010409.HEX
Component: 0x001f 1.4.9 (station firmware)
Supported platforms:
  0x800a 1.0.0,  0x800b 1.0.0,  0x800c 1.0.0,  0x800d 1.0.0,  0x8012
1.0.0
  0x8013 1.0.0,  0x8014 1.0.0,  0x8016 1.0.0,  0x8017 1.0.0,  0x8018
1.0.0
  0x801a 1.0.0,  0x801b 1.0.0,  0x801c 1.0.0,  0x8021 1.0.0,  0x8022
1.0.0
  0x8023 1.0.0,  0x800a 1.0.0,  0x800e 1.0.0,  0x8015 1.0.0,  0x8019
1.0.0
  0x801d 1.0.0,  0x8024 1.0.0
Separate S3 data areas:
  addr 0x007E1800..0x007ED199 (len 47514)
  addr 0x007F0800..0x007F1875 (len 4214)
  addr 0x007FE000..0x007FECE7 (len 3304)
Total data length: 55032 bytes
Start address 0x003f0c01
 
Could not read wlan PDA. This requires PRISM2_DOWNLOAD_SUPPORT
definition in
driver/module/hostap_config.h.
----------------------
I compiled hostap kit with this option, "PRISM2_DOWNLOAD_SUPPORT", like
this, make pccard EXTRA_CFLAGS="-DPRISM2_DOWNLOAD_SUPPORT
-DPRISM2_HOSTAPD".
Also I realized that this problem is related with zero content in
/proc/net/hostap/wlan0/pda.
 
BTW what's the purpose of hostapd? Is it only for Authentication? Then
if I don't need authentication, I don't have to run this.
But when I tried to run it causes problem.
--------- 
[root at yuatlinux hostap-2002-10-12]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:86:60:FB:9E  
          inet addr:131.179.136.63  Bcast:131.179.136.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:184500 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8272 errors:0 dropped:0 overruns:0 carrier:6
          collisions:0 txqueuelen:100 
          Interrupt:9 Base address:0x300 
 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:13554 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13554 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
 
wlan0     Link encap:Ethernet  HWaddr 00:06:25:17:FA:33  
          inet addr:192.168.100.1  Bcast:192.168.100.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:3 Base address:0x100 
[root at yuatlinux hostap-2002-10-12]# hostapd/hostapd wlan0
ioctl(SIOCGIFINDEX): No such device
ioctl[SIOCGIFFLAGS]: No such device
[root at yuatlinux hostap-2002-10-12]# hostapd/hostapd -xm wlan0
ioctl(SIOCGIFINDEX): No such device
ioctl[SIOCGIFFLAGS]: No such device
-----------
How can I use hostapd?
 
 
======================================
 John Heeyeol Yu
 Computer Science Department
 H: 310-838-2396
 O: 310-206-8589
  <http://www.cs.ucla.edu/~heeyeoly> http://www.cs.ucla.edu/~heeyeoly
======================================
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030410/01252324/attachment.htm 


From pfoy  Fri Apr 11 08:27:53 2003
From: pfoy (Foy, Patrick)
Date: Fri, 11 Apr 2003 11:27:53 -0400
Subject: firmware upgrade and hostapd running
Message-ID: <EF5625F9F795C94BA28B150706A21548A0526B@MAIL>

I am running the prism2_srec utility without the hostapd running.   Hostapd
is not required to do upgrades.
 
-----Original Message-----
From: Yu, Heeyeol [mailto:heeyeoly at CS.UCLA.EDU]
Sent: Thursday, April 10, 2003 3:34 PM
To: hostap at shmoo.com
Subject: firmware upgrade and hostapd running


Hi all
 
I followed the general rules and yours. But when I tried to upgrade firmware
for AP mode in WPC11 PCMCIA card,
there is error message saying 
--------------------------
[root at yuatlinux utils]# ./prism2_srec -r wlan0 ../firmware/RF010409.HEX 
srec summary for RF010409.HEX
Component: 0x001f 1.4.9 (station firmware)
Supported platforms:
  0x800a 1.0.0,  0x800b 1.0.0,  0x800c 1.0.0,  0x800d 1.0.0,  0x8012 1.0.0
  0x8013 1.0.0,  0x8014 1.0.0,  0x8016 1.0.0,  0x8017 1.0.0,  0x8018 1.0.0
  0x801a 1.0.0,  0x801b 1.0.0,  0x801c 1.0.0,  0x8021 1.0.0,  0x8022 1.0.0
  0x8023 1.0.0,  0x800a 1.0.0,  0x800e 1.0.0,  0x8015 1.0.0,  0x8019 1.0.0
  0x801d 1.0.0,  0x8024 1.0.0
Separate S3 data areas:
  addr 0x007E1800..0x007ED199 (len 47514)
  addr 0x007F0800..0x007F1875 (len 4214)
  addr 0x007FE000..0x007FECE7 (len 3304)
Total data length: 55032 bytes
Start address 0x003f0c01
 
Could not read wlan PDA. This requires PRISM2_DOWNLOAD_SUPPORT definition in
driver/module/hostap_config.h.
----------------------
I compiled hostap kit with this option, "PRISM2_DOWNLOAD_SUPPORT", like
this, make pccard EXTRA_CFLAGS="-DPRISM2_DOWNLOAD_SUPPORT
-DPRISM2_HOSTAPD".
Also I realized that this problem is related with zero content in
/proc/net/hostap/wlan0/pda.
 
BTW what's the purpose of hostapd? Is it only for Authentication? Then if I
don't need authentication, I don't have to run this.
But when I tried to run it causes problem.
--------- 
[root at yuatlinux hostap-2002-10-12]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:86:60:FB:9E  
          inet addr:131.179.136.63  Bcast:131.179.136.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:184500 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8272 errors:0 dropped:0 overruns:0 carrier:6
          collisions:0 txqueuelen:100 
          Interrupt:9 Base address:0x300 
 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:13554 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13554 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
 
wlan0     Link encap:Ethernet  HWaddr 00:06:25:17:FA:33  
          inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:3 Base address:0x100 
[root at yuatlinux hostap-2002-10-12]# hostapd/hostapd wlan0
ioctl(SIOCGIFINDEX): No such device
ioctl[SIOCGIFFLAGS]: No such device
[root at yuatlinux hostap-2002-10-12]# hostapd/hostapd -xm wlan0
ioctl(SIOCGIFINDEX): No such device
ioctl[SIOCGIFFLAGS]: No such device
-----------
How can I use hostapd?
 
 
======================================
 John Heeyeol Yu
 Computer Science Department
 H: 310-838-2396
 O: 310-206-8589
   <http://www.cs.ucla.edu/~heeyeoly> http://www.cs.ucla.edu/~heeyeoly
======================================
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030411/6c354744/attachment.htm 


From proski  Fri Apr 11 13:21:10 2003
From: proski (Pavel Roskin)
Date: Fri, 11 Apr 2003 16:21:10 -0400 (EDT)
Subject: [PATCH] Compile fixes - undefined u64, s32
Message-ID: <Pine.LNX.4.53.0304111604230.1750@marabou.research.att.com>

Hello!

I cannot compile prism2_srec and hostap_crypt_conf because they don't
understand u64 and s32 in driver/modules/hostap_wlan.h:

cc -O2 -Wall   -c -o prism2_srec.o prism2_srec.c
In file included from util.h:8,
                 from prism2_srec.c:23:
../driver/modules/hostap_wlan.h:55: parse error before "u64"

hostapd/common.h should define them and utils/hostap_crypt_conf.c should
use that header instead of its own definitions.

__extension__ means that gcc shouldn't complain about non-portable "long
long" even in the strict ANSI mode.  glibc uses it, so it's better to use
a compatible definition.

The patch is attached.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
--- hostapd/common.h
+++ hostapd/common.h
@@ -16,10 +16,16 @@
 #endif
 
 
+__extension__ typedef unsigned long long int u64;
 typedef unsigned int u32;
 typedef unsigned short u16;
 typedef unsigned char u8;
 
+__extension__ typedef signed long long int s64;
+typedef __int32_t s32;
+typedef __int16_t s16;
+typedef __int8_t s8;
+
 int hostapd_get_rand(u8 *buf, size_t len);
 void hostapd_hexdump(const char *title, u8 *buf, size_t len);
 int hwaddr_aton(char *txt, u8 *addr);
--- utils/hostap_crypt_conf.c
+++ utils/hostap_crypt_conf.c
@@ -19,12 +19,9 @@
 #include <dirent.h>
 
 #include <sys/socket.h>
+#include "../hostapd/common.h"
 #include "wireless_copy.h"
 
-typedef unsigned int u32;
-typedef unsigned short u16;
-typedef unsigned char u8;
-
 #define DEFAULT_KEYS "ff:ff:ff:ff:ff:ff"
 
 #ifndef ETH_ALEN


From gbritton  Fri Apr 11 13:29:52 2003
From: gbritton (Gerald Britton)
Date: Fri, 11 Apr 2003 16:29:52 -0400
Subject: [PATCH] Compile fixes - undefined u64, s32
In-Reply-To: <Pine.LNX.4.53.0304111604230.1750@marabou.research.att.com>
References: <Pine.LNX.4.53.0304111604230.1750@marabou.research.att.com>
Message-ID: <20030411202952.GA17961@nevermore.toe.doomcom.org>

Why not include <stdint.h> and just use the C99 integer types?

(u)int{8|16|32|64}_t, or typedef the shorter names from these rather
than redoing it ourselves.

				-- Gerald

On Fri, Apr 11, 2003 at 04:21:10PM -0400, Pavel Roskin wrote:
> hostapd/common.h should define them and utils/hostap_crypt_conf.c should
> use that header instead of its own definitions.
> 
> __extension__ means that gcc shouldn't complain about non-portable "long
> long" even in the strict ANSI mode.  glibc uses it, so it's better to use
> a compatible definition.
>  
> +__extension__ typedef unsigned long long int u64;
>  typedef unsigned int u32;
>  typedef unsigned short u16;
>  typedef unsigned char u8;
>  
> +__extension__ typedef signed long long int s64;
> +typedef __int32_t s32;
> +typedef __int16_t s16;
> +typedef __int8_t s8;



From proski  Fri Apr 11 13:57:02 2003
From: proski (Pavel Roskin)
Date: Fri, 11 Apr 2003 16:57:02 -0400 (EDT)
Subject: [PATCH] Compile fixes - undefined u64, s32
In-Reply-To: <20030411202952.GA17961@nevermore.toe.doomcom.org>
References: <Pine.LNX.4.53.0304111604230.1750@marabou.research.att.com>
 <20030411202952.GA17961@nevermore.toe.doomcom.org>
Message-ID: <Pine.LNX.4.53.0304111654150.2411@marabou.research.att.com>

On Fri, 11 Apr 2003, Gerald Britton wrote:

> Why not include <stdint.h> and just use the C99 integer types?
>
> (u)int{8|16|32|64}_t, or typedef the shorter names from these rather
> than redoing it ourselves.

Good idea!  Fixed patch is attached.

common.h is never included from the kernel code, so it should be safe to
include stdint.h.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
--- hostapd/common.h
+++ hostapd/common.h
@@ -16,9 +16,15 @@
 #endif
 
 
-typedef unsigned int u32;
-typedef unsigned short u16;
-typedef unsigned char u8;
+#include <stdint.h>
+typedef uint64_t u64;
+typedef uint32_t u32;
+typedef uint16_t u16;
+typedef uint8_t u8;
+typedef int64_t s64;
+typedef int32_t s32;
+typedef int16_t s16;
+typedef int8_t s8;
 
 int hostapd_get_rand(u8 *buf, size_t len);
 void hostapd_hexdump(const char *title, u8 *buf, size_t len);
--- utils/hostap_crypt_conf.c
+++ utils/hostap_crypt_conf.c
@@ -19,12 +19,9 @@
 #include <dirent.h>
 
 #include <sys/socket.h>
+#include "../hostapd/common.h"
 #include "wireless_copy.h"
 
-typedef unsigned int u32;
-typedef unsigned short u16;
-typedef unsigned char u8;
-
 #define DEFAULT_KEYS "ff:ff:ff:ff:ff:ff"
 
 #ifndef ETH_ALEN


From proski  Fri Apr 11 15:29:26 2003
From: proski (Pavel Roskin)
Date: Fri, 11 Apr 2003 18:29:26 -0400 (EDT)
Subject: Primary Firmware Download
In-Reply-To: <20030411132040.GA1583@jm.kir.nu>
References: <EF5625F9F795C94BA28B150706A21548A0526A@MAIL> <20030411132040.GA1583@jm.kir.nu>
Message-ID: <Pine.LNX.4.53.0304111815030.3525@marabou.research.att.com>

Hi, Jouni!

> It does not work yet. Downloading and starting primary firmware seems to
> require something different than station firmware downloading and
> anything I have tried just "kills" the card (it asserts CmdBusy and COR
> sreset is needed to recover from this). I don't know whether
> documentation for doing PRI download to RAM is available somewherer. If
> it is, I would be willing to implement this feature. Just guessing what
> is needed for it seems to take too much time.

Following is based on my experience with Symbol cards and can be wrong for
Intersil firmware.

You cannot expect the card to work after loading only the primary
firmware.  Primary and secondary firmwares partly overlap, so writing the
primary firmware erases part of the secondary firmware.  You need to load
both in one operation or use only operations supported by the primary
firmware.

The only command that the primary firmware can execute is ReadMIF (code
0x30).  This is done so that the PDA can be loaded and used to plug the
secondary firmware.  Primary firmware also can hold software support
registers.

You may need to set HCR (host control register) to 0x0E before programming
and to 0x07 after that.  If bit 4 (0x10) is set initially, it should be
preserved.  PCMCIA cards with HFA3842 chip have HCR register at address
0x42 in the I/O space.  It's also available as PCMCIA CCSR register
through AccessConfigurationRegister.

Primary firmware doesn't need to be plugged, although you can do it if you
have the PDA already.

You can look here for an example: http://www.red-bean.com/~proski/symbol/

-- 
Regards,
Pavel Roskin



From proski  Fri Apr 11 17:17:48 2003
From: proski (Pavel Roskin)
Date: Fri, 11 Apr 2003 20:17:48 -0400 (EDT)
Subject: Primary Firmware Download
In-Reply-To: <Pine.LNX.4.53.0304111815030.3525@marabou.research.att.com>
References: <EF5625F9F795C94BA28B150706A21548A0526A@MAIL> <20030411132040.GA1583@jm.kir.nu>
 <Pine.LNX.4.53.0304111815030.3525@marabou.research.att.com>
Message-ID: <Pine.LNX.4.53.0304112006410.6736@marabou.research.att.com>

Hello again,

after some debugging it seems that everything I wrote is completely
irrelevant to the problem with Intersil firmware.

The real problem is the start address.  If you take the S7 record from the
corresponding secondary firmware and put it to the primary firmware image,
the download works.

The driver still shows the old version of primary firmware.  I don't know
if this means that the firmware wasn't reprogrammed, or maybe the version
is cached somewhere.  Anyway, it's a separate problem.

This was tested with a Linksys WCF12 card:

wlan0: NIC: id=0x801b v1.0.0
wlan0: PRI: id=0x15 v1.1.0
wlan0: STA: id=0x1f v1.5.6

I was trying to update the primary firmware to 1.1.1.

-- 
Regards,
Pavel Roskin



From jkmaline  Fri Apr 11 19:02:40 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Apr 2003 19:02:40 -0700
Subject: firmware upgrade and hostapd running
In-Reply-To: <001901c2ff98$1fe30a00$3e88b383@yuatxp>
References: <001901c2ff98$1fe30a00$3e88b383@yuatxp>
Message-ID: <20030412020240.GB1449@jm.kir.nu>

On Thu, Apr 10, 2003 at 02:33:50PM -0500, Yu, Heeyeol wrote:

> Could not read wlan PDA. This requires PRISM2_DOWNLOAD_SUPPORT
> definition in
> driver/module/hostap_config.h.
> ----------------------
> I compiled hostap kit with this option, "PRISM2_DOWNLOAD_SUPPORT", like
> this, make pccard EXTRA_CFLAGS="-DPRISM2_DOWNLOAD_SUPPORT
> -DPRISM2_HOSTAPD".
> Also I realized that this problem is related with zero content in
> /proc/net/hostap/wlan0/pda.

Are you sure you compiled the complete module with that option? If you
had compiled first without that option for make, you will need to run
'make clean' first.

Zero length in pda file means that either the driver was not compiled
with download support or the driver was unable to find PDA from the card
memory. 'dmesg' output should tell you which one was the case. If
download support was configured, the driver sends entries to kernel log
about attempts to read PDA.

> BTW what's the purpose of hostapd? Is it only for Authentication? Then
> if I don't need authentication, I don't have to run this.

hostapd is an alternative mechanism for IEEE 802.11 authentication and
association. In addition, it adds support for IEEE 802.1X and dynamic
WEP keying, etc. So, if you do not need these additional features, you
do not need to run hostapd.

> [root at yuatlinux hostap-2002-10-12]# hostapd/hostapd wlan0
> ioctl(SIOCGIFINDEX): No such device
> ioctl[SIOCGIFFLAGS]: No such device

Do you have 'wlan0ap' interface? It should be present in 'ifconfig -a'
list if you have compiled driver with PRISM2_HOSTAPD defined.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr 11 19:05:14 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Apr 2003 19:05:14 -0700
Subject: hostap driver with 802.11g chipset
In-Reply-To: <50003.139.149.1.194.1050000691.squirrel@www.scherer-online.com>
References: <50003.139.149.1.194.1050000691.squirrel@www.scherer-online.com>
Message-ID: <20030412020514.GC1449@jm.kir.nu>

On Thu, Apr 10, 2003 at 07:51:31PM +0100, Rene Scherer wrote:

> I was wondering if anyone has tried this hostap driver with any of the new
> 11g PCI cards (e.g. Belkin 54g Wireless Desktop Network Card F5D7000)?

There's not much point in trying this _Prism2/2.5/3_ Host AP driver with
non-Prism2/2.5/3 card. All 802.11g and 802.11a cards have completely
different interface between the card and the driver.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr 11 19:09:58 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Apr 2003 19:09:58 -0700
Subject: kernel NULL pointer dereference with hostap_cs
In-Reply-To: <3E9659F2.8060905@alumnux.com>
References: <3E9659F2.8060905@alumnux.com>
Message-ID: <20030412020958.GD1449@jm.kir.nu>

On Fri, Apr 11, 2003 at 11:30:18AM +0530, Jeetendra Kumar wrote:

> I am using US Robotics IEEE 802.11b PC-CARD. When I start the cardmgr I 
> get the following message
> 
> Unable to handle kernel NULL pointer dereference at virtual address 00000010
> printing eip:
> c0230baa

Could you please run that error message through ksymoops to decode the
numerical addresses into symbol names. Without this information or
having access to your kernel symbol map, it is quite difficult to guess
what caused that problem.

> wlan0: LinkStatus=2 (Disconnected)
> wlan0: hfa384x_get_rid - RID len mismatch: rid=0xfd42, len=40 (expected 6)
> wlan0: could not read CURRENTBSSID after LinkStatus event

These are probably unrelated issues, but apparently there is something
corrupting some of the card accesses.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr 11 19:46:35 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Apr 2003 19:46:35 -0700
Subject: [PATCH] Compile fixes - undefined u64, s32
In-Reply-To: <Pine.LNX.4.53.0304111604230.1750@marabou.research.att.com>
References: <Pine.LNX.4.53.0304111604230.1750@marabou.research.att.com>
Message-ID: <20030412024635.GA1571@jm.kir.nu>

On Fri, Apr 11, 2003 at 04:21:10PM -0400, Pavel Roskin wrote:

> I cannot compile prism2_srec and hostap_crypt_conf because they don't
> understand u64 and s32 in driver/modules/hostap_wlan.h:

Oops.. Neither can I, so now you know how much v0.0.1 was really tested
;-). Thanks for the patches; second one is now applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr 11 19:58:15 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Apr 2003 19:58:15 -0700
Subject: Discontinuation of Linux 2.2.x and old wireless extensions support
Message-ID: <20030412025815.GB1571@jm.kir.nu>

I'm considering of dropping support for Linux 2.2.x and old wireless
extensions support from the future releases of Host AP driver. My
current plan is to first release at least one version (v0.0.2) as a bug
fix release for v0.0.1. After that, I would clean up the driver source
code by removing all backwards compatibility definitions and release
this as v0.1.0. If any major bugs are found in v0.0.2, I could consider
releasing other 0.0.x versions as bug fix releases, but these would not
be getting any new features.

If you think that support for old versions should not be removed from
the Host AP driver, now would be a good time to make this known. Please
include some justification for this and do note that maintaining this
backwards compatibility code and testing old versions is taking
considerable (and increasing) amount of my time and this will be away
from developing new features or working on stability of the driver, etc.
You can of course continue using v0.0.x releases of the driver with
older Linux versions; you would just not be getting new features from
the versions I release.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr 11 20:47:07 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Apr 2003 20:47:07 -0700
Subject: [PATCH] Compile fixes - undefined u64, s32
In-Reply-To: <20030412024635.GA1571@jm.kir.nu>
References: <Pine.LNX.4.53.0304111604230.1750@marabou.research.att.com> <20030412024635.GA1571@jm.kir.nu>
Message-ID: <20030412034707.GA2023@jm.kir.nu>

On Fri, Apr 11, 2003 at 07:46:35PM -0700, Jouni Malinen wrote:

> Oops.. Neither can I, so now you know how much v0.0.1 was really tested
> ;-).

Oops2.. No, that was not it; this just showed how long I can remember
which patches I have included and when.. In other words, that fixed a
merge that was done after v0.0.1 was released. So, of course v0.0.1 was
tested thoroughly ;-).

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr 11 21:06:15 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Apr 2003 21:06:15 -0700
Subject: AP client mode
In-Reply-To: <20030411103747.A9120@mendoza.gov.ar>
References: <20030411103747.A9120@mendoza.gov.ar>
Message-ID: <20030412040615.GA2854@jm.kir.nu>

On Fri, Apr 11, 2003 at 10:37:47AM -0300, JuanJo Ciarlante wrote:

>  hostapd.conf has correct  assoc_ap_addr=<uplink_AP_MAC>

>         wds_type: WDS type bitfield
> 	          : 
> 	          2 = use AP client mode in 'Managed mode'
> 	"
> ... SEEMS that wlan card should in "managed" mode.

Yes, indeed. These are two completely separate features. assoc_ap_addr
with hostapd is a very experimental code for associating to another AP
while operating as a station. wds_type 2 is a "AP client mode" in which
the Host AP driver operates in Managed mode, associates to another AP,
and is using WDS frames to allow bridging. However, "AP client" is _not_
operating as an AP at the same time. This mode does not use hostapd.

> Starting in managed mode
> + iwpriv wlan0 wds_type 2 associates even before launching hostapd;
> launching hostapd has no effect (after all I'm _not_ in master mode).

Yes, that is the expected behavior of wds_type 2.

> Doing the other way, master mode + wds_type + hostapd correctly setups my
> "local" AP (local STA gets associated Ok) _but_ I lose my association with
> "uplink" AP, hostapd -dd shows some errors regarding auth ACKs (which
> suggests that hostapd is trying to auth with uplink AP, which is in open
> mode).

Unfortunately, assoc_ap_addr seems to work with only limited set of
Prism2 firmware versions, namely 0.7.6 and 0.8.0.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr 11 21:23:05 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Apr 2003 21:23:05 -0700
Subject: PATCH: Operational rates
In-Reply-To: <Pine.LNX.4.44.0304101706410.219-100000@kone.ihanaa.org>
References: <20030410134731.GA1644@jm.kir.nu> <Pine.LNX.4.44.0304101706410.219-100000@kone.ihanaa.org>
Message-ID: <20030412042305.GB2854@jm.kir.nu>

On Thu, Apr 10, 2003 at 05:08:39PM +0300, Jussi M?ki wrote:

> > > This patch adds prism2_param 33 to set tx_rate_control to bitmap
> > > specified so you can set specific rates, syntax is exactly the same as in
> > > basic_rates.
> >
> > What would this be used for? 'iwconfig wlan0 rate <val>' is already
> > implemented and is the standard way of setting that value.
> 
> True, but the reason i want this is to lock rates to 5.5Mbps and 11Mbps so
> when large number of clients is connected the ap doesnt need to jump back
> and forth between different modulations..

OK, that seems to be a value that is not supported by iwconfig rate
command. Since I already added iwpriv param for setting basic rate set,
I will add your patch for operational TX rate setting as a similar bit
map. In the future, it might be useful to change these to be normal
wireless ext ioctls, i.e., new or modified ioctl for setting and getting
basic and operational rate sets as bit maps of supported rate list
(iwlist rate).

Jean, do you have an opinion on this? Setting TX rate to 5.5 + 11, but
not 1 and 2 Mbps seems reasonable configuration in some environments and
basic rate set configuration would be useful for Master mode (it is even
required in Wi-Fi certification of an AP).

-- 
Jouni Malinen                                            PGP id EFC895FA



From dave  Fri Apr 11 23:06:00 2003
From: dave (Dave)
Date: Fri, 11 Apr 2003 23:06:00 -0700
Subject: PATCH: Operational rates
References: <20030410134731.GA1644@jm.kir.nu> <Pine.LNX.4.44.0304101706410.219-100000@kone.ihanaa.org> <20030412042305.GB2854@jm.kir.nu>
Message-ID: <001301c300b9$995bb5e0$0507ee3f@ws1>

Hello all,

I have given this patch a try against hostap CVS and I cannot see a
difference.

It is my understanding that this patch would permit setting the operational
rates that an AP announces and I assume would have effect for WDS links
too??

At any rate, I applied the patch and issued the command 'iwpriv wlan0
prism2_param 33 6' on both ends of a WDS link and watched as the rates on
each end continued to fluctuate between 1, 2, 5.5 and 11 as if I hadn't done
anything.


Sincerely...

the one (the only one?) who still cannot set a fixed rate on WDS links...;)

-Dave


> On Thu, Apr 10, 2003 at 05:08:39PM +0300, Jussi M?ki wrote:
>
> > > > This patch adds prism2_param 33 to set tx_rate_control to bitmap
> > > > specified so you can set specific rates, syntax is exactly the same
as in
> > > > basic_rates.
> > >
> > > What would this be used for? 'iwconfig wlan0 rate <val>' is already
> > > implemented and is the standard way of setting that value.
> >
> > True, but the reason i want this is to lock rates to 5.5Mbps and 11Mbps
so
> > when large number of clients is connected the ap doesnt need to jump
back
> > and forth between different modulations..
>
> OK, that seems to be a value that is not supported by iwconfig rate
> command. Since I already added iwpriv param for setting basic rate set,
> I will add your patch for operational TX rate setting as a similar bit
> map. In the future, it might be useful to change these to be normal
> wireless ext ioctls, i.e., new or modified ioctl for setting and getting
> basic and operational rate sets as bit maps of supported rate list
> (iwlist rate).
>
> Jean, do you have an opinion on this? Setting TX rate to 5.5 + 11, but
> not 1 and 2 Mbps seems reasonable configuration in some environments and
> basic rate set configuration would be useful for Master mode (it is even
> required in Wi-Fi certification of an AP).
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




From hick.hostap  Sat Apr 12 00:50:38 2003
From: hick.hostap (gARetH baBB)
Date: Sat, 12 Apr 2003 08:50:38 +0100 (BST)
Subject: Discontinuation of Linux 2.2.x and old wireless extensions
 support
In-Reply-To: <20030412025815.GB1571@jm.kir.nu>
References: <20030412025815.GB1571@jm.kir.nu>
Message-ID: <Pine.LNX.4.53.0304120842420.30171@stum.gink.org>

On Fri, 11 Apr 2003, Jouni Malinen wrote:

> I'm considering of dropping support for Linux 2.2.x and old wireless
> extensions support from the future releases of Host AP driver. My

Per features 2.4 (and beyond) is certainly more bloated than 2.2, which
isn't good for the type of machines/devices (ie. small to very small)
hostap is being run on.

I certainly run hostap under 2.2 on the laptops I have it on, mainly
because 2.4 is completely unable to get along with those machines ...

Alan Cox at least sees merit in continuing development of the 2.2 kernel
itself, which is good considering how much a pigs ear large parts of 2.4
have turned out to be.

It I was going for a small inaccessable device up a pole running hostap I
wouldn't put 2.4 on it.



From phill  Fri Apr 11 10:27:37 2003
From: phill (Phill Kenoyer)
Date: Fri, 11 Apr 2003 10:27:37 -0700
Subject: Help With Building a Smart Relay  [keywords: repeater, wireless to wireless bridge, range extender.]
Message-ID: <E3B1A22A-6C42-11D7-99B2-003065B1FEE0@bmg50.com>

I'm sorry if this has been covered before.  I have gone over all the 
archives and could not find reference to it.

My current setup:

WAP11(- - - - -)WET11===DWL-900AP+(- - - - -)Clients

I have a main antenna tower. It has about 5 clients connected to it.  I 
also have three "relays" connected to it.  The relay is a WET11 and a 
DWL-900AP+ connected together with a short ethernet patch cable.  This 
allows me to extend the wireless network out further and to get around 
trees and mountains.  The problem that I have is that the WAP11's seem 
to lock up all the time.  First I thought that I could build some type 
of timer to power cycle them every 10 hours.  But I'm not a electronics 
geek.

I do have a few old 300MHz system around.  What I'm thinking is to 
build a smart relay.  I put two Linksys WMP11 PCI cards into the Linux 
box.  I have one running in Master mode and the other running in 
Managed mode. I aim a parabolic antenna at my main antenna and an 
omnidirectional or sector antenna to the clients. I can ping the 
clients and the server from this relay.  But I can't ping from the 
client to the server or the server to the client.  I'm not doing 
NAT/MASQ.  I know that its a routing problem, but I'm not sure how to 
fix it.  I've tried to bridge the two wireless cards, but that does not 
work.  Maybe its a IP Tables forward rule or something.  I have been 
searching the net for an answer, but I can not find one.

Does anyone here know how I can solve this problem?

Thanks.




From hinkle  Fri Apr 11 14:08:46 2003
From: hinkle (Dave Hinkle)
Date: Fri, 11 Apr 2003 16:08:46 -0500
Subject: Sending packets with raw sockets
Message-ID: <941EEAE9EB22D7119A6A0050FC44EB11043648@DERBY10>

Hello,  I am unable to send packets from cards using the hostap driver using
raw sockets.   
 
I am the author of some management software we use for linux wireless router
monitoring/control, and I use raw sockets so I can still talk to my
userspace software when the ip or routing information is wrong.
 
Currently we use cisco cards.  The aironet driver does allow for sending
packets with raw sockets.   I'd love to use the hostap stuff though, then I
can do away with my bridges/access points.
 
I send the packet over the raw socket and all looks well, I get no error
messages and can even see the packet when in tcpdump packet captures running
on the transmiting router.  However, no other machines on the network can
detect the packet.  I can even see the packet when I "dump tx frame headers"
using iwpriv.
 
Is there something I can tweak or even re-write to make this work?  I'm a
competent kernel developer, but I've never spent any time with network
drivers.  If anybody could point me in the right direction I'd appreciate
it.  Well, right now I'm going to go and try and see what happens to a
packet after the "dump tx frame headers" and see what might be dropping
them.
 
Also something you might want to know, I think the driver drops any packets
coming from the Ethernet broadcast address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030411/1dabfd36/attachment.htm 


From ammirata  Sat Apr 12 06:49:39 2003
From: ammirata (Sergio M. Ammirata)
Date: Sat, 12 Apr 2003 09:49:39 -0400
Subject: Discontinuation of Linux 2.2.x and old wireless extensions support
In-Reply-To: <Pine.LNX.4.53.0304120842420.30171@stum.gink.org>
Message-ID: <000201c300fa$5e29fd60$027ba8c0@ammirata.net>

What about the openap (now linuxap, OpenAP-ct and openap-ng) projects?
They have a 2.4 system that has only 1MB of HD space and 4MB memory.

Maybe is just my perception, but when I do a search on google it seems
that 99% of projects that use hostap are using the 2.4 kernel.

Sergio

> -----Original Message-----
> From: hostap-admin at shmoo.com [mailto:hostap-admin at shmoo.com] On Behalf
Of
> gARetH baBB
> Sent: Saturday, April 12, 2003 3:51 AM
> To: hostap at shmoo.com
> Subject: Re: Discontinuation of Linux 2.2.x and old wireless
extensions
> support
> 
> On Fri, 11 Apr 2003, Jouni Malinen wrote:
> 
> > I'm considering of dropping support for Linux 2.2.x and old wireless
> > extensions support from the future releases of Host AP driver. My
> 
> Per features 2.4 (and beyond) is certainly more bloated than 2.2,
which
> isn't good for the type of machines/devices (ie. small to very small)
> hostap is being run on.
> 
> I certainly run hostap under 2.2 on the laptops I have it on, mainly
> because 2.4 is completely unable to get along with those machines ...
> 
> Alan Cox at least sees merit in continuing development of the 2.2
kernel
> itself, which is good considering how much a pigs ear large parts of
2.4
> have turned out to be.
> 
> It I was going for a small inaccessable device up a pole running
hostap I
> wouldn't put 2.4 on it.
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap





From jkmaline  Sat Apr 12 09:57:29 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 12 Apr 2003 09:57:29 -0700
Subject: Sending packets with raw sockets
In-Reply-To: <941EEAE9EB22D7119A6A0050FC44EB11043648@DERBY10>
References: <941EEAE9EB22D7119A6A0050FC44EB11043648@DERBY10>
Message-ID: <20030412165728.GA1679@jm.kir.nu>

On Fri, Apr 11, 2003 at 04:08:46PM -0500, Dave Hinkle wrote:

> I send the packet over the raw socket and all looks well, I get no error
> messages and can even see the packet when in tcpdump packet captures running
> on the transmiting router.  However, no other machines on the network can
> detect the packet.  I can even see the packet when I "dump tx frame headers"
> using iwpriv.

That sounds like the driver is trying to send the packet, but card
firmware drops it. Which operation mode (Managed/Master/Monitor/Adhoc)
are you using? What kind of packet are you trying to send?

> Also something you might want to know, I think the driver drops any packets
> coming from the Ethernet broadcast address.

Do you mean that the source address in Ethernet header is broadcast
address? If you are using Managed mode, please note that you cannot use
anything else but your own hwaddr as the source address. In Master mode,
you should be able to send such frames out.

-- 
Jouni Malinen                                            PGP id EFC895FA



From raffaele1963  Sat Apr 12 10:30:46 2003
From: raffaele1963 (=?iso-8859-1?q?Raffaele=20Raf?=)
Date: Sat, 12 Apr 2003 19:30:46 +0200 (CEST)
Subject: Dead card after wrong pda and firmware flashing 
Message-ID: <20030412173046.90259.qmail@web41015.mail.yahoo.com>

I found the info below in a forum. I hope it will
help!

You will need Prism DOS based utility which is even
harder to get. I used the DOS utility to resurrect a
dead Prism 2 card after a bad flash.

The following is a link to old Hawking WE110P driver
package includes DOS utilities (see romcode
directory). This is the only place I found these
utilities. I think it was left there by mistake (lucky
for me)

?www.hawkingtech.com/download/we110.exe[?]

Unfortunately there is no documentation. I figured out
the use of these utilities for a dead card of my own
but I cannot guarantee that it will work for you. 

There are some .bat files that you can use for "model"
only as they are basically crafted for hawking cards.
Do not use them!

First make a bootable DOS floppy. Copy the romcode
directory contents to the floppy and boot from the
floppy.

Legacy.exe is needed to get PCMCIA card services
installed. You must run this after booting. It will
hopefully recognize your PCMCIA chipset and card. If
not you cannot recover on that PC.

You also need to know if your card is a 3v or 5v card.
I believe Linksys cards are 5v. There are really few
3v PCMCIA cards around. Proxim RangeLan-DS cards are
3v for example.

Flash.exe is the DOS flash utility. If you just run
the program with -? option you can get some
information on options.

flash.exe -?

The .hex files are firmware files. The ones in the
directory they are for Prism 2 cards only. While you
can find Primary and Secondary firmware for Prism 2.5
and Prism 3.0 cards by searching the internet, I have
not seen any RAM resident Initial firmware for Prism
2.5/3.0. I am not sure if the initial firmware would
work for Prism 2.5/3.0. I have not tried. (I might try
one day because it is ram resident and should not
harm). You said you had Linksys v1 card. So, it should
be Prism 2 card (Linksys v2.5/3.0 are Prism 2.5/3.0
respectively)

The .pda files are manufacturer related card
information (like MAC address etc). If you have a
working card you can retrieve PDA information using
the Windows Flash Utility. 

I assumed my PDA information on the card was still OK
and just uploaded the firmware and it worked for me.
You might need a valid PDA from a working like card
and override the MAC address with -m (or -MP or -MI
options) to the correct one. 

To resurrect the card you need to download ram
resident initial firmware to the card. Since this step
does not require any working firmware on the card it
should work.  Initial firmware files are I*.hex. Since
I remembered the primary firmware version of my dead
card was P40003C0.HEX before the upgrade I used
I40003C0.HEX as initial firmware to download. The
command was:

flash -5v -i I40003C0.HEX

Again voltage is important. At this point the LED on
card would become active again. First sign of life! If
it does not work unplug the card and try again using
the other initial firmware. In my experience most
Prism 2 cards use P4*.HEX firmware so this will most
likely work.

Next, you need to download Primary (P*.HEX) and
Secondary (S*.HEX) firmware to the card flash using
the initial firmware just downloaded. Again there are
two types of Primary firmware on the floppy. If you
used I4*.HEX you should use P4*.HEX. If you used
I1*.HEX you should use P1*.HEX.

flash -5v -g -d P40003C0.HEX
flash -5v -g -d S10007C6.HEX

After this you can remove the card. 

Use vendor supplied firmware upgrade utility to to
bring secondary firmware up to date. Or search the
internet for later secondary firmware. 

You could use later secondary firmware with DOS based
utility but I suggest you use either vendor firmware
upgrade utility or proceed with Windows based utility
for that because I know it does model checking with
firmware and will not allow Prism 2.5/3.0 firmware on
Prism 2 card or vice versa. You can find this by
searching as well.

As final remark, I'll just write down the Prism 2
secondary firmware files that I found available on the
Internet.

S10006C2.HEX - Very old. Do not use (Upgrade
immediately)
S10007C6.HEX - Very old. Do not use (Upgrade
immediately)
S10008C2.HEX - Very old. Do not use (Upgrade
immediately)
S10008C3.HEX - Good. Most Prism 2 cards.
S1010304.HEX - Recommend for Windows XP. Not
recommended for Linux HostAP use.
S1010409.HEX - Hard to find. (I believe it has
functionality comparable to Prism 2.5/3.0 card
firmware SF010409.HEX)

Good luck!

______________________________________________________________________
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html



From judah  Sat Apr 12 18:31:52 2003
From: judah (Aaron Baer)
Date: 12 Apr 2003 18:31:52 -0700
Subject: New RedHat Kernel RPM with HostAP
Message-ID: <1050197512.1497.9.camel@localhost.localdomain>

I've put together another batch of kernels from the RedHat 8.0 release.
This time with their latest kernel-2.4.18-27.8.0. And I've used the
latest stable release from HostAP from last week (0.0.1).

You can get them here:
http://www.cat.pdx.edu/~baera/redhat_hostap/

or apt for rpm.. 

#For i386: 
rpm http://www.cat.pdx.edu/~baera/apt/ 8.0/i386 hostap 
#For i686: 
rpm http://www.cat.pdx.edu/~baera/apt/ 8.0/i686 hostap 
#For SRC: 
rpm-src http://www.cat.pdx.edu/~baera/apt/ 8.0/i386 hostap

Enjoy,
A-

-- 
----
Aaron Baer
judah at opusnet.com
http://www.cat.pdx.edu/~baera/




From jkmaline  Sat Apr 12 18:37:02 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 12 Apr 2003 18:37:02 -0700
Subject: 802.1X Auth sometime broken the sequence..
In-Reply-To: <HIEILNBGFIFLDLBJCOLAAEOHCHAA.imp@airlinktek.com>
References: <HIEILNBGFIFLDLBJCOLAAEOHCHAA.imp@airlinktek.com>
Message-ID: <20030413013702.GA1442@jm.kir.nu>

On Tue, Apr 08, 2003 at 03:19:44PM +0900, ?vBXXZcX0-? wrote:

> When I try to hostap 802.1X authentication using AGEIS Server and Client (it can use for 15 days trial version from 
> www.mtghouse.com site)  some time the hostap authentication state machine's identifier number looks broken or twist.. 

Could you please re-test with the latest CVS version? I have modified
DISCONNECTED state handling not to send canned EAP failure message when
entering that state from INITIALIZE state. This may have removed the
case you are seeing here.

> Please look at this specially identifier number ... 

> IEEE 802.1X: Sending EAP Request-Identity to 00:90:4b:0e:a3:c6 (identifier 3)
> IEEE 802.1X: Sending canned EAP packet FAILURE to 00:90:4b:0e:a3:c6 (identifier 3)
> IEEE 802.1X: Sending EAP Request-Identity to 00:90:4b:0e:a3:c6 (identifier 4)

> IEEE 802.1X: 46 bytes from 00:90:4b:0e:a3:c6
> EAP Identifier of the Response-Identity from 00:90:4b:0e:a3:c6 does not match (was 3, expected 4)

Supplicant is replying to the first Request-Identity and Authenticator
drops the packet since it is not a reply to the last request.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Sat Apr 12 18:42:42 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 12 Apr 2003 18:42:42 -0700
Subject: EAP Identifier
In-Reply-To: <OE12kUwWpSWerOc0Ne000014733@hotmail.com>
References: <OE12kUwWpSWerOc0Ne000014733@hotmail.com>
Message-ID: <20030413014242.GB1442@jm.kir.nu>

On Thu, Apr 10, 2003 at 06:05:34PM +0800, Teresa wrote:

> What may cause the following error messages?
> EAP Identifier of the Response-Identity from xx-xx-xx-xx-xx-xx does not
> match(was 23, expected 24)

This is probably happening in a case where Authenticator is sending two
Request-Identity packets with different identifier numbers and
Supplicant is replying to first request only after the second one has
been sent.

I have modified the code to not send canned failure packet in
DISCONNECTED state when entering from INITIALIZE state. In addition, the
latest CVS version of hostapd does not increase currentId in that state
if the canned failure packet is not sent.

Could you please re-test using the latest CVS version of hostapd and if
you can see the same error message, please send me the debug output from
hostapd of the full IEEE 802.1X negotiation including 802.11 auth/assoc
before it. You can get this debug log by running hostapd with command
line like './hostapd -d -B hostapd.conf'.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Sat Apr 12 18:47:24 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 12 Apr 2003 18:47:24 -0700
Subject: Can anyone help me about win2k client talk with AP by 802.1x ?
In-Reply-To: <20030409130032.84567.qmail@web15310.mail.bjs.yahoo.com>
References: <20030409130032.84567.qmail@web15310.mail.bjs.yahoo.com>
Message-ID: <20030413014724.GC1442@jm.kir.nu>

On Wed, Apr 09, 2003 at 09:00:32PM +0800, tan keen wrote:

>     But  , now i replace the winxp client with win2k's one( i have upgraded the win2000 sp3 and download client from MS's web site ), after configuring  the adapter to use 802.1x method , i found that the client can not talk with hostap(it seems the client can not send any useful frame to  ap) , Does  anyone  have the same experiences?

Could you please give a direct address for the download page of the
Supplicant code you are using? I have only tested non-Microsoft
Supplicants with Win2k.

>   The hostap can't support win2k client using 802.1x  ? Is there something wrong with win2k client using 802.1x ?

Works for me, but like I said, with another Win2k Supplicant. Can you
get any debug output from the Supplicant you are using? I would also
like to see debug output from hostapd. In addition, I would recommend
testing this with the latest CVS version of hostapd.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Sat Apr 12 18:54:33 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 12 Apr 2003 18:54:33 -0700
Subject: Question abou Auth. and deauth.
In-Reply-To: <8393.030409@cybercity.sk>
References: <023e01c2fe64$6cc43d60$468101d9@pcwks356> <8393.030409@cybercity.sk>
Message-ID: <20030413015433.GD1442@jm.kir.nu>

On Wed, Apr 09, 2003 at 09:26:31AM +0000, Slavoj Hruska wrote:

> That's a real situation, that's a common, but is it fine?
> Is it logical what when I (hostapd client SA1) change AP to other I
> will not say to old AP good bye?

Yes, that is logical. Quite often the station has already went out of
range from the old AP when it is associating with a new one. In such a
case, there is no way for it to send frames directly to the old AP. IEEE
802.11 does not specify such disassociation behavior. However, IAPP
(IEEE 802.11f) is being added so that the new AP can inform the old AP
about reassociation of the station. After receiving this notification,
the old AP can remove association with the station.

-- 
Jouni Malinen                                            PGP id EFC895FA



From hick.hostap  Sun Apr 13 04:07:57 2003
From: hick.hostap (gARetH baBB)
Date: Sun, 13 Apr 2003 12:07:57 +0100 (BST)
Subject: Discontinuation of Linux 2.2.x and old wireless extensions
 support
In-Reply-To: <000201c300fa$5e29fd60$027ba8c0@ammirata.net>
References: <000201c300fa$5e29fd60$027ba8c0@ammirata.net>
Message-ID: <Pine.LNX.4.53.0304131203320.30171@stum.gink.org>

On Sat, 12 Apr 2003, Sergio M. Ammirata wrote:

> What about the openap (now linuxap, OpenAP-ct and openap-ng) projects?
> They have a 2.4 system that has only 1MB of HD space and 4MB memory.

Maybe, perhaps I've overstating the case - but there is still some
hardware which doesn't like 2.4, and there is still alot of problems with
various parts of 2.4, viz. the number of patches people seem to apply
almost by "default" to get a reasonably stable kernel.

And it certainly is more bloated per feature set - 2.5 even more so, which
has been a recent-ish thread in lkml.



From mark-hostap  Sun Apr 13 08:09:49 2003
From: mark-hostap (Mark Glines)
Date: Sun, 13 Apr 2003 08:09:49 -0700
Subject: Discontinuation of Linux 2.2.x and old wireless extensions support
In-Reply-To: <Pine.LNX.4.53.0304131203320.30171@stum.gink.org>
References: <000201c300fa$5e29fd60$027ba8c0@ammirata.net> <Pine.LNX.4.53.0304131203320.30171@stum.gink.org>
Message-ID: <20030413150949.GA9377@glines.org>

Jouni, my own opinion is that you should do whatever you need to in
order to minimize development overhead.  Porting PCMCIA drivers has
been a pain in my ass at times, so I can understand why you'd want
want to deprecate v2.2 support.  Especially with v2.6 coming up.
Since the existing driver is already quite useable for v2.2, I'd say
go ahead and drop it.  It seems nowadays like most of the new stuff
is going into the userspace hostapd anyways...


[the following is offtopic]
On Sun, Apr 13, 2003 at 12:07:57PM +0100, gARetH baBB wrote:
> On Sat, 12 Apr 2003, Sergio M. Ammirata wrote:
> 
> > What about the openap (now linuxap, OpenAP-ct and openap-ng) projects?
> > They have a 2.4 system that has only 1MB of HD space and 4MB memory.
> 
> Maybe, perhaps I've overstating the case - but there is still some
> hardware which doesn't like 2.4, and there is still alot of problems with
> various parts of 2.4, viz. the number of patches people seem to apply
> almost by "default" to get a reasonably stable kernel.

This is an interesting statement.  I should mention that I've found
the 2.4 series to be perfectly stable nowadays, and all my boxes are
currently running unpatched 2.4.19 and 2.4.20 with no problems.  The
v2.4 series of kernels has better support for my hardware than v2.2,
too.  It works better both on my SMP machines at home, and on the
AMD SC520 microcontroller-based embedded machines at work.

At times it seems like 2.4 has a bad reputation just because it had
a rough start.  But this was true of v2.2 and v2.0, as well, and like
v2.2 and v2.0, v2.4 has become quite mature as it progressed.
Actually, a few my boxes ran 2.4.5 for more than 1.5 years until the
power went out...

So, I'm curious whether your opinion of the stability of v2.4 is based
on fact or conjecture.  What patches are these that you refer to?


> And it certainly is more bloated per feature set - 2.5 even more so, which
> has been a recent-ish thread in lkml.

I haven't noticed this problem, personally, but I'm sure they would
accept patches that address this.  It is open source, after all.

Mark



From hick.hostap  Sun Apr 13 08:59:58 2003
From: hick.hostap (gARetH baBB)
Date: Sun, 13 Apr 2003 16:59:58 +0100 (BST)
Subject: Discontinuation of Linux 2.2.x and old wireless extensions
 support
In-Reply-To: <20030413150949.GA9377@glines.org>
References: <000201c300fa$5e29fd60$027ba8c0@ammirata.net>
 <Pine.LNX.4.53.0304131203320.30171@stum.gink.org> <20030413150949.GA9377@glines.org>
Message-ID: <Pine.LNX.4.53.0304131619300.30171@stum.gink.org>

On Sun, 13 Apr 2003, Mark Glines wrote:

> currently running unpatched 2.4.19 and 2.4.20 with no problems.

I also run unpatched .19 and .20 boxes, though they're not "heavily" used
- I am going to look at the ext3 patches though, there are meant to be
serious data loss issues somewhere, and the boxes I do use 2.4 on are
primarily for ext3 for large discs ...

> The v2.4 series of kernels has better support for my hardware than v2.2,

As said, the laptops I use hostap on just don't like 2.4 - I've tried,
they have Slackware 8.1 on which normally installs by default with a 2.4
kernel - I think at the time I narrowed it down to something to do with
the ISA-PCMCIA bridge support (this is not an hostap issue, I couldn't
even get a network card going to complete the install).

I may prod it again, though at the moment I'm more than happy sticking
with 2.2.

> So, I'm curious whether your opinion of the stability of v2.4 is based
> on fact or conjecture.  What patches are these that you refer to?

Ext3, NFS and some others (eg. ptrace ...). I know one heavily used box
which had alsorts of problems with NFS talking to a Netapp until it was
patched into oblivion with trond nfs.

And we won't go into the mess that is 21pre IDE ...

If 2.2 support really has to be dropped than so be it, I was just putting
a (possibly feable) anti-2.4 rant before the guillotine drops !



From I.C.Pitcher  Sun Apr 13 10:26:03 2003
From: I.C.Pitcher (I C Pitcher)
Date: Sun, 13 Apr 2003 18:26:03 +0100
Subject: PDA and other  files for WPC11 v2.5 ?
Message-ID: <4B5B022D31502241859CA7456EEBC62CA63C@bond.ncl.ac.uk>

I have inherited an 'ill' Linksys WPC11 (ver2.5) PCMCIA card.

I suspect that there is a problem with its firmware, so am trying to flash it to a "known good" linksys firmware (the one from their website).

Winupdate will not see the card so I have resorted to the Intersil DOS flash utility which detects the card and attempts to program it however, it starts off with 
"PD item 405 not in PDA. Using default in hex file."
"PD item 406 not in PDA. Using default in hex file."

and then later finishes off with 

"Bad status 64c0 auxDisable failed!Download FAILED."
"ERROR ENCOUNTERED"


If someone has access to a PDA file for this card I would be grateful, also the "Initial" firmware file for the 2.5 Prism card.

I hope this makes sense.

NB I've tried the card in the linux box and get the following dmesg output:
hostap_cs, can anyone diagnose anything ? 

setting Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_config: initialized in 17152 iterations
wlan0: hfa384x_cmd: entry still in list? (entry=c1899960, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c1899960, type=0, cmd=0x0021, param0=0xfd0b, EVSTAT=8010)
wlan0: interrupt delivery does not seem to work
wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd0b, len=8)
Could not get RID for component NIC
wlan0: hfa384x_cmd: entry still in list? (entry=c1899960, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c1899960, type=0, cmd=0x0021, param0=0xfd02, EVSTAT=8010)
wlan0: interrupt delivery does not seem to work
wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd02, len=8)
Could not get RID for component PRI
wlan0: hfa384x_cmd_issue: cmd reg was busy for 1000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8021
wlan0: hfa384x_cmd: entry still in list? (entry=c1899960, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd20, len=8)
Could not get RID for component STA
wlan0: hfa384x_cmd_issue: cmd reg was busy for 1000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8021
wlan0: hfa384x_cmd: entry still in list? (entry=c1899960, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd20, len=8)
wlan0: hfa384x_cmd_issue: cmd reg was busy for 1000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8021
wlan0: hfa384x_cmd: entry still in list? (entry=c1899960, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc01, len=6)
wlan0: could not get own MAC address
wlan0: hfa384x_cmd_issue: cmd reg was busy for 1000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8000
wlan0: hfa384x_cmd: entry still in list? (entry=c1899960, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc00, len=2)
wlan0: Port type setting to 6 failed
wlan0: hfa384x_cmd_issue: cmd reg was busy for 1000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8000
wlan0: hfa384x_cmd: entry still in list? (entry=c1899960, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: MAC port 0 enabling failed


Cheers

Ian




From proski  Sun Apr 13 12:03:29 2003
From: proski (Pavel Roskin)
Date: Sun, 13 Apr 2003 15:03:29 -0400 (EDT)
Subject: Dead card after wrong pda and firmware flashing 
In-Reply-To: <20030412173046.90259.qmail@web41015.mail.yahoo.com>
References: <20030412173046.90259.qmail@web41015.mail.yahoo.com>
Message-ID: <Pine.LNX.4.53.0304131454400.2477@marabou.research.att.com>

Hello!

I just want to say thank you!  I could resurrect one of two dead cards
using your instructions.

My PCMCIA bridge is Texas Instruments PCI1410.  legacy.exe didn't print
anything about the bridge, but it worked.

The card that I could resurrect was SMC2632W.  It was damaged when I was
testing my non-volatile download code for HostAP.

The card that I could not resurrect was ZoomAir 4100.  It was damaged when
I programmed firmware for RAM into flash using prism2dl.

I believe that different results are caused by different kind of damage,
not by differences in the hardware.  ZoomAir 4100 doesn't even have a
valid CIS.

-- 
Regards,
Pavel Roskin



From proski  Sun Apr 13 17:04:04 2003
From: proski (Pavel Roskin)
Date: Sun, 13 Apr 2003 20:04:04 -0400 (EDT)
Subject: [PATCH] Flash download works!!!
Message-ID: <Pine.LNX.4.53.0304131936230.3476@marabou.research.att.com>

Hello!

The problem with flash download appears to lie in the userspace.  When
dumping the actual data written to the card, I have found that the data is
different from the data written by prism2dl.  It was shifted by 4 bytes.

It turned out that the wrong data comes from the prism2_srec.  Function
combine_info() moves data in the wrong direction when it prepends the
checksum.

The patch is attached.  After applying the patch, my download code worked
right away, and I was able to upgrade secondary firmware on SMC2632W from
0.7.6 to 1.4.9.

The patch for firmware download is also attached, but it needs some work.
The card cannot be reset after download, so prism2_srec reports an error.
It's sufficient to eject and insert the card to see the new firmware.
Also, maxtimeout needs to be used in hfa384x_cmd_wait(), and it should be
done in a more graceful way.  At least this patch doesn't kill the card.

Testing shows that RAM download is not affected.  RAM download for primary
firmware still doesn't work.  Secondary firmware is still OK.

If we want to update primary firmware in the flash, prism2_srec should be
able to process primary and secondary firmware in one operation.  Flashing
only primary firmware makes the card unusable.  This was tested both with
prism2dl and prism2_srec.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
--- utils/prism2_srec.c
+++ utils/prism2_srec.c
@@ -1315,7 +1315,7 @@ int combine_info(struct wlan_info *wlan,
 
 			s->data = realloc(s->data, s->len + 2);
 			assert(s->data != NULL);
-			memmove(s->data, s->data + 2, s->len);
+			memmove(s->data + 2, s->data, s->len);
 			s->addr -= 2;
 			s->len += 2;
 			s->data[0] = 0xDE;
-------------- next part --------------
--- driver/modules/hostap_download.c
+++ driver/modules/hostap_download.c
@@ -304,6 +304,154 @@ static int prism2_download_volatile(loca
 }
 
 
+static int prism2_download_nonvolatile(local_info_t *local,
+				       struct prism2_download_param *param,
+				       u8 **copied_data)
+{
+	struct net_device *dev = local->dev;
+	int ret = 0, i;
+	u16 maxloadtime;
+	struct {
+		u16 page;
+		u16 offset;
+		u16 len;
+	} dlbuffer;
+	u32 bufaddr;
+
+	if (local->hw_downloading) {
+		printk(KERN_WARNING "%s: Already downloading - aborting new "
+		       "request\n", dev->name);
+		return -1;
+	}
+
+	local->hw_downloading = 1;
+
+	ret = local->func->get_rid(dev, HFA384X_RID_MAXLOADTIME,
+				   &maxloadtime, 2, 0);
+
+	if (ret < 0) {
+		printk(KERN_WARNING "%s: Could not read maxloadtime\n",
+		       dev->name);
+		goto out;
+	}
+
+	printk(KERN_DEBUG "%s: Flash download timeout: %d msec\n",
+	       dev->name, maxloadtime);
+
+	ret = local->func->get_rid(dev, HFA384X_RID_DOWNLOADBUFFER,
+				   &dlbuffer, 6, 0);
+
+	if (ret < 0) {
+		printk(KERN_WARNING "%s: Could not read download buffer parameters\n",
+		       dev->name);
+		goto out;
+	}
+
+	printk(KERN_DEBUG "Download buffer: %d bytes at 0x%04x:0x%04x\n",
+	       dlbuffer.len, dlbuffer.page, dlbuffer.offset);
+
+	bufaddr = (dlbuffer.page << 7) + dlbuffer.offset;
+
+	prism2_hw_shutdown(dev, 0);
+
+	if (prism2_hw_init(dev, 0)) {
+		printk(KERN_WARNING "%s: Could not initialize card for "
+		       "download\n", dev->name);
+		ret = -1;
+		goto out;
+	}
+
+	hfa384x_disable_interrupts(dev);
+
+	if (prism2_enable_aux_port(dev, 1)) {
+		printk(KERN_WARNING "%s: Could not enable AUX port\n",
+		       dev->name);
+		ret = -1;
+		goto out;
+	}
+
+	for (i = 0; i < param->num_areas; i++) {
+		int rest_len = param->data[i].len;
+		int data_off = 0;
+
+		while (rest_len > 0) {
+			int block_len;
+			u16 param0, param1;
+
+			block_len = min_t (int, rest_len, 4096);
+
+			param0 = (param->data[i].addr + data_off) & 0xffff;
+			param1 = (param->data[i].addr + data_off) >> 16;
+
+			HFA384X_OUTW(block_len, HFA384X_PARAM2_OFF);
+			HFA384X_OUTW(param1, HFA384X_PARAM1_OFF);
+
+			if (hfa384x_cmd_wait(dev, HFA384X_CMDCODE_DOWNLOAD |
+						(HFA384X_PROGMODE_ENABLE_NON_VOLATILE << 8),
+						param0)) {
+				printk(KERN_WARNING "%s: Flash download command execution failed\n",
+				       dev->name);
+				ret = -1;
+				goto out;
+			}
+
+			if (hfa384x_to_aux(dev, bufaddr,
+					   block_len, copied_data[i] + data_off)) {
+				printk(KERN_WARNING "%s: flash download at 0x%08x "
+				       "(len=%d) failed\n", dev->name,
+				       param->data[i].addr, param->data[i].len);
+				ret = -1;
+				goto out;
+			}
+
+			HFA384X_OUTW(0, HFA384X_PARAM2_OFF);
+			HFA384X_OUTW(0, HFA384X_PARAM1_OFF);
+			if (hfa384x_cmd_wait(dev, HFA384X_CMDCODE_DOWNLOAD |
+						(HFA384X_PROGMODE_PROGRAM_NON_VOLATILE << 8),
+						0)) {
+				printk(KERN_WARNING "%s: Flash write command execution failed\n",
+				       dev->name);
+				ret = -1;
+				goto out;
+			}
+
+			rest_len -= block_len;
+			data_off += block_len;
+		}
+	}
+
+	HFA384X_OUTW(0, HFA384X_PARAM1_OFF);
+	HFA384X_OUTW(0, HFA384X_PARAM2_OFF);
+	if (hfa384x_cmd_wait(dev, HFA384X_CMDCODE_DOWNLOAD |
+				(HFA384X_PROGMODE_DISABLE << 8), 0)) {
+		printk(KERN_WARNING "%s: Download command execution failed\n",
+		       dev->name);
+		ret = -1;
+		goto out;
+	}
+
+	if (prism2_enable_aux_port(dev, 0)) {
+		printk(KERN_DEBUG "%s: Disabling AUX port failed\n",
+		       dev->name);
+		/* continue anyway.. restart should have taken care of this */
+	}
+
+	mdelay(5);
+
+	local->func->hw_reset(dev);
+	if (prism2_hw_config(dev, 2)) {
+		printk(KERN_WARNING "%s: Card configuration after flash "
+		       "download failed\n", dev->name);
+		ret = -1;
+	}
+
+ out:
+
+	local->hw_downloading = 0;
+	return ret;
+}
+
+
 static int prism2_download(local_info_t *local,
 			   struct prism2_download_param *param)
 {
@@ -354,7 +502,7 @@ static int prism2_download(local_info_t 
 		ret = prism2_download_volatile(local, param, copied_data);
 		break;
 	case PRISM2_DOWNLOAD_NON_VOLATILE:
-		ret = -EOPNOTSUPP;
+		ret = prism2_download_nonvolatile(local, param, copied_data);
 		break;
 	default:
 		ret = -EINVAL;
--- driver/modules/hostap_hw.c
+++ driver/modules/hostap_hw.c
@@ -150,6 +150,7 @@ static unsigned char bridge_tunnel_heade
 /* ca. 10 usec */
 #define HFA384X_INIT_TIMEOUT 50000
 #define HFA384X_CMD_COMPL_TIMEOUT 20000
+#define HFA384X_DL_COMPL_TIMEOUT 1000000
 #define HFA384X_ALLOC_COMPL_TIMEOUT 1000
 
 
@@ -507,7 +508,12 @@ static int hfa384x_cmd_wait(struct net_d
 	HFA384X_OUTW(cmd, HFA384X_CMD_OFF);
 
         /* wait for command completion */
-        tries = HFA384X_CMD_COMPL_TIMEOUT;
+	if ((cmd & 0x3f) == HFA384X_CMDCODE_DOWNLOAD)
+		tries = HFA384X_DL_COMPL_TIMEOUT;
+	else
+	        tries = HFA384X_CMD_COMPL_TIMEOUT;
+
+
         while (!(HFA384X_INW(HFA384X_EVSTAT_OFF) & HFA384X_EV_CMD) &&
                tries > 0) {
                 tries--;


From jkmaline  Sun Apr 13 18:50:02 2003
From: jkmaline (Jouni Malinen)
Date: Sun, 13 Apr 2003 18:50:02 -0700
Subject: [PATCH] Flash download works!!!
In-Reply-To: <Pine.LNX.4.53.0304131936230.3476@marabou.research.att.com>
References: <Pine.LNX.4.53.0304131936230.3476@marabou.research.att.com>
Message-ID: <20030414015002.GA3473@jm.kir.nu>

On Sun, Apr 13, 2003 at 08:04:04PM -0400, Pavel Roskin wrote:

> The problem with flash download appears to lie in the userspace.  When
> dumping the actual data written to the card, I have found that the data is
> different from the data written by prism2dl.  It was shifted by 4 bytes.
> 
> It turned out that the wrong data comes from the prism2_srec.  Function
> combine_info() moves data in the wrong direction when it prepends the
> checksum.

Doh.. What a silly bug. I had one dead card waiting for resurrection so
that I could start debugging this at some point. Thank you for making
this unnecessary ;-). Patch applied to prism2_srec.

> The patch for firmware download is also attached, but it needs some work.
> The card cannot be reset after download, so prism2_srec reports an error.
> It's sufficient to eject and insert the card to see the new firmware.
> Also, maxtimeout needs to be used in hfa384x_cmd_wait(), and it should be
> done in a more graceful way.  At least this patch doesn't kill the card.

Your version of non-volatile downloading code is quite similar to the
one I used in testing. I included extra code for comparing the images
after downloading, but that seemed to be the only major difference.
Anyway, since your code has been tested more, I included it into the CVS
version of Host AP driver. I modified the patch a bit (I just hate long
lines ;-)) and added it into the CVS version of Host AP driver. This
being still quite experimental and untested code, I left it commented
out in the default build. It can be enabled by defining
PRISM2_NON_VOLATILE_DOWNLOAD.

Note for others: At the moment, I do not recommend testing this code
unless you are able to reflash dead cards or can afford to lose some
cards.. ;-). I will uncomment the code in default version after it has
been thoroughly tested.


I would hope that COR sreset could be enough to get the card running
after non-volatile download. I haven't yet tested this, but will start
testing after I can reflash my test card.


> If we want to update primary firmware in the flash, prism2_srec should be
> able to process primary and secondary firmware in one operation.  Flashing
> only primary firmware makes the card unusable.  This was tested both with
> prism2dl and prism2_srec.

I would assume that combined download of PRI&STA would be needed also
for updated primary to RAM. However, this seems to require something
more, since usually I just end up either crashing the card or updating
only STA firmware. With non-volatile upload, combining images should be
easier since there will not be multiple start addresses to start from.

-- 
Jouni Malinen                                            PGP id EFC895FA



From mark-hostap  Sun Apr 13 19:28:04 2003
From: mark-hostap (Mark Glines)
Date: Sun, 13 Apr 2003 19:28:04 -0700
Subject: [PATCH] Flash download works!!!
In-Reply-To: <20030414015002.GA3473@jm.kir.nu>
References: <Pine.LNX.4.53.0304131936230.3476@marabou.research.att.com> <20030414015002.GA3473@jm.kir.nu>
Message-ID: <20030414022803.GA9732@glines.org>

Hey, cool!  I played with this a while back, didn't get very far,
but never thought to look for problems with the userspace.

On Sun, Apr 13, 2003 at 06:50:02PM -0700, Jouni Malinen wrote:
> Note for others: At the moment, I do not recommend testing this code
> unless you are able to reflash dead cards or can afford to lose some
> cards.. ;-). I will uncomment the code in default version after it has
> been thoroughly tested.

I can recover cards and will gladly help test this.


On Sun, Apr 13, 2003 at 08:04:04PM -0400, Pavel Roskin wrote:
> If we want to update primary firmware in the flash, prism2_srec should be
> able to process primary and secondary firmware in one operation.  Flashing
> only primary firmware makes the card unusable.  This was tested both with
> prism2dl and prism2_srec.

The truly daring might want to upload a new CIS, or a new PDA,
as well.  If prism2_srec can handle multiple srec files, and a
simple app to generate srecs from PDA sourcefiles, I think this
should be possible too.  Or do you need to use genesis mode for
that?

Mark



From proski  Sun Apr 13 20:04:39 2003
From: proski (Pavel Roskin)
Date: Sun, 13 Apr 2003 23:04:39 -0400 (EDT)
Subject: [PATCH] Flash download works!!!
In-Reply-To: <20030414022803.GA9732@glines.org>
Message-ID: <Pine.LNX.4.44.0304132240560.3271-100000@localhost.localdomain>

Hello!

> I can recover cards and will gladly help test this.

As I already wrote today, it's possible to recover cards using a DOS
utility described in this message:

http://lists.shmoo.com/pipermail/hostap/2003-April/002225.html

we110.exe can be unpacked by unzip, no wine required.  It worked just fine
to recover a card damaged by flashing with the original prism2_srec.

> The truly daring might want to upload a new CIS, or a new PDA, as well.  
> If prism2_srec can handle multiple srec files, and a simple app to
> generate srecs from PDA sourcefiles, I think this should be possible
> too.  Or do you need to use genesis mode for that?

Be careful, you need to know where PDA is located.  Its location in NVRAM
may be different from its location in RAM.  I don't know for sure, but
it's better to be sure.  To read NVRAM through the AUX port, you should
set bit 12 in the offset register - then you will be able to locate it in 
NVRAM.

linux-wlan-ng looks for PDA at 0x7f0000, 0x3f0000 and 0x390000.  NVRAM is 
checked before RAM.  The last address in only checked in NVRAM.

The DOS utility supports flashing the PDA.  I don't know which address is 
used by default, but you can specify it bu the "-pda" option.

Loading I40003C0.HEX by the same utility should set genesis mode on 
HFA3841.  In case of HFA3842 and newer chips it should be possible to set 
genesis mode using the HCR resister (either 0x42 in the address space or 
CCSR in the PCMCIA attribute space).  Unfortunately, I don't know what 
exactly should be written to HCR.

I have a card with CIS erased.  I cannot flash I40003C0.HEX into it.  
Maybe I should do something with the pin MD11 during reset, but I don't 
know what and how.  The documentation for HFA3841 is quite unclear about 
it (or maybe it's because I'm not a hardware engineer).

-- 
Regards,
Pavel Roskin




From jkmaline  Sun Apr 13 21:34:30 2003
From: jkmaline (Jouni Malinen)
Date: Sun, 13 Apr 2003 21:34:30 -0700
Subject: [PATCH] Flash download works!!!
In-Reply-To: <Pine.LNX.4.44.0304132240560.3271-100000@localhost.localdomain>
References: <20030414022803.GA9732@glines.org> <Pine.LNX.4.44.0304132240560.3271-100000@localhost.localdomain>
Message-ID: <20030414043430.GA6988@jm.kir.nu>

On Sun, Apr 13, 2003 at 11:04:39PM -0400, Pavel Roskin wrote:

> As I already wrote today, it's possible to recover cards using a DOS
> utility described in this message:

> we110.exe can be unpacked by unzip, no wine required.  It worked just fine
> to recover a card damaged by flashing with the original prism2_srec.

I think this is just good luck since prism2_srec was "only" breaking STA
firmware. CIS, PDA, and PRI f/w were probably OK and having PRI started
might have been enough for the flash tool.

> Loading I40003C0.HEX by the same utility should set genesis mode on 
> HFA3841.  In case of HFA3842 and newer chips it should be possible to set 
> genesis mode using the HCR resister (either 0x42 in the address space or 
> CCSR in the PCMCIA attribute space).  Unfortunately, I don't know what 
> exactly should be written to HCR.
> 
> I have a card with CIS erased.  I cannot flash I40003C0.HEX into it.  
> Maybe I should do something with the pin MD11 during reset, but I don't 
> know what and how.  The documentation for HFA3841 is quite unclear about 
> it (or maybe it's because I'm not a hardware engineer).

I don't think you can set genesis mode on HFA3841 without special
hardware (i.e., asserting/deasserting that one pin during reset). I
would assume that flash tool loaded initial firmware to RAM using
working primary firmware..

If the flash does not have valid PRI f/w (or the something else is
corrupted so that PRI does not start properly), trying to load something
without first setting genesis mode is supposed to fail.. In genesis
mode, Prism2 does not load firmware image from flash. It stops after
reset and host system can download initial image to RAM using minimal
set of commands.

I have a modified PC Card slot for this and I can see a clear difference
when enabling genesis mode in HFA3841. However, I haven't yet had enough
time to write software for doing the initial card setup from this mode
(i.e., load initial to RAM, soft reset, load CIS, PDA, PRI, STA to
flash).

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Sun Apr 13 21:52:32 2003
From: jkmaline (Jouni Malinen)
Date: Sun, 13 Apr 2003 21:52:32 -0700
Subject: WDS speed issues revisited
In-Reply-To: <000401c2fe5b$9e98ac80$f00aa8c0@ws7>
References: <000701c2fe3f$10b72cf0$f00aa8c0@ws7> <20030409044612.GA11197@jm.kir.nu> <000401c2fe5b$9e98ac80$f00aa8c0@ws7>
Message-ID: <20030414045232.GB6988@jm.kir.nu>

On Tue, Apr 08, 2003 at 10:48:16PM -0700, Dave wrote:

> On a hunch I used two cards that had 1.5.6 and did no ram upload on
> bootup...once the first ping packet from AP1 hit AP2 both WDS speeds jumped
> up from 2Mbps to 11Mbps and stayed there even after packets stopped.
> 
> I then tried a 1.5.6 card with no ram upload and a 1.4.9 card ram uploaded
> to 1.5.6 on bootup...sure enough I could talk WDS 4-ADDR but the 1.4.9 card
> was stuck at 2Mbps while the 1.5.6 card jumped to 11Mbps right away.

I was unable to duplicate this. Loading STA f/w 1.5.6 on a card that has
1.4.9 in flash did not change throughput and I was seeing over 6 Mbps
both to and from that card.

> Jouni (or anyone), what is the correct procedure to reinitialize a card
> after a ram upload in order to take advantage of the features of the newer
> FW. I have tried tonight to issue an "iwpriv wlan0 reset 2" thinking that
> might do it but to no avail.

The correct procedure is to just run prism2_srec.. The driver should
reset the card properly after RAM download and no additional resetting
is needed. You can try "iwpriv wlan0 reset 0", which is the lowest level
of resetting that can be done without reverting back to the firmware
version from flash.

If I understood correctly, you were determining TX rate by using some
higher level throughput test, not by looking at which rate was used for
each packet. There are some cases, in which Prism2 cards seem to stop
sending ACK frames. This would show up as dropped throughput even though
frames are actually still being sent at 11 Mbps; they are just being
retransmitted many times.. This could explain some of the issues you
have seen.

I did some more testing on Repeater mode and noticed few bugs in Host AP
driver. RX statistics were not being updated in this mode and actually,
TX errors were not processed at all; so the rate control should not have
dropped rate at all.. I fixed both bugs. I would appreciate it if you
could re-test using the latest CVS version and verify the real TX rate
by looking into both TX and RX statistics in
/proc/net/hostap/wlan0/<hwaddr>. 


On Wed, Apr 09, 2003 at 01:54:33AM -0700, Dave wrote:

> 'iwconfig wlan0 rate 11M fixed'
>
> does not fix the TX rate. In fact once I issue that command for one
> side of
> a WDS link which is currently at 11Mbps, the rate drops to 2Mbps.

I did not see such behavior. Setting rate to fixed 11M seemed to work
fine. However, if you set rate after it has first dropped, it was not
raised when changing configuration. I fixed this so that rate control
data is updated automatically when changing operational rates. With
current CVS version, I was able to first let the rate control code to
drop the rate to 1M and then manually force only 11M to be used. This
forced the rate to stay at 11M even though I was generating TX error for
every 10th frame.

> I think I understand Jean's comment that the RX is controlled by the
> opposite ends TX...but if the opposite ends TX is fixed to 11M then in
> theory wouldn't this ends RX receive at 11M....minus the overhead,
> retrys,
> errors, birds, planes..

Yes. My current theory is that you might have seen the "card stops
ACKing" problem; i.e., retransmissions are eating most of the
throughput.

> I am at least confident that the displayed speed via iwconfig wlan0 on
> each
> side of the link in WDS/Repeater mode is accurate as I perform data
> transfers each way and it is right at the displayed speed.

STA files in /proc/net/hostap/wlan0 should provide even better
statistics; both for TX and RX. In the end of those files, there are
counters showing number of TX/RX frames at each rate.

> mishap...I now have radios seperated by 2.5 miles and initially get an
> 11Mbps link...which quickly turns into a 1Mbps link as soon as data
> starts
> moving...but that is probably related to fade margin or something
> because I
> do not have perfect LOS...but still it would be great to have it fixed
> at
> 11Mbps and deal with fade and errors and loss as a seperate issue.

Current algorithm used for TX rate controlling is not very good and
getting stuck into 1 Mbps is probably quite common in many environments.
Anyway, at least I was able to manually configure ('iwconfig wlan0 rate
11M fixed') the rate to be fixed at 11 Mbps even on very poor
(simulated) link. Please let me know if current CVS version does not
work for you.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jeetendra  Sun Apr 13 23:24:21 2003
From: jeetendra (Jeetendra Kumar)
Date: Mon, 14 Apr 2003 11:54:21 +0530
Subject: kernel NULL pointer dereference with hostap_cs
References: <3E9659F2.8060905@alumnux.com> <20030412020958.GD1449@jm.kir.nu>
Message-ID: <3E9A5415.1000700@alumnux.com>

Hi Jouni,
Thanks for your response.
I am attaching the output file after running the error message through 
ksymoops.

Hope this helps you understand the cause of the error message I am getting.

Thanks in advance.

Regards,
Jeetendra

Jouni Malinen wrote:

>On Fri, Apr 11, 2003 at 11:30:18AM +0530, Jeetendra Kumar wrote:
>
>  
>
>>I am using US Robotics IEEE 802.11b PC-CARD. When I start the cardmgr I 
>>get the following message
>>
>>Unable to handle kernel NULL pointer dereference at virtual address 00000010
>>printing eip:
>>c0230baa
>>    
>>
>
>Could you please run that error message through ksymoops to decode the
>numerical addresses into symbol names. Without this information or
>having access to your kernel symbol map, it is quite difficult to guess
>what caused that problem.
>
>  
>
>>wlan0: LinkStatus=2 (Disconnected)
>>wlan0: hfa384x_get_rid - RID len mismatch: rid=0xfd42, len=40 (expected 6)
>>wlan0: could not read CURRENTBSSID after LinkStatus event
>>    
>>
>
>These are probably unrelated issues, but apparently there is something
>corrupting some of the card accesses.
>
>  
>

-- 

------------------------------------
    _    Jeetendra Kumar           |
   ?v?   Alumnus Software Limited  |
  /(_)\  Kolkata, India - 700091   |
   ^ ^   http://www.alumnux.com    |
------------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030414/9a9eb1df/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ksymoops.txt
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030414/9a9eb1df/attachment.txt 


From dave  Mon Apr 14 01:37:49 2003
From: dave (Dave)
Date: Mon, 14 Apr 2003 01:37:49 -0700
Subject: WDS speed issues revisited
References: <000701c2fe3f$10b72cf0$f00aa8c0@ws7> <20030409044612.GA11197@jm.kir.nu> <000401c2fe5b$9e98ac80$f00aa8c0@ws7> <20030414045232.GB6988@jm.kir.nu>
Message-ID: <000501c30261$21d4bfe0$f00aa8c0@ws7>



> If I understood correctly, you were determining TX rate by using some
> higher level throughput test, not by looking at which rate was used for
> each packet. There are some cases, in which Prism2 cards seem to stop
> sending ACK frames. This would show up as dropped throughput even though
> frames are actually still being sent at 11 Mbps; they are just being
> retransmitted many times.. This could explain some of the issues you
> have seen.
>
> I did some more testing on Repeater mode and noticed few bugs in Host AP
> driver. RX statistics were not being updated in this mode and actually,
> TX errors were not processed at all; so the rate control should not have
> dropped rate at all.. I fixed both bugs. I would appreciate it if you
> could re-test using the latest CVS version and verify the real TX rate
> by looking into both TX and RX statistics in
> /proc/net/hostap/wlan0/<hwaddr>.

I do not have STA statistics in /proc/net/hostap/wlan0/<hwaddr>. Both sides
of the link are in Repeater mode so I would assume that is why I do not have
STA statistics...Should I have those files/statistics even for WDS links
when they do not associate to each other?

>
> On Wed, Apr 09, 2003 at 01:54:33AM -0700, Dave wrote:
>
> > 'iwconfig wlan0 rate 11M fixed'
> >
> > does not fix the TX rate. In fact once I issue that command for one
> > side of
> > a WDS link which is currently at 11Mbps, the rate drops to 2Mbps.
>
> I did not see such behavior. Setting rate to fixed 11M seemed to work
> fine. However, if you set rate after it has first dropped, it was not
> raised when changing configuration. I fixed this so that rate control
> data is updated automatically when changing operational rates. With
> current CVS version, I was able to first let the rate control code to
> drop the rate to 1M and then manually force only 11M to be used. This
> forced the rate to stay at 11M even though I was generating TX error for
> every 10th frame.
>
> > I think I understand Jean's comment that the RX is controlled by the
> > opposite ends TX...but if the opposite ends TX is fixed to 11M then in
> > theory wouldn't this ends RX receive at 11M....minus the overhead,
> > retrys,
> > errors, birds, planes..
>
> Yes. My current theory is that you might have seen the "card stops
> ACKing" problem; i.e., retransmissions are eating most of the
> throughput.

Understood

> > I am at least confident that the displayed speed via iwconfig wlan0 on
> > each
> > side of the link in WDS/Repeater mode is accurate as I perform data
> > transfers each way and it is right at the displayed speed.
>
> STA files in /proc/net/hostap/wlan0 should provide even better
> statistics; both for TX and RX. In the end of those files, there are
> counters showing number of TX/RX frames at each rate.
>
> > mishap...I now have radios seperated by 2.5 miles and initially get an
> > 11Mbps link...which quickly turns into a 1Mbps link as soon as data
> > starts
> > moving...but that is probably related to fade margin or something
> > because I
> > do not have perfect LOS...but still it would be great to have it fixed
> > at
> > 11Mbps and deal with fade and errors and loss as a seperate issue.
>
> Current algorithm used for TX rate controlling is not very good and
> getting stuck into 1 Mbps is probably quite common in many environments.
> Anyway, at least I was able to manually configure ('iwconfig wlan0 rate
> 11M fixed') the rate to be fixed at 11 Mbps even on very poor
> (simulated) link. Please let me know if current CVS version does not
> work for you.

I will give it a try shortly...thanks for the ideas!


-Dave


> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




From laili  Mon Apr 14 03:45:54 2003
From: laili (=?big5?B?p/Ug8bA=?=)
Date: Mon, 14 Apr 2003 18:45:54 +0800
Subject: WDS problem..
Message-ID: <011d01c30273$0669afb0$88a8a8c0@lai>

hi all

i use two wireless aps to establish wds link

wlan0-----------                                                  -------------wlan0
eth0------------- ap1 )))))))))))))(((((((((((((( ap2-------------eth0
wlan0wds0----                                                  -----------wlan0wds0

i use ping to check if the wds link between two aps is ok ,
i let ap1 send ping packet to ap2,
but every ping packets send form ap1 to ap2 or send form ap2 to ap1 were lost.

so i try other ways,show below.

1. i just remove eth0 form br0 at ap1(or ap2), ap1 and ap2 can ping each other.

wlan0-----------                                                 -------------wlan0
                         ap1 )))))))))))))(((((((((((((( ap2-------------eth0
wlan0wds0----                                                  -----------wlan0wds0

2. if i remove wlan0 form br0 at both aps,they still can not ping each other.

eth0------------- ap1 )))))))))))))(((((((((((((( ap2-------------eth0
wlan0wds0----                                                  -----------wlan0wds0

3.if i remove eth0 form br0 at both aps,they can ping each other.
wlan0-----------                                                 -------------wlan0
                         ap1 )))))))))))))(((((((((((((( ap2
wlan0wds0----                                                  -----------wlan0wds0

why??

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030414/4fc660ea/attachment.htm 


From mrcool  Mon Apr 14 06:28:55 2003
From: mrcool (Jerry)
Date: Mon, 14 Apr 2003 08:28:55 -0500
Subject: Fw: Host AP setting for Linksys WPC11
Message-ID: <001101c30289$cca5d120$1204000a@terraworld.net>

Well... first and foremost, you need to compile the driver with firmware download support... now, from what i have read in the posts, you simply uncomment the line:
/*# define PRISM2_DOWNLOAD_SUPPORT */  
in otherwords take that pound (#) sign out (im not a programmer, somebody correctme if im wrong).  Well, to simply take that # out didnt do it for me, prism2_srec still gave me the error that i needed to do that... so this i know works...

first do a 'make clean'   <-important...
then:
make pccard -EXTRA_CFLAGS="-DPRISM2_DOWNLOAD_SUPPORT"
(thanks Jason...  http://talk.trekweb.com/~jasonb/articles/hostap_20021012.shtml
very good articles, LOTS of help to me, recommended reading)

then, of course, 'make install_pccard'  

reboot the computer...

make sure that hostap loaded properly... then compile the the utilities... (prism2_srec, etc).  from the ./hostap/utils/ folder, issue another 'make' command to create them.  Now the next step is just what I do, im not a linux expert, and i hope someone corrects my wrong doings if so, but, I :
cp prism2* /usr/local/bin 
cp host* /usr/local/bin
cp split* /usr/local/bin
cp util* /usr/local/bin
then to clean up some...
rm /usr/local/bin/*.c
rm /usr/local/bin/*.h
With the utils 'installed' to /usr/local/bin i can just issue a command such as:
prism2_srec wlan0 -r /path-to/r1010506.hex
from wherever in the path i may be.  (works for me :) 
Get this file :  http://hiping.terraworld.net/downloads/r1010506.hex
That is the RAM image for the WPC11, i copy it to the /usr/local/bin directory as well, then issue the commands
prism2_srec wlan0 -r /usr/local/bin/r1010506.hex
prism2_param wlan0 host_encrypt 0
At this point the new firmware should be usuable.  I create a shell script to start all my networking, and bridging and stuff, which I put in /usr/local/bin as well.  I then 'ln -s /usr/local/bin/AP.sh /etc/init.d/rc3.d/S20APinit'
which creates a startup link in runlevel 3. (if someone has a better way, PLEASE let me know).

Good luck...
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030414/73446317/attachment.htm 


From mojo.nichols  Mon Apr 14 06:50:32 2003
From: mojo.nichols (Mojo B. Nichols)
Date: 14 Apr 2003 09:50:32 -0400
Subject: Fw: Host AP setting for Linksys WPC11
In-Reply-To: <001101c30289$cca5d120$1204000a@terraworld.net>
References: <001101c30289$cca5d120$1204000a@terraworld.net>
Message-ID: <m34r51rxw7.fsf@localhost.localdomain>

"Jerry" <mrcool at stupidgamerz.com> writes:

> Well... first and foremost, you need to compile the driver with firmware download support... now, from what i have
> read in the posts, you simply uncomment the line:
> 
> /*# define PRISM2_DOWNLOAD_SUPPORT */?
> 
> in otherwords take that pound (#) sign out (im not a programmer, somebody correctme if im wrong).? Well, to simply

This is C so the comment is everything between /*   and */

by removing thest 4 characters it will be uncommmented:

# define PRISM2_DOWNLOAD_SUPPORT 



> take that # out didnt do it for me, prism2_srec still gave me the error that i needed to do that... so this i know
> works...
> 
> ?
> 
> first do a 'make clean'?? <-important...
> 
> then:
> 
> make pccard -EXTRA_CFLAGS="-DPRISM2_DOWNLOAD_SUPPORT"
> 
> (thanks Jason...? http://talk.trekweb.com/~jasonb/articles/hostap_20021012.shtml
> 
> very good articles, LOTS of help to me, recommended reading)
> 
> ?
> 
> then, of course, 'make install_pccard'?
> 
> ?
> 
> reboot the computer...

I think you can skip the reboot and instead (as root) 
rmmod <module(s) being removed lsmod can be helpful here>
modprobe <module(s) being installed> 

<snip>.



gl

Mojo




From dinn  Sun Apr 13 19:55:48 2003
From: dinn (Michael 'Moose' Dinn)
Date: Sun, 13 Apr 2003 23:55:48 -0300
Subject: hostap first experiences
Message-ID: <20030414025548.GA8869@blend.twistedpair.ca>

Some quick notes on my experience getting things working...


1. Went out and bought a Linksys WMP-11 from Future Shop, thinking "it's
probably broadcom based, but I have 30 days to return it..."

Lo and behold, it's a Prism2 card.

2. Installed Slackware 9, Linux-2.4.20, it picked up the card as eth1. Not
what I expected.

3. Downloaded hostap-0.1, compiled/installed, found I had the wrong firmware
(1.4.2).

4. Linksys lists 1.4.2 as the latest firmware. :(

5. Tried Netgear and Z-something 1.4.9 firmware, but it was only for rev
8008 cards, and mine was rev 8012 or 8013? In any case they didn't work.

6. Flashed the card with 1.3.x and hostap works like a treat.  If anyone
comes up with a Linksys 1.4.9, I'd love to get a copy.



If anyone wants some WMP-11's from Future Shop (Prism2 ones) I can go grab a
bunch and test them. I'll charge $5 CDN to test 'em and make sure they're
prism2 cards - or you can order blind at http://www.futureshop.ca/ :-)

They're $129 CDN or about $80 US.



-- 
 Michael 'Moose' Dinn, Twisted Pair Network Consulting Incorporated
 dinn at twistedpair.ca // 902 423 4700 (voice) // 902 423 8407 (fax)

 Colocate your server in our underground bunker!



From snow  Mon Apr 14 03:37:23 2003
From: snow (Jean-Nicolas Bes)
Date: Mon, 14 Apr 2003 12:37:23 +0200 (CEST)
Subject: Help With Building a Smart Relay  [keywords: repeater, wireless
 to wireless bridge, range extender.]
In-Reply-To: <E3B1A22A-6C42-11D7-99B2-003065B1FEE0@bmg50.com>
References: <E3B1A22A-6C42-11D7-99B2-003065B1FEE0@bmg50.com>
Message-ID: <Pine.LNX.4.51.0304141215360.22962@arrakis.snowmonster.db4>

On Fri, 11 Apr 2003, Phill Kenoyer wrote:

> I'm sorry if this has been covered before.  I have gone over all the
> archives and could not find reference to it.
>
...
> client to the server or the server to the client.  I'm not doing
> NAT/MASQ.  I know that its a routing problem, but I'm not sure how to
> fix it.  I've tried to bridge the two wireless cards, but that does not
> work.  Maybe its a IP Tables forward rule or something.  I have been
> searching the net for an answer, but I can not find one.

try this in ip router mode on the repeater:

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -F
iptables -F INPUT
iptables -F OUTPUT
iptables -F FORWARD
iptables -F -t mangle
iptables -t mangle -X
iptables -F -t nat
iptables -t nat -X
iptables -X
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT

it should open the forwarding gates.

if your server act as a gateway to the internet, add this on the
repeater:

route del default
route add default gw <server's ip> <server's link interface>

Your clients must have the ip adress of the repeater as their default
gateway :

route add default gw <repeater's IP(clientside)> <wireless interface>

if it doesn't work, you should perhaps update kernel...

Have a good routing day!



From proski  Mon Apr 14 07:59:55 2003
From: proski (Pavel Roskin)
Date: Mon, 14 Apr 2003 10:59:55 -0400 (EDT)
Subject: hostap first experiences
In-Reply-To: <20030414025548.GA8869@blend.twistedpair.ca>
References: <20030414025548.GA8869@blend.twistedpair.ca>
Message-ID: <Pine.LNX.4.53.0304141055080.1655@marabou.research.att.com>

Hello!

> 6. Flashed the card with 1.3.x and hostap works like a treat.  If anyone
> comes up with a Linksys 1.4.9, I'd love to get a copy.

Actually, there is flashable 1.5.6 firmware for your card, which is even
better (it supports standard WDS frames).  You need sf010506.hex.  You can
get it here: http://www.red-bean.com/~proski/firmware/

-- 
Regards,
Pavel Roskin



From gbritton  Mon Apr 14 12:15:12 2003
From: gbritton (Gerald Britton)
Date: Mon, 14 Apr 2003 15:15:12 -0400
Subject: flapping association
Message-ID: <20030414191512.GA13100@nevermore.toe.doomcom.org>

Recent CVS seems to have a problem not present in previous versions..
In Managed mode, my card seems to be reassociating with the base station
every few minutes rather than remaining associated as it did before (this
is true with several basestations i've tried).  My card is a MiniPCI
prism2.5 with station firmware 1.5.6.

				-- Gerald




From gbritton  Mon Apr 14 12:19:25 2003
From: gbritton (Gerald Britton)
Date: Mon, 14 Apr 2003 15:19:25 -0400
Subject: flapping association
In-Reply-To: <20030414191512.GA13100@nevermore.toe.doomcom.org>
References: <20030414191512.GA13100@nevermore.toe.doomcom.org>
Message-ID: <20030414191925.GA13233@nevermore.toe.doomcom.org>

On Mon, Apr 14, 2003 at 03:15:12PM -0400, Gerald Britton wrote:
> Recent CVS seems to have a problem not present in previous versions..
> In Managed mode, my card seems to be reassociating with the base station
> every few minutes rather than remaining associated as it did before (this
> is true with several basestations i've tried).  My card is a MiniPCI
> prism2.5 with station firmware 1.5.6.

Oops.. meant to give a bit more info here.  It typically displays messages
like this:

wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=00:05:5d:ea:65:4c
wlan0: LinkStatus=1 (Connected)
wlan0: LinkStatus: BSSID=00:05:5d:ea:65:4c

repeating each time it happens.  occasionally I'll have packets dropped
which were in transit when it flapped.

I'm running the Red Hat 9 kernel 2.4.20-9.

				-- Gerald



From hostap  Mon Apr 14 17:15:35 2003
From: hostap (Edgars Klepers)
Date: Mon, 14 Apr 2003 17:15:35 -0700
Subject: no private ioctls?
Message-ID: <JHENJMLHKAAIKKAOJBGEIEAHCAAA.hostap@eklynx.com>

i have a netgear MA311 card (PCI), and looks like hostap_pci loads and runs
with it, my laptop sees the card and interfaces with it, good pings and
everything. But iwpriv responds "no private iocts" so i cannot set any
settings such as ESSID and such.  Anyone have any ideas?  Thanks in advance

-Edgars-
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.471 / Virus Database: 269 - Release Date: 4/10/2003




From jt  Mon Apr 14 19:04:43 2003
From: jt (Jean Tourrilhes)
Date: Mon, 14 Apr 2003 19:04:43 -0700
Subject: Discontinuation of Linux 2.2.x and old wireless extensions support
Message-ID: <20030415020443.GA5876@bougret.hpl.hp.com>

gARetH baBB wrote :
> 
> On Fri, 11 Apr 2003, Jouni Malinen wrote:
> 
> > I'm considering of dropping support for Linux 2.2.x and old wireless
> > extensions support from the future releases of Host AP driver. My
> 
> Per features 2.4 (and beyond) is certainly more bloated than 2.2, which
> isn't good for the type of machines/devices (ie. small to very small)
> hostap is being run on.
> 
> I certainly run hostap under 2.2 on the laptops I have it on, mainly
> because 2.4 is completely unable to get along with those machines ...

	Maybe Jouni will think that I'm just adding salt on his
wounds, but let's split this issue in the middle. I personally agree
that old wireless extension support is not worth the effort, because
most driver functionality is unavailable.

	I've just added on my web page a patch to upgrade kernel
2.2.25 to Wireless Extension v15 :
	http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/iw225_we15-1.diff
	I cheated a bit, and I disabled Wireless Event support, but
you get all the rest, Wireless Scanning, enhanced iwpriv support,
extra stats, retry setting and standard mode monitor.
	I've tested is lightly with HostAP-0.0.1, and everything seems
fine. Don't forget that after patching you need to recompile all
drivers.

	No, here is the deal : if enough people prove to me that they
have tested this patch on their 2.2.X system (and report eventual
bugs), I'll push the patch to Alan Cox for inclusion in 2.2.26.

	Have fun...

	Jean



From jkmaline  Mon Apr 14 20:18:04 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 14 Apr 2003 20:18:04 -0700
Subject: [PATCH] Flash download works!!!
In-Reply-To: <20030414015002.GA3473@jm.kir.nu>
References: <Pine.LNX.4.53.0304131936230.3476@marabou.research.att.com> <20030414015002.GA3473@jm.kir.nu>
Message-ID: <20030415031804.GA3019@jm.kir.nu>

On Sun, Apr 13, 2003 at 06:50:02PM -0700, Jouni Malinen wrote:

> On Sun, Apr 13, 2003 at 08:04:04PM -0400, Pavel Roskin wrote:
> > The patch for firmware download is also attached, but it needs some work.
> > The card cannot be reset after download, so prism2_srec reports an error.
> > It's sufficient to eject and insert the card to see the new firmware.

> I would hope that COR sreset could be enough to get the card running
> after non-volatile download. I haven't yet tested this, but will start
> testing after I can reflash my test card.

My dead test card has been resurrected. :-) That was easy; big thanks
to Raffaele for providing information on how to do this with DOS flash
tool.

Indeed, COR sreset was enough. I just fixed the download code to first
set hw_downloading to zero before trying to configure card. This will
make prism2_srec report "OK" and not "Download failed" after flash
upgrade. In addition, I added a warning about the duration of the flash
operation and suggestion of not to remove card during it.. These should
make the first time someone updates STA firmware in flash with
prism2_srec a bit less scary experience ;-).

-- 
Jouni Malinen                                            PGP id EFC895FA



From proski  Mon Apr 14 21:12:07 2003
From: proski (Pavel Roskin)
Date: Tue, 15 Apr 2003 00:12:07 -0400 (EDT)
Subject: [PATCH] Flash download works!!!
In-Reply-To: <20030415031804.GA3019@jm.kir.nu>
Message-ID: <Pine.LNX.4.44.0304150003510.4181-200000@localhost.localdomain>

On Mon, 14 Apr 2003, Jouni Malinen wrote:

> My dead test card has been resurrected. :-) That was easy; big thanks to
> Raffaele for providing information on how to do this with DOS flash
> tool.

Congratulations!

I've done some cleanup for the flash code.  maxloadtime is no longer used.  
I was unsure whether to use it, but now I think it's better to have a
sufficient timeout than to rely on the RID value.  After all, the flash
code should rely on the existing firmware as little as possible.

The dlbuffer structure is now converted from little-endian to the CPU
format.  I'm not 100% sure that it's not done elsewhere and I have no
big-endian systems to test, so be careful.

Finally, the mask for checking the command number got its own name 
HFA384X_CMDCODE_MASK.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
--- driver/modules/hostap_download.c
+++ driver/modules/hostap_download.c
@@ -361,7 +361,6 @@ static int prism2_download_nonvolatile(l
 {
 	struct net_device *dev = local->dev;
 	int ret = 0, i;
-	u16 maxloadtime;
 	struct {
 		u16 page;
 		u16 offset;
@@ -377,18 +376,6 @@ static int prism2_download_nonvolatile(l
 
 	local->hw_downloading = 1;
 
-	ret = local->func->get_rid(dev, HFA384X_RID_MAXLOADTIME,
-				   &maxloadtime, 2, 0);
-
-	if (ret < 0) {
-		printk(KERN_WARNING "%s: Could not read maxloadtime\n",
-		       dev->name);
-		goto out;
-	}
-
-	printk(KERN_DEBUG "%s: Flash download timeout: %d msec\n",
-	       dev->name, maxloadtime);
-
 	ret = local->func->get_rid(dev, HFA384X_RID_DOWNLOADBUFFER,
 				   &dlbuffer, 6, 0);
 
@@ -398,6 +385,10 @@ static int prism2_download_nonvolatile(l
 		goto out;
 	}
 
+	dlbuffer.page = le16_to_cpu(dlbuffer.page);
+	dlbuffer.offset = le16_to_cpu(dlbuffer.offset);
+	dlbuffer.len = le16_to_cpu(dlbuffer.len);
+
 	printk(KERN_DEBUG "Download buffer: %d bytes at 0x%04x:0x%04x\n",
 	       dlbuffer.len, dlbuffer.page, dlbuffer.offset);
 
--- driver/modules/hostap_hw.c
+++ driver/modules/hostap_hw.c
@@ -508,7 +508,7 @@ static int hfa384x_cmd_wait(struct net_d
 	HFA384X_OUTW(cmd, HFA384X_CMD_OFF);
 
         /* wait for command completion */
-	if ((cmd & 0x3f) == HFA384X_CMDCODE_DOWNLOAD)
+	if ((cmd & HFA384X_CMDCODE_MASK) == HFA384X_CMDCODE_DOWNLOAD)
 		tries = HFA384X_DL_COMPL_TIMEOUT;
 	else
 		tries = HFA384X_CMD_COMPL_TIMEOUT;
--- driver/modules/hostap_wlan.h
+++ driver/modules/hostap_wlan.h
@@ -409,6 +409,8 @@
 #define HFA384X_CMDCODE_WRITEMIF 0x31
 #define HFA384X_CMDCODE_TEST 0x38
 
+#define HFA384X_CMDCODE_MASK 0x3F
+
 /* Test mode operations */
 #define HFA384X_TEST_CHANGE_CHANNEL 0x08
 #define HFA384X_TEST_MONITOR 0x0B


From jkmaline  Mon Apr 14 21:55:14 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 14 Apr 2003 21:55:14 -0700
Subject: [PATCH] Flash download works!!!
In-Reply-To: <Pine.LNX.4.44.0304150003510.4181-200000@localhost.localdomain>
References: <20030415031804.GA3019@jm.kir.nu> <Pine.LNX.4.44.0304150003510.4181-200000@localhost.localdomain>
Message-ID: <20030415045513.GA3464@jm.kir.nu>

On Tue, Apr 15, 2003 at 12:12:07AM -0400, Pavel Roskin wrote:

> I've done some cleanup for the flash code.

Thanks; applied.

> The dlbuffer structure is now converted from little-endian to the CPU
> format.  I'm not 100% sure that it's not done elsewhere and I have no
> big-endian systems to test, so be careful.

RID structures are not automatically converted, so this was indeed
needed. I do have a big-endian test system and I made a todo entry to
test flash download code on it. Thanks for sending this patch before I
had enough time to do this test ;-).

-- 
Jouni Malinen                                            PGP id EFC895FA



From sndbeat  Mon Apr 14 22:29:02 2003
From: sndbeat (Vic Berdin)
Date: Mon, 14 Apr 2003 22:29:02 -0700 (PDT)
Subject: Discontinuation of Linux 2.2.x and old wireless extensions
In-Reply-To: <20030412055807.90307.85627.Mailman@sisyphus.iocaine.com>
Message-ID: <20030415052902.88597.qmail@web10404.mail.yahoo.com>

On 2.2.x:

Most of my projects are deployed on embedded hardware.
I don't know about the others, but I personally find
2.2.x much easier to fit in most embedded systems. And
in most cases, 2.2.x already suffices such embedded
requirements.
This announcement surely adds up to the presure that I
upgrade to 2.4. :o(

===============================
Message: 10
Date: Fri, 11 Apr 2003 19:58:15 -0700
From: Jouni Malinen <jkmaline at cc.hut.fi>
To: hostap at shmoo.com
Subject: Discontinuation of Linux 2.2.x and old
wireless extensions 
support

I'm considering of dropping support for Linux 2.2.x
and old wireless
extensions support from the future releases of Host AP
driver. My
current plan is to first release at least one version
(v0.0.2) as a bug
fix release for v0.0.1. After that, I would clean up
the driver source
code by removing all backwards compatibility
definitions and release
this as v0.1.0. If any major bugs are found in v0.0.2,
I could consider
releasing other 0.0.x versions as bug fix releases,
but these would not
be getting any new features.

If you think that support for old versions should not
be removed from
the Host AP driver, now would be a good time to make
this known. Please
include some justification for this and do note that
maintaining this
backwards compatibility code and testing old versions
is taking
considerable (and increasing) amount of my time and
this will be away
from developing new features or working on stability
of the driver, 
etc.
You can of course continue using v0.0.x releases of
the driver with
older Linux versions; you would just not be getting
new features from
the versions I release.

-- 
Jouni Malinen                                         
  PGP id 
EFC895FA




__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



From jeetendra  Mon Apr 14 23:05:49 2003
From: jeetendra (Jeetendra Kumar)
Date: Tue, 15 Apr 2003 11:35:49 +0530
Subject: hostap linked into kernel vs module
Message-ID: <3E9BA13D.1040502@alumnux.com>

Hi All,
Is there any know issue(s) when hostap is linked into kernel or when it 
is build as a module?

Thanks in advance.

------------------------------------
    _    Jeetendra Kumar           |
   ?v?   Alumnus Software Limited  |
  /(_)\  Kolkata, India - 700091   |
   ^ ^   http://www.alumnux.com    |
------------------------------------





From hostapd  Tue Apr 15 03:47:53 2003
From: hostapd (Slavoj Hruska)
Date: Tue, 15 Apr 2003 10:47:53 +0000
Subject: Just an Idea
Message-ID: <12449.030415@cybercity.sk>

Hello all,


I have just an idea. May be it is too bad way but try to read this
lines till end.

At first, sorry about my englis, I am now more than 48hour without
sleep. :-))

What is basic diferent between FHS and DSS? DSS transmit on 1 fixed
channel and FHS change channel every xx ms based on hopping seq.

Basic result. DSS  greater speeds, FHS greater stability to
interfeneces at industrial zones.

And now, why i talking about that basics what everybody know?

Try to imagine hostapd core witch will do next few additional steps:

1) have internal static table [0..XX] of byte where XX is for example 63
2) via, for example /proc/net/hostap/wlan0/hopping you can read and
write sequention of channels between hostapd will be hopping and via for
example /proc/net/hostap/wlan0/hop_timmer u can tell hostapd interval
between hops in ms
3) hostapd core have internal timer witch after that time
deassocciate all stations, change channel to next channel seted on
hopping table. It's may be enought to do it 1 time per sec. may be
more times, based on /proc/net/hostap/wlan0/hop_timmer

I now hear yours voices, that's stupid idea, why to do it? U just send
more beacons, and flood badwidth. I say may be, but where are too many
APs like at bigger cities, taht may be usefull.


What is yours opinion about that?

Best regards,
 Slavoj                          mailto:hostapd at cybercity.sk





From jeetendra  Tue Apr 15 06:09:57 2003
From: jeetendra (Jeetendra Kumar)
Date: Tue, 15 Apr 2003 18:39:57 +0530
Subject: kernel pcmcia-cs vs external pcmcia-cs
Message-ID: <3E9C04A5.9040203@alumnux.com>

Hi All,
Does it matter if I use kernel pcmcia-cs instead of external pcmcia-cs distribution?

Thanks in advance.

------------------------------------
    _    Jeetendra Kumar           |
   ?v?   Alumnus Software Limited  |
  /(_)\  Kolkata, India - 700091   |
   ^ ^   http://www.alumnux.com    |
------------------------------------





From eklynx  Mon Apr 14 14:26:19 2003
From: eklynx (Edgars Klepers)
Date: Mon, 14 Apr 2003 14:26:19 -0700
Subject: no private ioctls?
Message-ID: <JHENJMLHKAAIKKAOJBGEEEAHCAAA.eklynx@eklynx.com>

i have a netgear MA311 card (PCI), and looks like hostap_pci loads and runs
with it, my laptop sees the card and interfaces with it, good pings and
everything. But iwpriv responds "no private iocts" so i cannot set any
settings such as ESSID and such.  Anyone have any ideas?  Thanks in advance

-Edgars-
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.471 / Virus Database: 269 - Release Date: 4/10/2003




From jjo-hostap  Tue Apr 15 06:50:51 2003
From: jjo-hostap (JuanJo Ciarlante)
Date: Tue, 15 Apr 2003 10:50:51 -0300
Subject: AP client mode
In-Reply-To: <20030412040615.GA2854@jm.kir.nu>; from jkmaline@cc.hut.fi on Fri, Apr 11, 2003 at 09:06:15PM -0700
References: <20030411103747.A9120@mendoza.gov.ar> <20030412040615.GA2854@jm.kir.nu>
Message-ID: <20030415105051.Q26023@mendoza.gov.ar>

On Fri, Apr 11, 2003 at 09:06:15PM -0700, Jouni Malinen wrote:
> On Fri, Apr 11, 2003 at 10:37:47AM -0300, JuanJo Ciarlante wrote:
> 
> >  hostapd.conf has correct  assoc_ap_addr=<uplink_AP_MAC>
> 
> >         wds_type: WDS type bitfield
> > 	          : 
> > 	          2 = use AP client mode in 'Managed mode'
> > 	"
> > ... SEEMS that wlan card should in "managed" mode.
> 
> Yes, indeed. These are two completely separate features. assoc_ap_addr
> with hostapd is a very experimental code for associating to another AP
> while operating as a station. wds_type 2 is a "AP client mode" in which
> the Host AP driver operates in Managed mode, associates to another AP,
> and is using WDS frames to allow bridging. However, "AP client" is _not_
> operating as an AP at the same time. This mode does not use hostapd.

Thanks for the clear explanation !
After workaround'ing with promisc. mode y got assoc_ap_addr working Ok
(albeit transferring as about 1/2 speed as STA ... maybe my P166 can't
handle promisc mode 'streaming').

Regards
-- 
--Juanjo

#  Juan Jose Ciarlante (JuanJo PGP) jjo ;at; mendoza.gov.ar              #
#  Key fingerprint = 76 60 A5 76 FD D2 53 E3  50 C7 90 20 22 8C F1 2D    #



From hick.hostap  Tue Apr 15 08:30:11 2003
From: hick.hostap (gARetH baBB)
Date: Tue, 15 Apr 2003 16:30:11 +0100 (BST)
Subject: Discontinuation of Linux 2.2.x and old wireless extensions
 support
In-Reply-To: <20030415020443.GA5876@bougret.hpl.hp.com>
References: <20030415020443.GA5876@bougret.hpl.hp.com>
Message-ID: <Pine.LNX.4.53.0304151614280.16354@stum.gink.org>

On Mon, 14 Apr 2003, Jean Tourrilhes wrote:

> 	No, here is the deal : if enough people prove to me that they
> have tested this patch on their 2.2.X system (and report eventual
> bugs), I'll push the patch to Alan Cox for inclusion in 2.2.26.

Well, I've upgraded everything here - things were getting out of date
anyway.

So it's running 2.2.25 with your patch, latest CVS hostap, latest wireless
tools (25), latest pcmcia-cs (3.2.24).

Which is quite a step from 2.2.19 using hostap-2002-09-12 ...

The only issue was hostap's driver/modules/ now contains a Makefile which
overwrote the pcmcia-cs modules Makefile when I blindly cped.

Otherwise it went fine, which is quite disconcerting for the large(ish)
steps in so many key components.

Even my STA rrdtool stats thing is happy with it.

I'll peruse all the new hostap options for tweaking fun, though I'm unsure
how the wireless extensions are going to play a big part - that box is a
plain AP, not even WDS - though iwpriv means settings are done slightly
differently.

But it's all in.

Anything you specifically want me to try ?

[shame it didn't cure the network problems (large network "stutters") I
have when I use a 100M card in the machine, ah well, a 10M card is ok for
now ...]



From Adam.Lewis  Tue Apr 15 11:12:36 2003
From: Adam.Lewis (Lewis Adam-CAL022)
Date: Tue, 15 Apr 2003 13:12:36 -0500
Subject: HostAP on PPC
Message-ID: <8177F6132F4D7F43AD9E832D5AAAEE2407E71207@il02exm04.corp.mot.com>

Hi all,
 
I am attempting to cross-compile HostAP onto an embedded PPC405 platform.  I
modified the Makefile to point CC to the ppc_405-gcc compiler, and added
some headers/cflags at the top of the Makefile:
 
# Edit this path to match with your system (it should point to the root
# directory of the Linux kernel source)
KERNEL_PATH=/root/mclb_work_directory/my_kernel/kernel

# Systems using external pcmcia-cs package (instead of kernel-tree pcmcia
# modules):
#

# hostap_cs.o can be compiled either by copying driver/* into pcmcia-cs root
# directory and compiling pcmcia-cs package or by configuring PCMCIA_PATH
# and using this Makefile with 'make pccard; make install_pccard'.
# Leave this blank for kernel-tree PCMCIA compilations (CONFIG_PCMCIA):
PCMCIA_PATH=

HEADERS=-I/root/mclb_work_directory/my_kernel/kernel/arch/ppc \
 
-I/root/mclb_work_directory/my_kernel/kernel/arch/ppc/platforms \
 
-I/root/mclb_work_directory/my_filesystem/target/usr/lib/gcc-lib/powerpc-har
dhat-linux/3.2.1/include

CC=ppc_405-gcc
CFLAGS=-O2 -D__KERNEL__ -DMODULE -Wall -c $(EXTRA_CFLAGS)
CFLAGS+=$(HEADERS)
CFLAGS+=-DPPC_BIG_ENDIAN
CFLAGS+=-nostdinc
CFLAGS+=-Wstrict-prototypes

 

Now for the problem, when I insert my LinkSys WPC11 card, I get the
following:
 
Jan 1 00:00:52 10 kernel: cs: memory probe 0x20000000-0x37ffffff: excluding
0x20000000-0x217fffff 0x36800000-0x37ffffff
Jan 1 00:00:52 10 cardmgr[121]: socket 1: Linksys WPC11 Ver3 11Mbps WLAN
Card
Jan 1 00:00:53 10 cardmgr[121]: executing: 'modprobe hostap_cs'
Jan 1 00:00:53 10 kernel: hostap_crypt: registered algorithm 'NULL'
Jan 1 00:00:53 10 kernel: hostap_cs: hostap_cs.c 0.0.0 2002-10-12 (SSH
Communications Security Corp, Jouni Malinen)
Jan 1 00:00:53 10 kernel: hostap_cs: (c) Jouni Malinen <jkmaline at cc.hut.fi>
Jan 1 00:00:54 10 kernel: hostap_cs: setting Vcc=33 (constant)
Jan 1 00:00:54 10 kernel: hostap_cs: CS_EVENT_CARD_INSERTION
Jan 1 00:00:54 10 kernel: prism2_config()
Jan 1 00:00:54 10 kernel: hostap_cs: setting Vcc=50 (from config)
Jan 1 00:00:54 10 kernel: Checking CFTABLE_ENTRY 0x01 (default 0x01)
Jan 1 00:00:54 10 kernel: IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
Jan 1 00:00:54 10 kernel: io->flags = 0x0046, io.base=0x0000, len=64
Jan 1 00:00:54 10 kernel: hostap_cs: index 0x01: Vcc 5.0, irq 8, io
0x0100-0x013f
Jan 1 00:00:54 10 kernel: Oops: kernel access of bad area, sig: 11
Jan 1 00:00:54 10 kernel: NIP: C920E5A8 XER: 00000000 LR: C920F390 SP:
C76CF6E0 REGS: c76cf620 TRAP: 0800 Not tainted
Jan 1 00:00:54 10 kernel: MSR: 00009030 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
Jan 1 00:00:54 10 kernel: DEAR: 0001001A, ESR: 00000000
Jan 1 00:00:54 10 kernel: TASK = c76ce000[121] 'cardmgr' Last syscall: 54 
Jan 1 00:00:54 10 kernel: last math 00000000 last altivec 00000000
Jan 1 00:00:54 10 kernel: GPR00: 00002564 C76CF6E0 C76CE000 0001000E
00001030 00000001 00000001 C014501B 
Jan 1 00:00:54 10 kernel: GPR08: 00000000 C9210000 00000000 C9211EBC
82008428 10021FAC 00000000 00000000 
Jan 1 00:00:54 10 kernel: GPR16: 00000000 00000000 1001A384 1001A384
00009032 076CFF30 00000000 C0002B34 
Jan 1 00:00:54 10 kernel: GPR24: 40000000 00000000 0001000E C76CF728
C7FC0200 C76CF938 C7FE2D60 CCCCCCCD 
Jan 1 00:00:54 10 kernel: Call backtrace: 
Jan 1 00:00:54 10 kernel: C00B9A74 C920F390 C920F734 C00B2184 C00B3740
C920EC74 C00AF178 
Jan 1 00:00:54 10 kernel: C00AFF18 C004663C C00028FC 7FFFF930 10003008
10004448 0FED2268 
Jan 1 00:00:54 10 kernel: 00000000 
 
 
It sounds from previous threads on this list that running HostAP on a PPC
should not be a problem, what am I doing wrong?
Thanks!
 
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030415/b1d67883/attachment.htm 


From akots  Tue Apr 15 11:15:03 2003
From: akots (Achilleas Kotsis)
Date: Tue, 15 Apr 2003 21:15:03 +0300
Subject: [PATCH] Flash download works!!!
References: <Pine.LNX.4.53.0304131936230.3476@marabou.research.att.com> <20030414015002.GA3473@jm.kir.nu> <20030415031804.GA3019@jm.kir.nu>
Message-ID: <008501c3037a$f0ee0510$fbfb2e0a@cray>

Sorry for possible duplicates, I used the wrong address...

> My dead test card has been resurrected. :-) That was easy; big thanks
> to Raffaele for providing information on how to do this with DOS flash
> tool.

Did you use your modified PCMCIA adaptor or a normal one?
I have an Engenius EL-2011CD and could not load any of the two initial
firmwares with a normal adaptor.
My card has a corrupt PDA and pri/sta firmwares...

BTW: I found a newer version of flash.exe at
http://home.eunet.cz/jt/wifi/FLASH.EXE (0.5e)

Achilleas Kotsis a.k.a. Achille
Webpage: http://www.cslab.ntua.gr/~akots/
PGP Key: 0x10AF3483 (http://www.cslab.ntua.gr/~akots/akots.asc)
-- "whois awk?", sed Grep --




From proski  Tue Apr 15 12:00:34 2003
From: proski (Pavel Roskin)
Date: Tue, 15 Apr 2003 15:00:34 -0400 (EDT)
Subject: [PATCH] Flash download works!!!
In-Reply-To: <008501c3037a$f0ee0510$fbfb2e0a@cray>
References: <Pine.LNX.4.53.0304131936230.3476@marabou.research.att.com>
 <20030414015002.GA3473@jm.kir.nu> <20030415031804.GA3019@jm.kir.nu>
 <008501c3037a$f0ee0510$fbfb2e0a@cray>
Message-ID: <Pine.LNX.4.53.0304151455060.5870@marabou.research.att.com>

On Tue, 15 Apr 2003, Achilleas Kotsis wrote:

> I have an Engenius EL-2011CD and could not load any of the two initial
> firmwares with a normal adaptor.
> My card has a corrupt PDA and pri/sta firmwares...

I'm afraid you'll need the modified adaptor for that.  I wonder if Jouni
can share the schematics with us.

> BTW: I found a newer version of flash.exe at
> http://home.eunet.cz/jt/wifi/FLASH.EXE (0.5e)

Tested it.  flash.ini is required.  The link on
http://home.eunet.cz/jt/wifi/ for flash.ini is broken, so I took the
FreeDOS image from the same site and extracted flash.ini from it.  It's
attached.

It didn't help with my card with broken PDA and CIS.  On the positive
side, legacy.exe doesn't need to be run with the new version of flash.exe.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
#first rev of the ini file for flash.exe

#command lines can be placed in this file and called from the command line

#with the -c <section> option



[command lines]

pcmcia = -3v -s

init = -i wi1309k0.hex -3842 0f07



#configure devices below



[1180,0476]

name = Ricoh 476 Cardbus	

lastfunction=1

offset0=800

5v=2f:00, 02:90

3v=2f:01, 02:90

0v=02:00, 2f:00

usemem=1



[1013,1100]

name = ELAN P-Series single slot adapter

offset0=0

usemem=0

5v=16:0, 2:31

3v=16:2, 2:31

0v=2:0, 16:0



[104C,AC15]

name = TI PCI1131 PC card Cardbus Controller (on Latitude CP)

pcicontrol=44

usemem=0

offset0=0

offset1=40

5v=2:31

3v=2:98

0v=2:0



[104C,AC50]

name = TI PCI1410 PC Card Controller (onboard minipci)

pcicontrol=44

usemem=0

offset0=0

5v=2:31

3v=2:98

0v=2:0



[104C,AC1E]

name = TI PCI1211 PC Card Controller (onboard minipci 2.5)

pcicontrol=44

usemem=0

offset0=0

5v=2:31

3v=2:98

0v=2:0



[104C,AC1C]

name = TI PCI1225 PC Card Controller (on Inspiron 5000)

pcicontrol=44

usemem=0

offset0=0

offset1=40

5v=2:31

3v=2:98

0v=2:0



[1217,6872]

name = O2 Micro OZ6812 Cardbus Controller (on IBM Thinkpad)

pcicontrol=44

usemem=0

offset0=0

5v=2:31

3v=2:98

0v=2:0



[104C,AC16]

name = TI PCI1250 PC card Cardbus Controller

pcicontrol=44

usemem=0

offset0=0

5v=2:31

3v=2:98

0v=2:0



[104C,AC17]

name = TI PCI1220 PC card Cardbus Controller

pcicontrol=44

usemem=0

offset0=0

offset1=40

5v=2:31

3v=2:98

0v=2:0



[104C,AC52]

name = TI PCI1451 PC card Cardbus Controller

pcicontrol=44

usemem=0

offset0=0

5v=2:31

3v=2:98

0v=2:0	



[1260,3873]

name = ISL 3874 PCI

pci=1



From christian_marx  Tue Apr 15 14:01:46 2003
From: christian_marx (Christian Marx)
Date: Tue, 15 Apr 2003 23:01:46 +0200
Subject: no private ioctls?
In-Reply-To: <JHENJMLHKAAIKKAOJBGEEEAHCAAA.eklynx@eklynx.com>
References: <JHENJMLHKAAIKKAOJBGEEEAHCAAA.eklynx@eklynx.com>
Message-ID: <3E9C733A.6070102@vionetz.de>

Edgars Klepers wrote:
> i have a netgear MA311 card (PCI), and looks like hostap_pci loads and runs
> with it, my laptop sees the card and interfaces with it, good pings and
> everything. But iwpriv responds "no private iocts" so i cannot set any
> settings such as ESSID and such.  Anyone have any ideas?  Thanks in advance
> 
> -Edgars-
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.471 / Virus Database: 269 - Release Date: 4/10/2003
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
How do you get this card to work.
I?ve got the same one and i can see my WLAN, but i can?t get it to work 
with IP. No pings, now dhcp based ip address ... no way to go.

Thanks for every tip ...

Christian

-- 
chmarx at gmx.net
christian_marx at web.de





From hostap  Tue Apr 15 20:49:39 2003
From: hostap (Edgars Klepers)
Date: Tue, 15 Apr 2003 20:49:39 -0700
Subject: no private ioctls?
In-Reply-To: <3E9C733A.6070102@vionetz.de>
Message-ID: <JHENJMLHKAAIKKAOJBGEMEAHCAAA.hostap@eklynx.com>

All i did was modprobe hostap_pci,   and set my net script to assign it an
IP address.  netstumbler and windows XP found it without a problem.  set up
dhcpd to assign ip's and it worked like a charm other than than not being
able to set essid's.  Just found out i forgot to include wireless lan
capabilities in the kernel, recompiling as we speak, and i have a feeling
that will solove that problem.

-Edgars

-----Original Message-----
From: hostap-admin at shmoo.com [mailto:hostap-admin at shmoo.com]On Behalf Of
Christian Marx
Sent: Tuesday, April 15, 2003 2:02 PM
To: hostap at shmoo.com
Subject: Re: no private ioctls?

How do you get this card to work.
I?ve got the same one and i can see my WLAN, but i can?t get it to work
with IP. No pings, now dhcp based ip address ... no way to go.

Thanks for every tip ...

Christian

--
chmarx at gmx.net
christian_marx at web.de


_______________________________________________
HostAP mailing list
HostAP at shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.471 / Virus Database: 269 - Release Date: 4/10/2003




From antonio.vilei  Wed Apr 16 00:41:12 2003
From: antonio.vilei (Antonio Vilei)
Date: Wed, 16 Apr 2003 09:41:12 +0200
Subject: no private ioctls?
References: <JHENJMLHKAAIKKAOJBGEEEAHCAAA.eklynx@eklynx.com> <3E9C733A.6070102@vionetz.de>
Message-ID: <001c01c303eb$8da207b0$151e0a0a@stmantoniov>

Hello,

> iwpriv responds "no private iocts" so i cannot set any
> settings such as ESSID and such.  Anyone have any ideas?

to set ESSID you can simply use iwconfig (no need to use iwpriv):
iwconfig wlan0 essid myessid

Anyway you can uncomment defines: PRISM2_USE_WE_SUB_IOCTLS and Use
IW_PRIV_TYPE_ADDR
in file hostap_config.h. This will let you use all the iwpriv commands

NOTE: Read carefully the comments about wireless extensions and wireless
tools  versions, i.e.

/* Include wireless extensions sub-ioctl support even if wireless extensions
 * version is less than 15 (actually, only if it is 12 .. 14). If ver >= 15,
 * these will be included. Please note, that this requires iwpriv version 25
 * or higher (older versions will segfault due to long ioctl list). */
/* #define PRISM2_USE_WE_SUB_IOCTLS */

/* Use IW_PRIV_TYPE_ADDR with private WE ioctls taking MAC address argument
 * (instead of old 18*char). This requires iwpriv ver >= 25. This will be
 * automatically included for WIRELESS_EXT >= 15. */
/* #define PRISM2_USE_WE_TYPE_ADDR */


----- Original Message -----
From: "Christian Marx" <christian_marx at web.de>
To: <hostap at shmoo.com>
Sent: Tuesday, April 15, 2003 11:01 PM
Subject: Re: no private ioctls?


> Edgars Klepers wrote:
> > i have a netgear MA311 card (PCI), and looks like hostap_pci loads and
runs
> > with it, my laptop sees the card and interfaces with it, good pings and
> > everything. But iwpriv responds "no private iocts" so i cannot set any
> > settings such as ESSID and such.  Anyone have any ideas?  Thanks in
advance





From hick.hostap  Wed Apr 16 01:15:40 2003
From: hick.hostap (gARetH baBB)
Date: Wed, 16 Apr 2003 09:15:40 +0100 (BST)
Subject: Discontinuation of Linux 2.2.x and old wireless extensions
 support
In-Reply-To: <Pine.LNX.4.53.0304151614280.16354@stum.gink.org>
References: <20030415020443.GA5876@bougret.hpl.hp.com>
 <Pine.LNX.4.53.0304151614280.16354@stum.gink.org>
Message-ID: <Pine.LNX.4.53.0304160913230.16354@stum.gink.org>

On Tue, 15 Apr 2003, gARetH baBB wrote:

> Otherwise it went fine, which is quite disconcerting for the large(ish)
> steps in so many key components.

Big blip just happened - wireless died resulting from:

wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-4, rid=fc00,
len=2)
wlan0: Port type setting to 6 failed
wlan0: MAC port 0 enabling failed
prism2_tx_timeout: wake up queue
wlan0: prism2_tx: hw not ready - skipping
wlan0: prism2_tx: hw not ready - skipping
wlan0: prism2_tx: hw not ready - skipping
wlan0: prism2_tx: hw not ready - skipping
wlan0: prism2_tx: hw not ready - skipping
wlan0: prism2_tx: hw not ready - skipping
etc.

I did a iwpriv reset to get it going again.



From john.zhuge  Wed Apr 16 03:28:50 2003
From: john.zhuge (John Zhuge)
Date: 16 Apr 2003 03:28:50 -0700
Subject: Access Point running HostAP-2002-10-12 doesn't reconnect client
Message-ID: <1050488931.2867.9.camel@jz-laptop>

Steps to reproduce:
1) AP running 10-12 HostAP in master mode (ZCOMAX card)
2) have a laptop connect to it (Dell Latitude, TrueMobile 1150)
3) On AP, eject the card, then insert the card, set correct ESSID, KEY,
CHANNEL.

The laptop does not re-associate with the AP. Why?
Specifically, "ls /proc/net/hostap/wlan0" does not list the client MAC.

This problem seems to have been fixed with 0.0.1 release. What has
changed? For some reason, I still need to use 10-12 release.

---------------- dmesg ---------------
hostap_crypt: registered algorithm 'NULL'
hostap_crypt: registered algorithm 'WEP'
hostap_cs: hostap_cs.c 0.0.0 2002-10-12 (SSH Communications Security
Corp, Jouni Malinen)
hostap_cs: (c) Jouni Malinen <jkmaline at cc.hut.fi>
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 5.0, irq 10, io 0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_config: initialized in 17522 iterations
wlan0: NIC: id=0x800c v1.0.0
wlan0: PRI: id=0x15 v1.0.7
wlan0: STA: id=0x1f v1.3.6
wlan0: defaulting to host-based encryption as a workaround for firmware
bug in Host AP mode WEP
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: hfa384x_setup_bap - timeout after
wlan0: hfa384x_set_rid (rid=fc03, len=2) - failed - res=-110
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=2 (Disconnected)
wlan0: rejected received nullfunc frame without ToDS from not associated
STA 00:02:2d:57:4d:37
handle_ap_item - data frame
wlan0: prism2_send_mgmt - device is not UP - cannot send frame
wlan0: LinkStatus=2 (Disconnected)

Thanks.
-JZ




From akots  Tue Apr 15 11:11:28 2003
From: akots (Achilleas Kotsis)
Date: Tue, 15 Apr 2003 21:11:28 +0300
Subject: [PATCH] Flash download works!!!
References: <Pine.LNX.4.53.0304131936230.3476@marabou.research.att.com> <20030414015002.GA3473@jm.kir.nu> <20030415031804.GA3019@jm.kir.nu>
Message-ID: <007501c3037a$709a4e00$fbfb2e0a@cray>

> My dead test card has been resurrected. :-) That was easy; big thanks
> to Raffaele for providing information on how to do this with DOS flash
> tool.

Did you use your modified PCMCIA adaptor or a normal one?
I have an Engenius EL-2011CD and could not load any of the two initial
firmwares with a normal adaptor.
My card has a corrupt PDA and pri/sta firmwares...

BTW: I found a newer version of flash.exe at
http://home.eunet.cz/jt/wifi/FLASH.EXE (0.5e)

Achilleas Kotsis a.k.a. Achille
Webpage: http://www.cslab.ntua.gr/~akots/
PGP Key: 0x10AF3483 (http://www.cslab.ntua.gr/~akots/akots.asc)
-- "whois awk?", sed Grep --





From mario  Wed Apr 16 18:58:21 2003
From: mario (mario)
Date: Thu, 17 Apr 2003 09:58:21 +0800
Subject: problem of running WDS with 802.1x
Message-ID: <00ea01c30484$d2f67ff0$d406050a@Mario02>

Folks,

I have tried WDS and 802.1x features of hostap version 0.0.1. They work individually. However, WDS fails when running with 802.1x. When running 1x, APs will generate different keys for their wireless link. It is perfectly okay. However, the problem is each AP will uses its key for the WDS link as well. Since both ends of WDS link use different keys, the WDS link fails.

I use the same WDS configuration as mentioned in README.prism2. It worked in the previous version of hostap as well as the latest version when not running 1x. WDS only fails with 1x running. Perhaps, I have missed out something. Could someone give me any advice?

Also, does anyone has any experience of upgrading linksys STA firmware under linux? I have some physical constraint of unplugging Linksys card from my embedded system and plug it to a Wins system for firmware upgrade.

I would very much appreciate your help.

With regards,
Mario 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030417/aa412bc9/attachment.htm 


From s-ha  Tue Apr 15 23:25:57 2003
From: s-ha (Sungwon Ha)
Date: Wed, 16 Apr 2003 01:25:57 -0500 (CDT)
Subject: Windows XP and IAS question
Message-ID: <Pine.LNX.4.44.0304160125080.30538-100000@chaos.crhc.uiuc.edu>

How are you?

I have successfully ran tests with xsupplicant (from open1x), hostapd and FreeRadius and am moving to Window XP, hostapd and Microsoft IAS(Radius). 
Could you give me some pointers where I can find information regarding configuration of Window XP and Microsoft IAS?
Your help is greatly appreciated.
Thanks.


					- Sungwon




From neverland11  Wed Apr 16 05:40:16 2003
From: neverland11 (=?iso-8859-1?B?Sm9oYW5uYSBH/GxseQ==?=)
Date: Wed, 16 Apr 2003 14:40:16 +0200
Subject: The user's location
Message-ID: <F49lUpNsq3nm7l2JKdR000133f7@hotmail.com>

hi all together

which parameters (signalrate, etc) give information about the
distance of the AP to the
individual Clients?
Is there any method to let me know all the client's in my AP's
coverage
area? (include the client's that association with other AP's in
different channel as mine).
Thanks for your answer.

johanna



_________________________________________________________________
Messenger? - ?Wer in Echtzeit kommunizieren will, l?dt den MSN Messenger. 
Cool, kostenlos und mit 3D Emoticons:  http://messenger.msn.at




From martin.whitlock  Wed Apr 16 05:43:12 2003
From: martin.whitlock (Martin Whitlock)
Date: Wed, 16 Apr 2003 14:43:12 +0200
Subject: Windows XP and IAS question
In-Reply-To: <Pine.LNX.4.44.0304160125080.30538-100000@chaos.crhc.uiuc.edu>
References: <Pine.LNX.4.44.0304160125080.30538-100000@chaos.crhc.uiuc.edu>
Message-ID: <3E9D4FE0.3000908@possio.com>

Sungwon Ha wrote:

>Could you give me some pointers where I can find information regarding configuration of Window XP and Microsoft IAS?
>
Check this document from MS:
www.microsoft.com/WindowsXP/pro/techinfo/deployment/wireless/80211corp.doc

/Martin




From djaoui  Wed Apr 16 07:32:03 2003
From: djaoui (=?iso-8859-1?q?david=20jaoui?=)
Date: Wed, 16 Apr 2003 16:32:03 +0200 (CEST)
Subject: How to change physical MAC address on MA411 (HFA3842)
Message-ID: <20030416143203.33306.qmail@web12308.mail.yahoo.com>

Hi, I was struggling with routing problems for a week (no packet was routed trough the AP except dhcp discover) when I found out that the NIC on the AP and the NIC on the client computer had the same MAC physical address (not PDA's MAC) : both NIC are Netgear (they suck !) MA411.After test, that was indeed the cause of the problem. I can change the PDA's MAC but that's not a solution to that problem.Does anyone know how to modify that MAC Physical address (if it's possible) on that 800c (HFA3842) platform ?
Netgear Customer Support didn't want to help. Also, does anyone know or can make a "how to" on reflashing dead HFA3841 cards cause I haven't understood nothing from these days discussions.
I don't achieve nothing with dosflash (I have auxenable failed and busy bit not cleared errors).Regards, David Jaoui


---------------------------------
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais !
Testez le nouveau Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030416/0fb40c06/attachment.htm 


From mike  Wed Apr 16 09:16:47 2003
From: mike (Michael Guntsche)
Date: Wed, 16 Apr 2003 18:16:47 +0200
Subject: INFDROPs during large file transfers
Message-ID: <20030416181647.585e377e.mike@it-loops.com>

Sorry should have tested this for a longer time 
I always get INFDROPs after some time, it just happens faster if I use
WEP.
The 180KB problem persits.


Michael




From mike  Wed Apr 16 08:45:41 2003
From: mike (Michael Guntsche)
Date: Wed, 16 Apr 2003 17:45:41 +0200
Subject: INFDROPs during large file transfers
Message-ID: <20030416174541.130da492.mike@it-loops.com>

Sorry if this has been solved already, but I searched the archives and
didn't find anything.

My setup:

	AP:
	Pentium 200
	kernel 2.4.20 patched with W15
	Netgear M301 as master
	STA: 1.5.6 RAM upload

	Notebook:
	Pentium 266
	kernel 2.4.21-pre6 + ACPI patches
	Netgear MA411 in managed mode
	STA: 1.3.6 (also tried 1.5.6 RAM)

Both running the latest CVS version of hostap

Problem Description:

If I transfer (scp) a large file (> 2MB) from one machine to the other,
dmesg on the notebook shows me a whole bunch if INFDROPS after some
time. The transfer doesn't seem to be affected by it.
I tried different kernel and STA version, no change.

Then I tried different combinations.

Copying a file via scp (20MB):

WEP disabled:
	AP 		-> 	notebook 570KB/s 	no INFDROPS on notebook
	notebook	->	AP	 437KB/s	sometimes INFDROPS

WEP enabled:
	AP		->	notebook ~520KB/s	immediate INFDROPS on notebook
	notebook	->	AP	 ~180KB/s	sometimes INFDROPS

The INFDROPs could be hardware related but Im not quite sure how to find
that out. Both cards are new so I think they are ok.
The problem thats irritates me the most is the 180KB transfer rate I
get from the notebook to the AP in WEP mode. During the transfer the
load is normal on both machines.
Maybe someone can help me to debug this further.


Thanks in advance,
Mike



  




From Laurentiu-Sorin.Paun  Wed Apr 16 14:55:16 2003
From: Laurentiu-Sorin.Paun (Sorin PAUN)
Date: Wed, 16 Apr 2003 23:55:16 +0200
Subject: Where I find WinUpdate and STA 1.5.6 or later for LinkSys WPC 11
 (NIC 0x801b v1.0.0)
Message-ID: <3E9DD144.1010909@imag.fr>

Hello everybody,

I need to upgrade my card's firmware (because it's the buggy one: 
1.4.2). I thinked to upgrade to 1.5.6, does it is a good choice?

I saw that Inytersil doesn't publish the winupdate utility on their 
website, so could anyone send me the winupdate utility and the win 
drivers? I think it's easier to use than prism_rec, isn't it? maybe a 
little more risky, too ;) ?

For the firmware, do the files on www.sydneywireless.com/hostap/ are ok 
for my wireless card?

Thank you,
-- 
________________________________________________________________________
Sorin PAUN                           mailto:Laurentiu-Sorin.Paun at imag.fr

Doctorant INPG                             http://drakkar.imag.fr/~lpaun

Laboratoire LSR-IMAG, Equipe Drakkar
681, rue de la Passerelle - BP 72          phone: (+33) (0)4 76 82 72 12
38402 St Martin d'H?res Cedex - France       fax: (+33) (0)4 76 82 72 87
________________________________________________________________________




From Laurentiu-Sorin.Paun  Wed Apr 16 14:58:47 2003
From: Laurentiu-Sorin.Paun (Sorin PAUN)
Date: Wed, 16 Apr 2003 23:58:47 +0200
Subject: Where I find WinUpdate and STA 1.5.6 or later for LinkSys WPC 11
Message-ID: <3E9DD217.5060000@imag.fr>

Hello everybody,

I need to upgrade my card's firmware (because it's the buggy one:
1.4.2). I thinked to upgrade to 1.5.6, does it is a good choice?

I saw that Inytersil doesn't publish the winupdate utility on their
website, so could anyone send me the winupdate utility and the win
drivers? I think it's easier to use than prism_rec, isn't it? maybe a
little more risky, too ;) ?

For the firmware, do the files on www.sydneywireless.com/hostap/ are ok
for my wireless card?

Thank you,

-- 
________________________________________________________________________
Sorin PAUN                           mailto:Laurentiu-Sorin.Paun at imag.fr

Doctorant INPG                             http://drakkar.imag.fr/~lpaun

Laboratoire LSR-IMAG, Equipe Drakkar
681, rue de la Passerelle - BP 72          phone: (+33) (0)4 76 82 72 12
38402 St Martin d'H?res Cedex - France       fax: (+33) (0)4 76 82 72 87
________________________________________________________________________




From sgala  Wed Apr 16 15:40:58 2003
From: sgala (Santiago Gala)
Date: Thu, 17 Apr 2003 00:40:58 +0200
Subject: Kernel Oops with hostap_pci CVS in SMP machine
Message-ID: <3E9DDBFA.7080302@hisitech.com>

I have been using successfully hostap_pci, with a Micronet card, using 
the following kernel:

2.4.18.8.1mdk (a Mandrake kernel) on a SMP (dual PentiumIII) machine 
which I use as Wireless node.

I started to have problems with the following release:

2.4.19.16mdk (a Mandrake kernel).

Now I have upgraded to the latest Mandrake kernel:

2.4.21.0.13mdk

It gives the attached Oops on startup or hand-loading the hostap_pci module:

I'm not an expert in kernel programming. I am willing to test any patch, 
or to check the kernel sources to track the problem, if it is in kernel 
code. The Mandrake kernel is 2.4.20 + pre4 patch + devices and other 
Mandrake patches, in spite of what the release says. I know because I 
have the source RPM and have compiled it myself, with exactly the same 
results.

Any clues?

-- 
Santiago Gala
High Sierra Technology, S.L. (http://hisitech.com)
http://memojo.com?page=SantiagoGalaBlog

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Oops-decoded
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030417/b55fe996/attachment.txt 


From proski  Wed Apr 16 15:52:48 2003
From: proski (Pavel Roskin)
Date: Wed, 16 Apr 2003 18:52:48 -0400 (EDT)
Subject: Where I find WinUpdate and STA 1.5.6 or later for LinkSys WPC
 11
In-Reply-To: <3E9DD217.5060000@imag.fr>
References: <3E9DD217.5060000@imag.fr>
Message-ID: <Pine.LNX.4.53.0304161839180.29478@marabou.research.att.com>

On Wed, 16 Apr 2003, Sorin PAUN wrote:

> I need to upgrade my card's firmware (because it's the buggy one:
> 1.4.2). I thinked to upgrade to 1.5.6, does it is a good choice?

Yes.  You can get the bootdisk with DOS flash utility and the firmware
here: http://home.eunet.cz/jt/wifi/floppy_flash.img

The documentation for the flash utility is here:
http://home.eunet.cz/jt/wifi/flash.pdf

You need secondary firmware file called sf010506.hex.  It's included on
the disk.

> I saw that Inytersil doesn't publish the winupdate utility on their
> website, so could anyone send me the winupdate utility and the win
> drivers? I think it's easier to use than prism_rec, isn't it? maybe a
> little more risky, too ;) ?

prism_srec only supports flashing in the CVS version.  You can use the DOS
utility.  WinUpdate is here:
http://www.simandl.cz/stranky/linux/xi626/soubory/WinUpdate-0-5-1-0.exe

> For the firmware, do the files on www.sydneywireless.com/hostap/ are ok
> for my wireless card?

Yes, but they are for RAM download, so you have to load them every time
you insert the card.

-- 
Regards,
Pavel Roskin



From ms  Wed Apr 16 17:28:11 2003
From: ms (Mike Saywell)
Date: Thu, 17 Apr 2003 01:28:11 +0100
Subject: Hard lock-up
Message-ID: <20030417002811.GD2303@ecs.soton.ac.uk>

Hi,

I've got a hostap box which will just lock solid from time to time.
Transferring lots of data is generally a sure fire way to kill it off
 - copying an iso generally does the trick.

The only thing I can see in the logs before the lockup is:

Apr 17 00:40:56 beastie wlan0: STA 00:02:2d:53:62:e5 TX rate lowered to 55
Apr 17 00:40:57 beastie wlan0: STA 00:02:2d:53:62:e5 TX rate raised to 110
Apr 17 00:41:03 beastie wlan0: STA 00:02:2d:53:62:e5 TX rate lowered to 55
Apr 17 00:41:03 beastie wlan0: STA 00:02:2d:53:62:e5 TX rate raised to 110
Apr 17 00:41:06 beastie wlan0: STA 00:02:2d:53:62:e5 TX rate lowered to 55
Apr 17 00:41:07 beastie wlan0: STA 00:02:2d:53:62:e5 TX rate raised to 110

The client reports the signal strength as about -55db so I'm not sure
why it's switching rate like this?

This has only happened since upgrading the AP cards firmware to 1.5.6,
however I think I moved from the old 2002 stable driver to a CVS one
at the same time so it could also be this.  It seems as though other
people have reported problems with the new driver but not the old one.
I'll try an older version of the driver when I get a chance.

I'm currently running 0.0.1 (which suffers from the problem).

Is there anything I could do to help debug this some more?

Cheers,

Mike Saywell

PS - with regards to the autoamtic wds link issue I was having it seems I
was in error.  I guess I must have manually removed deleted the wds link
or something, regardless the auto-linking seems to be working fine now. :)



From HostAP  Wed Apr 16 17:41:50 2003
From: HostAP (Oliver Baltz)
Date: Thu, 17 Apr 2003 02:41:50 +0200
Subject: no ping to HostAP
Message-ID: <004c01c3047a$29d545f0$0500a8c0@olli>

Hi folks,

i do use a win xp-client with prism2-wlan-pci-card and a debian-host-ap-machine with prism2-wlan-pci-card.
Everything works. Xp-Client connects to HostAP in Master and Managed mode.

BUT: I am not able tp ping HostAP nor XP-Client.
Both machines do have an eth0-10mBit-LAN-Device inside.

I am able to ping HostAP`s IP through my eth0-device - but not through wlan0-device...


I just want to get a connect between 2 XP-Clients through my HostAP.

1.) What to do?
2.) Do I have to enable bridging with bridge-utils?


Please help.

Oliver


---------------------------------------------
Oliver Baltz
eMail info at OliverBaltz.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030417/5bf8d45a/attachment.htm 


From gbritton  Wed Apr 16 19:08:06 2003
From: gbritton (Gerald Britton)
Date: Wed, 16 Apr 2003 22:08:06 -0400
Subject: flapping association
In-Reply-To: <20030414191925.GA13233@nevermore.toe.doomcom.org>
References: <20030414191512.GA13100@nevermore.toe.doomcom.org> <20030414191925.GA13233@nevermore.toe.doomcom.org>
Message-ID: <20030417020806.GA6786@nevermore.toe.doomcom.org>

On Mon, Apr 14, 2003 at 03:19:25PM -0400, Gerald Britton wrote:
> wlan0: LinkStatus=2 (Disconnected)
> wlan0: LinkStatus: BSSID=00:05:5d:ea:65:4c
> wlan0: LinkStatus=1 (Connected)
> wlan0: LinkStatus: BSSID=00:05:5d:ea:65:4c

This has gotten even worse it seems...

wlan0: LinkStatus=4 (Access point out of range)
wlan0: LinkStatus: BSSID=00:02:2d:04:3f:7c
wlan0: LinkStatus=5 (Access point in range)
wlan0: LinkStatus: BSSID=00:02:2d:04:3f:7c
wlan0: LinkStatus=4 (Access point out of range)
wlan0: LinkStatus: BSSID=00:02:2d:04:3f:7c
wlan0: LinkStatus=5 (Access point in range)
wlan0: LinkStatus: BSSID=00:02:2d:04:3f:7c

and eventually totally freezing up.  downing and upping the interface fixes
it.  very bizzare.

				-- Gerald




From laili  Wed Apr 16 19:58:41 2003
From: laili (=?big5?B?p/Ug8bBcKExhaSBMaVwp?=)
Date: Thu, 17 Apr 2003 10:58:41 +0800
Subject: problem on downloading firmware to minipci card with intersil chip
Message-ID: <002a01c3048d$407ed6a0$88a8a8c0@lai>

Hi 

Did any one try firmware downloading on minipci cards with intersil chip
before?

I use hostap driver with prism2_srec utility to download secondary
firmware to RAM,
Should i use the same firmware file as PCIMCIA card?

Can i only upgrade secondary firmware to RAM or FLASH?


When i try to upgrade, the system stop after i use prism2_srec,it stop at
here....

Downloading to volatile memory (RAM).
wlan0: NIC: id=0x8022 v1.0.0
wlan0: NIC: id=0x8022 v1.0.0
wlan0: PRI: id=0x15 v1.1.1
wlan0: PRI: id=0x15 v1.1.1
wlan0: STA: id=0x1f v1.5.6
wlan0: STA: id=0x1f v1.5.6

now my system is block , why?

help me,please...><

Lai Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030417/1469478a/attachment.htm 


From jkmaline  Wed Apr 16 21:08:39 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 16 Apr 2003 21:08:39 -0700
Subject: problem of running WDS with 802.1x
In-Reply-To: <00ea01c30484$d2f67ff0$d406050a@Mario02>
References: <00ea01c30484$d2f67ff0$d406050a@Mario02>
Message-ID: <20030417040839.GA8254@jm.kir.nu>

On Thu, Apr 17, 2003 at 09:58:21AM +0800, mario wrote:

> I have tried WDS and 802.1x features of hostap version 0.0.1. They work individually. However, WDS fails when running with 802.1x. When running 1x, APs will generate different keys for their wireless link. It is perfectly okay. However, the problem is each AP will uses its key for the WDS link as well. Since both ends of WDS link use different keys, the WDS link fails.

Yes, that sounds like correct behavior with non-matching default WEP
keys. Although, in this case that is of course not the desired behavior
;-). I haven't tested such configuration, but I would first try enabled
host encrypt and decrypt (prism2_param host_encrypt, host_decrypt) and
then configuring either "no encryption" or if WEP is wanted, the same
_individual_ WEP key for the WDS link. Since I haven't tested this, I'm
not going to say that it works. However, that would be the proper way to
fix the WDS link when using different default WEP keys.

-- 
Jouni Malinen                                            PGP id EFC895FA



From mario  Thu Apr 17 22:43:11 2003
From: mario (mario)
Date: Fri, 18 Apr 2003 13:43:11 +0800
Subject: problem of running WDS with 802.1x
Message-ID: <02d801c3056d$65c50250$d406050a@Mario02>

Folks,

I have tried WDS and 802.1x features of hostap version 0.0.1. They work individually. However, WDS fails when running with 802.1x. When running 1x, APs will generate different keys for their wireless link. It is perfectly okay. However, the problem is each AP will uses its key for the WDS link as well. Since both ends of WDS link use different keys, the WDS link fails.

I use the same WDS configuration as mentioned in README.prism2. It worked in the previous version of hostap as well as the latest version when not running 1x. WDS only fails with 1x running. Perhaps, I have missed out something. Could someone give me any advice?

Also, does anyone has any experience of upgrading linksys STA firmware under linux? I have some physical constraint of unplugging Linksys card from my embedded system and plug it to a Wins system for firmware upgrade.

I would very much appreciate your help.

With regards,
Mario 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030418/73046c91/attachment.htm 


From mike  Thu Apr 17 09:13:33 2003
From: mike (Michael Guntsche)
Date: Thu, 17 Apr 2003 18:13:33 +0200
Subject: INFDROPs during large file transfers
In-Reply-To: <20030416181647.585e377e.mike@it-loops.com>
References: <20030416181647.585e377e.mike@it-loops.com>
Message-ID: <20030417181333.1e14cafd.mike@it-loops.com>

> I always get INFDROPs after some time, it just happens faster if I use
> WEP.
> The 180KB problem persits.

Just wanted to tell you all that I found out what was causing the
problem with the 180KB transfer.
As stated in the previous mail I RAM-downloaded the 1.5.6 firmware on
the AP machine (Pentium). Therefore the firmware on the card was used to
decrypt the pakets.
After changing it back to host based decryption via 'iwpriv' I got a
much higher transfer rate. 
Don't quite understand why hardware based decrypton is THAT slow.
I still see INFDROPs but for now I just recompile the modules with DEBUG
disabled and try to forget them. ;)
If someone has an idea how I can find out what's causing them don't
hestitate to write me though.

Thanks Jouni for this great driver!!!!!!

Cheers,
Michael




From hostap  Thu Apr 17 09:32:39 2003
From: hostap (Santiago Garcia Mantinan)
Date: Thu, 17 Apr 2003 18:32:39 +0200
Subject: problems bridging between wlan0 and wlan0wds0 (not own MAC)
Message-ID: <20030417163239.GA2982@man.beta.es>

Hi!

I'm running latest cvs version of hostap and I have setup a couple of APs
with wlan0 and wlan0wds0, they can both ping each other without any problem,
but if I set up a client associated to one of them and I try to ping the
other AP I get messages like this one:

handle_ap_item - addr3(BSSID)=00:XX:XX:XX:XX:XX not own MAC

Pinging the ap the client is associated with works ok.

At first I suspected the bridge not working ok, but then I realised about
this message, and it seems that the hostap driver is cutting my icmp
messages, is this normal? am I missing something here?

Thanks in advance!

Regards...
-- 
Manty/BestiaTester -> http://manty.net



From jmeden  Thu Apr 17 11:32:26 2003
From: jmeden (Jeff Meden)
Date: Thu, 17 Apr 2003 14:32:26 -0400
Subject: HostAP in FreeBSD 5.0
Message-ID: <3E9EF33A.3040004@qn.net>

I have been testing the hostap drivers built into FreeBSD 5.0 and have 
had a lot of luck with reliability and speed, but now need to figure out 
the best way to implement security measures for wireless clients.  Are 
there tools for bsd that let me do things like individual station keys, 
mac lists, and the like that are readily available in linux?  Or are 
there other ways of tackling this issue?  Any insight is appreciated.

Jeff




From akash  Thu Apr 17 11:49:20 2003
From: akash (Akash Malhotra)
Date: Thu, 17 Apr 2003 13:49:20 -0500 (CDT)
Subject: DHCP problem
Message-ID: <Pine.LNX.4.44.0304171310090.30254-100000@staph.me.umn.edu>

Hi everybody,


I havea  problem running DHCP server of my machine. I am working on redhat 
8. I installed HOSTAP and it looks fine means I can see wlan0.I can change
essid..channel and so forth. I am using Custom kernel.

I try to run DHCP using /sbin/service dhcp start i got this error

make sure  CONFIG_PACKET (Packet socket) and Config_filter (socket 
filtering)are enabled in your kernel.

I checked my config file in /usr/src/linux... and it says
CONFIG_PACKE= y but Config_filter is not set.

Any help is appreciated ..         

Akash




From sgala  Thu Apr 17 12:34:01 2003
From: sgala (Santiago Gala)
Date: Thu, 17 Apr 2003 21:34:01 +0200
Subject: Kernel Oops with hostap_pci CVS in SMP machine
In-Reply-To: <3E9DDBFA.7080302@hisitech.com>
References: <3E9DDBFA.7080302@hisitech.com>
Message-ID: <3E9F01A9.2020006@hisitech.com>

Santiago Gala wrote:
> I have been using successfully hostap_pci, with a Micronet card, using 
> the following kernel:
> 
> 2.4.18.8.1mdk (a Mandrake kernel) on a SMP (dual PentiumIII) machine 
> which I use as Wireless node.
> 
> I started to have problems with the following release:
> 
> 2.4.19.16mdk (a Mandrake kernel).
> 
> Now I have upgraded to the latest Mandrake kernel:
> 
> 2.4.21.0.13mdk
> 
> It gives the attached Oops on startup or hand-loading the hostap_pci 
> module:
> 
> I'm not an expert in kernel programming. I am willing to test any patch, 
> or to check the kernel sources to track the problem, if it is in kernel 
> code. The Mandrake kernel is 2.4.20 + pre4 patch + devices and other 
> Mandrake patches, in spite of what the release says. I know because I 
> have the source RPM and have compiled it myself, with exactly the same 
> results.
> 
> Any clues?
> 

Some clues. It is definitely not a problema of the hostap_pci driver,
but of the Mandrake enterprise kernel (quite possibly in the HIGHMEM
support).

I tried to use orinoco_pci, with exactly the same Oops. Later, I noticed
that I had removed usb-uhci (thinking about interruption problems) and
when I modprobe'd it it gave the same oops.

Being already suspicious about HIGHMEM, I tried the smp kernel (fairly
similar to the enterprise, but without HIGHMEM support). Then it worked
perfectly...

I'm losing about 100K RAM + all the swap, until they fix it. I'm trying
to report it @mandrake (I hate bugzilla!!!), but this post is for Google
to take care of the problem ;-)

Regards,
      Santiago

P.S.) Jouni, keep on with your excelent job.

> 
> ------------------------------------------------------------------------
> 
> ksymoops 2.4.8 on i686 2.4.21-0.13mdkenterprise.  Options used
>      -V (default)
>      -k /proc/ksyms (default)
>      -l /proc/modules (default)
>      -o /lib/modules/2.4.21-0.13mdkenterprise/ (default)
>      -m /boot/System.map-2.4.21-0.13mdkenterprise (default)
> 
> Warning: You did not tell me where to find symbol information.  I will
> assume that the log matches the kernel and modules that are running
> right now and I'll use the default options above for symbol resolution.
> If the current kernel and/or modules do not match the log, you can get
> more accurate output by telling me the kernel version and where to find
> map, modules, ksyms etc.  ksymoops -h explains the options.
> 
> Warning (compare_ksyms_lsmod): module ext3 is in lsmod but not in ksyms, probably no symbols exported
> Apr 14 17:31:14 webserver2 kernel: Unable to handle kernel paging request at virtual address f924eee0
> Apr 14 17:31:14 webserver2 kernel: c01fdca9
> Apr 14 17:31:14 webserver2 kernel: *pde = 37eaa067
> Apr 14 17:31:14 webserver2 kernel: Oops: 0002
> Apr 14 17:31:14 webserver2 kernel: CPU:    1
> Apr 14 17:31:14 webserver2 kernel: EIP:    0010:[pci_register_driver+25/112]    Not tainted
> Apr 14 17:31:14 webserver2 kernel: EIP:    0010:[<c01fdca9>]    Not tainted
> Using defaults from ksymoops -t elf32-i386 -a i386
> Apr 14 17:31:14 webserver2 kernel: EFLAGS: 00010292
> Apr 14 17:31:14 webserver2 kernel: eax: f924eee0   ebx: ffffffea   ecx: 00000001   edx: 00000001
> Apr 14 17:31:15 webserver2 kernel: esi: f93013c0   edi: 00000000   ebp: f773def0   esp: f773dedc
> Apr 14 17:31:15 webserver2 kernel: ds: 0018   es: 0018   ss: 0018
> Apr 14 17:31:15 webserver2 kernel: Process insmod (pid: 1204, stackpage=f773d000)
> Apr 14 17:31:15 webserver2 kernel: Stack: f9300264 f773df04 ffffffea 00000001 f92f3000 f773df10 f92fc868 f93013c0 
> Apr 14 17:31:15 webserver2 kernel:        f92fff4b f92fd860 ffffffea 00000001 f92f3000 f773dfbc c0122065 f92f3060 
> Apr 14 17:31:15 webserver2 kernel:        080e4bc0 0000e394 f9300420 f9300414 080f1e78 0000d318 00000060 00000060 
> Apr 14 17:31:15 webserver2 kernel: Call Trace:
> Apr 14 17:31:15 webserver2 kernel:  [<f9300264>] .rodata.str1.1+0x319/0x34d [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel:  [<f92fc868>] init_prism2_pci+0x28/0x60 [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel:  [<f93013c0>] prism2_pci_drv_id+0x0/0x28 [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel:  [<f92fff4b>] .rodata.str1.1+0x0/0x34d [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel:  [<f92fd860>] .rodata.str1.32+0x0/0x26eb [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel:  [<c0122065>] sys_init_module+0x575/0x6e0 [kernel]
> Apr 14 17:31:15 webserver2 kernel:  [<f92f3060>] hfa384x_from_bap+0x0/0x1b0 [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel:  [<f9300420>] __ksymtab+0x0/0x28 [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel:  [<f9300414>] .kmodtab+0x0/0xc [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel:  [<f92f3060>] hfa384x_from_bap+0x0/0x1b0 [hostap_pci]
> Apr 14 17:31:15 webserver2 kernel:  [<c010962f>] system_call+0x33/0x38 [kernel]
> Apr 14 17:31:15 webserver2 kernel: Code: 89 30 8b 1d 68 b7 37 c0 89 35 74 b7 37 c0 89 46 04 81 fb 68 
> 
> 
> 
>>>EIP; c01fdca9 <pci_register_driver+19/70>   <=====
> 
> 
>>>eax; f924eee0 <[iptable_mangle].data.end+1409/5589>
>>>esi; f93013c0 <[hostap_pci]prism2_pci_drv_id+0/27>
>>>ebp; f773def0 <_end+372f1ec4/38cb9024>
>>>esp; f773dedc <_end+372f1eb0/38cb9024>
> 
> 
> Trace; f9300264 <[hostap_pci].text.end+2a22/2a56>
> Trace; f92fc868 <[hostap_pci]init_prism2_pci+28/60>
> Trace; f93013c0 <[hostap_pci]prism2_pci_drv_id+0/27>
> Trace; f92fff4b <[hostap_pci].text.end+2709/2a56>
> Trace; f92fd860 <[hostap_pci].text.end+1e/2a56>
> Trace; c0122065 <sys_init_module+575/6e0>
> Trace; f92f3060 <[hostap_pci]hfa384x_from_bap+0/1b0>
> Trace; f9300420 <[hostap_pci]__module_parm_desc_channel+8/22>
> Trace; f9300414 <[hostap_pci]__module_parm_channel+18/1c>
> Trace; f92f3060 <[hostap_pci]hfa384x_from_bap+0/1b0>
> Trace; c010962f <system_call+33/38>
> 
> Code;  c01fdca9 <pci_register_driver+19/70>
> 00000000 <_EIP>:
> Code;  c01fdca9 <pci_register_driver+19/70>   <=====
>    0:   89 30                     mov    %esi,(%eax)   <=====
> Code;  c01fdcab <pci_register_driver+1b/70>
>    2:   8b 1d 68 b7 37 c0         mov    0xc037b768,%ebx
> Code;  c01fdcb1 <pci_register_driver+21/70>
>    8:   89 35 74 b7 37 c0         mov    %esi,0xc037b774
> Code;  c01fdcb7 <pci_register_driver+27/70>
>    e:   89 46 04                  mov    %eax,0x4(%esi)
> Code;  c01fdcba <pci_register_driver+2a/70>
>   11:   81 fb 68 00 00 00         cmp    $0x68,%ebx
> 
> 
> 2 warnings issued.  Results may not be reliable.


-- 
Santiago Gala
High Sierra Technology, S.L. (http://hisitech.com)
http://memojo.com?page=SantiagoGalaBlog






From sam  Thu Apr 17 12:57:51 2003
From: sam (Sam Leffler)
Date: Thu, 17 Apr 2003 12:57:51 -0700
Subject: HostAP in FreeBSD 5.0
References: <3E9EF33A.3040004@qn.net>
Message-ID: <046801c3051b$a12cceb0$52557f42@errno.com>

> I have been testing the hostap drivers built into FreeBSD 5.0 and have
> had a lot of luck with reliability and speed, but now need to figure out
> the best way to implement security measures for wireless clients.  Are
> there tools for bsd that let me do things like individual station keys,
> mac lists, and the like that are readily available in linux?  Or are
> there other ways of tackling this issue?  Any insight is appreciated.

Try asking this question on freebsd-net at freebsd.org.  This mailing list is
for the Linux "hostap" software.

    Sam




From s-ha  Thu Apr 17 15:16:32 2003
From: s-ha (Sungwon Ha)
Date: Thu, 17 Apr 2003 17:16:32 -0500 (CDT)
Subject: Help: Window XP and hostapd
Message-ID: <Pine.LNX.4.44.0304171712170.22783-100000@chaos.crhc.uiuc.edu>




From manty  Thu Apr 17 07:32:36 2003
From: manty (Santiago Garcia Mantinan)
Date: Thu, 17 Apr 2003 16:32:36 +0200
Subject: problems bridging between wlan0 and wlan0wds0 (not own MAC)
Message-ID: <20030417143236.GA2939@man.beta.es>

Hi!

I'm running latest cvs version of hostap and I have setup a couple of APs
with wlan0 and wlan0wds0, they can both ping each other without any problem,
but if I set up a client associated to one of them and I try to ping the
other AP I get messages like this one:

handle_ap_item - addr3(BSSID)=00:XX:XX:XX:XX:XX not own MAC

Pinging the ap the client is associated with works ok.

At first I suspected the bridge not working ok, but then I realised about
this message, and it seems that the hostap driver is cutting my icmp
messages, is this normal? am I missing something here?

Thanks in advance!

Regards...
-- 
Manty/BestiaTester -> http://manty.net



From s-ha  Thu Apr 17 15:19:05 2003
From: s-ha (Sungwon Ha)
Date: Thu, 17 Apr 2003 17:19:05 -0500 (CDT)
Subject: Help Windows XP and hostapd
Message-ID: <Pine.LNX.4.44.0304171717580.22783-100000@chaos.crhc.uiuc.edu>

Hi!

I have tested hostapd with xsupplicant (from open1x) and FreeRadius
(version 0.8.1), using EAP-TLS. I didn't have any problem and authentication 
was successfully done. Then, I switched only the supplicant from xsupplicant to
 windows XP and I was not able be authenticated. 

Here is my configuration.
Suppicant             : Windows XP professional with SP1 (Service Pack 1)
Authenticator         : Linux using hostpad (2002-10 release)
Authentication Server : Linux using FreeRADIUS version 0.8.1

By reading through all old emails, I found that this setup should work.
Of course, I installed the certificates by following HOWTO instructions on 
windows XP. I am enclosing outputs from hostapd and Radius. Somehow the RADIUS
has a error "<<< TLS 1.0 Alert [length 0002], fatal access_denied" at the end, 
which causes the authentication failure. Could you tell me what is wrong?
Your help is greatly appreciated.

==========================  RADIUS OUTPUT ===========================
Script started on Thu Apr 17 14:43:31 2003
[root at linuxsha2 ~]# radiusd -X
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /etc/raddb/proxy.conf
Config:   including file: /etc/raddb/clients.conf
Config:   including file: /etc/raddb/snmp.conf
Config:   including file: /etc/raddb/sql.conf
 main: prefix = "/usr/local"
 main: localstatedir = "/var"
 main: logdir = "/var/log/radius"
 main: libdir = "/usr/local/lib"
 main: radacctdir = "/var/log/radius/radacct"
 main: hostname_lookups = no
 main: max_request_time = 30
 main: cleanup_delay = 5
 main: max_requests = 1024
 main: delete_blocked_requests = 0
 main: port = 0
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_file = "/var/log/radius/radius.log"
 main: log_auth = yes
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = "/var/run/radiusd/radiusd.pid"
 main: user = "(null)"
 main: group = "(null)"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "no"
 main: nospace_pass = "no"
 main: checkrad = "/usr/local/sbin/checkrad"
 main: proxy_requests = yes
 proxy: retry_delay = 5
 proxy: retry_count = 3
 proxy: synchronous = no
 proxy: default_fallback = yes
 proxy: dead_time = 120
 proxy: servers_per_realm = 15
 security: max_attributes = 200
 security: reject_delay = 1
 security: status_server = no
 main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
read_config_files:  reading clients
read_config_files:  reading realms
radiusd:  entering modules setup
Module: Library search path is /usr/local/lib
Module: Loaded expr 
Module: Instantiated expr (expr) 
Module: Loaded PAP 
 pap: encryption_scheme = "crypt"
Module: Instantiated pap (pap) 
Module: Loaded CHAP 
Module: Instantiated chap (chap) 
Module: Loaded MS-CHAP 
 mschap: ignore_password = no
 mschap: use_mppe = yes
 mschap: require_encryption = no
 mschap: require_strong = no
 mschap: passwd = "(null)"
 mschap: authtype = "MS-CHAP"
Module: Instantiated mschap (mschap) 
Module: Loaded System 
 unix: cache = no
 unix: passwd = "(null)"
 unix: shadow = "(null)"
 unix: group = "(null)"
 unix: radwtmp = "/var/log/radius/radwtmp"
 unix: usegroup = no
 unix: cache_reload = 600
Module: Instantiated unix (unix) 
Module: Loaded eap 
 eap: default_eap_type = "tls"
 eap: timer_expire = 60
rlm_eap: Loaded and initialized the type md5
 tls: rsa_key_exchange = no
 tls: dh_key_exchange = yes
 tls: rsa_key_length = 512
 tls: dh_key_length = 512
 tls: verify_depth = 0
 tls: CA_path = "(null)"
 tls: pem_file_type = yes
 tls: private_key_file = "/root/openssl/cert-srv.pem"
 tls: certificate_file = "/root/openssl/cert-srv.pem"
 tls: CA_file = "/root/openssl/root.pem"
 tls: private_key_password = "whatever"
 tls: dh_file = "/root/openssl/dh"
 tls: random_file = "/root/openssl/random"
 tls: fragment_size = 1024
 tls: include_length = yes
rlm_eap_tls: conf N ctx stored 
rlm_eap: Loaded and initialized the type tls
Module: Instantiated eap (eap) 
Module: Loaded preprocess 
 preprocess: huntgroups = "/etc/raddb/huntgroups"
 preprocess: hints = "/etc/raddb/hints"
 preprocess: with_ascend_hack = no
 preprocess: ascend_channels_per_line = 23
 preprocess: with_ntdomain_hack = no
 preprocess: with_specialix_jetstream_hack = no
 preprocess: with_cisco_vsa_hack = no
Module: Instantiated preprocess (preprocess) 
Module: Loaded realm 
 realm: format = "suffix"
 realm: delimiter = "@"
Module: Instantiated realm (suffix) 
Module: Loaded files 
 files: usersfile = "/etc/raddb/users"
 files: acctusersfile = "/etc/raddb/acct_users"
 files: preproxy_usersfile = "/etc/raddb/preproxy_users"
 files: compat = "no"
Module: Instantiated files (files) 
Module: Loaded Acct-Unique-Session-Id 
 acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port-Id"
Module: Instantiated acct_unique (acct_unique) 
Module: Loaded detail 
 detail: detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
 detail: detailperm = 384
 detail: dirperm = 493
 detail: locking = no
Module: Instantiated detail (detail) 
Module: Loaded radutmp 
 radutmp: filename = "/var/log/radius/radutmp"
 radutmp: username = "%{User-Name}"
 radutmp: perm = 384
 radutmp: callerid = yes
Module: Instantiated radutmp (radutmp) 
Listening on IP address *, ports 1812/udp and 1813/udp, with proxy on 1814/udp.
Ready to process requests.
rad_recv: Access-Request packet from host 10.0.10.12:32924, id=0, length=143
	User-Name = "eve"
	NAS-IP-Address = 10.0.10.12
	NAS-Port = 1
	Called-Station-Id = "00-06-25-A7-E9-AC:sha"
	Calling-Station-Id = "00-02-2D-58-6F-AB"
	Framed-MTU = 2304
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 11Mbps 802.11b"
	EAP-Message = "\002\002\000\010\001eve"
	Message-Authenticator = 0x957cb3f3e4fe89ae28d55015ecdf8e3f
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
rlm_chap: Could not find proper Chap-Password attribute in request
  modcall[authorize]: module "chap" returns noop
  modcall[authorize]: module "mschap" returns notfound
  modcall[authorize]: module "eap" returns updated
    rlm_realm: No '@' in User-Name = "eve", looking up realm NULL
    rlm_realm: No such realm NULL
  modcall[authorize]: module "suffix" returns noop
    users: Matched eve at 105
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns updated
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: processing type tls
  modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Login OK: [eve] (from client sha port 1 cli 00-02-2D-58-6F-AB)
Sending Access-Challenge of id 0 to 10.0.10.12:32924
	EAP-Message = "\001\003\000\006\r "
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0xd5fbdf6d5d95f901fb5a416b4161761b3a209f3e595381e5338714bc008df2a11f9f3acb
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 10.0.10.12:32924, id=1, length=253
	User-Name = "eve"
	NAS-IP-Address = 10.0.10.12
	NAS-Port = 1
	Called-Station-Id = "00-06-25-A7-E9-AC:sha"
	Calling-Station-Id = "00-02-2D-58-6F-AB"
	Framed-MTU = 2304
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 11Mbps 802.11b"
	EAP-Message = "\002\003\000P\r\200\000\000\000F\026\003\001\000A\001\000\000=\003\001>\237 \265*\212\353\253\376\253\370(\327m2\367)\346\304s\237.\342\237\357\243p<EZ\022\005\000\000\026\000\004\000\005\000\n\000\t\000d\000b\000\003\000\006\000\023\000\022\000c\001"
	State = 0xd5fbdf6d5d95f901fb5a416b4161761b3a209f3e595381e5338714bc008df2a11f9f3acb
	Message-Authenticator = 0x7e691a0885fe8441e16333e92a1548ae
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
rlm_chap: Could not find proper Chap-Password attribute in request
  modcall[authorize]: module "chap" returns noop
  modcall[authorize]: module "mschap" returns notfound
  modcall[authorize]: module "eap" returns updated
    rlm_realm: No '@' in User-Name = "eve", looking up realm NULL
    rlm_realm: No such realm NULL
  modcall[authorize]: module "suffix" returns noop
    users: Matched eve at 105
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns updated
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: Request found, released from the list
rlm_eap: EAP_TYPE - tls
rlm_eap: processing type tls
rlm_eap_tls:  Length Included
undefined: before/accept initialization 
TLS_accept: before/accept initialization 
<<< TLS 1.0 Handshake [length 0041], ClientHello

TLS_accept: SSLv3 read client hello A 
>>> TLS 1.0 Handshake [length 004a], ServerHello

TLS_accept: SSLv3 write server hello A 
>>> TLS 1.0 Handshake [length 05f6], Certificate

TLS_accept: SSLv3 write certificate A 
>>> TLS 1.0 Handshake [length 0095], CertificateRequest

TLS_accept: SSLv3 write certificate request A 
TLS_accept: SSLv3 flush data 
TLS_accept:error in SSLv3 read client certificate A 
rlm_eap_tls: SSL_read Error
 Error code is ..... 2 
 SSL Error ..... 2 
  modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Login OK: [eve] (from client sha port 1 cli 00-02-2D-58-6F-AB)
Sending Access-Challenge of id 1 to 10.0.10.12:32924
	EAP-Message = "\001\004\004\n\r\300\000\000\006\344\026\003\001\000J\002\000\000F\003\001>\237 :\023k+\032zQG\267\205\033\316\026\025\207\344\325\246*\340\277U\371\024\377\230#\265p \235I:\265\316\000\344`\021\007#e\353\204.\331J\010\333q\2131\227s\234\007\372\033\314fV\r\000\004\000\026\003\001\005\366\013\000\005\362\000\005\357\000\002\2030\202\0020\202\001\350\240\003\002\001\002\002\001\0010\r\006\t*\206H\206\367\r\001\001\004\005\0000\201\2031\0130\t\006\003U\004\006\023\002US1\0230\021\006\003U\004\010\023\nCali"
	EAP-Message = "@merunetworks.com0\036\027\r030314012824Z\027\r040313012824Z0\201\2061\0130\t\006\003U\004\006\023\002US1\0230\021\006\003U\004\010\023\nCalifornia1\0240\022\006\003U\004\007\023\013Santa Clara1\0260\024\006\003U\004\n\023\rMeru Networks1\0170\r\006\003U\004\003\023\006server1#0!\006\t*\206H\206\367\r\001\t\001\026\024sha at merunetworks.com0\201\2370\r\006\t*\206H\206\367\r\001\001\001\005\000\003\201\215\0000\201\211\002\201\201\000\327\213A\r\026\342z3\022\270\001$+\366\033\207\240\213\365\017{\257CC`Y\371"
	EAP-Message = "~J\241\355>\000 G\322y\253\307\0036\036\362\305x\364\311\n\007B\261T\333\237\306C\350\010\336\303|5ke\354Q\005]B\377\005\0217@<\230Pt\332\347\370\322|B\324\001\355\030\223\356\206#\367\277\247\357\r\021\222\271S\275\324\201\2366lv\243\374Y"L\373\245\336z/\002\003\001\000\0010\r\006\t*\206H\206\367\r\001\001\004\005\000\003\201\201\000 at g\036\207\374\355:q\371\353\273D'\215CK\324+\004\002\250\223czBO\303\364\343\331v<\252\237mv\022:\000\022T)Y\341\341\215\233\370\331\002\242\265\361A\200u\315\346\006\354\031"
	EAP-Message = "\002\313\240\003\002\001\002\002\001\0000\r\006\t*\206H\206\367\r\001\001\004\005\0000\201\2031\0130\t\006\003U\004\006\023\002US1\0230\021\006\003U\004\010\023\nCalifornia1\0240\022\006\003U\004\007\023\013Santa Clara1\0260\024\006\003U\004\n\023\rMeru Networks1\0140\n\006\003U\004\003\023\003sha1#0!\006\t*\206H\206\367\r\001\t\001\026\024sha at merunetworks.com0\036\027\r030314012529Z\027\r050313012529Z0\201\2031\0130\t\006\003U\004\006\023\002US1\0230\021\006\003U\004\010\023\nCalifornia1\0240\022\006\003"
	EAP-Message = "0\024\006\003U\004\n\023\rMeru Networks1\0140\n"
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0xf875876393b13a0db23fdb40a6c925293a209f3ed46fce94cadfe91826668c5a62ba1b17
Finished request 1
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 10.0.10.12:32924, id=2, length=179
	User-Name = "eve"
	NAS-IP-Address = 10.0.10.12
	NAS-Port = 1
	Called-Station-Id = "00-06-25-A7-E9-AC:sha"
	Calling-Station-Id = "00-02-2D-58-6F-AB"
	Framed-MTU = 2304
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 11Mbps 802.11b"
	EAP-Message = "\002\004\000\006\r"
	State = 0xf875876393b13a0db23fdb40a6c925293a209f3ed46fce94cadfe91826668c5a62ba1b17
	Message-Authenticator = 0x62206443feaddc5d69ad64dc2213fc58
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
rlm_chap: Could not find proper Chap-Password attribute in request
  modcall[authorize]: module "chap" returns noop
  modcall[authorize]: module "mschap" returns notfound
  modcall[authorize]: module "eap" returns updated
    rlm_realm: No '@' in User-Name = "eve", looking up realm NULL
    rlm_realm: No such realm NULL
  modcall[authorize]: module "suffix" returns noop
    users: Matched eve at 105
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns updated
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: Request found, released from the list
rlm_eap: EAP_TYPE - tls
rlm_eap: processing type tls
rlm_eap_tls: Received EAP-TLS ACK message
  modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Login OK: [eve] (from client sha port 1 cli 00-02-2D-58-6F-AB)
Sending Access-Challenge of id 2 to 10.0.10.12:32924
	EAP-Message = "\001\005\002\356\r\200\000\000\006\344\006\003U\004\003\023\003sha1#0!\006\t*\206H\206\367\r\001\t\001\026\024sha at merunetworks.com0\201\2370\r\006\t*\206H\206\367\r\001\001\001\005\000\003\201\215\0000\201\211\002\201\201\000\310\322\236\026\030@\000\205\023\023kE\001\034\035\2564\235\334\323%\360\226\267Z\325\306\221\334\211\317\223\365\000\022\\\2619ACo\317\313\252\301\216\024\350\024\023\300\007\3549\004\352.O\001\037\023\202H\334\247\232_Ew\277@=\226\3517\264H\344Wge|\342\264\035\341`?\271\272\214\230"
	EAP-Message = "\335D"c0\201\260\006\003U\035#\004\201\2500\201\245\200\024\260cf`>\352\3226\213\263\332f\304\347\206\324\335D"c\241\201\211\244\201\2060\201\2031\0130\t\006\003U\004\006\023\002US1\0230\021\006\003U\004\010\023\nCalifornia1\0240\022\006\003U\004\007\023\013Santa Clara1\0260\024\006\003U\004\n\023\rMeru Networks1\0140\n\006\003U\004\003\023\003sha1#0!\006\t*\206H\206\367\r\001\t\001\026\024sha at merunetworks.com\202\001\0000\014\006\003U\035\023\004\0050\003\001\001\3770\r\006\t*\206H\206\367\r\001\001\004\005"
	EAP-Message = "\267J\350\343\355\030\216VJ9\361a\253L\273\004c\364\375\375\301H\003\234MV\244\214\304Tz\251\021\007\304\201\201S\3602\340\325\270\200\340eT\204i\374)\234\312T\374\207Z\365\264\032m\304\242\244\334\216\357\231\366\363\342\023\263\311\305\257\003?\t\000x\241Z<}\346}\216\225\254\026\026\003\001\000\225\r\000\000\215\002\001\002\000\210\000\2060\201\2031\0130\t\006\003U\004\006\023\002US1\0230\021\006\003U\004\010\023\nCalifornia1\0240\022\006\003U\004\007\023\013Santa Clara1\0260\024\006\003U\004\n\023\rMe"
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0x9ccf037fe72d89b44770fe9d022df7e93b209f3ed6a2494bedef45d6be2d6994ad1d270b
Finished request 2
Going to the next request
--- Walking the entire request list ---
Waking up in 5 seconds...
rad_recv: Access-Request packet from host 10.0.10.12:32924, id=3, length=1180
	User-Name = "eve"
	NAS-IP-Address = 10.0.10.12
	NAS-Port = 1
	Called-Station-Id = "00-06-25-A7-E9-AC:sha"
	Calling-Station-Id = "00-02-2D-58-6F-AB"
	Framed-MTU = 2304
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 11Mbps 802.11b"
	EAP-Message = "\002\005\003\351\r\200\000\000\003\337\026\003\001\003\257\013\000\002\237\000\002\234\000\002\2310\202\002\2250\202\001\376\240\003\002\001\002\002\001\0030\r\006\t*\206H\206\367\r\001\001\004\005\0000\201\2031\0130\t\006\003U\004\006\023\002US1\0230\021\006\003U\004\010\023\nCalifornia1\0240\022\006\003U\004\007\023\013Santa Clara1\0260\024\006\003U\004\n\023\rMeru Networks1\0140\n\006\003U\004\003\023\003sha1#0!\006\t*\206H\206\367\r\001\t\001\026\024sha at merunetworks.com0\036\027\r030417212445Z\027\r04"
	EAP-Message = "fornia1\0240\022\006\003U\004\007\023\013Santa Clara1\0260\024\006\003U\004\n\023\rMeru Networks1\0140\n\006\003U\004\003\023\003eve1#0!\006\t*\206H\206\367\r\001\t\001\026\024sha at merunetworks.com0\201\2370\r\006\t*\206H\206\367\r\001\001\001\005\000\003\201\215\0000\201\211\002\201\201\000\264\306W\357\345\017\237f\234!\373z7\332pf~ \031\332t\214\323&Xad\\H"\223\n\323\373L\207U{\30745q\362\200\035\233q\014\226,\306\3472\365q\260DQ\234\252%`\370\241:\277\213I\013\201\211U[&"\007\261\227\034\006\217\254\314"
	EAP-Message = "\0050\270\201\002\277a\002\003\001\000\001\243\0270\0250\023\006\003U\035%\004\0140\n\006\010+\006\001\005\005\007\003\0020\r\006\t*\206H\206\367\r\001\001\004\005\000\003\201\201\000\034&w\373\312E\375#A\337\362\2747b\335\277,\316\273?`\377\327\326\010\231\367S\253\235\347\246,\031\225g\361I\267v\256\364M \002\330P\217\202w\216w\206{\220\256je=\264\3272\307\323\264\266:\250\246\\\276\212\343\342\\\307J \326\224A{\344SL\215\373\200Y\3376\260a8_\350.\227\205u\206E\341\024\303(\r)GP\327\241p5.\213\202\r%;\234"
	EAP-Message = "(\256\215\005\305\316\306Q\034\377\203\326\330\265\01787 <4\243\247\357a\2742\352\366=\341\355~\346\204\321\203=\312k\263\354Y\374x\343\024\201\317\0358\276A\0247\247\023\376\326\243\024\331\213\006\355\227\017\000\000\202\000\200\t\270\370\034\340\200\212\205e\312\313\276\350\370xs\266\344\252\300F\202\013\243\006\032\230\345\236\343\210UV\222\253\235L\267|\3468\017\022J\232\376\374\345\353h\343\223{\3406\004\362\375\357\345\250\325\357\344b\303v2\346\215.4\3501x\240\236\317\2576\300\312\2038\007\225\351"
	State = 0x9ccf037fe72d89b44770fe9d022df7e93b209f3ed6a2494bedef45d6be2d6994ad1d270b
	Message-Authenticator = 0xb5ddf2427daa44c61939995f05d67397
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
rlm_chap: Could not find proper Chap-Password attribute in request
  modcall[authorize]: module "chap" returns noop
  modcall[authorize]: module "mschap" returns notfound
  modcall[authorize]: module "eap" returns updated
    rlm_realm: No '@' in User-Name = "eve", looking up realm NULL
    rlm_realm: No such realm NULL
  modcall[authorize]: module "suffix" returns noop
    users: Matched eve at 105
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns updated
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: Multiple EAP_Message attributes found
rlm_eap: Request found, released from the list
rlm_eap: EAP_TYPE - tls
rlm_eap: processing type tls
rlm_eap_tls:  Length Included
<<< TLS 1.0 Handshake [length 02a3], Certificate

chain-depth=1, 
error=0
--> User-Name = eve
--> BUF-Name = sha
--> subject = /C=US/ST=California/L=Santa Clara/O=Meru Networks/CN=sha/Email=sha at merunetworks.com
--> issuer  = /C=US/ST=California/L=Santa Clara/O=Meru Networks/CN=sha/Email=sha at merunetworks.com
--> verify return:1
chain-depth=0, 
error=0
--> User-Name = eve
--> BUF-Name = eve
--> subject = /C=US/ST=California/L=Santa Clara/O=Meru Networks/CN=eve/Email=sha at merunetworks.com
--> issuer  = /C=US/ST=California/L=Santa Clara/O=Meru Networks/CN=sha/Email=sha at merunetworks.com
--> verify return:1
TLS_accept: SSLv3 read client certificate A 
<<< TLS 1.0 Handshake [length 0086], ClientKeyExchange

TLS_accept: SSLv3 read client key exchange A 
<<< TLS 1.0 Handshake [length 0086], CertificateVerify

TLS_accept: SSLv3 read certificate verify A 
<<< TLS 1.0 ChangeCipherSpec [length 0001]

<<< TLS 1.0 Handshake [length 0010], Finished

TLS_accept: SSLv3 read finished A 
>>> TLS 1.0 ChangeCipherSpec [length 0001]

TLS_accept: SSLv3 write change cipher spec A 
>>> TLS 1.0 Handshake [length 0010], Finished

TLS_accept: SSLv3 write finished A 
TLS_accept: SSLv3 flush data 
undefined: SSL negotiation finished successfully 
rlm_eap_tls: SSL_read Error
 Error code is ..... 2 
 SSL Error ..... 2 
  modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Login OK: [eve] (from client sha port 1 cli 00-02-2D-58-6F-AB)
Sending Access-Challenge of id 3 to 10.0.10.12:32924
	EAP-Message = "\001\006\0005\r\200\000\000\000+\024\003\001\000\001\001\026\003\001\000 \006g\207^d\213vHf\272 N~Yva\233\027\036\367X\321C\334\264\345\245Rc$-O"
	Message-Authenticator = 0x00000000000000000000000000000000
	State = 0x6b3ac80216b073d802f7684f20cbd76e3b209f3ead171ec0d04ea6babec49ca0534335f3
Finished request 3
Going to the next request
Waking up in 5 seconds...
rad_recv: Access-Request packet from host 10.0.10.12:32924, id=4, length=206
	User-Name = "eve"
	NAS-IP-Address = 10.0.10.12
	NAS-Port = 1
	Called-Station-Id = "00-06-25-A7-E9-AC:sha"
	Calling-Station-Id = "00-02-2D-58-6F-AB"
	Framed-MTU = 2304
	NAS-Port-Type = Wireless-802.11
	Connect-Info = "CONNECT 11Mbps 802.11b"
	EAP-Message = "\002\006\000!\r\200\000\000\000\027\025\003\001\000\022o\307Q<I\373\214\324UM\305u{\253\233\035\353\322"
	State = 0x6b3ac80216b073d802f7684f20cbd76e3b209f3ead171ec0d04ea6babec49ca0534335f3
	Message-Authenticator = 0xa8f099482df034d7759d388fa0efec75
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
rlm_chap: Could not find proper Chap-Password attribute in request
  modcall[authorize]: module "chap" returns noop
  modcall[authorize]: module "mschap" returns notfound
  modcall[authorize]: module "eap" returns updated
    rlm_realm: No '@' in User-Name = "eve", looking up realm NULL
    rlm_realm: No such realm NULL
  modcall[authorize]: module "suffix" returns noop
    users: Matched eve at 105
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns updated
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: Request found, released from the list
rlm_eap: EAP_TYPE - tls
rlm_eap: processing type tls
rlm_eap_tls:  Length Included
<<< TLS 1.0 Alert [length 0002], fatal access_denied

TLS Alert read:fatal:access denied 
rlm_eap_tls: SSL_read Error
16038:error:14094419:SSL routines:SSL3_READ_BYTES:tlsv1 alert access denied:s3_pkt.c:991:SSL alert number 49
 Error code is ..... 6 
 SSL Error ..... 6 
rlm_eap_tls: BIO_read Error
 Error code is ..... 5 
 Error in SSL ..... 5 
  modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Login OK: [eve] (from client sha port 1 cli 00-02-2D-58-6F-AB)
Delaying request 4 for 1 seconds
Finished request 4
Going to the next request
Waking up in 5 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 0 with timestamp 3e9f203a
Cleaning up request 1 ID 1 with timestamp 3e9f203a
Sending Access-Reject of id 4 to 10.0.10.12:32924
	EAP-Message = "\004\006\000\004"
	Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 1 seconds...
--- Walking the entire request list ---
Cleaning up request 2 ID 2 with timestamp 3e9f203b
Cleaning up request 3 ID 3 with timestamp 3e9f203b
Cleaning up request 4 ID 4 with timestamp 3e9f203b
Nothing to do.  Sleeping until we see a request.
4
[root at linuxsha2 ~]# exit

Script done on Thu Apr 17 14:44:50 2003


==========================  HOSTAPD OUTPUT ===========================
Script started on Thu Apr 17 14:43:51 2003
root:linuxsha:~/hostap_pci_original/hostap-2002-10-12/hostapd#./hostapd -x -S sha -o 10.0.10.12 -a 10.0.10.42 -p 1812 -b  13 -i 13 -s whatever -dd wlan0
Opening raw packet socket for ifindex 40
Using interface wlan0ap with hwaddr 00:06:25:a7:e9:ac and ssid 'sha'
Default WEP key - hexdump(len=13): 54 86 95 32 f4 fe ee 41 75 2a 9e 96 fd
Flushing old station entries
Received 59 bytes management frame
  dump: 80 00 00 00 ff ff ff ff ff ff 00 06 25 a7 e9 b3 00 06 25 a7 e9 b3 50 2c 19 02 f4 58 16 00 00 00 c0 27 01 00 00 06 61 6c 70 68 61 31 01 04 82 84 0b 16 03 01 01 05 04 00 01 02 04
MGMT
mgmt::beacon
Received 30 bytes management frame
  dump: b0 00 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac b0 00 00 00 01 00 00 00
MGMT
mgmt::auth
authentication: STA=00:02:2d:58:6f:ab auth_alg=0 auth_transaction=1 status_code=0
  New STA
Station 00:02:2d:58:6f:ab authenticated (open system)
Received 39 bytes management frame
  dump: 00 00 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac c0 00 11 00 01 00 00 03 73 68 61 01 04 02 04 0b 16
MGMT
mgmt::assoc_req
association request: STA=00:02:2d:58:6f:ab capab_info=0x11 listen_interval=1
  new AID 1
Station 00:02:2d:58:6f:ab associated (aid 1)
IEEE 802.1X: Start authentication for new station 00:02:2d:58:6f:ab
IEEE 802.1X: 00:02:2d:58:6f:ab AUTH_PAE entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab AUTH_KEY_TX entering state NO_KEY_TRANSMIT
IEEE 802.1X: 00:02:2d:58:6f:ab AUTH_PAE entering state DISCONNECTED
IEEE 802.1X: Unauthorizing station 00:02:2d:58:6f:ab
IEEE 802.1X: Sending canned EAP packet FAILURE to 00:02:2d:58:6f:ab (identifier 0)
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state IDLE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:02:2d:58:6f:ab (identifier 1)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 37 bytes management frame
  dump: 08 01 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac d0 00 aa aa 03 00 00 00 88 8e 01 01 00 00 00
DATA
IEEE 802.1X: 5 bytes from 00:02:2d:58:6f:ab
   IEEE 802.1X: version=1 type=1 length=0
   ignoring 1 extra octets after IEEE 802.1X packet
   EAPOL-Start
IEEE 802.1X: 00:02:2d:58:6f:ab AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:02:2d:58:6f:ab (identifier 1)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 30 bytes management frame
  dump: b0 00 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac b0 00 00 00 01 00 00 00
MGMT
mgmt::auth
authentication: STA=00:02:2d:58:6f:ab auth_alg=0 auth_transaction=1 status_code=0
Station 00:02:2d:58:6f:ab authenticated (open system)
Received 39 bytes management frame
  dump: 00 00 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac c0 00 11 00 01 00 00 03 73 68 61 01 04 02 04 0b 16
MGMT
mgmt::assoc_req
association request: STA=00:02:2d:58:6f:ab capab_info=0x11 listen_interval=1
  old AID 1
Station 00:02:2d:58:6f:ab associated (aid 1)
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 0 0 3599 29)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 0 0 3599 28)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 37 bytes management frame
  dump: 08 01 3a 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac d0 00 aa aa 03 00 00 00 88 8e 01 01 00 00 00
DATA
IEEE 802.1X: 5 bytes from 00:02:2d:58:6f:ab
   IEEE 802.1X: version=1 type=1 length=0
   ignoring 1 extra octets after IEEE 802.1X packet
   EAPOL-Start
IEEE 802.1X: 00:02:2d:58:6f:ab AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:02:2d:58:6f:ab (identifier 1)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab AUTH_PAE entering state DISCONNECTED
IEEE 802.1X: Unauthorizing station 00:02:2d:58:6f:ab
IEEE 802.1X: Sending canned EAP packet FAILURE to 00:02:2d:58:6f:ab (identifier 1)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:02:2d:58:6f:ab (identifier 2)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 44 bytes management frame
  dump: 08 01 3a 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac e0 00 aa aa 03 00 00 00 88 8e 01 00 00 08 02 01 00 08 01 65 76 65
DATA
IEEE 802.1X: 12 bytes from 00:02:2d:58:6f:ab
   IEEE 802.1X: version=1 type=0 length=8
   EAP: code=2 identifier=1 length=8 (response)
EAP Identifier of the Response-Identity from 00:02:2d:58:6f:ab does not match (was 1, expected 2)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 30 bytes management frame
  dump: b0 00 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac b0 00 00 00 01 00 00 00
MGMT
mgmt::auth
authentication: STA=00:02:2d:58:6f:ab auth_alg=0 auth_transaction=1 status_code=0
Station 00:02:2d:58:6f:ab authenticated (open system)
Received 39 bytes management frame
  dump: 00 00 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac c0 00 11 00 01 00 00 03 73 68 61 01 04 02 04 0b 16
MGMT
mgmt::assoc_req
association request: STA=00:02:2d:58:6f:ab capab_info=0x11 listen_interval=1
  old AID 1
Station 00:02:2d:58:6f:ab associated (aid 1)
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 0 0 3599 29)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 0 0 3599 28)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 37 bytes management frame
  dump: 08 01 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac e0 00 aa aa 03 00 00 00 88 8e 01 01 00 00 00
DATA
IEEE 802.1X: 5 bytes from 00:02:2d:58:6f:ab
   IEEE 802.1X: version=1 type=1 length=0
   ignoring 1 extra octets after IEEE 802.1X packet
   EAPOL-Start
IEEE 802.1X: 00:02:2d:58:6f:ab AUTH_PAE entering state CONNECTING
IEEE 802.1X: Sending EAP Request-Identity to 00:02:2d:58:6f:ab (identifier 2)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 44 bytes management frame
  dump: 08 01 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac f0 00 aa aa 03 00 00 00 88 8e 01 00 00 08 02 02 00 08 01 65 76 65
DATA
IEEE 802.1X: 12 bytes from 00:02:2d:58:6f:ab
   IEEE 802.1X: version=1 type=0 length=8
   EAP: code=2 identifier=2 length=8 (response)
   EAP Response-Identity
IEEE 802.1X: 00:02:2d:58:6f:ab AUTH_PAE entering state AUTHENTICATING
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state RESPONSE
Encapsulating EAP message into a RADIUS packet
Sending RADIUS message to authentication server
RADIUS message: code=1 (Access-Request) identifier=0 length=143
   Attribute 1 (User-Name) length=5
      Value: 'eve'
   Attribute 4 (NAS-IP-Address) length=6
      Value: 10.0.10.12
   Attribute 5 (NAS-Port) length=6
      Value: 1
   Attribute 30 (Called-Station-Id) length=23
      Value: '00-06-25-A7-E9-AC:sha'
   Attribute 31 (Calling-Station-Id) length=19
      Value: '00-02-2D-58-6F-AB'
   Attribute 12 (Framed-MTU) length=6
      Value: 2304
   Attribute 61 (NAS-Port-Type) length=6
      Value: 19
   Attribute 77 (Connect-Info) length=24
      Value: 'CONNECT 11Mbps 802.11b'
   Attribute 79 (EAP-Message) length=10
   Attribute 80 (Message-Authenticator) length=18
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 84 bytes from authentication server
Received RADIUS message
RADIUS message: code=11 (Access-Challenge) identifier=0 length=84
   Attribute 79 (EAP-Message) length=8
   Attribute 80 (Message-Authenticator) length=18
   Attribute 24 (State) length=38
RADIUS packet matching with station 00:02:2d:58:6f:ab
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state REQUEST
IEEE 802.1X: Sending EAP Packet to 00:02:2d:58:6f:ab (identifier 3)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 116 bytes management frame
  dump: 08 01 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac 00 01 aa aa 03 00 00 00 88 8e 01 00 00 50 02 03 00 50 0d 80 00 00 00 46 16 03 01 00 41 01 00 00 3d 03 01 3e 9f 20 b5 2a 8a eb ab fe ab f8 28 d7 6d 32 f7 29 e6 c4 73 9f 2e e2 9f ef a3 70 3c 45 5a 12 05 00 00 16 00 04 00 05 00 0a 00 09 00 64 00 62 00 03 00 06 00 13 00 12 00 63 01 00
DATA
IEEE 802.1X: 84 bytes from 00:02:2d:58:6f:ab
   IEEE 802.1X: version=1 type=0 length=80
   EAP: code=2 identifier=3 length=80 (response)
   EAP Response-TLS
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state RESPONSE
Encapsulating EAP message into a RADIUS packet
Sending RADIUS message to authentication server
RADIUS message: code=1 (Access-Request) identifier=1 length=253
   Attribute 1 (User-Name) length=5
      Value: 'eve'
   Attribute 4 (NAS-IP-Address) length=6
      Value: 10.0.10.12
   Attribute 5 (NAS-Port) length=6
      Value: 1
   Attribute 30 (Called-Station-Id) length=23
      Value: '00-06-25-A7-E9-AC:sha'
   Attribute 31 (Calling-Station-Id) length=19
      Value: '00-02-2D-58-6F-AB'
   Attribute 12 (Framed-MTU) length=6
      Value: 2304
   Attribute 61 (NAS-Port-Type) length=6
      Value: 19
   Attribute 77 (Connect-Info) length=24
      Value: 'CONNECT 11Mbps 802.11b'
   Attribute 79 (EAP-Message) length=82
   Attribute 24 (State) length=38
   Attribute 80 (Message-Authenticator) length=18
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 1120 bytes from authentication server
Received RADIUS message
RADIUS message: code=11 (Access-Challenge) identifier=1 length=1120
   Attribute 79 (EAP-Message) length=254
   Attribute 79 (EAP-Message) length=254
   Attribute 79 (EAP-Message) length=254
   Attribute 79 (EAP-Message) length=254
   Attribute 79 (EAP-Message) length=28
   Attribute 80 (Message-Authenticator) length=18
   Attribute 24 (State) length=38
RADIUS packet matching with station 00:02:2d:58:6f:ab
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state REQUEST
IEEE 802.1X: Sending EAP Packet to 00:02:2d:58:6f:ab (identifier 4)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 42 bytes management frame
  dump: 08 01 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac 10 01 aa aa 03 00 00 00 88 8e 01 00 00 06 02 04 00 06 0d 00
DATA
IEEE 802.1X: 10 bytes from 00:02:2d:58:6f:ab
   IEEE 802.1X: version=1 type=0 length=6
   EAP: code=2 identifier=4 length=6 (response)
   EAP Response-TLS
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state RESPONSE
Encapsulating EAP message into a RADIUS packet
Sending RADIUS message to authentication server
RADIUS message: code=1 (Access-Request) identifier=2 length=179
   Attribute 1 (User-Name) length=5
      Value: 'eve'
   Attribute 4 (NAS-IP-Address) length=6
      Value: 10.0.10.12
   Attribute 5 (NAS-Port) length=6
      Value: 1
   Attribute 30 (Called-Station-Id) length=23
      Value: '00-06-25-A7-E9-AC:sha'
   Attribute 31 (Calling-Station-Id) length=19
      Value: '00-02-2D-58-6F-AB'
   Attribute 12 (Framed-MTU) length=6
      Value: 2304
   Attribute 61 (NAS-Port-Type) length=6
      Value: 19
   Attribute 77 (Connect-Info) length=24
      Value: 'CONNECT 11Mbps 802.11b'
   Attribute 79 (EAP-Message) length=8
   Attribute 24 (State) length=38
   Attribute 80 (Message-Authenticator) length=18
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 832 bytes from authentication server
Received RADIUS message
RADIUS message: code=11 (Access-Challenge) identifier=2 length=832
   Attribute 79 (EAP-Message) length=254
   Attribute 79 (EAP-Message) length=254
   Attribute 79 (EAP-Message) length=248
   Attribute 80 (Message-Authenticator) length=18
   Attribute 24 (State) length=38
RADIUS packet matching with station 00:02:2d:58:6f:ab
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state REQUEST
IEEE 802.1X: Sending EAP Packet to 00:02:2d:58:6f:ab (identifier 5)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 1037 bytes management frame
  dump: 08 05 58 04 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac 21 01 aa aa 03 00 00 00 88 8e 01 00 03 e9 02 05 03 e9 0d 80 00 00 03 df 16 03 01 03 af 0b 00 02 9f 00 02 9c 00 02 99 30 82 02 95 30 82 01 fe a0 03 02 01 02 02 01 03 30 0d 06 09 2a 86 48 86 f7 0d 01 01 04 05 00 30 81 83 31 0b 30 09 06 03 55 04 06 13 02 55 53 31 13 30 11 06 03 55 04 08 13 0a 43 61 6c 69 66 6f 72 6e 69 61 31 14 30 12 06 03 55 04 07 13 0b 53 61 6e 74 61 20 43 6c 61 72 61 31 16 30 14 06 03 55 04 0a 13 0d 4d 65 72 75 20 4e 65 74 77 6f 72 6b 73 31 0c 30 0a 06 03 55 04 03 13 03 73 68 61 31 23 30 21 06 09 2a 86 48 86 f7 0d 01 09 01 16 14 73 68 61 40 6d 65 72 75 6e 65 74 77 6f 72 6b 73 2e 63 6f 6d 30 1e 17 0d 30 33 30 34 31 37 32 31 32 34 34 35 5a 17 0d 30 34 30 34 31 36 32 31 32 34 34 35 5a 30 81 83 31 0b 30 09 06 03 55 04 06 13 02 55 53 31 13 30 11 06 03 55 04 08 13 0a 43 61 6c 69 66 6f 72 6e 69 61 31 14 30 12 06 03 55 04 07 13 0b 53 61 6e 74 61 20 43 6c 61 72 61 31 16 30 14 06 03 55 04 0a 13 !
 0d 4d 65 72 75 20 4e 65 74 77 6f 72 6b 73 31 0c 30 0a 06 03 55 04 03 13 03 65 76 65 31 23 30 21 06 09 2a 86 48 86 f7 0d 01 09 01 16 14 73 68 61 40 6d 65 72 75 6e 65 74 77 6f 72 6b 73 2e 63 6f 6d 30 81 9f 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00 03 81 8d 00 30 81 89 02 81 81 00 b4 c6 57 ef e5 0f 9f 66 9c 21 fb 7a 37 da 70 66 7e 20 19 da 74 8c d3 26 58 61 64 5c 48 22 93 0a d3 fb 4c 87 55 7b c7 34 35 71 f2 80 1d 9b 71 0c 96 2c c6 e7 32 f5 71 b0 44 51 9c aa 25 60 f8 a1 3a bf 8b 49 0b 81 89 55 5b 26 22 07 b1 97 1c 06 8f ac cc 7c f5 f3 93 a2 ce 9d 8e ca 7b c4 16 30 e9 10 66 07 22 f4 a6 d1 67 99 04 d5 3b 02 83 1f 8c 75 eb 66 65 66 7c 24 f7 05 30 b8 81 02 bf 61 02 03 01 00 01 a3 17 30 15 30 13 06 03 55 1d 25 04 0c 30 0a 06 08 2b 06 01 05 05 07 03 02 30 0d 06 09 2a 86 48 86 f7 0d 01 01 04 05 00 03 81 81 00 1c 26 77 fb ca 45 fd 23 41 df f2 bc 37 62 dd bf 2c ce bb 3f 60 ff d7 d6 08 99 f7 53 ab 9d e7 a6 2c 19 95 67 f1 49 b7 76 ae f4 4d 20 02 d8 50 8f 82 77 8e 77 86 7b 90 ae 6a 65 3!
 d b4 d7 32 c7 d3 b4 b6 3a a8 a6 5c be 8a e3 e2 5c c7 4a 20 d6 !
94 41 7b e4 53 4c 8d fb 80 59 df 36 b0 61 38 5f e8 2e 97 85 75 86 45 e1 14 c3 28 0d 29 47 50 d7 a1 70 35 2e 8b 82 0d 25 3b 9c c7 2b aa 83 61 47 50 10 00 00 82 00 80 97 93 6b 65 f2 27 94 c2 f8 ab bd 03 02 75 90 07 1c ef fe b6 75 ce a3 a6 89 8a a9 59 72 d2 49 0d 99 98 98 55 24 12 b9 8c e3 3c 71 7e b7 47 b2 01 e1 c8 29 5b 9e f1 46 92 1f b0 d8 d1 dd d4 60 28 ae 8d 05 c5 ce c6 51 1c ff 83 d6 d8 b5 0f 38 37 20 3c 34 a3 a7 ef 61 bc 32 ea f6 3d e1 ed 7e e6 84 d1 83 3d ca 6b b3 ec 59 fc 78 e3 14 81 cf 1d 38 be 41 14 37 a7 13 fe d6 a3 14 d9 8b 06 ed 97 0f 00 00 82 00 80 09 b8 f8 1c e0 80 8a 85 65 ca cb be e8 f8 78 73 b6 e4 aa c0 46 82 0b a3 06 1a 98 e5 9e e3 88 55 56 92 ab 9d 4c b7 7c e6 38 0f 12 4a 9a fe fc e5 eb 68 e3 93 7b e0 36 04 f2 fd ef e5 a8 d5 ef e4 62 c3 76 32 e6 8d 2e 34 e8 31 78 a0 9e cf af 36 c0 ca 83 38 07 95 e9 04 ef 25 d6 98 e0 9f 5a d1 66 29 24 f1 8f a8 fa cf f7 7f c0 67 e3 63 31 49 75 6a 9c ca e4 c8 ea 16 a5 f5 3b 7c 23 4d 0f 4a 14 03 01 00 01 01 16 03 01 00 20 31 5b!
  20 26 0b aa b4 79 a9 4b bf bd 15 1d 05 ea 07 58 c1 13 d6 5a 45 07 74 eb 2a fd 5d e5 4e b2
DATA
IEEE 802.1X: 1005 bytes from 00:02:2d:58:6f:ab
   IEEE 802.1X: version=1 type=0 length=1001
   EAP: code=2 identifier=5 length=1001 (response)
   EAP Response-TLS
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state RESPONSE
Encapsulating EAP message into a RADIUS packet
Sending RADIUS message to authentication server
RADIUS message: code=1 (Access-Request) identifier=3 length=1180
   Attribute 1 (User-Name) length=5
      Value: 'eve'
   Attribute 4 (NAS-IP-Address) length=6
      Value: 10.0.10.12
   Attribute 5 (NAS-Port) length=6
      Value: 1
   Attribute 30 (Called-Station-Id) length=23
      Value: '00-06-25-A7-E9-AC:sha'
   Attribute 31 (Calling-Station-Id) length=19
      Value: '00-02-2D-58-6F-AB'
   Attribute 12 (Framed-MTU) length=6
      Value: 2304
   Attribute 61 (NAS-Port-Type) length=6
      Value: 19
   Attribute 77 (Connect-Info) length=24
      Value: 'CONNECT 11Mbps 802.11b'
   Attribute 79 (EAP-Message) length=255
   Attribute 79 (EAP-Message) length=255
   Attribute 79 (EAP-Message) length=255
   Attribute 79 (EAP-Message) length=244
   Attribute 24 (State) length=38
   Attribute 80 (Message-Authenticator) length=18
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 131 bytes from authentication server
Received RADIUS message
RADIUS message: code=11 (Access-Challenge) identifier=3 length=131
   Attribute 79 (EAP-Message) length=55
   Attribute 80 (Message-Authenticator) length=18
   Attribute 24 (State) length=38
RADIUS packet matching with station 00:02:2d:58:6f:ab
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state REQUEST
IEEE 802.1X: Sending EAP Packet to 00:02:2d:58:6f:ab (identifier 6)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 69 bytes management frame
  dump: 08 01 02 01 00 06 25 a7 e9 ac 00 02 2d 58 6f ab 00 06 25 a7 e9 ac 30 01 aa aa 03 00 00 00 88 8e 01 00 00 21 02 06 00 21 0d 80 00 00 00 17 15 03 01 00 12 6f c7 51 3c 49 fb 8c d4 55 4d c5 75 7b ab 9b 1d eb d2
DATA
IEEE 802.1X: 37 bytes from 00:02:2d:58:6f:ab
   IEEE 802.1X: version=1 type=0 length=33
   EAP: code=2 identifier=6 length=33 (response)
   EAP Response-TLS
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state RESPONSE
Encapsulating EAP message into a RADIUS packet
Sending RADIUS message to authentication server
RADIUS message: code=1 (Access-Request) identifier=4 length=206
   Attribute 1 (User-Name) length=5
      Value: 'eve'
   Attribute 4 (NAS-IP-Address) length=6
      Value: 10.0.10.12
   Attribute 5 (NAS-Port) length=6
      Value: 1
   Attribute 30 (Called-Station-Id) length=23
      Value: '00-06-25-A7-E9-AC:sha'
   Attribute 31 (Calling-Station-Id) length=19
      Value: '00-02-2D-58-6F-AB'
   Attribute 12 (Framed-MTU) length=6
      Value: 2304
   Attribute 61 (NAS-Port-Type) length=6
      Value: 19
   Attribute 77 (Connect-Info) length=24
      Value: 'CONNECT 11Mbps 802.11b'
   Attribute 79 (EAP-Message) length=35
   Attribute 24 (State) length=38
   Attribute 80 (Message-Authenticator) length=18
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 29 0 3599 29)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 59 bytes management frame
  dump: 80 00 00 00 ff ff ff ff ff ff 00 06 25 a7 e9 b3 00 06 25 a7 e9 b3 a0 2c d4 02 70 59 16 00 00 00 c0 27 01 00 00 06 61 6c 70 68 61 31 01 04 82 84 0b 16 03 01 01 05 04 00 01 02 04
MGMT
mgmt::beacon
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 28 0 3599 28)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 27 0 3599 27)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 26 0 3599 26)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 25 0 3599 25)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Received 44 bytes from authentication server
Received RADIUS message
RADIUS message: code=3 (Access-Reject) identifier=4 length=44
   Attribute 79 (EAP-Message) length=6
   Attribute 80 (Message-Authenticator) length=18
RADIUS packet matching with station 00:02:2d:58:6f:ab
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state FAIL
IEEE 802.1X: Sending canned EAP packet FAILURE to 00:02:2d:58:6f:ab (identifier 6)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab AUTH_PAE entering state HELD
IEEE 802.1X: Unauthorizing station 00:02:2d:58:6f:ab
IEEE 802.1X: 00:02:2d:58:6f:ab BE_AUTH entering state IDLE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 24 59 3599 24)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 23 58 3599 23)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 22 57 3599 22)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 21 56 3599 21)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 20 55 3599 20)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 19 54 3599 19)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 18 53 3599 18)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 17 52 3599 17)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 16 51 3599 16)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 15 50 3599 15)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
IEEE 802.1X: 00:02:2d:58:6f:ab Port Timers TICK (timers: 14 49 3599 14)
IEEE 802.1X: 00:02:2d:58:6f:ab REAUTH_TIMER entering state INITIALIZE
Signal 2 received - terminating
Flushing old station entries
Deauthenticate all stations
root:linuxsha:~/hostap_pci_original/hostap-2002-10-12/hostapd#exit

Script done on Thu Apr 17 14:44:42 2003




From dshenoy  Thu Apr 17 19:03:46 2003
From: dshenoy (Dinesh S Shenoy)
Date: Thu, 17 Apr 2003 21:03:46 -0500 (CDT)
Subject: Getting started with HostAP
Message-ID: <Pine.GSO.4.10.10304172055130.14103-100000@cook.cs.uno.edu>

Hi 
I am a naive user and need some information regarding setting up hostAP.
Firstly how do i install hostAP, I mean i have downloaded the driver, what
should i do next? i do not understand why we have to biuld a kernel and
install all the wireless extension patches? can some 1 pls xplain?
it would be great if some1 can give me step by step instructions regarding
installation of hostAP.
how can i test whether i have installed hostAP correctly?
how can i see if other laptops are connected to the laptop on which i will 
install hostAP.
i am using a d-link 650 wireless card on a pentium3 running red hat 8.0
laptop.
thanks a bunch
Dinesh






From jkmaline  Thu Apr 17 21:33:59 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 17 Apr 2003 21:33:59 -0700
Subject: Help Windows XP and hostapd
In-Reply-To: <Pine.LNX.4.44.0304171717580.22783-100000@chaos.crhc.uiuc.edu>
References: <Pine.LNX.4.44.0304171717580.22783-100000@chaos.crhc.uiuc.edu>
Message-ID: <20030418043359.GC2745@jm.kir.nu>

On Thu, Apr 17, 2003 at 05:19:05PM -0500, Sungwon Ha wrote:

> Suppicant             : Windows XP professional with SP1 (Service Pack 1)
> Authenticator         : Linux using hostpad (2002-10 release)
> Authentication Server : Linux using FreeRADIUS version 0.8.1
> 
> By reading through all old emails, I found that this setup should work.
> Of course, I installed the certificates by following HOWTO instructions on 
> windows XP. I am enclosing outputs from hostapd and Radius. Somehow the RADIUS
> has a error "<<< TLS 1.0 Alert [length 0002], fatal access_denied" at the end, 
> which causes the authentication failure. Could you tell me what is wrong?

That looks like the TLS part failed between Supplicant and
Authentication Server failed for some reason. I have never seens such an
error message from FreeRADIUS. I did not notice anything odd in the
hostapd debug output and I would recommend asking the same question on
FreeRADIUS mailing list since it seems to be unrelated to the
Authenticator. If you can test the same setup with another
Authenticator and that is working, I'll take a closer look at the issue.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Apr 17 21:43:27 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 17 Apr 2003 21:43:27 -0700
Subject: DHCP problem
In-Reply-To: <Pine.LNX.4.44.0304171310090.30254-100000@staph.me.umn.edu>
References: <Pine.LNX.4.44.0304171310090.30254-100000@staph.me.umn.edu>
Message-ID: <20030418044327.GD2745@jm.kir.nu>

On Thu, Apr 17, 2003 at 01:49:20PM -0500, Akash Malhotra wrote:

> I try to run DHCP using /sbin/service dhcp start i got this error
> 
> make sure  CONFIG_PACKET (Packet socket) and Config_filter (socket 
> filtering)are enabled in your kernel.
> 
> I checked my config file in /usr/src/linux... and it says
> CONFIG_PACKE= y but Config_filter is not set.

I don't see how this is related to Host AP (i.e., another mailing list
might be more appropriate). Anyway, you have already solved the
issue.. ;-) That error message was about your kernel not having required
features and indeed, you did not. How about taking the next logical step
and trying to add CONFIG_FILTER (Socket filtering)?

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Apr 17 21:50:03 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 17 Apr 2003 21:50:03 -0700
Subject: problem on downloading firmware to minipci card with intersil chip
In-Reply-To: <002a01c3048d$407ed6a0$88a8a8c0@lai>
References: <002a01c3048d$407ed6a0$88a8a8c0@lai>
Message-ID: <20030418045003.GE2745@jm.kir.nu>

On Thu, Apr 17, 2003 at 10:58:41AM +0800, ?? ??\(Lai Li\) wrote:

> Did any one try firmware downloading on minipci cards with intersil chip
> before?

I haven't tested minipci cards, but I have successfully downloaded (RAM)
a station firmware into Prism2.5 PCI card.

> I use hostap driver with prism2_srec utility to download secondary
> firmware to RAM,
> Should i use the same firmware file as PCIMCIA card?

You should use only images that have your NICID in the list of supported
platforms. prism2_srec will automatically make this verification before
starting download.

> Can i only upgrade secondary firmware to RAM or FLASH?

All the released versions of Host AP driver support only volatile
downloading, i.e., RAM upgrade. Current CVS version has preliminary
support for flash upgrade. However, it has not yet been thoroughly
tested so I would suggest being quite careful with it..

> When i try to upgrade, the system stop after i use prism2_srec,it stop at
> here....

What is your "system"? I.e., what kind of host CPU/board? Which version
of Linux kernel? Which version of Host AP driver?

> Downloading to volatile memory (RAM).
> wlan0: NIC: id=0x8022 v1.0.0
> wlan0: NIC: id=0x8022 v1.0.0
> wlan0: PRI: id=0x15 v1.1.1
> wlan0: PRI: id=0x15 v1.1.1
> wlan0: STA: id=0x1f v1.5.6
> wlan0: STA: id=0x1f v1.5.6

Does prism2_srec really so those lines that way (i.e., each version line
twice)?

> now my system is block , why?

What do you mean be "block"? Does the kernel crash? Do you get any error
message?

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Apr 17 21:53:57 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 17 Apr 2003 21:53:57 -0700
Subject: kernel pcmcia-cs vs external pcmcia-cs
In-Reply-To: <3E9C04A5.9040203@alumnux.com>
References: <3E9C04A5.9040203@alumnux.com>
Message-ID: <20030418045357.GF2745@jm.kir.nu>

On Tue, Apr 15, 2003 at 06:39:57PM +0530, Jeetendra Kumar wrote:

> Does it matter if I use kernel pcmcia-cs instead of external pcmcia-cs 
> distribution?

As far as Host AP driver is concerned, not really. Build process is a
bit different, but apart from that there should not be much differences.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jeetendra  Thu Apr 17 23:54:07 2003
From: jeetendra (Jeetendra Kumar)
Date: Fri, 18 Apr 2003 12:24:07 +0530
Subject: kernel pcmcia-cs vs external pcmcia-cs
References: <3E9C04A5.9040203@alumnux.com> <20030418045357.GF2745@jm.kir.nu>
Message-ID: <3E9FA10F.6070005@alumnux.com>

Hi Jouni,
I came across the following two lines in /etc/pcmcia/wireless.opts :-

# Note also that this script will work only with the original Pcmcia 
scripts,
# and not with the default Red Hat scripts. Send a bug report to Red Hat ;-)

Is it by any chance related to hostap driver?

Thanks in advance
Jeetendra

Jouni Malinen wrote:

>On Tue, Apr 15, 2003 at 06:39:57PM +0530, Jeetendra Kumar wrote:
>
>  
>
>>Does it matter if I use kernel pcmcia-cs instead of external pcmcia-cs 
>>distribution?
>>    
>>
>
>As far as Host AP driver is concerned, not really. Build process is a
>bit different, but apart from that there should not be much differences.
>
>  
>

-- 

------------------------------------
    _    Jeetendra Kumar           |
   ?v?   Alumnus Software Limited  |
  /(_)\  Kolkata, India - 700091   |
   ^ ^   http://www.alumnux.com    |
------------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030418/0126addd/attachment.htm 


From pymanju  Fri Apr 18 00:55:02 2003
From: pymanju (Manjunathan PY)
Date: Fri, 18 Apr 2003 13:25:02 +0530
Subject: MobileIP and Hostap
In-Reply-To: <3E9FA10F.6070005@alumnux.com>
Message-ID: <005201c3057f$d1d02350$468101d9@pcwks356>

Hi,
  I don't know if this question is relevant on this mailing list
......anyway.....

    I would like to know if anybody on this mailing list has integrated or
used mobileIP with HostAP, so as to support seamless Layer 2 triggered Layer
3 mobility, such that 802.11 mobile stations can move between different
access points on different subnets with distrupting their respective Layer 3
connections.

Thanks in advance,
Manjunathan PY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030418/3d62283a/attachment.htm 


From jeetendra  Fri Apr 18 00:49:10 2003
From: jeetendra (Jeetendra Kumar)
Date: Fri, 18 Apr 2003 13:19:10 +0530
Subject: Getting started with HostAP
References: <Pine.GSO.4.10.10304172055130.14103-100000@cook.cs.uno.edu>
Message-ID: <3E9FADF6.8060505@alumnux.com>

Hi Dinesh,
I hope following link can answer most of your questions:
http://student.bii.a-star.edu.sg/~tanyh/How-To-wirelessAP.html

Jeetendra


Dinesh S Shenoy wrote:

>Hi 
>I am a naive user and need some information regarding setting up hostAP.
>Firstly how do i install hostAP, I mean i have downloaded the driver, what
>should i do next? i do not understand why we have to biuld a kernel and
>install all the wireless extension patches? can some 1 pls xplain?
>it would be great if some1 can give me step by step instructions regarding
>installation of hostAP.
>how can i test whether i have installed hostAP correctly?
>how can i see if other laptops are connected to the laptop on which i will 
>install hostAP.
>i am using a d-link 650 wireless card on a pentium3 running red hat 8.0
>laptop.
>thanks a bunch
>Dinesh
>
>
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>  
>

-- 

------------------------------------
    _    Jeetendra Kumar           |
   ?v?   Alumnus Software Limited  |
  /(_)\  Kolkata, India - 700091   |
   ^ ^   http://www.alumnux.com    |
------------------------------------






From hostap  Fri Apr 18 03:52:10 2003
From: hostap (Thomas Schreiner)
Date: Fri, 18 Apr 2003 12:52:10 +0200
Subject: Recommended PCI / PLX cards?
Message-ID: <3E9FD8DA.3040007@tschreiner.org>

Hello all,
I've been looking for a document listing recommended PCI- or PLX cards 
or at last a list of hostap-capable / non-capable cards. Does anyone 
have a link to such a document or can you tell me which cards you use 
and if the range is ok?
Most companies seem to divert away from using the prism chipset, so I am 
not sure which device to buy anymore.

Thanks a lot for your help!

Thomas




From laili  Fri Apr 18 03:39:06 2003
From: laili (Lai Li)
Date: Fri, 18 Apr 2003 18:39:06 +0800
Subject: small problem no WDS
Message-ID: <00c301c30596$bc9dfe50$88a8a8c0@lai>

Hi all:

i try wds function on my ap, STP has been enable,
but the broadcast packet could not be filtered by aps
,why?
here is the topology,

 ap1------(wire)-------Hub--------(wire)--------ap2
  |----------------------(WDS)-----------------------|

Lai Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030418/0a317269/attachment.htm 


From laili  Fri Apr 18 03:50:59 2003
From: laili (Lai Li)
Date: Fri, 18 Apr 2003 18:50:59 +0800
Subject: i have a problem no WDS
Message-ID: <00e401c30598$65e0b920$88a8a8c0@lai>

Hi all:

i try wds function on my ap, STP has been enable,
but the broadcast packet could not be filtered by aps
,why?
here is the topology,

 ap1------(wire)-------Hub--------(wire)--------ap2
  |----------------------(WDS)-----------------------|

Lai Li



From laili  Fri Apr 18 04:21:19 2003
From: laili (Lai Li)
Date: Fri, 18 Apr 2003 19:21:19 +0800
Subject: RE problem on downloading firmware to minipci card with intersil chip
Message-ID: <00eb01c3059c$a2c1c1f0$88a8a8c0@lai>

> When i try to upgrade, the system stop after i use prism2_srec,it stop at
> here....

>What is your "system"? I.e., what kind of host CPU/board? Which version
>of Linux kernel? Which version of Host AP driver?

Hmmm... This is an embedded system.
IDT R4000 mips processor, mipsel kernel 2.4.18  patched with wireless ext
16, hostap driver just i download at this week.

Besides the firmware download, hostap works well with my 11b minipci  card.

>Downloading to volatile memory (RAM).
> wlan0: NIC: id=0x8022 v1.0.0
> wlan0: NIC: id=0x8022 v1.0.0
> wlan0: PRI: id=0x15 v1.1.1
> wlan0: PRI: id=0x15 v1.1.1
> wlan0: STA: id=0x1f v1.5.6
> wlan0: STA: id=0x1f v1.5.6

>Does prism2_srec really so those lines that way (i.e., each version line
>twice)?

Sorry! This's the problem of my terminal.  Just ignore it.

> now my system is block , why?

>What do you mean be "block"? Does the kernel crash? Do you get any error
>message?

yes, the kernel crashed .

thank u :)
>--
>Jouni Malinen                                            PGP id EFC895FA






From james.harper  Fri Apr 18 04:29:54 2003
From: james.harper (James Harper)
Date: Fri, 18 Apr 2003 21:29:54 +1000
Subject: Hard lock-up
In-Reply-To: <20030417002811.GD2303@ecs.soton.ac.uk>
Message-ID: <000701c3059d$d5993da0$c702a8c0@int.sbss.com.au>

Smp? Interrupt sharing?

james

> -----Original Message-----
> From: hostap-admin at shmoo.com [mailto:hostap-admin at shmoo.com] 
> On Behalf Of Mike Saywell
> Sent: Thursday, 17 April 2003 10:28
> To: hostap at shmoo.com
> Subject: Hard lock-up
> 
> 
> Hi,
> 
> I've got a hostap box which will just lock solid from time to 
> time. Transferring lots of data is generally a sure fire way 
> to kill it off
>  - copying an iso generally does the trick.
> 
> The only thing I can see in the logs before the lockup is:
> 
> Apr 17 00:40:56 beastie wlan0: STA 00:02:2d:53:62:e5 TX rate 
> lowered to 55 Apr 17 00:40:57 beastie wlan0: STA 
> 00:02:2d:53:62:e5 TX rate raised to 110 Apr 17 00:41:03 
> beastie wlan0: STA 00:02:2d:53:62:e5 TX rate lowered to 55 
> Apr 17 00:41:03 beastie wlan0: STA 00:02:2d:53:62:e5 TX rate 
> raised to 110 Apr 17 00:41:06 beastie wlan0: STA 
> 00:02:2d:53:62:e5 TX rate lowered to 55 Apr 17 00:41:07 
> beastie wlan0: STA 00:02:2d:53:62:e5 TX rate raised to 110
> 
> The client reports the signal strength as about -55db so I'm 
> not sure why it's switching rate like this?
> 
> This has only happened since upgrading the AP cards firmware 
> to 1.5.6, however I think I moved from the old 2002 stable 
> driver to a CVS one at the same time so it could also be 
> this.  It seems as though other people have reported problems 
> with the new driver but not the old one. I'll try an older 
> version of the driver when I get a chance.
> 
> I'm currently running 0.0.1 (which suffers from the problem).
> 
> Is there anything I could do to help debug this some more?
> 
> Cheers,
> 
> Mike Saywell
> 
> PS - with regards to the autoamtic wds link issue I was 
> having it seems I was in error.  I guess I must have manually 
> removed deleted the wds link or something, regardless the 
> auto-linking seems to be working fine now. :) 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 
> 




From ammirata  Fri Apr 18 05:17:18 2003
From: ammirata (Sergio M. Ammirata)
Date: Fri, 18 Apr 2003 08:17:18 -0400
Subject: Latest CVS and non-volatile download test
In-Reply-To: <20030418045003.GE2745@jm.kir.nu>
Message-ID: <000201c305a4$7622bf70$027ba8c0@ammirata.net>

I have tested the latest cvs version for non-volatile download of
secondary firmware into a senao 200mW card.

The firmware got updated successfully but if overwrote the cards pda
with default values from the flash image. During flash it gave some
warnings regarding the fact that it could not find the pda and it was
using the firmware defaults.

The pda values on the image where not correct and now the card is no
longer recognized by windows or hostap.

How can I get the correct pda back on the card? Is my card dead :( ?

Thanks in advance,

Sergio






From HostAP  Fri Apr 18 06:50:36 2003
From: HostAP (Oliver Baltz)
Date: Fri, 18 Apr 2003 15:50:36 +0200
Subject: Getting started
Message-ID: <002701c305b1$86b9a710$0500a8c0@olli>

Hi at All,

I am refeering to following HOWTO: http://trekweb.com/~jasonb/articles/hostap_20021012.shtml

Do I have to install the following patches and 2.4.20 kernel or does it work with bf24 on debian woody?

Things You'll Need Before Starting With 2002-10-12 

First, you'll need to acquire these things: 

  a.. Linux Kernel v2.4.20 
  b.. Host AP driver driver v2002-10-12 
  c.. Linux Wireless Extensions Tools v25 (or apt-get install wireless-tools under Debian GNU/Linux) 
  d.. Wireless Extensions v15 patch 
  e.. Wireless Extensions v16 patch (optional, but useful if you want to run more recent HostAP CVS) 
  f.. Optionally you can install any other Wireless Extensions patches you may need, but most of these are already in 2.4.20-pre2 and above. 
Thanks for help,

Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030418/9c4e2c52/attachment.htm 


From proski  Fri Apr 18 08:54:18 2003
From: proski (Pavel Roskin)
Date: Fri, 18 Apr 2003 11:54:18 -0400 (EDT)
Subject: Latest CVS and non-volatile download test
In-Reply-To: <000201c305a4$7622bf70$027ba8c0@ammirata.net>
References: <000201c305a4$7622bf70$027ba8c0@ammirata.net>
Message-ID: <Pine.LNX.4.55.0304181146340.24400@marabou.research.att.com>

On Fri, 18 Apr 2003, Sergio M. Ammirata wrote:

> The firmware got updated successfully but if overwrote the cards pda
> with default values from the flash image. During flash it gave some
> warnings regarding the fact that it could not find the pda and it was
> using the firmware defaults.

It's really unhelpful that you are sending your interpretation of the
facts rather than facts (e.g. versions of your software and hardware,
program output).

> The pda values on the image where not correct and now the card is no
> longer recognized by windows or hostap.

Firmware images normally have reasonable defaults that would at least
allow minimal functionality to flash firmware again.

> How can I get the correct pda back on the card? Is my card dead :( ?

If it's just PDA, then the card should be OK.  Use the DOS flash utility -
it allows you to program PDA among other things.  If you have MAC 3842 or
better, you should be able to set genesis mode by the "-3842" argument,
and that can fix any damade to the card.  The utility can be found here:
http://home.eunet.cz/jt/wifi/ (sorry, it's in Czech, but you can just try
all links).

-- 
Regards,
Pavel Roskin



From proski  Fri Apr 18 09:06:34 2003
From: proski (Pavel Roskin)
Date: Fri, 18 Apr 2003 12:06:34 -0400 (EDT)
Subject: Recommended PCI / PLX cards?
In-Reply-To: <3E9FD8DA.3040007@tschreiner.org>
References: <3E9FD8DA.3040007@tschreiner.org>
Message-ID: <Pine.LNX.4.55.0304181156020.24400@marabou.research.att.com>

On Fri, 18 Apr 2003, Thomas Schreiner wrote:

> Hello all,
> I've been looking for a document listing recommended PCI- or PLX cards
> or at last a list of hostap-capable / non-capable cards. Does anyone
> have a link to such a document or can you tell me which cards you use
> and if the range is ok?
> Most companies seem to divert away from using the prism chipset, so I am
> not sure which device to buy anymore.

SMC EZConnect SMC2602W is fine.  It's PLX based and has a PCMCIA card
inside that you can remove if you want.  The MAC chip is 3841.  The
firmware was quite old (0.8.3 or something), so I reflashed it with 1.4.9
(s1010409.hex).  Now it's working with HostAP just fine.

The list of IDs in hostap_plx.c can give you more ideas.  As for native
PCI cards, try searching Froogle for "Prism 2.5 PCI":

http://froogle.google.com/froogle?q=Prism+2.5+PCI&btnG=Froogle+Search

-- 
Regards,
Pavel Roskin



From christian_marx  Fri Apr 18 11:20:46 2003
From: christian_marx (Christian Marx)
Date: Fri, 18 Apr 2003 20:20:46 +0200
Subject: Getting started
In-Reply-To: <002701c305b1$86b9a710$0500a8c0@olli>
References: <002701c305b1$86b9a710$0500a8c0@olli>
Message-ID: <3EA041FE.9040509@vionetz.de>

Oliver Baltz wrote:
> Hi at All <mailto:Hi at All>,   I am refeering to following HOWTO: 
> http://trekweb.com/~jasonb/articles/hostap_20021012.shtml   Do I have to 
> install the following patches and 2.4.20 kernel or does it work with 
> bf24 on debian woody?  
> 
> *Things You'll Need Before Starting With 2002-10-12*
> 
> First, you'll need to acquire these things:
> 
>     * Linux Kernel v2.4.20
>       <http://www.us.kernel.org/pub/linux/kernel/v2.4/>
>     * Host AP driver driver <http://hostap.epitest.fi/releases/>
>       v2002-10-12
>     * Linux Wireless Extensions Tools
>       <http://pcmcia-cs.sourceforge.net/ftp/contrib/> v25 (or /apt-get
>       install wireless-tools/ under Debian GNU/Linux)
>     * Wireless Extensions v15 patch
>       <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/iw240_we15-6.diff>
> 
>     * Wireless Extensions v16 patch
>       <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/iw241_we16-2.diff>
>       (optional, but useful if you want to run more recent HostAP CVS)
>     * Optionally you can install any other Wireless Extensions patches
>       <http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>
>       you may need, but most of these are already in 2.4.20-pre2 and above. 
> 
> Thanks for help,   Oliver
Hi,

is it possible that my problem with HostAP, i see the WLAN but i can?t 
access ist over TCP/IP, has something to do with my kernel version ?

Original RedHat Kernel 2.4.18-27.7.x

Christian
-- 
chmarx at gmx.net
christian_marx at web.de





From brianc  Fri Apr 18 12:19:58 2003
From: brianc (Brian Capouch)
Date: Fri, 18 Apr 2003 14:19:58 -0500
Subject: Flashing "Platform 8003" card. . .
Message-ID: <3EA04FDE.1030501@palaver.net>

I have an Engenius 100mw card that is running old firmware.

I have the Intersil flash utility and would like to use 1.5.6.

When I try to flash it, though (using Pk010101.hex and sf010506.hex)
it gives an error, saying that this card is "Platform 8003" and that the 
image was built for other platforms.

Wondering if anyone call tell me what my options are here.

It has Primary f/w 0.3.0 and Station f/w 0.8.3, which I know is so old 
that it's moldy. . .

Thanks.


B.




From proski  Fri Apr 18 12:35:30 2003
From: proski (Pavel Roskin)
Date: Fri, 18 Apr 2003 15:35:30 -0400 (EDT)
Subject: Flashing "Platform 8003" card. . .
In-Reply-To: <3EA04FDE.1030501@palaver.net>
References: <3EA04FDE.1030501@palaver.net>
Message-ID: <Pine.LNX.4.55.0304181530570.28461@marabou.research.att.com>

On Fri, 18 Apr 2003, Brian Capouch wrote:

> I have the Intersil flash utility and would like to use 1.5.6.
>
> When I try to flash it, though (using Pk010101.hex and sf010506.hex)
> it gives an error, saying that this card is "Platform 8003" and that the
> image was built for other platforms.
>
> Wondering if anyone call tell me what my options are here.

Your options are to flash station firmware 1.4.9 (s1010409.hex) and/or
load station firmware 1.5.6 (r1010506.hex) every time you load the driver.

Unfortunately, flashable 1.5.6 firmware for your card (that would be
s1010506.hex) has not been spotted in the wild to the best of my
knowledge.

> It has Primary f/w 0.3.0 and Station f/w 0.8.3, which I know is so old
> that it's moldy. . .

Leave your primary firmware alone.  There are no better versions for your
platform.

-- 
Regards,
Pavel Roskin



From dshenoy  Fri Apr 18 19:38:14 2003
From: dshenoy (Dinesh S Shenoy)
Date: Fri, 18 Apr 2003 21:38:14 -0500 (CDT)
Subject: problems with make install_pccard
Message-ID: <Pine.GSO.4.10.10304182134580.26879-100000@cook.cs.uno.edu>

Hi
I am using a D-link 650 with a laptop running redhat8 
while installing hostap i faced the following problem
after doing "make pccard" when i did "make install_pccard" i got the
following error 
[root at localhost hostap-2002-10-12]# make install_pccard
Module installation directory not valid: '/lib/modules/2.4.18-14  '
Most probable cause for this is modified kernel headers.
You will need to install module file (driver/modules/hostap_*.o) manually.
make: *** [install_check] Error 1
can any1 help
thanxs a bunch
Dinesh






From hostap  Tue Apr 22 18:36:34 2003
From: hostap (Thomas Schreiner)
Date: Wed, 23 Apr 2003 03:36:34 +0200
Subject: Senao / Netgate / Engenius cards
Message-ID: <3EA5EE22.30609@tschreiner.org>

Hi all,
I'm planning to buy a Seano 2511CD PLUS PC-card, prism 2.5 chipset (also 
sold by Netgate / Engenius), but in hostap_plx.c none of these 
manufacturers is mentioned. Can I just add the manufacturer to the 
struct and everything is ok?
And: As this is a PCMCIA card, does it matter which PCI-PCMCIA-adapter I 
buy or are all of them working with hostap?

Thanks for your help!

Thomas




From ammirata  Sat Apr 19 06:47:56 2003
From: ammirata (Sergio M. Ammirata)
Date: Sat, 19 Apr 2003 09:47:56 -0400
Subject: Latest CVS and non-volatile download test
In-Reply-To: <Pine.LNX.4.55.0304181146340.24400@marabou.research.att.com>
Message-ID: <000501c3067a$4963cd40$027ba8c0@ammirata.net>

You were right. It was not the pda.

I used the DOS flash utility to check the status of the card and the
only thing that was messed up was the secondary firmware (it did not
show one).

I downloaded the secondary firmware and the card was ok again. I did not
need to put it in genesis mode.

Since I am now able to recover cards I went back and tried the
non-volatile flash download from hostap again (this time documenting
every step). However, everything worked perfectly. I flashed it 4 times
with 2 different firmware versions and it worked perfectly each time.

Strange!!!

Regarding the DOS flash utility:
I have another card that is completely dead: it will not even give me a
status on the flash utility, it reads the CIS and then it says it has an
invalid PDA.
I am trying to get it into genesis mode. It is a zcomax-325H.

When I issue:
Flash -5v -off
If successfully resets the card.
Then I type:
Flash -5v -g -i pk010101.hex -3842 1f17 -forcew
It gives me an error when it tries to verify the first piece written to
the card.

Do I have the wrong -3842 value or is this card truly dead?

Thanks in advance,

Sergio

> -----Original Message-----
> From: hostap-admin at shmoo.com [mailto:hostap-admin at shmoo.com] On Behalf
Of
> Pavel Roskin
> Sent: Friday, April 18, 2003 11:54 AM
> To: Sergio M. Ammirata
> Cc: hostap at shmoo.com
> Subject: Re: Latest CVS and non-volatile download test
> 
> On Fri, 18 Apr 2003, Sergio M. Ammirata wrote:
> 
> > The firmware got updated successfully but if overwrote the cards pda
> > with default values from the flash image. During flash it gave some
> > warnings regarding the fact that it could not find the pda and it
was
> > using the firmware defaults.
> 
> It's really unhelpful that you are sending your interpretation of the
> facts rather than facts (e.g. versions of your software and hardware,
> program output).
> 
> > The pda values on the image where not correct and now the card is no
> > longer recognized by windows or hostap.
> 
> Firmware images normally have reasonable defaults that would at least
> allow minimal functionality to flash firmware again.
> 
> > How can I get the correct pda back on the card? Is my card dead :( ?
> 
> If it's just PDA, then the card should be OK.  Use the DOS flash
utility -
> it allows you to program PDA among other things.  If you have MAC 3842
or
> better, you should be able to set genesis mode by the "-3842"
argument,
> and that can fix any damade to the card.  The utility can be found
here:
> http://home.eunet.cz/jt/wifi/ (sorry, it's in Czech, but you can just
try
> all links).
> 
> --
> Regards,
> Pavel Roskin
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap





From christian_marx  Sat Apr 19 08:13:33 2003
From: christian_marx (Christian Marx)
Date: Sat, 19 Apr 2003 17:13:33 +0200
Subject: I think =?ISO-8859-1?Q?i=B4ll_give_up_=2E=2E=2E_=3A-=28?=
Message-ID: <3EA1679D.7060800@vionetz.de>

Hi,

sorry for this long mail but i don?t know what?s wrong in my environment.
I can?t get a linux based wireless lan to work and i have no idea anymore.

My environment is:

- AMD K6 II 300
- 256MB RAM
- eth0: Intel Ethernet Pro
- eth1: Realtek based adapter
- wlan0: Netgear MA311 PCI wireless adapter

- In the meantime RedHat Linux 9 with
- Kernel 2.4.20-8
- wireless-tools-25-8
- Tested HostAP Versions:
	- latest CVS
	- 0.0.1

There are no probs with making the hostap drivers 
(EXTRA_CFLAGS=-DPRISM2_HOSTAPD).
There is also no probs to build the hostapd daemon .

When i load the driver the /var/log/messages logs the messages in 
"driver.txt".
When i load the hostapd with "hopstapd /etc/hostapd.conf" i?ll get the 
message you?ll see in "hostapd.txt".

 From my notebook i can see the wireless lan with it?s SSID.
The notebook also can access this wireless lan.
I see the authantication traffic between hostapd and the client.

But now there are the problems:

- I don?t get a IP address from the DHCP server, that lists on wlan0.
- If i configure a static IP address on the notebook i can?t do anything
   at all.

I have no idea, i?ve tested the following:

- RedHat 7.3 with kernel 2.4.18-27.7.x
- D-Link DWL 500 PCMCIA Adapter
- Kernelspace modules without "hostapd"
- Custom made Kernel 2.4.20

Maybe anyone got?s a idea or a tip for me, otherwise i think i will give 
up my Linux WLAN project an by some hardware access point ... :-(

Thank you

Christian

-- 
chmarx at gmx.net
christian_marx at web.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hostapd.txt
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030419/9faf364b/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: driver.txt
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030419/9faf364b/attachment-0001.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hostapd.conf
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030419/9faf364b/attachment-0002.txt 


From franck  Sat Apr 19 08:27:36 2003
From: franck (Franck)
Date: Sat, 19 Apr 2003 17:27:36 +0200
Subject: I think =?iso-8859-1?q?i=B4ll=20give=20up=20=2E=2E=2E?= :-(
In-Reply-To: <3EA1679D.7060800@vionetz.de>
References: <3EA1679D.7060800@vionetz.de>
Message-ID: <200304191727.36184.franck@linuxpourtous.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Look here for configuring your MA311 under Linux ;-)

http://www.wlanfr.net/contenus.php?id=16

> sorry for this long mail but i don?t know what?s wrong in my environment.
> I can?t get a linux based wireless lan to work and i have no idea anymore.
>
> My environment is:
>
> - AMD K6 II 300
> - 256MB RAM
> - eth0: Intel Ethernet Pro
> - eth1: Realtek based adapter
> - wlan0: Netgear MA311 PCI wireless adapter
>
> - In the meantime RedHat Linux 9 with
> - Kernel 2.4.20-8
> - wireless-tools-25-8
> - Tested HostAP Versions:
> 	- latest CVS
> 	- 0.0.1
>
> There are no probs with making the hostap drivers
> (EXTRA_CFLAGS=-DPRISM2_HOSTAPD).
> There is also no probs to build the hostapd daemon .
>
> When i load the driver the /var/log/messages logs the messages in
> "driver.txt".
> When i load the hostapd with "hopstapd /etc/hostapd.conf" i?ll get the
> message you?ll see in "hostapd.txt".
>
>  From my notebook i can see the wireless lan with it?s SSID.
> The notebook also can access this wireless lan.
> I see the authantication traffic between hostapd and the client.
>
> But now there are the problems:
>
> - I don?t get a IP address from the DHCP server, that lists on wlan0.
> - If i configure a static IP address on the notebook i can?t do anything
>    at all.
>
> I have no idea, i?ve tested the following:
>
> - RedHat 7.3 with kernel 2.4.18-27.7.x
> - D-Link DWL 500 PCMCIA Adapter
> - Kernelspace modules without "hostapd"
> - Custom made Kernel 2.4.20
>
> Maybe anyone got?s a idea or a tip for me, otherwise i think i will give
> up my Linux WLAN project an by some hardware access point ... :-(
>
> Thank you
>
> Christian

- -- 
Franck

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Fingerprint : 20F4 DBE5 7234 52D6 3610  BB17 D73C 1F7A 9E64 F6A1

http://www.linuxpourtous.com
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+oWro1zwfep5k9qERAozhAJ92PufpEKqLG5LpSG9to/Nn1R2zpQCfUJ/m
/0t7wOj03SVAszPGPYQ4Ea4=
=6aMN
-----END PGP SIGNATURE-----




From jkmaline  Sat Apr 19 10:05:15 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 19 Apr 2003 10:05:15 -0700
Subject: I think =?iso-8859-1?B?abRs?=
	=?iso-8859-1?Q?l?= give up ... :-(
In-Reply-To: <3EA1679D.7060800@vionetz.de>
References: <3EA1679D.7060800@vionetz.de>
Message-ID: <20030419170515.GA1772@jm.kir.nu>

On Sat, Apr 19, 2003 at 05:13:33PM +0200, Christian Marx wrote:

> But now there are the problems:
> 
> - I don?t get a IP address from the DHCP server, that lists on wlan0.
> - If i configure a static IP address on the notebook i can?t do anything
>   at all.

> #ieee8021x=1
> wep_key_len_broadcast=5
> #auth_server_addr=127.0.0.1

You have configured dynamic WEP keying, which requires IEEE 802.1X with
EAP method that provides session keys for encrypting the WEP keys for
the station. Have you tried this either by disabling WEP keying
(wep_key_len_broadcast=0 or commented out) or by enabled IEEE 802.1X and
configured RADIUS server?

-- 
Jouni Malinen                                            PGP id EFC895FA



From proski  Sat Apr 19 10:31:10 2003
From: proski (Pavel Roskin)
Date: Sat, 19 Apr 2003 13:31:10 -0400 (EDT)
Subject: Latest CVS and non-volatile download test
In-Reply-To: <000501c3067a$4963cd40$027ba8c0@ammirata.net>
Message-ID: <Pine.LNX.4.44.0304191244140.12377-100000@localhost.localdomain>

On Sat, 19 Apr 2003, Sergio M. Ammirata wrote:

> I used the DOS flash utility to check the status of the card and the
> only thing that was messed up was the secondary firmware (it did not
> show one).

Maybe you have old prism2_srec utility somewhere?  Old prism2_srec with
the new driver would do exactly that.

> Regarding the DOS flash utility:
> I have another card that is completely dead: it will not even give me a
> status on the flash utility, it reads the CIS and then it says it has an
> invalid PDA.
> I am trying to get it into genesis mode. It is a zcomax-325H.

This page says it uses Prism2.5:
http://www.zcomax.co.uk/view_product.php?product_id=6

Intersil says that Prism2.5 uses ISL3873B (for PCMCIA):
http://www.intersil.com/design/prism/ser-p25-11mbps.asp

The documentation for ISL3873B says that MD[11] has no equivalent in
control registers.  On the other hand, it does mention HCR on the same
page:
http://www.intersil.com/data/fn/fn8019.pdf

Short answer - I don't know, you should try.

> When I issue:
> Flash -5v -off
> If successfully resets the card.
> Then I type:
> Flash -5v -g -i pk010101.hex -3842 1f17 -forcew
> It gives me an error when it tries to verify the first piece written to
> the card.

I don't think you should use "-i" and "-g" on the same command line.  You 
may want to load the initial RAM firmware first.  It may be one of those 
i*.hex file or it may be ak010101.hex.

> Do I have the wrong -3842 value or is this card truly dead?

It may be a wrong value.  If you have the Idle bit, then it's 8 (bit 3)  
for sure, but what the rest should be is a question.  See
http://home.eunet.cz/jt/wifi/flash.pdf for description of other HCR bits.

Values I would try:

0f07 (5-wire SRAM)
0e07 (enable off-chip control store in RAM)
0c07 (enable off-chip control store in NVRAM)
1e17
1c17 (same with 4-wire SRAM)

After you load the inititial image you should normally program the PDA, 
and then primary.

-- 
Regards,
Pavel Roskin






From proski  Sat Apr 19 10:44:21 2003
From: proski (Pavel Roskin)
Date: Sat, 19 Apr 2003 13:44:21 -0400 (EDT)
Subject: Senao / Netgate / Engenius cards
In-Reply-To: <3EA5EE22.30609@tschreiner.org>
Message-ID: <Pine.LNX.4.44.0304191337290.13138-100000@localhost.localdomain>

On Wed, 23 Apr 2003, Thomas Schreiner wrote:

> Hi all,
> I'm planning to buy a Seano 2511CD PLUS PC-card, prism 2.5 chipset (also 
> sold by Netgate / Engenius), but in hostap_plx.c none of these 
> manufacturers is mentioned. Can I just add the manufacturer to the 
> struct and everything is ok?

PLX is just a bridge.  It can have its own PCI ID unrelated to the card.  
Yes, it's OK to add more IDs.

> And: As this is a PCMCIA card, does it matter which PCI-PCMCIA-adapter I 
> buy or are all of them working with hostap?

As far as I know, all PCI-to-PCMCIA bridges are supported by Linux, and
HostAP works with all of them.  Some TI bridges may need a patch to the
kernel to force using PCI IRQ.  There is a even a standalone PLX socket
driver in the early development: http://www.red-bean.com/~proski/plx9052/, 
but it's better to use hostap_plx for now.

-- 
Regards,
Pavel Roskin




From jsun  Sat Apr 19 14:06:25 2003
From: jsun (Jun Sun)
Date: Sat, 19 Apr 2003 14:06:25 -0700
Subject: supprting WEP and non-WEP at the same time?
Message-ID: <20030419140625.A11866@gateway.junsun.net>

Is it positive to let an AP accep WEP and non-WEP connection
at the same time?  Is there a commercial AP which can do this?

I would think it might be possible to do this with hostap, but I like
to get some pointers ....

This idea just comes to me.  I think it might be actually interesting
to have this feature.  In some sense, WEP or not should be a user
selectable feature.

Jun



From rich  Sat Apr 19 16:50:15 2003
From: rich (Richard Jones)
Date: Sun, 20 Apr 2003 00:50:15 +0100
Subject: flapping association
In-Reply-To: <20030417020806.GA6786@nevermore.toe.doomcom.org>
References: <20030414191512.GA13100@nevermore.toe.doomcom.org> <20030414191925.GA13233@nevermore.toe.doomcom.org> <20030417020806.GA6786@nevermore.toe.doomcom.org>
Message-ID: <20030419235015.GA21514@redhat.com>

On Wed, Apr 16, 2003 at 10:08:06PM -0400, Gerald Britton wrote:
> On Mon, Apr 14, 2003 at 03:19:25PM -0400, Gerald Britton wrote:
> > wlan0: LinkStatus=2 (Disconnected)
> > wlan0: LinkStatus: BSSID=00:05:5d:ea:65:4c
> > wlan0: LinkStatus=1 (Connected)
> > wlan0: LinkStatus: BSSID=00:05:5d:ea:65:4c
> 
> This has gotten even worse it seems...
> 
> wlan0: LinkStatus=4 (Access point out of range)
> wlan0: LinkStatus: BSSID=00:02:2d:04:3f:7c
> wlan0: LinkStatus=5 (Access point in range)
> wlan0: LinkStatus: BSSID=00:02:2d:04:3f:7c
> wlan0: LinkStatus=4 (Access point out of range)
> wlan0: LinkStatus: BSSID=00:02:2d:04:3f:7c
> wlan0: LinkStatus=5 (Access point in range)
> wlan0: LinkStatus: BSSID=00:02:2d:04:3f:7c
> 
> and eventually totally freezing up.  downing and upping the interface fixes
> it.  very bizzare.

I've seen similar. OpenZaurus, D-Link 1000AP access point, D-Link DCF 660W
WiFi card.

Rich.

-- 
Richard Jones, Red Hat Inc. (London) and Merjis Ltd. http://www.merjis.com/
http://www.annexia.org/ Freshmeat projects: http://freshmeat.net/users/rwmj
MONOLITH is an advanced framework for writing web applications in C, easier
than using Perl & Java, much faster and smaller, reusable widget-based arch,
database-backed, discussion, chat, calendaring:
http://www.annexia.org/freeware/monolith/



From christian_marx  Sat Apr 19 17:04:39 2003
From: christian_marx (Christian Marx)
Date: Sun, 20 Apr 2003 02:04:39 +0200
Subject: I think =?ISO-8859-1?Q?i=B4ll_give_up_=2E=2E=2E_=3A-?=
 =?ISO-8859-1?Q?=28?=
In-Reply-To: <200304191727.36184.franck@linuxpourtous.com>
References: <3EA1679D.7060800@vionetz.de> <200304191727.36184.franck@linuxpourtous.com>
Message-ID: <3EA1E417.8070902@vionetz.de>

Franck wrote:
 > WARNING: Unsanitized content follows.
> Look here for configuring your MA311 under Linux ;-)
> 
> http://www.wlanfr.net/contenus.php?id=16
> 
> 
>>sorry for this long mail but i don?t know what?s wrong in my environment.
>>I can?t get a linux based wireless lan to work and i have no idea anymore.
>>
>>My environment is:
>>
>>- AMD K6 II 300
>>- 256MB RAM
>>- eth0: Intel Ethernet Pro
>>- eth1: Realtek based adapter
>>- wlan0: Netgear MA311 PCI wireless adapter
>>
>>- In the meantime RedHat Linux 9 with
>>- Kernel 2.4.20-8
>>- wireless-tools-25-8
>>- Tested HostAP Versions:
>>	- latest CVS
>>	- 0.0.1
>>
>>There are no probs with making the hostap drivers
>>(EXTRA_CFLAGS=-DPRISM2_HOSTAPD).
>>There is also no probs to build the hostapd daemon .
>>
>>When i load the driver the /var/log/messages logs the messages in
>>"driver.txt".
>>When i load the hostapd with "hopstapd /etc/hostapd.conf" i?ll get the
>>message you?ll see in "hostapd.txt".
>>
>> From my notebook i can see the wireless lan with it?s SSID.
>>The notebook also can access this wireless lan.
>>I see the authantication traffic between hostapd and the client.
>>
>>But now there are the problems:
>>
>>- I don?t get a IP address from the DHCP server, that lists on wlan0.
>>- If i configure a static IP address on the notebook i can?t do anything
>>   at all.
>>
>>I have no idea, i?ve tested the following:
>>
>>- RedHat 7.3 with kernel 2.4.18-27.7.x
>>- D-Link DWL 500 PCMCIA Adapter
>>- Kernelspace modules without "hostapd"
>>- Custom made Kernel 2.4.20
>>
>>Maybe anyone got?s a idea or a tip for me, otherwise i think i will give
>>up my Linux WLAN project an by some hardware access point ... :-(
>>
>>Thank you
>>
>>Christian
> 
> 
Thank you very much, thats it ...
It is up and running ... in some basic configuration ...

Great URL

Christian
-- 
chmarx at gmx.net
christian_marx at web.de





From christian_marx  Sat Apr 19 17:08:42 2003
From: christian_marx (Christian Marx)
Date: Sun, 20 Apr 2003 02:08:42 +0200
Subject: I think =?ISO-8859-1?Q?i=B4ll_give_up_=2E=2E=2E_=3A-?=
 =?ISO-8859-1?Q?=28?=
In-Reply-To: <20030419170515.GA1772@jm.kir.nu>
References: <3EA1679D.7060800@vionetz.de> <20030419170515.GA1772@jm.kir.nu>
Message-ID: <3EA1E50A.6090801@vionetz.de>

Jouni Malinen wrote:
> On Sat, Apr 19, 2003 at 05:13:33PM +0200, Christian Marx wrote:
> 
> 
>>But now there are the problems:
>>
>>- I don?t get a IP address from the DHCP server, that lists on wlan0.
>>- If i configure a static IP address on the notebook i can?t do anything
>>  at all.
> 
> 
>>#ieee8021x=1
>>wep_key_len_broadcast=5
>>#auth_server_addr=127.0.0.1
> 
> 
> You have configured dynamic WEP keying, which requires IEEE 802.1X with
> EAP method that provides session keys for encrypting the WEP keys for
> the station. Have you tried this either by disabling WEP keying
> (wep_key_len_broadcast=0 or commented out) or by enabled IEEE 802.1X and
> configured RADIUS server?
> 
I?ve tried this and with the MA311 link from Franck i?ve got it up and 
running ...

I think i will set up the environment to get the rekeying feature.

Thank you

Christian

-- 
chmarx at gmx.net
christian_marx at web.de





From ms  Sun Apr 20 07:26:39 2003
From: ms (Mike Saywell)
Date: Sun, 20 Apr 2003 15:26:39 +0100
Subject: Hard lock-up
In-Reply-To: <000701c3059d$d5993da0$c702a8c0@int.sbss.com.au>
References: <20030417002811.GD2303@ecs.soton.ac.uk> <000701c3059d$d5993da0$c702a8c0@int.sbss.com.au>
Message-ID: <20030420142639.GH2303@ecs.soton.ac.uk>

Nay on both accounts. :-/

Mike

On Fri, Apr 18, 2003 at 09:29:54PM +1000, James Harper wrote:
> Smp? Interrupt sharing?
> 
> james
> 
> > -----Original Message-----
> > From: hostap-admin at shmoo.com [mailto:hostap-admin at shmoo.com] 
> > On Behalf Of Mike Saywell
> > Sent: Thursday, 17 April 2003 10:28
> > To: hostap at shmoo.com
> > Subject: Hard lock-up
> > 
> > 
> > Hi,
> > 
> > I've got a hostap box which will just lock solid from time to 
> > time. Transferring lots of data is generally a sure fire way 
> > to kill it off
> >  - copying an iso generally does the trick.
> > 
> > The only thing I can see in the logs before the lockup is:
> > 
> > Apr 17 00:40:56 beastie wlan0: STA 00:02:2d:53:62:e5 TX rate 
> > lowered to 55 Apr 17 00:40:57 beastie wlan0: STA 
> > 00:02:2d:53:62:e5 TX rate raised to 110 Apr 17 00:41:03 
> > beastie wlan0: STA 00:02:2d:53:62:e5 TX rate lowered to 55 
> > Apr 17 00:41:03 beastie wlan0: STA 00:02:2d:53:62:e5 TX rate 
> > raised to 110 Apr 17 00:41:06 beastie wlan0: STA 
> > 00:02:2d:53:62:e5 TX rate lowered to 55 Apr 17 00:41:07 
> > beastie wlan0: STA 00:02:2d:53:62:e5 TX rate raised to 110
> > 
> > The client reports the signal strength as about -55db so I'm 
> > not sure why it's switching rate like this?
> > 
> > This has only happened since upgrading the AP cards firmware 
> > to 1.5.6, however I think I moved from the old 2002 stable 
> > driver to a CVS one at the same time so it could also be 
> > this.  It seems as though other people have reported problems 
> > with the new driver but not the old one. I'll try an older 
> > version of the driver when I get a chance.
> > 
> > I'm currently running 0.0.1 (which suffers from the problem).
> > 
> > Is there anything I could do to help debug this some more?
> > 
> > Cheers,
> > 
> > Mike Saywell
> > 
> > PS - with regards to the autoamtic wds link issue I was 
> > having it seems I was in error.  I guess I must have manually 
> > removed deleted the wds link or something, regardless the 
> > auto-linking seems to be working fine now. :) 
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> > 
> > 
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



From jkmaline  Sun Apr 20 12:57:51 2003
From: jkmaline (Jouni Malinen)
Date: Sun, 20 Apr 2003 12:57:51 -0700
Subject: [PATCH] Flash download works!!!
In-Reply-To: <20030415045513.GA3464@jm.kir.nu>
References: <20030415031804.GA3019@jm.kir.nu> <Pine.LNX.4.44.0304150003510.4181-200000@localhost.localdomain> <20030415045513.GA3464@jm.kir.nu>
Message-ID: <20030420195751.GA2905@jm.kir.nu>

On Mon, Apr 14, 2003 at 09:55:14PM -0700, Jouni Malinen wrote:

> RID structures are not automatically converted, so this was indeed
> needed. I do have a big-endian test system and I made a todo entry to
> test flash download code on it. Thanks for sending this patch before I
> had enough time to do this test ;-).

I tested the latest CVS version on big-endian system and it worked with
non-volatile download of STA firmware.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Sun Apr 20 13:41:01 2003
From: jkmaline (Jouni Malinen)
Date: Sun, 20 Apr 2003 13:41:01 -0700
Subject: [PATCH] Flash download works!!!
In-Reply-To: <Pine.LNX.4.53.0304151455060.5870@marabou.research.att.com>
References: <Pine.LNX.4.53.0304131936230.3476@marabou.research.att.com> <20030414015002.GA3473@jm.kir.nu> <20030415031804.GA3019@jm.kir.nu> <008501c3037a$f0ee0510$fbfb2e0a@cray> <Pine.LNX.4.53.0304151455060.5870@marabou.research.att.com>
Message-ID: <20030420204101.GB2905@jm.kir.nu>

On Tue, Apr 15, 2003 at 03:00:34PM -0400, Pavel Roskin wrote:

> I'm afraid you'll need the modified adaptor for that.  I wonder if Jouni
> can share the schematics with us.

I have a special PC Card slot with a switch that can be used to select
pull-up for a pin (SPKR?). I know that this changes something in the
card initialization (led remains off), but I'm not sure whether it is
all that is needed for Genesis mode since I haven't yet had enough time
to write a program to use Genesis mode.

Intersil knowledge base for Prism has an answer with an attached pdf
documentation on how to setup Genesis mode. Search for Answer ID 1992
and look at Download.pdf. However, I do not remember how the pins of
HFA3841 were mapped to the pins in PC Card slot. Reference design
schematics would be useful for that, but opening a card and finding out
where the mentioned HFA3841 pins are connected to is another alternative
;-).

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Sun Apr 20 15:35:08 2003
From: jkmaline (Jouni Malinen)
Date: Sun, 20 Apr 2003 15:35:08 -0700
Subject: Authentication and Association with WDS
In-Reply-To: <EF5625F9F795C94BA28B150706A21548A05267@MAIL>
References: <EF5625F9F795C94BA28B150706A21548A05267@MAIL>
Message-ID: <20030420223508.GA1432@jm.kir.nu>

On Thu, Apr 10, 2003 at 09:03:02AM -0400, Foy, Patrick wrote:

> Is there a way to have the prism2 NIC initiate the authentication and
> association management frames when using WDS?  Normally, when the NIC is in
> station mode, it kicks off this process; however, this handshaking is
> missing with WDS because the NIC doesn't perform this function in AP mode.

What would you like to do with auth/assoc management in such mode? As
far as I know, this is not possible in Master or Repeater modes. The
host driver can perform auth/assoc management at least in Master mode
(however, most STA firmware versions will have problems with certain
data frames after this).

-- 
Jouni Malinen                                            PGP id EFC895FA



From bdoga  Sun Apr 20 18:14:57 2003
From: bdoga (Randall Hinton)
Date: Sun, 20 Apr 2003 19:14:57 -0600
Subject: protocol 1600 is buggy, dev wlan0
Message-ID: <3EA34611.60308@infowest.com>

I have Hostap running on a Zcomax xi-325h card in a PLX adapter.
Debian GNU/Linux Testing release
Current Kernel is 2.4.21-pre7,  Wireless Tools 26, Wireless Extensions 
16-6,
hostap cvs as of 04-12-2003, The card seems to be up and functioning 
correctly but
everyonce and a while I have this error display to the main console.

protocol 1600 is buggy, dev wlan0

is this a problem or is it just debug code...
any Ideas?

Thanks,
Randy Hinton




From jesper  Sun Apr 20 18:57:28 2003
From: jesper (Jarmie Espuerta)
Date: Mon, 21 Apr 2003 09:57:28 +0800
Subject: help me please
Message-ID: <3EA35008.8090602@asti.dost.gov.ph>

helo im new on the mailing list. and im very desperate. i cant run my 
hostap Zcomax prism 2.5 card on my pc. im using the driver 
hostap-2002-10-12 and the pcmcia-cs-3.1.31 and still not running. can 
somebody help me with the proper procedures on how to install it. im 
using the documentation made by hiraj bhutan.

my card is a Zcomax prism 2.5, and is inserted on a plx(pci to pcmcia 
adapter).  what are the modules tha t should be loaded or should i 
expected to be loaded?

 when i did the lsmod in my system, here is what i get

Module                      Size         Used  by        Not tainted
hostap_cs                 44648           0    [unused]
hostap                   60004            0    [hostap_cs]       
hostap_crypt              2342            0    
[hostap]
\ds                     8192 
hostap-cs]
i82365                    26384          1           
pcmcia_core             49600           0            
[hostap_cs ds i82365]

but why is that the modules loaded is still hostap_cs when in fact i did 
the 'make install_plx'.  supposedly i should expect the hostap_plx to be 
loaded instead hostap_cs when i execute the lsmod. there was no error in 
the 'make install_plx' but when i did the 'modprobe hostap_plx' there 
was an error saying "insmod hostap_plx failed".

and  still no mac address everytime i reinsert the card.  thank you once 
again.


i need all the help i can get. thank you.








From lists  Sun Apr 20 18:53:26 2003
From: lists (Chincogan Network Services Lists)
Date: Mon, 21 Apr 2003 11:53:26 +1000
Subject: 1.1.1/1.5.6 Non-Volitile Firmware for DWL-520
Message-ID: <20030421115326.2bd334b7.lists@chincogan.net.au>

Hi list and a merry easter to all.

Over the easter break I have been trying to flash my DWL-520's up to 1.5.6 to make use of standards based WDS.
I am trying to do this using the winupdate windows utility provided by the file dwl650_firmware_8c2.exe

The DWL-520 is a 0x8013 card and after reading the archives of this list I found http://aldebaran.feld.cvut.cz/~xmyslik/wifi while this looks to be what I am after running this firmware on the winupdate utility produces the following errors:
"Error in file ak010101.hex"
"Error Loading Files. Update will not start."

The files I am using are ak010101.hex and rf010506.hex and after further searching of the archives I found that these are possibly volitile images which is not what I am after.

So my question, Where can I find a set of non-volitile 1.1.1/1.5.6 firmware images, ie. will stay on the card after a reboot. that will work on my DWL-520 (0x8013) Netgate have taken their 1.5.6.zip down from http://www.netgate.com/support/prism_firmware/

Thanks,
Aaron Daniels
Chincogan Network Services
http://www.chincogan.net.au/



From info  Fri Apr 18 03:32:27 2003
From: info (Oliver Baltz)
Date: Fri, 18 Apr 2003 12:32:27 +0200
Subject: Getting started
Message-ID: <001c01c30595$dcb98e80$0500a8c0@olli>

Hi at All,

I am refeering to following HOWTO: http://trekweb.com/~jasonb/articles/hostap_20021012.shtml

Do I have to install the following patches and 2.4.20 kernel or does it work with bf24 on debian woody?

Things You'll Need Before Starting With 2002-10-12 

First, you'll need to acquire these things: 

  a.. Linux Kernel v2.4.20 
  b.. Host AP driver driver v2002-10-12 
  c.. Linux Wireless Extensions Tools v25 (or apt-get install wireless-tools under Debian GNU/Linux) 
  d.. Wireless Extensions v15 patch 
  e.. Wireless Extensions v16 patch (optional, but useful if you want to run more recent HostAP CVS) 
  f.. Optionally you can install any other Wireless Extensions patches you may need, but most of these are already in 2.4.20-pre2 and above. 
Thanks for help,

Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030418/b69c2eb4/attachment.htm 


From manty  Fri Apr 18 04:47:11 2003
From: manty (Santiago Garcia Mantinan)
Date: Fri, 18 Apr 2003 13:47:11 +0200
Subject: Lock-up with 0.0.1 and current cvs
Message-ID: <20030418114711.GA1519@man.beta.es>

Hi!

I've seen that people are experiencing lock ups with the upgrade to 0.0.1,
I've been testing it here and I get locks, with 0.0.1 and with cvs as of
yesterday, when transfering a good amount of data, I've seen this both on a
normal client and also using wds. The problem disapears if I return to my
good old 2002-11-11 cvs version. I don't have much info as the machine
doesn't have a console and it locks completely, so I have to reset it.

If there is anything else I can do... no problem with making tests or
anything, just tell me.

Regards...
-- 
Manty/BestiaTester -> http://manty.net



From thomas  Tue Apr 22 18:36:01 2003
From: thomas (Thomas Schreiner)
Date: Wed, 23 Apr 2003 03:36:01 +0200
Subject: Senao / Netgate / Engenius cards
Message-ID: <3EA5EE01.6040101@tschreiner.org>

Hi all,
I'm planning to buy a Seano 2511CD PLUS PC-card, prism 2.5 chipset (also 
sold by Netgate / Engenius), but in hostap_plx.c none of these 
manufacturers is mentioned. Can I just add the manufacturer to the 
struct and everything is ok?
And: As this is a PCMCIA card, does it matter which PCI-PCMCIA-adapter I 
buy or are all of them working with hostap?

Thanks for your help!

Thomas




From jesper  Sun Apr 20 19:35:51 2003
From: jesper (Jarmie Espuerta)
Date: Mon, 21 Apr 2003 10:35:51 +0800
Subject: help me please
Message-ID: <3EA35907.9090902@asti.dost.gov.ph>

helo im new on the mailing list. and im very desperate. i cant run my 
hostap Zcomax prism 2.5 card on my pc. im using the driver 
hostap-2002-10-12 and the pcmcia-cs-3.1.31 and still not running. can 
somebody help me with the proper procedures on how to install it. im 
using the documentation made by hiraj bhutan.

my card is a Zcomax prism 2.5, and is inserted on a plx(pci to pcmcia 
adapter).  what are the modules tha t should be loaded or should i 
expected to be loaded?

 when i did the lsmod in my system, here is what i get

Module                      Size         Used  by        Not tainted
hostap_cs                 44648           0    [unused]
hostap                   60004            0    [hostap_cs]       
hostap_crypt              2342            0    
[hostap]
\ds                     8192 
hostap-cs]
i82365                    26384          1           
pcmcia_core             49600           0            
[hostap_cs ds i82365]

but why is that the modules loaded is still hostap_cs when in fact i did 
the 'make install_plx'.  supposedly i should expect the hostap_plx to be 
loaded instead hostap_cs when i execute the lsmod. there was no error in 
the 'make install_plx' but when i did the 'modprobe hostap_plx' there 
was an error saying "insmod hostap_plx failed".

and  still no mac address everytime i reinsert the card.  thank you once 
again.


i need all the help i can get. thank you.








From proski  Sun Apr 20 21:04:51 2003
From: proski (Pavel Roskin)
Date: Mon, 21 Apr 2003 00:04:51 -0400 (EDT)
Subject: help me please
In-Reply-To: <3EA35907.9090902@asti.dost.gov.ph>
Message-ID: <Pine.LNX.4.44.0304202350260.3967-100000@localhost.localdomain>

Hello!

> helo im new on the mailing list. and im very desperate. i cant run my
> hostap Zcomax prism 2.5 card on my pc. im using the driver
> hostap-2002-10-12 and the pcmcia-cs-3.1.31 and still not running. can
> somebody help me with the proper procedures on how to install it. im
> using the documentation made by hiraj bhutan.

You shouldn't need pcmcia-cs is it's indeed a plx adapter (unless you are 
using my plx9052 driver, but I guess you are not).

> my card is a Zcomax prism 2.5, and is inserted on a plx(pci to pcmcia
> adapter).  what are the modules tha t should be loaded or should i
> expected to be loaded?

Do you see the PLX chip on the card?

> Module                      Size         Used  by        Not tainted
> hostap_cs                 44648           0    [unused]

What are the kernel messages when hostap_cs is loaded?  Use dmesg to print
recent messages.  Use "dmesg -n 8" to show all messages on the console.

> i82365                    26384          1           

Why is i82365 loaded?  Do you have another PCMCIA adapter?  If not, then
it may be you adapter that you think is PLX.  Then make sure you set the 
"irq_mode=0" parameter to the module.

What does "cardctl ident" show?

> but why is that the modules loaded is still hostap_cs when in fact i did 
> the 'make install_plx'.  supposedly i should expect the hostap_plx to be 
> loaded instead hostap_cs when i execute the lsmod. there was no error in 
> the 'make install_plx' but when i did the 'modprobe hostap_plx' there 
> was an error saying "insmod hostap_plx failed".

Please quote the error messages exactly, don't rephrase them.

> and still no mac address everytime i reinsert the card.  thank you once
> again.

That's very unclear.  You are posting your interpretation instead of the 
facts you are observing (e.g. the output of "ifconfig -a").

-- 
Regards,
Pavel Roskin




From proski  Sun Apr 20 21:18:18 2003
From: proski (Pavel Roskin)
Date: Mon, 21 Apr 2003 00:18:18 -0400 (EDT)
Subject: 1.1.1/1.5.6 Non-Volitile Firmware for DWL-520
In-Reply-To: <20030421115326.2bd334b7.lists@chincogan.net.au>
Message-ID: <Pine.LNX.4.44.0304210015570.3967-100000@localhost.localdomain>

On Mon, 21 Apr 2003, Chincogan Network Services Lists wrote:

> So my question, Where can I find a set of non-volitile 1.1.1/1.5.6
> firmware images, ie. will stay on the card after a reboot. that will
> work on my DWL-520 (0x8013) Netgate have taken their 1.5.6.zip down from
> http://www.netgate.com/support/prism_firmware/

http://www.red-bean.com/~proski/firmware/

-- 
Regards,
Pavel Roskin




From jesper  Sun Apr 20 22:21:57 2003
From: jesper (Jarmie Espuerta)
Date: Mon, 21 Apr 2003 13:21:57 +0800
Subject: unresolved symbols
Message-ID: <3EA37FF5.3050802@asti.dost.gov.ph>

can somebody help me with this. im installing the hostap-2002-10-12 
driver on my pc with kernel 2.4.18-3IMAGINE... i made the commands

bash# make plx
bash# make install_plx

then there was this error stating...

/sbin/depmod -a
depmod: *** Unresolved symbols in 
/lib/modules/2.4.18-3IMAGINE/net/hostap_plx.o
make: *** [install_plx] Error 1

what could have gone wrong? PLEASE help me resolve this problem.




From proski  Sun Apr 20 22:15:23 2003
From: proski (Pavel Roskin)
Date: Mon, 21 Apr 2003 01:15:23 -0400 (EDT)
Subject: [PATCH] Flash download works!!!
In-Reply-To: <20030420204101.GB2905@jm.kir.nu>
Message-ID: <Pine.LNX.4.44.0304210030460.3967-100000@localhost.localdomain>

On Sun, 20 Apr 2003, Jouni Malinen wrote:

> On Tue, Apr 15, 2003 at 03:00:34PM -0400, Pavel Roskin wrote:
> 
> I have a special PC Card slot with a switch that can be used to select
> pull-up for a pin (SPKR?). I know that this changes something in the
> card initialization (led remains off), but I'm not sure whether it is
> all that is needed for Genesis mode since I haven't yet had enough time
> to write a program to use Genesis mode.

It's good to know what to look for!  I looked for SPKR and MD11 on Google
and immediately found schematics of SMC 2632:
http://www.bawia.org/smc-2632-2e-schematics.pdf

MD11 (as well as MD10 and MD9) are connected to pin 62 (SPKR) on the
PCMCIA bus, and there is a tag called GEN_MODE on that line.

This page shows where to find pin 62, as well as ground and +5 on the
PCMCIA connector: http://hage88.2y.net/pcmcia.htm

It looks like I have everything to resurrect that card.  Thank you!

-- 
Regards,
Pavel Roskin




From adityasc  Sun Apr 20 23:55:18 2003
From: adityasc (Aditya S Chikodi)
Date: Mon, 21 Apr 2003 12:25:18 +0530
Subject: problems with make install_pccard
In-Reply-To: <Pine.GSO.4.10.10304182134580.26879-100000@cook.cs.uno.edu>
Message-ID: <DGEDJBOOKFEBHPOPPILGCENPGPAA.adityasc@tataelxsi.co.in>

Hi Dinesh

Try checking in the file include/linux/version.h
The UTS_RELEASE could be defined to a name other than the kernel for which
it is being compiled. For eg. 2.4.18-14bkup. Change this to the kernel
version and then compile ur code. Should solve ur problem

Regards
Aditya

-----Original Message-----
From: hostap-admin at shmoo.com [mailto:hostap-admin at shmoo.com]On Behalf Of
Dinesh S Shenoy
Sent: Saturday, April 19, 2003 8:08 AM
To: hostap at shmoo.com
Subject: problems with make install_pccard


Hi
I am using a D-link 650 with a laptop running redhat8
while installing hostap i faced the following problem
after doing "make pccard" when i did "make install_pccard" i got the
following error
[root at localhost hostap-2002-10-12]# make install_pccard
Module installation directory not valid: '/lib/modules/2.4.18-14  '
Most probable cause for this is modified kernel headers.
You will need to install module file (driver/modules/hostap_*.o) manually.
make: *** [install_check] Error 1
can any1 help
thanxs a bunch
Dinesh



_______________________________________________
HostAP mailing list
HostAP at shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap




From jesper  Mon Apr 21 01:00:29 2003
From: jesper (Jarmie Espuerta)
Date: Mon, 21 Apr 2003 16:00:29 +0800
Subject: incomplete kernel
Message-ID: <3EA3A51D.8020006@asti.dost.gov.ph>

can somebody help me with this. im installing the hostap-2002-10-12
driver on my pc with kernel 2.4.18-3IMAGINE... i made the commands

bash# make plx
bash# make install_plx

then there was this error stating...

/sbin/depmod -a
depmod: *** Unresolved symbols in
/lib/modules/2.4.18-3IMAGINE/net/hostap_plx.o
make: *** [install_plx] Error 1

what could have gone wrong? PLEASE help me resolve this problem.


Aditya S Chikodi wrote:

Hi Jarmie

I havent tried installing the PLX driver but have faced similar problem
while installing PCCARD driver for hostap. One of the reasons for our
problem was an incomplete kernel, i.e., the kernel being used for hostap
compilation was missing a few important symbols found under
usr/src/linux/net/ directory. We recompiled the kernel. Another important
thing for the compilation and hostap installation to succeed is to boot with
the newly compile, complete kernel image and then proceed with the hostap
compilation and installation process.

See if these procedures bail u out from the installation problem.

Regards
Aditya



**** thank you for that. im just confused because im also doing the same 
thing. im rebuilding and rebuilding my kernel and the same thing 
happens.  what should be done or what should i configure during the 
'make xconfig' so that i can say that my kernel is complete.  or let's 
say i don't know the factors that makes up a COMPLETE KERNEL. anywayz im 
using kernel 2.4.18-3 and a newbie on this system both the linux and hostap.






From jesper  Mon Apr 21 01:15:12 2003
From: jesper (Jarmie Espuerta)
Date: Mon, 21 Apr 2003 16:15:12 +0800
Subject: incomplete kernel (to Peyush Agarwal)
Message-ID: <3EA3A890.60507@asti.dost.gov.ph>

this is in reponse to Peyush Agarwal.
here are the errors.....


bash# make plx
bash# make install_plx

then there was this error stating...

/sbin/depmod -a
depmod: *** Unresolved symbols in
/lib/modules/2.4.18-3IMAGINE/net/hostap_plx.o
make: *** [install_plx] Error 1

what could have gone wrong? PLEASE help me resolve this problem.






From jesper  Mon Apr 21 02:45:54 2003
From: jesper (Jarmie Espuerta)
Date: Mon, 21 Apr 2003 17:45:54 +0800
Subject: hostap.0.0.1 under linux-2.4.20
Message-ID: <3EA3BDD2.80400@asti.dost.gov.ph>

i have successfully performed make plx and make install_plx but when i 
load the modules

bash# modprobe hostap_plx

it resulted to such errors:

/lib/modules/2.4.20Anakin.21apr03/net/hostap_plx.o: init_module: No such 
device
Hint: insmod errors can be caused by incorrect module parameters, 
including invalid IO or IRQ parameters
/lib/modules/2.4.20Anakin.21apr03/net/hostap_plx.o: insmod 
/lib/modules/2.4.20Anakin.21apr03/net/hostap_plx.o failed
/lib/modules/2.4.20Anakin.21apr03/net/hostap_plx.o: insmod hostap_plx failed


what seems to be the problem with the system?




From hostap  Sun Apr 20 21:48:52 2003
From: hostap (hostap at douglasheld.net)
Date: Sun, 20 Apr 2003 21:48:52 -0700
Subject: Senao / Netgate / Engenius cards
References: <3EA5EE01.6040101@tschreiner.org>
Message-ID: <000701c307c1$5266d7a0$0200a8c0@fartvs3myz9ipy>

I am using one of these cards in a PLX adaptor with hostap-2002-10-12 and it
works without modification.

Cheers,
Doug

----- Original Message -----
From: "Thomas Schreiner" <thomas at tschreiner.org>
To: "hostap" <hostap at shmoo.com>
Sent: Tuesday, April 22, 2003 6:36 PM
Subject: Senao / Netgate / Engenius cards


> Hi all,
> I'm planning to buy a Seano 2511CD PLUS PC-card, prism 2.5 chipset (also
> sold by Netgate / Engenius), but in hostap_plx.c none of these
> manufacturers is mentioned. Can I just add the manufacturer to the
> struct and everything is ok?
> And: As this is a PCMCIA card, does it matter which PCI-PCMCIA-adapter I
> buy or are all of them working with hostap?
>
> Thanks for your help!
>
> Thomas
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




From daralantarial  Mon Apr 21 04:17:23 2003
From: daralantarial (kieran fulke)
Date: Mon, 21 Apr 2003 12:17:23 +0100
Subject: Aes encryption
Message-ID: <001401c307f7$95b1f450$3200000a@disparity>

Are there any plans to include AES (hostap_crypt_aes ?) as an encryption option in the hostap driver? This seems to be a part of the new WPA standard, and firmware updates for it are trickling out of the labs .. 

Kind regards.



From milan.krcmar  Mon Apr 21 17:24:01 2003
From: milan.krcmar (Milan Krcmar)
Date: Tue, 22 Apr 2003 02:24:01 +0200
Subject: Non-standard WDS format causes problems with non-WDS packets
Message-ID: <20030422002400.GB1884@lily.klfree.net>

Hi,

I have a Prism 2.5 (STA 1.5.6) PCI card in master mode. One from its clients
is a hardware AP from Edimax (Atmel chipset) with one Ethernet (wired) port.

     hostap (AP)  <--wireless--  Edimax (client (AP)) <--wired-- PCs

All packets originated from computers connected to the wired side of Edimax
are sent as stadndard-compliant 4 adress WDS frames (both FromDS and ToDS
bits set). _But_ packets generated in the Edimax itself (it has a simple
IP stack, ie you can ping it) are sent as common client packets (no 4th
address information, only ToDS set). If I register Edimax's MAC as an WDS
link, the function hostap_rx_frame_wds() recognizes theese packets as having
non-standard WDS format (only ToDS set and address 2 in list of known WDSs),
later in hostap_rx_skb() it is processed this way (last 6 bytes of payload
treated as Ethernet source address).

I am not sure whether the hostap_rx_frame_wds() can be improved to distinguish
between non-standard WDS frames and non-WDS frames. (I've read the IEEE 802.11
only party, I am sure at least Jouni can answer it more easily).  If it can,
please tell me the difference between them. A second solution would be to
optionally disable recognition of non-standard WDS frames, could be done as an
additional bit position in "prism2_param wds_type". I could do it, if you want.

TIA

Milan



From jesper  Mon Apr 21 18:00:46 2003
From: jesper (Jarmie Espuerta)
Date: Tue, 22 Apr 2003 09:00:46 +0800
Subject: modprobe 'hostap_plx' trouble
Message-ID: <3EA4943E.3020300@asti.dost.gov.ph>

Helo,

I have successfully installed and have gone through the process 'make 
plx' and 'make install_plx' and did not encountered in any problem at 
all. I'm trying to make my pc as an hostap and trying to install the 
Host AP driver to work with a Zcomax Xl-325H card.

Installing the driver is fine...

root_at_localhost:/home/jarmie/hostap-0.0.1# make plx

Run 'make install_pccard' as a root to install hostap_cs.o
Run 'make install_plx' as a root to install hostap_plx.o
Run 'make install_pci' as a root to install hostap_pci.o



 root_at_localhost:/home/jarmie/hostap-0.0.1# make install_plx

Installing hostap_crypt*.o to /lib/modules/2.4.20Anakin.21apr03/net
mkdir -p /lib/modules/2.4.20Anakin.21apr03/net
cp -f driver/modules/hostap_crypt*.o /lib/modules/2.4.20Anakin.21apr03/net
Installing hostap.o to /lib/modules/2.4.20Anakin.21apr03/net
mkdir -p /lib/modules/2.4.20Anakin.21apr03/net
cp -f driver/modules/hostap.o /lib/modules/2.4.20Anakin.21apr03/net
Installing hostap_plx.o to /lib/modules/2.4.20Anakin.21apr03/net
mkdir -p /lib/modules/2.4.20Anakin.21apr03/net
cp -f driver/modules/hostap_plx.o /lib/modules/2.4.20Anakin.21apr03/net
/sbin/depmod -ae


....up to this point: when I have to do "modprobe hostap_plx". This is 
what happens:

root_at_localhost:/home/jarmie/hostap-0.0.1# modprobe hostap_plx

/lib/modules/2.4.20Anakin.21apr03/net/hostap_plx.o: init_module: No such 
device
Hint: insmod errors can be caused by incorrect module parameters, 
including inva
lid IO or IRQ parameters
/lib/modules/2.4.20Anakin.21apr03/net/hostap_plx.o: insmod 
/lib/modules/2.4.20An
akin.21apr03/net/hostap_plx.o failed
/lib/modules/2.4.20Anakin.21apr03/net/hostap_plx.o: insmod hostap_plx failed

 
After checking the var/log/messages there was a statement saying this:

Apr 22 08:23:40 localhost kernel: hostap_plx: 0.0.1 - 2003-04-05 (Jouni 
Malinen <jkmaline at cc.hut.fi>)
Apr 22 08:23:40 localhost kernel: hostap_plx: No devices found, driver 
not installed.
Apr 22 08:26:38 localhost su(pam_unix)[2010]: session opened for user 
root by jarmie(uid=501)
Apr 22 08:33:32 localhost kernel: hostap_plx: 0.0.1 - 2003-04-05 (Jouni 
Malinen <jkmaline at cc.hut.fi>)
Apr 22 08:33:32 localhost kernel: hostap_plx: No devices found, driver 
not installed.



Does anyone have suggestions? It would be a great pleasure hearing your 
suggestions and help.


jarmie






From proski  Mon Apr 21 18:30:55 2003
From: proski (Pavel Roskin)
Date: Mon, 21 Apr 2003 21:30:55 -0400 (EDT)
Subject: modprobe 'hostap_plx' trouble
In-Reply-To: <3EA4943E.3020300@asti.dost.gov.ph>
Message-ID: <Pine.LNX.4.44.0304212123440.2694-100000@localhost.localdomain>

On Tue, 22 Apr 2003, Jarmie Espuerta wrote:

> I have successfully installed and have gone through the process 'make 
> plx' and 'make install_plx' and did not encountered in any problem at 
> all. I'm trying to make my pc as an hostap and trying to install the 
> Host AP driver to work with a Zcomax Xl-325H card.

You probably mean XI-325H.  But it's a PCMCIA card:
http://www.fulbond.com.sg/PRODUCTS/WIRELESS/XI325H.htm

It's even mentioned in the archives of this list as working (somehow)  
with hostap_cs, not hostap_plx:  
http://hostap.epitest.fi/hostap/2002-09/1849.html

> /lib/modules/2.4.20Anakin.21apr03/net/hostap_plx.o: init_module: No such 
> device

What's the output of /sbin/lspci?

-- 
Regards,
Pavel Roskin




From dshenoy  Mon Apr 21 19:39:47 2003
From: dshenoy (Dinesh S Shenoy)
Date: Mon, 21 Apr 2003 21:39:47 -0500 (CDT)
Subject: Problems with make install_pccard
Message-ID: <Pine.GSO.4.10.10304212136070.14474-100000@cook.cs.uno.edu>

hi
I am still having problems with make install_pccard this time a different
error: when i run "make install_pccard" i get the following:
[root at localhost hostap-0.0.1]# make install_pccard
Installing hostap_crypt*.o to /lib/modules/2.4.18-14/net
mkdir -p /lib/modules/2.4.18-14/net
cp -f driver/modules/hostap_crypt*.o /lib/modules/2.4.18-14/net
Installing hostap.o to /lib/modules/2.4.18-14/net
mkdir -p /lib/modules/2.4.18-14/net
cp -f driver/modules/hostap.o /lib/modules/2.4.18-14/net
Installing hostap_cs.o to /lib/modules/2.4.18-14/pcmcia
mkdir -p /lib/modules/2.4.18-14/pcmcia
cp -f driver/modules/hostap_cs.o /lib/modules/2.4.18-14/pcmcia
/sbin/depmod -ae
depmod: *** Unresolved symbols in /lib/modules/2.4.18-14/net/hostap_cs.o
depmod:         hostap_free_data_R66bf75d0
depmod:         hostap_netif_stop_queues_R5ce9e516
depmod:         hostap_handle_sta_crypto_R129f4cc0
depmod:         hostap_setup_dev_R13822e0b
depmod:         hostap_check_sta_fw_version_R90cd3ca2
depmod:         hostap_get_stats_R8e07b62e
depmod:         hostap_set_antsel_R2d2767a8
depmod:         hostap_remove_proc_Rc5436b45
depmod:         hostap_init_data_Ra3433198
depmod:         hostap_set_string_Rae364d9e
depmod:         hostap_netif_wake_queues_Rc121973f
depmod:         hostap_set_encryption_Rf4940d0a
depmod:         hostap_init_proc_Ra21fe5b7
depmod:         hostap_set_word_R93e7a49d
depmod:         hostap_handle_sta_rx_R5d080ce6
depmod:         hostap_get_porttype_R36bf339b
depmod:         hostap_handle_sta_tx_R2e6df2ee
depmod:         hostap_handle_sta_tx_exc_Rc559e885
depmod:         hostap_rx_R5c71eb17
depmod:         hostap_is_sta_assoc_R85baa41c

I am using a Dlink 650 card on red hat 8.0
Thanx a bunch
Dinesh






From akash  Mon Apr 21 22:13:58 2003
From: akash (Akash Malhotra)
Date: Tue, 22 Apr 2003 00:13:58 -0500 (CDT)
Subject: Problems with client getting connected to HOSTAP Box
Message-ID: <Pine.LNX.4.44.0304220009230.16655-100000@staph.me.umn.edu>

Hi All

I am running hostap on redhat8. Clients are not getting connected to me.
 I am running it on channel 1 with Tx-pwer 17dbm. My retry limit is 8 and 
RTS Thr=250B. The Power Management i period=102.4ms amd mode is all 
packets recieved.  Rest all entires are 0 except Invalid Misc=509.

Any idea where I am going wrong. I am running DHCP server on my machine.


Any help is appreciated.

akash




From jeetendra  Mon Apr 21 22:24:23 2003
From: jeetendra (Jeetendra Kumar)
Date: Tue, 22 Apr 2003 10:54:23 +0530
Subject: [PATCH] Flash download works!!!
References: <20030415031804.GA3019@jm.kir.nu> <Pine.LNX.4.44.0304150003510.4181-200000@localhost.localdomain> <20030415045513.GA3464@jm.kir.nu> <20030420195751.GA2905@jm.kir.nu>
Message-ID: <3EA4D207.9040208@alumnux.com>

Hi All,
I have successfully completed non-volatile download of STA firmware. The 
summary is attached.

After that when I restarted the cardmgr, the screen was continuously 
flooded with following message:
wlan0: could not find matching txfid (0xffff) for alloc event

And the system hangs....!

Could anyone suggest me what went wrong? any idea?

Thanks in advance.
Jeetendra

Jouni Malinen wrote:

>On Mon, Apr 14, 2003 at 09:55:14PM -0700, Jouni Malinen wrote:
>
>  
>
>>RID structures are not automatically converted, so this was indeed
>>needed. I do have a big-endian test system and I made a todo entry to
>>test flash download code on it. Thanks for sending this patch before I
>>had enough time to do this test ;-).
>>    
>>
>
>I tested the latest CVS version on big-endian system and it worked with
>non-volatile download of STA firmware.
>
>  
>

-- 

------------------------------------
    _    Jeetendra Kumar           |
   ?v?   Alumnus Software Limited  |
  /(_)\  Kolkata, India - 700091   |
   ^ ^   http://www.alumnux.com    |
------------------------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030422/fc9d7084/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: download_summary.txt
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030422/fc9d7084/attachment.txt 


From jesper  Tue Apr 22 01:19:27 2003
From: jesper (Jarmie Espuerta)
Date: Tue, 22 Apr 2003 16:19:27 +0800
Subject: 'ping' of hostap pc based
Message-ID: <3EA4FB0F.7090300@asti.dost.gov.ph>

helo,

after a lot of struggle i have successfully get my Zcomax Xl-325H card 
as an access point using the latest driver which is "hostap-0.0.1" under 
the kernel linux-2.4.20 running on RedHat 7.3... everything is okay... 
but why is that my client cannot 'ping' my IP address? he can 
acknowledge my hostap pc based already through the command 'iwconfig'

i set my IP address as 192.168.41.1 and here's here's my network result:

bash # ifconfig
/eth0      Link encap:Ethernet  HWaddr 00:04:76:72:82:51
          inet addr:10.10.6.33  Bcast:10.10.6.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14990 errors:0 dropped:0 overruns:0 frame:0
          TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:7027835 (6.7 Mb)  TX bytes:19893 (19.4 Kb)
          Interrupt:5 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:36 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3360 (3.2 Kb)  TX bytes:3360 (3.2 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:60:B3:76:9E:8A
          inet addr:192.168.41.1  Bcast:192.168.41.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:23 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:688 (688.0 b)  TX bytes:3384 (3.3 Kb)
          Interrupt:12 Base address:0x100/

bash # iwconfig
/wlan0     IEEE 802.11b  ESSID:"dmr"
          Mode:Master  Frequency:2.422GHz  Access Point: 00:60:B3:76:9E:8A
          Bit Rate:11Mb/s   Tx-Power:-36 dBm   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/92  Signal level:-69 dBm  Noise level:-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:32  Invalid misc:5000   Missed beacon:0/


on my client side..... with an IP address 192.168.41.2.. here's the 
result as well..
bash# iwconfig
/wlan0     IEEE 802.11b  ESSID:"dmr"
          Mode:Master  Frequency:2.422GHz  Access Point: 00:60:B3:76:9E:8A
          Bit Rate:11Mb/s   Tx-Power:-36 dBm   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/92  Signal level:-69 dBm  Noise level:-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:32  Invalid misc:5000   Missed beacon:0/
 
if he can have my mac address on the access point already how come we 
could not 'ping' each other?

best regrds,
jarmie







From jesper  Tue Apr 22 01:32:07 2003
From: jesper (Jarmie Espuerta)
Date: Tue, 22 Apr 2003 16:32:07 +0800
Subject: 'ping' hostap
Message-ID: <3EA4FE07.8010704@asti.dost.gov.ph>

helo,

after a lot of struggle i have partly got my Zcomax Xl-325H card work as 
an access point. apparent there has been some minor problems which i 
could not understand and figure out.  I am using the latest driver 
hostap-0.0.1 under the kernel version 2.4.20 running on RedHat 7.3...
here's what i did to check if my card and the hostap pc based is working.

bash# ifconfig wlan0 192.168.41.1
eth0      Link encap:Ethernet  HWaddr 00:04:76:72:82:51
          inet addr:10.10.6.33  Bcast:10.10.6.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14990 errors:0 dropped:0 overruns:0 frame:0
          TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:7027835 (6.7 Mb)  TX bytes:19893 (19.4 Kb)
          Interrupt:5 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:36 errors:0 dropped:0 overruns:0 frame:0
          TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3360 (3.2 Kb)  TX bytes:3360 (3.2 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:60:B3:76:9E:8A
          inet addr:192.168.41.1  Bcast:192.168.41.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:23 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:688 (688.0 b)  TX bytes:3384 (3.3 Kb)
          Interrupt:12 Base address:0x100

bash # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11b  ESSID:"dmr"
          Mode:Master  Frequency:2.422GHz  Access Point: 00:60:B3:76:9E:8A
          Bit Rate:11Mb/s   Tx-Power:-4 dBm   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/92  Signal level:-69 dBm  Noise level:-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:34  Invalid misc:7305   Missed beacon:0

with this, i wanted to test my hostap if it really is working.. so i set 
up a client having an IP address of 192.168.41.2, yet it could 'ping' my 
Ip address which is 192.168.41.1... but when i check the 'iwconfig' of 
my client... here's the result

bash# iwconfig
wlan0     IEEE 802.11b  ESSID:"dmr"
          Mode:Managed  Frequency:2.422GHz  Access Point: 00:60:B3:76:9E:8A
          Bit Rate:11Mb/s   Tx-Power:-4 dBm   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/92  Signal level:-69 dBm  Noise level:-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:34  Invalid misc:7305   Missed beacon:0

it has my mac address!! how come it cannot 'ping' the Master and the 
Managed? when in fact my Managed has the address of the access point?
thank you very much for all the suggestions and solutions that i can have.

regards,
jarmie





From gallir  Tue Apr 22 01:37:40 2003
From: gallir (Ricardo Galli)
Date: Tue, 22 Apr 2003 10:37:40 +0200
Subject: 'ping' hostap
In-Reply-To: <3EA4FE07.8010704@asti.dost.gov.ph>
References: <3EA4FE07.8010704@asti.dost.gov.ph>
Message-ID: <200304221037.40456.gallir@uib.es>

On Tuesday 22 April 2003 10:32, Jarmie Espuerta shaped the electrons to 
shout:
> wlan0     IEEE 802.11b  ESSID:"dmr"
>           Mode:Master  Frequency:2.422GHz  Access Point:
> 00:60:B3:76:9E:8A Bit Rate:11Mb/s   Tx-Power:-4 dBm   Sensitivity=1/3
                                      ^^^^^^^^^^^^^^^

Put a reasonable value here, at _least_ if you cannot be sure it does 
work.

> with this, i wanted to test my hostap if it really is working.. so i
> set up a client having an IP address of 192.168.41.2, yet it could
> 'ping' my Ip address which is 192.168.41.1... but when i check the
> 'iwconfig' of my client... here's the result

I don't understand what's your problem with "iwconfig"

>
> bash# iwconfig
> wlan0     IEEE 802.11b  ESSID:"dmr"
>           Mode:Managed  Frequency:2.422GHz  Access Point:
> 00:60:B3:76:9E:8A Bit Rate:11Mb/s   Tx-Power:-4 dBm   Sensitivity=1/3

It's ok, but the tx-power is too low, did you ever try to do a "iwconfig 
wlan0 txpower 100mW", for example?

>           Retry min limit:8   RTS thr:off   Fragment thr:off
>           Encryption key:off
>           Power Management:off
>           Link Quality:0/92  Signal level:-69 dBm  Noise level:-90 dBm
                         ^^^^               ^^^^^^^
No link, possibly due to low tx-power?

>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:34  Invalid misc:7305   Missed beacon:0
>
> it has my mac address!! how come it cannot 'ping' the Master and the

What does it mean "my mac"? All the macs shown in your message are "yours" 
:-)

What's showing there is the mac of the AP, and it's OK.

> Managed? when in fact my Managed has the address of the access point?

What's showing there is the mac of the AP, and it's OK. Check what it 
says:

Access Point: 00:60:B3:76:9E:8A
^^^^^^^^^^^^^

Do you see the word "access point"?


> thank you very much for all the suggestions and solutions that i can

You need to read some literature about 802.11...



-- 
  ricardo galli       GPG id C8114D34



From adityasc  Tue Apr 22 01:43:21 2003
From: adityasc (Aditya S Chikodi)
Date: Tue, 22 Apr 2003 14:13:21 +0530
Subject: 'ping' hostap
In-Reply-To: <3EA4FE07.8010704@asti.dost.gov.ph>
Message-ID: <DGEDJBOOKFEBHPOPPILGOEOKGPAA.adityasc@tataelxsi.co.in>

Bring down the eth0 interface on ur AP. The problem is with the route
entries which can be checked with the command - netstat -rn. U should have 2
route entries for the same subnet. Thus on receiving a ICMP ping request
from ur client, the AP tends to put the response on eth0 [which I figure is
the first entry inthe routing table]and hence the problem

Regards
Aditya

> -----Original Message-----
> From: hostap-admin at shmoo.com [mailto:hostap-admin at shmoo.com]On Behalf Of
> Jarmie Espuerta
> Sent: Tuesday, April 22, 2003 2:02 PM
> To: hostap at shmoo.com
> Subject: 'ping' hostap
>
>
> helo,
>
> after a lot of struggle i have partly got my Zcomax Xl-325H card work as
> an access point. apparent there has been some minor problems which i
> could not understand and figure out.  I am using the latest driver
> hostap-0.0.1 under the kernel version 2.4.20 running on RedHat 7.3...
> here's what i did to check if my card and the hostap pc based is working.
>
> bash# ifconfig wlan0 192.168.41.1
> eth0      Link encap:Ethernet  HWaddr 00:04:76:72:82:51
>           inet addr:10.10.6.33  Bcast:10.10.6.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:14990 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:7027835 (6.7 Mb)  TX bytes:19893 (19.4 Kb)
>           Interrupt:5 Base address:0xa000
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:36 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:3360 (3.2 Kb)  TX bytes:3360 (3.2 Kb)
>
> wlan0     Link encap:Ethernet  HWaddr 00:60:B3:76:9E:8A
>           inet addr:192.168.41.1  Bcast:192.168.41.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:8 errors:0 dropped:23 overruns:0 frame:0
>           TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:688 (688.0 b)  TX bytes:3384 (3.3 Kb)
>           Interrupt:12 Base address:0x100
>
> bash # iwconfig
> lo        no wireless extensions.
>
> eth0      no wireless extensions.
>
> wlan0     IEEE 802.11b  ESSID:"dmr"
>           Mode:Master  Frequency:2.422GHz  Access Point: 00:60:B3:76:9E:8A
>           Bit Rate:11Mb/s   Tx-Power:-4 dBm   Sensitivity=1/3
>           Retry min limit:8   RTS thr:off   Fragment thr:off
>           Encryption key:off
>           Power Management:off
>           Link Quality:0/92  Signal level:-69 dBm  Noise level:-90 dBm
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:34  Invalid misc:7305   Missed beacon:0
>
> with this, i wanted to test my hostap if it really is working.. so i set
> up a client having an IP address of 192.168.41.2, yet it could 'ping' my
> Ip address which is 192.168.41.1... but when i check the 'iwconfig' of
> my client... here's the result
>
> bash# iwconfig
> wlan0     IEEE 802.11b  ESSID:"dmr"
>           Mode:Managed  Frequency:2.422GHz  Access Point:
> 00:60:B3:76:9E:8A
>           Bit Rate:11Mb/s   Tx-Power:-4 dBm   Sensitivity=1/3
>           Retry min limit:8   RTS thr:off   Fragment thr:off
>           Encryption key:off
>           Power Management:off
>           Link Quality:0/92  Signal level:-69 dBm  Noise level:-90 dBm
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:34  Invalid misc:7305   Missed beacon:0
>
> it has my mac address!! how come it cannot 'ping' the Master and the
> Managed? when in fact my Managed has the address of the access point?
> thank you very much for all the suggestions and solutions that i can have.
>
> regards,
> jarmie
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap




From mpolak  Tue Apr 22 01:50:40 2003
From: mpolak (Martin Polak)
Date: Tue, 22 Apr 2003 10:50:40 +0200
Subject: 'ping' hostap
In-Reply-To: <200304221037.40456.gallir@uib.es>
References: <3EA4FE07.8010704@asti.dost.gov.ph> <200304221037.40456.gallir@uib.es>
Message-ID: <3EA50260.8050901@gup.jku.at>

Ricardo Galli wrote:
> On Tuesday 22 April 2003 10:32, Jarmie Espuerta shaped the electrons to 
> shout:
> 
>>wlan0     IEEE 802.11b  ESSID:"dmr"
>>          Mode:Master  Frequency:2.422GHz  Access Point:
>>00:60:B3:76:9E:8A Bit Rate:11Mb/s   Tx-Power:-4 dBm   Sensitivity=1/3
> 
>                                       ^^^^^^^^^^^^^^^
> 
> Put a reasonable value here, at _least_ if you cannot be sure it does 
> work.

It should be fine, if the card ALC's to that value


> 
> 
>>          Retry min limit:8   RTS thr:off   Fragment thr:off
>>          Encryption key:off
>>          Power Management:off
>>          Link Quality:0/92  Signal level:-69 dBm  Noise level:-90 dBm
> 
>                          ^^^^               ^^^^^^^
> No link, possibly due to low tx-power?

Forget Link-Quality, it doesnt work for me neither. Look at the values:
a SNR of 21 dBm should do very fine for a 11 MBit-Link.






From antonio.vilei  Tue Apr 22 02:05:14 2003
From: antonio.vilei (Antonio Vilei)
Date: Tue, 22 Apr 2003 11:05:14 +0200
Subject: 802.11 conformance test
References: <3EA4FE07.8010704@asti.dost.gov.ph> <200304221037.40456.gallir@uib.es> <3EA50260.8050901@gup.jku.at>
Message-ID: <005901c308ae$4941b300$151e0a0a@stmantoniov>

Hello,

Where can I find some conformance tests to check that my HostAP based AP is
802.11 compliant?

Thanks in advance,
Antonio





From m_pawlowski  Tue Apr 22 03:53:03 2003
From: m_pawlowski (m_pawlowski at t-online.de)
Date: Tue, 22 Apr 2003 12:53:03 +0200
Subject: unres. symbols by issueing "insmod hostap_cs"
Message-ID: <3EA51F0F.9050500@t-online.de>

hi, everybody.

well ... i was trying to get hostap up and running for several days now. 
unfortunately i wasn't able to set it up completely and i'm close to 
going slightly mad about it.

the distributions i used were rh 7.1 and 8.0 and i even installed it 
freshly any time i was close to desperation. but although everything 
compiled ok (make pccard and make install_pccard) and installed 
correctly hostap_cs did not install itself when the wireless card was 
inserted (Netgear MR401RA, i edited hostap_cs.conf to fit the desc and i 
did edit the Makefile to point to the right location and added the line 
EXTRA_CFLAGS=-DPRISM2_HOSTAPD to get the userspace-daemon). so i tried 
to insmod it manually and strangely enough the following messages 
appeared on the screen:

["insmod hostap_cs" on RH71:]
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_get_stats_Rsmp_390a1e89
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_handle_sta_tx_Rsmp_46f640b0
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_check_sta_fw_version_Rsmp_42ed7e19
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_rx_Rsmp_b8370db9
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_netif_stop_queues_Rsmp_3a5a7aef
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_info_init_Rsmp_2c329034
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_get_porttype_Rsmp_62abd661
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_update_rx_stats_Rsmp_797a2ffa
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_dump_tx_header_Rsmp_3abcbf80
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_handle_sta_rx_Rsmp_5e5b501a
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_set_multicast_list_queue_Rsmp_c089a779
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_init_data_Rsmp_e87fbd5a
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_info_process_Rsmp_e0942f32
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_free_data_Rsmp_44cb068b
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_set_word_Rsmp_f1417d23
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_is_sta_assoc_Rsmp_4f6542f7
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_set_antsel_Rsmp_b80593b4
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_80211_get_hdrlen_Rsmp_6903f16c
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_init_proc_Rsmp_00cea015
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_update_sta_ps_Rsmp_45a63518
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_set_string_Rsmp_c7659074
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_dump_rx_header_Rsmp_27a069d6
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_80211_header_parse_Rsmp_5890fb53
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_set_encryption_Rsmp_8e5c034d
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_setup_dev_Rsmp_b7f64b28
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_handle_sta_release_Rsmp_27df6133
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_handle_sta_crypto_Rsmp_5084302a
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_netif_wake_queues_Rsmp_6f00495f
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_handle_sta_tx_exc_Rsmp_096fa615
/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
hostap_remove_proc_Rsmp_51010be6

there was no output from depmod concerning unresolved symbols; those 
messages only appear when i try to insmod hostap_cs manually.

CONFIG_MODVERSIONS didn't do the trick, either. the only thing that 
differs then is the missing trailing _R* stuff when trying to insmod 
hostap_cs.

can anybody please tell me what i'm doing wrong?  

the weird thing is: on a system where hostapd is not intended to run 
everything works fine (it's another laptop running RH 8.0), hostap_cs 
automatically loads every time the card is inserted and i am sure that 
the config's identical to the one on the system where hostap_cs does not 
work.

well, you shall say that surely enough there must be differences and 
most probably you're right (excuse me for being that dull :). but i 
can't figure out where the differences are ...

oh - and: it doesn't matter whether i use the latest cvs-snapshot (which 
runs fine on the system where hostapd is not intended to run) or v0.0.1.

any help is gladly appreciated.

thanks in advance.

-mp.




From peyush  Tue Apr 22 04:03:06 2003
From: peyush (Peyush Agarwal)
Date: Tue, 22 Apr 2003 16:33:06 +0530
Subject: unres. symbols by issueing "insmod hostap_cs"
References: <3EA51F0F.9050500@t-online.de>
Message-ID: <3EA52168.B22F8BC7@tataelxsi.co.in>

Hi,

At the time of kernel compilation, remove the "Symmetric multiprocessor
support" support and then compile your driver.

Regds.
Peyush.

"m_pawlowski at t-online.de" wrote:

> hi, everybody.
>
> well ... i was trying to get hostap up and running for several days now.
> unfortunately i wasn't able to set it up completely and i'm close to
> going slightly mad about it.
>
> the distributions i used were rh 7.1 and 8.0 and i even installed it
> freshly any time i was close to desperation. but although everything
> compiled ok (make pccard and make install_pccard) and installed
> correctly hostap_cs did not install itself when the wireless card was
> inserted (Netgear MR401RA, i edited hostap_cs.conf to fit the desc and i
> did edit the Makefile to point to the right location and added the line
> EXTRA_CFLAGS=-DPRISM2_HOSTAPD to get the userspace-daemon). so i tried
> to insmod it manually and strangely enough the following messages
> appeared on the screen:
>
> ["insmod hostap_cs" on RH71:]
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_get_stats_Rsmp_390a1e89
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_handle_sta_tx_Rsmp_46f640b0
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_check_sta_fw_version_Rsmp_42ed7e19
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_rx_Rsmp_b8370db9
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_netif_stop_queues_Rsmp_3a5a7aef
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_info_init_Rsmp_2c329034
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_get_porttype_Rsmp_62abd661
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_update_rx_stats_Rsmp_797a2ffa
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_dump_tx_header_Rsmp_3abcbf80
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_handle_sta_rx_Rsmp_5e5b501a
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_set_multicast_list_queue_Rsmp_c089a779
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_init_data_Rsmp_e87fbd5a
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_info_process_Rsmp_e0942f32
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_free_data_Rsmp_44cb068b
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_set_word_Rsmp_f1417d23
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_is_sta_assoc_Rsmp_4f6542f7
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_set_antsel_Rsmp_b80593b4
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_80211_get_hdrlen_Rsmp_6903f16c
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_init_proc_Rsmp_00cea015
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_update_sta_ps_Rsmp_45a63518
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_set_string_Rsmp_c7659074
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_dump_rx_header_Rsmp_27a069d6
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_80211_header_parse_Rsmp_5890fb53
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_set_encryption_Rsmp_8e5c034d
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_setup_dev_Rsmp_b7f64b28
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_handle_sta_release_Rsmp_27df6133
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_handle_sta_crypto_Rsmp_5084302a
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_netif_wake_queues_Rsmp_6f00495f
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_handle_sta_tx_exc_Rsmp_096fa615
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
> hostap_remove_proc_Rsmp_51010be6
>
> there was no output from depmod concerning unresolved symbols; those
> messages only appear when i try to insmod hostap_cs manually.
>
> CONFIG_MODVERSIONS didn't do the trick, either. the only thing that
> differs then is the missing trailing _R* stuff when trying to insmod
> hostap_cs.
>
> can anybody please tell me what i'm doing wrong?
>
> the weird thing is: on a system where hostapd is not intended to run
> everything works fine (it's another laptop running RH 8.0), hostap_cs
> automatically loads every time the card is inserted and i am sure that
> the config's identical to the one on the system where hostap_cs does not
> work.
>
> well, you shall say that surely enough there must be differences and
> most probably you're right (excuse me for being that dull :). but i
> can't figure out where the differences are ...
>
> oh - and: it doesn't matter whether i use the latest cvs-snapshot (which
> runs fine on the system where hostapd is not intended to run) or v0.0.1.
>
> any help is gladly appreciated.
>
> thanks in advance.
>
> -mp.
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap

--
______________________________________________________________
Peyush Agarwal
Sr. Engineer, Networking and Communications, Tata Elxsi Ltd.
Phone number :: 91-80-8410220/1/2 ex. 415.  Fax ::  91-80-8410219.
www.tataelxsi.com
______________________________________________________________





From jeetendra  Tue Apr 22 05:20:42 2003
From: jeetendra (Jeetendra Kumar)
Date: Tue, 22 Apr 2003 17:50:42 +0530
Subject: unres. symbols by issueing "insmod hostap_cs"
References: <3EA51F0F.9050500@t-online.de>
Message-ID: <3EA5339A.3030005@alumnux.com>

try insmod in the following sequence:
    1. insmod hostap_crypt.o
    2. insmod hostap_crypt_wep.o
    3. insmod hostap.o
    4. insmod hostap_cs.o

good luck!

jeetendra

m_pawlowski at t-online.de wrote:

> hi, everybody.
>
> well ... i was trying to get hostap up and running for several days 
> now. unfortunately i wasn't able to set it up completely and i'm close 
> to going slightly mad about it.
>
> the distributions i used were rh 7.1 and 8.0 and i even installed it 
> freshly any time i was close to desperation. but although everything 
> compiled ok (make pccard and make install_pccard) and installed 
> correctly hostap_cs did not install itself when the wireless card was 
> inserted (Netgear MR401RA, i edited hostap_cs.conf to fit the desc and 
> i did edit the Makefile to point to the right location and added the 
> line EXTRA_CFLAGS=-DPRISM2_HOSTAPD to get the userspace-daemon). so i 
> tried to insmod it manually and strangely enough the following 
> messages appeared on the screen:
>
> ["insmod hostap_cs" on RH71:]
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_get_stats_Rsmp_390a1e89
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_handle_sta_tx_Rsmp_46f640b0
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_check_sta_fw_version_Rsmp_42ed7e19
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_rx_Rsmp_b8370db9
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_netif_stop_queues_Rsmp_3a5a7aef
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_info_init_Rsmp_2c329034
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_get_porttype_Rsmp_62abd661
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_update_rx_stats_Rsmp_797a2ffa
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_dump_tx_header_Rsmp_3abcbf80
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_handle_sta_rx_Rsmp_5e5b501a
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_set_multicast_list_queue_Rsmp_c089a779
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_init_data_Rsmp_e87fbd5a
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_info_process_Rsmp_e0942f32
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_free_data_Rsmp_44cb068b
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_set_word_Rsmp_f1417d23
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_is_sta_assoc_Rsmp_4f6542f7
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_set_antsel_Rsmp_b80593b4
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_80211_get_hdrlen_Rsmp_6903f16c
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_init_proc_Rsmp_00cea015
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_update_sta_ps_Rsmp_45a63518
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_set_string_Rsmp_c7659074
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_dump_rx_header_Rsmp_27a069d6
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_80211_header_parse_Rsmp_5890fb53
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_set_encryption_Rsmp_8e5c034d
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_setup_dev_Rsmp_b7f64b28
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_handle_sta_release_Rsmp_27df6133
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_handle_sta_crypto_Rsmp_5084302a
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_netif_wake_queues_Rsmp_6f00495f
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_handle_sta_tx_exc_Rsmp_096fa615
> /lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol 
> hostap_remove_proc_Rsmp_51010be6
>
> there was no output from depmod concerning unresolved symbols; those 
> messages only appear when i try to insmod hostap_cs manually.
>
> CONFIG_MODVERSIONS didn't do the trick, either. the only thing that 
> differs then is the missing trailing _R* stuff when trying to insmod 
> hostap_cs.
>
> can anybody please tell me what i'm doing wrong? 
> the weird thing is: on a system where hostapd is not intended to run 
> everything works fine (it's another laptop running RH 8.0), hostap_cs 
> automatically loads every time the card is inserted and i am sure that 
> the config's identical to the one on the system where hostap_cs does 
> not work.
>
> well, you shall say that surely enough there must be differences and 
> most probably you're right (excuse me for being that dull :). but i 
> can't figure out where the differences are ...
>
> oh - and: it doesn't matter whether i use the latest cvs-snapshot 
> (which runs fine on the system where hostapd is not intended to run) 
> or v0.0.1.
>
> any help is gladly appreciated.
>
> thanks in advance.
>
> -mp.
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap


-- 

------------------------------------
    _    Jeetendra Kumar           |
   ?v?   Alumnus Software Limited  |
  /(_)\  Kolkata, India - 700091   |
   ^ ^   http://www.alumnux.com    |
------------------------------------






From ykchoi  Mon Apr 21 01:39:27 2003
From: ykchoi (=?ks_c_5601-1987?B?w9a/tbHU?=)
Date: Mon, 21 Apr 2003 17:39:27 +0900
Subject: ap scanned results
Message-ID: <PNEJLAPGLICNDDFNOMDEEEEGCBAA.ykchoi@mwnl.snu.ac.kr>

Hi all,
I have some work to use the ap scanned list.
>From the reading the hostap source(the latest version, Apr, 2003), I found the informations are reported in two ways.
In prism2_init_local_data() of the Hostap_hw.c, there are two initialization procedure.
One is initializing the info_tasklet, the other is doing the info_queue by calling the hostap_info_init.
After tracing the call flow,while the former reports to the "/proc/net/wlan0/scan_result"("prism2_info_scanresults",hostap_info.c), 
the last informs user space by IO controlling("handle_info_queue_scanresults", hostap_info.c).

Then, I  have two questions.
1. What is the scanning results based on?  is passive scanning?
2. Can i receive the scan results using the ioctl(SIOCGIWSCAN) like the wireless extension in the user space?

Of course, the above things are reasonable when the PRISM2_NO_STATION_MODES is not defined.

Thanks.(It's the first mail for me to greet the members of this mailing list)




----
Youngkyu Choi
M.S. candidate
School of Electrical Engineering
Seoul National University

Tel: +82-(0)2-880-1755
Fax: +82-(0)2-877-1753
Cel: +82-(0)18-205-9925
E-mail: ykchoi at mwnl.snu.ac.kr
           wastebinchoi at hotmail.com
URL: http://mwnl.snu.ac.kr/~ykchoi
 


From raffaele1963  Tue Apr 22 07:37:28 2003
From: raffaele1963 (=?iso-8859-1?q?Raffaele=20Raf?=)
Date: Tue, 22 Apr 2003 16:37:28 +0200 (CEST)
Subject: Dead card after wrong pda and firmware flashing 
In-Reply-To: <Pine.LNX.4.53.0304131454400.2477@marabou.research.att.com>
Message-ID: <20030422143728.77479.qmail@web41012.mail.yahoo.com>

Sorry for my bad explanation. When I say I think I
corrupted the original firmware and I cannot flash a
new one I mean I tried to program a USR 2450 with a
wrong memory card (Centennial 5v), and now it does not
boot up any more.
Any way, I wish to thank you so much because with the 
link to the new flash.exe that you gave me, today
I could do miracles !!!

1) Resurrected dead generic prism 2 card.

2) Resurrected dead USR 2445 card (coming from the
   USR 2450 AP) having broken PDA, primary and     
   secondary firmware.

What I did is to perform a "cold programming" not
using at all the information coming from the card.

Steps:

1) Find a compatible PDA and change mac add
(8002.pda).
2) Find a compatible initial firmware (i10003c0.hex).
3) Find a compatible primary firmware (p10003c0.hex).
4) Find a compatible secondary firmware(s1010409.hex).
5) Download the latest flash.exe.

Then run in sequence: 

A) flash -legacy -3v -on -i i10003c0.hex
B) flash -legacy -g -pf -p 8002.pda  -spi -hf -3v -on
-d p10003c0.hex
C) flash -legacy -g -pf -p 8002.pda  -spi -hf -3v -on
-d s1010409.hex
D) flash -legacy -g -p 8002.pda  -spi -hf -3v -on

And finally check the results with
flash -legacy -3v -s

I believe the magic is made by the -hf parameter.

I hope this will help other people

Regards
Raf







______________________________________________________________________
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html



From icardenas  Tue Apr 22 08:10:17 2003
From: icardenas (Israel Cardenas Romero)
Date: Tue, 22 Apr 2003 17:10:17 +0200
Subject: HostAP and xsupplicant
Message-ID: <001d01c308e1$48d0c090$7031a8c0@sevilla.sgi.es>

hi,

I've tested HostAP with FreeRadius and Windows XP supplicant with total
success, using WEP rekeying and diferents re-authenticacion times.

Now I'm trying to use this same configuration with Linux clients using
'xsupplicant', but I've problems. 'xsupplicant' seems to authenticate
correctly, but after first WEP rekeying, it breaks connection, and it
doesn't show any error messages.

Does 'xsupplicant' support WEP rekeying?

Israel.




From El_khayat.Doukkali  Tue Apr 22 05:18:11 2003
From: El_khayat.Doukkali (El_khayat DOUKKALI)
Date: Tue, 22 Apr 2003 15:18:11 +0300
Subject: PCF mode in HostAP
Message-ID: <20030422131507.9C002C217B@molure.int-evry.fr>

Dear,

I am looking for an implementation of the PCF MAC layer access method.
Is HostAP supporting PCF access method or not ? Are you considering
implementation of PCF in HostAP ? 

Do you know any available AP products that implement this access
method ?

 

 

Best Regards,




From mrcool  Tue Apr 22 08:58:13 2003
From: mrcool (Jerry)
Date: Tue, 22 Apr 2003 10:58:13 -0500
Subject: RangeLAN DS , firmware, and flashing cards.
Message-ID: <001601c308e7$faa08fc0$0b04000a@terraworld.net>

I have a RangeLAN DS card that doesnt work.  Windows will recognize it and
install drivers, but it gets a splat in Device Mangler, and wont work,
consequently i cant use winupdate...  I tried that dos flash utility that
has been mentioned in the posts, but it wont recognize my bridge (elan
single pci bridge, ricoh chip r5c475][).  I have a plx adapter, it doesnt
recognize it either.... So the dos flash utility appears to be useless to
me... it will load hostap drivers and will let me prism2_srec a ram firmware
image (1.5.6) but aparently it doesnt "work" in that nothing will happen
(client cant see an AP), it will give the error message hostap_plx error
reset

when i try to upload a firmware image to flash, (with latest CVS (4/22/03),
and prism2 download support enabled) the ram download works, but the flash
download fails complaining:
"Odd, Download request for the kernel driver failed.  Are you sure you have
compiled (and loaded the correct version of) hostap.o module with
PRISM2_DOWNLOAD_SUPPORT definition in driver/module/hostap_config.h?
ioctl[PRISM2_IOCTL_DOWNLOAD]: Operation not supported"
I thought flash download was working  in the CVS, although i will admit that
the prism2_srec is from a slightly older build, actually i think the 0.0.1.

Am i doing something wrong? have i forgotten something? Do you need more
info?  All help is appreciated.

Thanks
Jerry




From mrcool  Tue Apr 22 14:07:46 2003
From: mrcool (Jerry)
Date: Tue, 22 Apr 2003 16:07:46 -0500
Subject: RangeLAN DS , firmware, and flashing cards.
References: <001601c308e7$faa08fc0$0b04000a@terraworld.net>
Message-ID: <000701c30913$39b074c0$985cfea9@terraworld.net>

thanks Mark, that allowed me to use the dos flash utility...

does someone have (or can they get for me) a PDA image for the rangelan DS
card... when i try to flash it, the utility complains that the PDA is empty,
when i try to dump the PDA the file is empty.  Strangly enough i have some
WPC11 cards that give the same error when i try to dump the PDA, but these
cards work fine otherwise...

Maybe someone might explain the PDA some so that i might have a better idea
what it is i need...   All help is appreciated.

thanks Jerry




From proski  Tue Apr 22 17:39:57 2003
From: proski (Pavel Roskin)
Date: Tue, 22 Apr 2003 20:39:57 -0400 (EDT)
Subject: Patch for irqreturn_t in Linux 2.5.68-bk2
Message-ID: <Pine.LNX.4.44.0304222030550.3278-200000@localhost.localdomain>

Hello!

This patch updates the IRQ handler to the new kernel API, which is
described here: http://lwn.net/Articles/29555/

Following Linus' advise, I was careful to return IRQ_NONE only it the 
EVSTAT register is available, valid and indicates no events.

Compatibility code is provided in hostap_compat.h.  Yes, "typedef void" is
valid, as funny as it it.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
--- driver/modules/hostap_compat.h
+++ driver/modules/hostap_compat.h
@@ -131,6 +131,14 @@
 #endif /* kernel < 2.4.0 */
 
 
+/* Interrupt handler backwards compatibility for Linux < 2.5.69 */
+#ifndef IRQ_NONE
+#define IRQ_NONE
+#define IRQ_HANDLED
+typedef void irqreturn_t;
+#endif
+
+
 #if WIRELESS_EXT > 12
 #if IW_HANDLER_VERSION < 3
 extern void wireless_send_event(struct net_device *dev,
--- driver/modules/hostap_config.h
+++ driver/modules/hostap_config.h
@@ -42,7 +42,7 @@
 #endif /* PRISM2_BUS_MASTER */
 
 /* Include code for downloading firmware images. */
-/* #define PRISM2_DOWNLOAD_SUPPORT */
+#define PRISM2_DOWNLOAD_SUPPORT
 
 /* Allow kernel configuration to enable download support. */
 #if !defined(PRISM2_DOWNLOAD_SUPPORT) && defined(CONFIG_HOSTAP_FIRMWARE)
--- driver/modules/hostap_hw.c
+++ driver/modules/hostap_hw.c
@@ -3604,7 +3604,7 @@ static inline void prism2_check_magic(lo
 
 
 /* Called only from hardware IRQ */
-static void prism2_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+static irqreturn_t prism2_interrupt(int irq, void *dev_id, struct pt_regs *regs)
 {
 	struct net_device *dev = (struct net_device *) dev_id;
 	local_info_t *local = (local_info_t *) dev->priv;
@@ -3616,7 +3616,7 @@ static void prism2_interrupt(int irq, vo
 	if (local->func->card_present && !local->func->card_present(local)) {
 		printk(KERN_DEBUG "%s: Interrupt, but dev not OK\n",
 		       dev->name);
-		return;
+		return IRQ_HANDLED;
 	}
 
 	prism2_check_magic(local);
@@ -3625,12 +3625,12 @@ static void prism2_interrupt(int irq, vo
 		ev = HFA384X_INW(HFA384X_EVSTAT_OFF);
 		if (ev == 0xffff) {
 			if (local->shutdown)
-				return;
+				return IRQ_HANDLED;
 			HFA384X_OUTW(0xffff, HFA384X_EVACK_OFF);
 			printk(KERN_DEBUG "%s: prism2_interrupt: ev=0xffff\n",
 			       dev->name);
 			PRISM2_SCHEDULE_TASK(&local->reset_queue);
-			return;
+			return IRQ_HANDLED;
 		}
 
 		ev &= local->event_mask;
@@ -3651,13 +3651,13 @@ static void prism2_interrupt(int irq, vo
 			if (ev & HFA384X_EV_CMD)
 				goto next_event;
 			if ((ev & HFA384X_EVENT_MASK) == 0)
-				return;
+				return IRQ_HANDLED;
 			if (local->dev_enabled)
 				printk(KERN_DEBUG "%s: prism2_interrupt: hw "
 				       "not ready; skipping events 0x%04x\n",
 				       dev->name, ev);
 			HFA384X_OUTW(ev, HFA384X_EVACK_OFF);
-			return;
+			return IRQ_HANDLED;
 		}
 
 #if defined(PRISM2_PCI) && defined(PRISM2_BUS_MASTER)
@@ -3711,6 +3711,10 @@ static void prism2_interrupt(int irq, vo
 		}
 	}
 	prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INTERRUPT, 0, 1);
+	if (events)
+		return IRQ_HANDLED;
+	else
+		return IRQ_NONE;
 }
 
 


From jkmaline  Tue Apr 22 19:01:07 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 22 Apr 2003 19:01:07 -0700
Subject: RangeLAN DS , firmware, and flashing cards.
In-Reply-To: <001601c308e7$faa08fc0$0b04000a@terraworld.net>
References: <001601c308e7$faa08fc0$0b04000a@terraworld.net>
Message-ID: <20030423020107.GA1451@jm.kir.nu>

On Tue, Apr 22, 2003 at 10:58:13AM -0500, Jerry wrote:

> ioctl[PRISM2_IOCTL_DOWNLOAD]: Operation not supported"
> I thought flash download was working  in the CVS, although i will admit that
> the prism2_srec is from a slightly older build, actually i think the 0.0.1.

You better not use prism2_srec from v0.0.1. It has a bug that _will_
break STA image.. With CVS version, you will also need to define
PRISM2_NON_VOLATILE_DOWNLOAD to enabled flash upgrade. Anyway, I would
still be quite careful with non-volatile download using current CVS
version.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Tue Apr 22 19:02:01 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 22 Apr 2003 19:02:01 -0700
Subject: PCF mode in HostAP
In-Reply-To: <20030422131507.9C002C217B@molure.int-evry.fr>
References: <20030422131507.9C002C217B@molure.int-evry.fr>
Message-ID: <20030423020201.GB1451@jm.kir.nu>

On Tue, Apr 22, 2003 at 03:18:11PM +0300, El_khayat DOUKKALI wrote:

> I am looking for an implementation of the PCF MAC layer access method.
> Is HostAP supporting PCF access method or not ? Are you considering
> implementation of PCF in HostAP ? 

As far as I know, current Intersil firmware does not provide support for
PCF and host driver cannot do much about that..

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Tue Apr 22 19:03:36 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 22 Apr 2003 19:03:36 -0700
Subject: 802.11 conformance test
In-Reply-To: <005901c308ae$4941b300$151e0a0a@stmantoniov>
References: <3EA4FE07.8010704@asti.dost.gov.ph> <200304221037.40456.gallir@uib.es> <3EA50260.8050901@gup.jku.at> <005901c308ae$4941b300$151e0a0a@stmantoniov>
Message-ID: <20030423020336.GC1451@jm.kir.nu>

On Tue, Apr 22, 2003 at 11:05:14AM +0200, Antonio Vilei wrote:

> Where can I find some conformance tests to check that my HostAP based AP is
> 802.11 compliant?

Wi-Fi Alliance used to have their test plan available for free
downloading. However, I'm not sure whether it is still freely available
or whether you need to be a member or something.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Tue Apr 22 19:09:11 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 22 Apr 2003 19:09:11 -0700
Subject: ap scanned results
In-Reply-To: <PNEJLAPGLICNDDFNOMDEEEEGCBAA.ykchoi@mwnl.snu.ac.kr>
References: <PNEJLAPGLICNDDFNOMDEEEEGCBAA.ykchoi@mwnl.snu.ac.kr>
Message-ID: <20030423020911.GD1451@jm.kir.nu>

On Mon, Apr 21, 2003 at 05:39:27PM +0900, ?????? wrote:

> 1. What is the scanning results based on?  is passive scanning?

Host AP driver is not specifying this and I think the firmware is
defaulting to active scanning. There are more options available in the
latest firmware versions, but I haven't experimented with them yet.

> 2. Can i receive the scan results using the ioctl(SIOCGIWSCAN) like the wireless extension in the user space?

Yes, 'iwlist wlan0 scan' should show the results. You might need to set
SSID to any in order to get the firmware reporting all SSIDs. Use host
scan request might be better for this, but it requires a newer firmware
version.

-- 
Jouni Malinen                                            PGP id EFC895FA



From proski  Tue Apr 22 19:18:30 2003
From: proski (Pavel Roskin)
Date: Tue, 22 Apr 2003 22:18:30 -0400 (EDT)
Subject: PCF mode in HostAP
In-Reply-To: <20030423020201.GB1451@jm.kir.nu>
Message-ID: <Pine.LNX.4.44.0304222209570.4871-100000@localhost.localdomain>

On Tue, 22 Apr 2003, Jouni Malinen wrote:

> On Tue, Apr 22, 2003 at 03:18:11PM +0300, El_khayat DOUKKALI wrote:
> 
> > I am looking for an implementation of the PCF MAC layer access method.
> > Is HostAP supporting PCF access method or not ? Are you considering
> > implementation of PCF in HostAP ? 
> 
> As far as I know, current Intersil firmware does not provide support for
> PCF and host driver cannot do much about that..

There is Intersil firmware with PCF support, and linux-wlan-ng supports it 
if the necessary RIDs are present.  Look for "pcf settings ignored" in 
prism2mgmt.c.

It should be possible to program the MAC from userspace to use PCF.  
However, HostAP doesn't seem to provide the interface for that.  It should
be possible to set and read every byte in every RID.  "iwpriv
set_rid_word" is insufficient because it's write only and affects only two
first bytes,

-- 
Regards,
Pavel Roskin




From jkmaline  Tue Apr 22 20:13:52 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 22 Apr 2003 20:13:52 -0700
Subject: PCF mode in HostAP
In-Reply-To: <Pine.LNX.4.44.0304222209570.4871-100000@localhost.localdomain>
References: <20030423020201.GB1451@jm.kir.nu> <Pine.LNX.4.44.0304222209570.4871-100000@localhost.localdomain>
Message-ID: <20030423031352.GA1728@jm.kir.nu>

On Tue, Apr 22, 2003 at 10:18:30PM -0400, Pavel Roskin wrote:

> There is Intersil firmware with PCF support, and linux-wlan-ng supports it 
> if the necessary RIDs are present.  Look for "pcf settings ignored" in 
> prism2mgmt.c.

OK, so it is available in some firmware versions. However, I would
assume that CNFAPPCFINFO rid is only available in AP tertiary firmware
and there is no way of using it in Host AP mode.

> It should be possible to program the MAC from userspace to use PCF.  
> However, HostAP doesn't seem to provide the interface for that.  It should
> be possible to set and read every byte in every RID.  "iwpriv
> set_rid_word" is insufficient because it's write only and affects only two
> first bytes,

No.. iwpriv set_rid_word is not the only interface for RID access.
get_rid and set_rid "sub-ioctls" are already implemented in the private
"hostapd" ioctl. They can read/write RIDs of any size. hostap_diag uses
get_rid, but there is no example program for using set_rid. In addition,
many RID values need to be updated after hardware reset, so it might be
necessary to add some additional mechanism for that, too.

-- 
Jouni Malinen                                            PGP id EFC895FA



From vatn  Tue Apr 22 23:50:04 2003
From: vatn (Jon-Olov Vatn)
Date: Wed, 23 Apr 2003 08:50:04 +0200
Subject: Question on HostAP, IAPP link layer update and bridge station 
 cache (fwd)
Message-ID: <200304230650.h3N6o4Q16443@mail2.it.kth.se>

Hi!

As far as I could see I got no reaction on this email. I know that
Jouni has plenty of emails to process, but as he mentioned that it
was ok to re-submit a posting in case it might have been forgotten,
that is what I do now.

The posting contains a link to a patch for improved(?) IAPP "link
layer update" support. Since I am not an experienced kernel hacker
I understand that my code could be better so feel free to improve
it. The reason I re-submit this posting is that I think it would
be great if the functionality included in the patch could go into
the future hostAP distribution.

Best wishes,

Jon-Olov Vatn


------- Forwarded Message

Date: Tue, 01 Apr 2003 16:33:30 +0200
Sender: vatn at it.kth.se

28 March 2003 Jouni Malinen wrote:
> On Mon, Mar 24, 2003 at 01:38:25PM +0100, Jon-Olov Vatn wrote:
> ...
> > Now to my question. If one would like to fix this problem, I can see
> > two different approaches, and I wonder what way to go:
> > * "Interaction between hostAP and briding code"
> > * "Inserting link layer update frame in wlan0 input queue"
> 
> I think it would be useful to implement more interaction between 
> Host AP and bridging code.

Before I saw your answer I started to work on a solution according to
my second alternative, i.e., upon a successful (re)association the
hostapd would build the IAPP link layer update packet and then to
ask the hostap driver (by ioctl) to treat this packet as if it
came in on the wlan interface (put it in an sk_buff and call netif_rx).

A good way with doing it this way is that the link layer update packet
will then be forwarded on all bridge interfaces except the wlan (e.g.
wlan0) interface where the STA resides. In particular this could be 
beneficial if we are putting up WDS links to other APs dynamically.

I made my some changes to the hostap cvs version as of March 24 and in
my small testbed it seems to work. Since this is my first kernel hack
I know that there are probably several ways in which it can be
improved ...
Both the patch and the source of the cvs version of March 24 can be
found at http://www.it.kth.se/~vatn/hostap (for at least a week)
for the ones interested. 
To apply the patch first download "hostap-cvs-20030324.tgz"
and "patch-linklayerupdate" to some suitable location then

$> tar zxvf hostap-cvs-20030324.tgz
$> cd hostap-cvs-20030324
$> patch -p1 < ../patch-linklayerupdate

Note, in the patch I have modified the hostapd/hostap.conf file
to use "br0" as IAPP interface. Maybe it is better to use "eth0".
In any case the IAPP interface needs an IP address (see Jouni's
comment below).

> However, before doing this, I would add third option
> to your list:
> * use IAPP to update the previous AP
> 
> Current version of hostapd has quite limited version of this, but it
> should work in the case you described, i.e., having the APs sharing 
> same shared physical medium so that they can receive broadcast packets
> from eachother. This requires IP addresses (so that you do not need to
> comment our the initialization). If the APs cannot receive broadcast
> frames from eachother, more complete IAPP implementation would be
> needed.
Thanks. I was using a setup where with a bridge interface (br0) and
two physical interfaces (wlan0 and eth0) associated with br0. eth0
was my "IAPP interface", but only br0 had an IP address. Now I am
using br0 as "IAPP interface" instead.

------- End of Forwarded Message






From nixiao  Wed Apr 23 02:38:23 2003
From: nixiao (nixiao)
Date: Wed, 23 Apr 2003 17:38:23 +0800
Subject: wireless to wired interface bridge
Message-ID: <000101c3097c$18cc9040$8789a8c0@i2r.astar.edu.sg>

Hi,
 
I have installed my hostap on RedHat7.1 with kernel 2.4.17.
The wlan0 also comes out. I want use ppp0(or eth0) interface as external
interface,
while the wlan0 as internal interface. But after configuration of
iptables, wireless client still
can not ping outside ip address. 
Need I use so called wireless to wired bridge? If such, how can I choose
kernel option?
I think util also is needed.
 
Thanks
 
nixiao
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030423/9ed76471/attachment.htm 


From antonio.vilei  Wed Apr 23 03:07:26 2003
From: antonio.vilei (Antonio Vilei)
Date: Wed, 23 Apr 2003 12:07:26 +0200
Subject: wireless to wired interface bridge
References: <000101c3097c$18cc9040$8789a8c0@i2r.astar.edu.sg>
Message-ID: <00c701c30980$24d55350$151e0a0a@stmantoniov>

Hello,

> The wlan0 also comes out. I want use ppp0(or eth0) interface as external
> interface,
> while the wlan0 as internal interface.

If you want to use ppp0 as an external interface you should use IP
Masquerade.
Use the following:

root# echo "1" > /proc/sys/net/ipv4/ip_forward
root# iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

For more details on IP Masquerade see HOWTO:
http://www.tldp.org/HOWTO/IP-Masquerade-HOWTO/
and refer to section "Configuring IP Masquerade on Linux 2.4.x Kernels"

If you want to use eth0 as your external interface you can use bridging
between wireless and wired (best option) or otherwise you can use the same
configuration as before replacing ppp0 with eth0.
Please refer to section "Bridging between wireless and wired networks" in
file README.prism2
and to this Howto for ethernet bridging
http://www.tldp.org/HOWTO/Ethernet-Bridge-netfilter-HOWTO.html

Antonio

----- Original Message -----
From: "nixiao" <nixiao at i2r.a-star.edu.sg>
To: <hostap at shmoo.com>
Sent: Wednesday, April 23, 2003 11:38 AM
Subject: wireless to wired interface bridge


> Hi,
>
> I have installed my hostap on RedHat7.1 with kernel 2.4.17.
> The wlan0 also comes out. I want use ppp0(or eth0) interface as external
> interface,
> while the wlan0 as internal interface. But after configuration of
> iptables, wireless client still
> can not ping outside ip address.
> Need I use so called wireless to wired bridge? If such, how can I choose
> kernel option?
> I think util also is needed.
>
> Thanks
>
> nixiao
>
>





From vcuirassier  Wed Apr 23 01:13:02 2003
From: vcuirassier (vcuirassier at epsi.fr)
Date: Wed, 23 Apr 2003 10:13:02 +0200 (CEST)
Subject: problems bridging between wlan0 and wlan0wds0
Message-ID: <1051085582.3ea64b0ec3b41@intranet.epsi.fr>

> I'm running latest cvs version of hostap and I have setup a couple
> of APs with wlan0 and wlan0wds0, they can both ping each other without
> any problem, but if I set up a client associated to one of them and
> I try to ping the other AP I get messages like this one:

> handle_ap_item - addr3(BSSID)=00:XX:XX:XX:XX:XX not own MAC

> Pinging the ap the client is associated with works ok.

Do you have the same problem with the 2002-10-12 and 0.0.1 versions of HostAP?
I also think that the bridge can't be suspected.



From tuxo  Wed Apr 23 07:37:46 2003
From: tuxo (tuxo at c0re.hysteria.sk)
Date: Wed, 23 Apr 2003 16:37:46 +0200
Subject: hostap and maccmd 
Message-ID: <20030423143746.GA15418@c0re.hysteria.sk>

Hi i have software ap celeron 1000mhz, chipset via and 2x zcom xl626 card, os red hat 7.3. I use hostap 0.0.1, wlan0 is in master mode and i have mac authorization on this card iwpriv wlan0 maccmd 1, in ACL list there is about 40 mac addres.Problem is if ap runs about some hours then some clients card which are connecting on wlan0 are disconnected and they havent signal, then i must reset card or ap....then it will run ok some hours and then will error again ;[

thanx



From trulmont  Wed Apr 23 09:39:36 2003
From: trulmont (Thomas Rulmont)
Date: Wed, 23 Apr 2003 18:39:36 +0200
Subject: Prism headers
Message-ID: <200304231839.36790.trulmont@ingegneria.unime.it>

Hi,

Can anyone explain me the signification of the Prism2 headers while in monitor 
mode.
I would like to have as information as possible, explaining the meaning of 
each field, and how it is obtain.

Thanks

Thomas Rulmont
-----
? Messine (Italie), en qwerty, du 11/02 au 31/05

thomas at nexus-informatique.com
trulmont at ingegneria.unime.it
trulmont at hotmail.com
http://elendil.mine.nu/gallery/Messina
+32 486 863216
+39 347 9968809



From jt  Wed Apr 23 13:19:23 2003
From: jt (Jean Tourrilhes)
Date: Wed, 23 Apr 2003 13:19:23 -0700
Subject: Question on HostAP, IAPP link layer update and bridge station cache (fwd)
Message-ID: <20030423201923.GA9389@bougret.hpl.hp.com>

Jon-Olov Vatn wrote :
> 
> As far as I could see I got no reaction on this email.

	Probably missed it.

> > > Now to my question. If one would like to fix this problem, I can see
> > > two different approaches, and I wonder what way to go:
> > > * "Interaction between hostAP and briding code"
> > > * "Inserting link layer update frame in wlan0 input queue"
> > =
> 
> > I think it would be useful to implement more interaction between =
> 
> > Host AP and bridging code.
> 
> Before I saw your answer I started to work on a solution according to
> my second alternative, i.e., upon a successful (re)association the
> hostapd would build the IAPP link layer update packet and then to
> ask the hostap driver (by ioctl) to treat this packet as if it
> came in on the wlan interface (put it in an sk_buff and call netif_rx).

	Yuck ! This is very ugly. The ioctl is a management API, I
prefer to keep data out of it. And this is clearly a "layer
violation".
	If you really want to do that, the clean way to do it :
		o Get yourself familiar with tun/tap operation
		o Add tun0 to the bridge
		o send your packet on /dev/tun0

	But, we are still left with a layer violation. In my mind, no
local process should "impersonate" Rx network traffic. You should
always do thing explicitely, because that's the best way to have a
clear semantic and avoid nasty side effects.
	I don't understand enough of what you are doing, and didn't
follow the discussion, but it seems to me that if you open a standard
raw socket on the bridge device (br0), you should get the same
result. If you want more control, use the SO_BINDTODEVICE option so
you can send the packet on the interface you want (wlanXXX). You can
use netlink to discover interfaces.
	It may look a bit more complex now, but the cleaner semantic
and the additional control will pay in the long run.

	Regards,

	Jean



From proski  Wed Apr 23 16:18:34 2003
From: proski (Pavel Roskin)
Date: Wed, 23 Apr 2003 19:18:34 -0400 (EDT)
Subject: PCF mode in HostAP
In-Reply-To: <20030423031352.GA1728@jm.kir.nu>
References: <20030423020201.GB1451@jm.kir.nu>
 <Pine.LNX.4.44.0304222209570.4871-100000@localhost.localdomain>
 <20030423031352.GA1728@jm.kir.nu>
Message-ID: <Pine.LNX.4.55.0304231859390.9381@marabou.research.att.com>

On Tue, 22 Apr 2003, Jouni Malinen wrote:

> OK, so it is available in some firmware versions. However, I would
> assume that CNFAPPCFINFO rid is only available in AP tertiary firmware
> and there is no way of using it in Host AP mode.

You are right.  It is possible that CNFSTAPCFINFO (0xFC35) could affect
HostAP master mode, but I don't know.  It should affect HostAP driver in
managed mode.  PCF has to be enabled on the station side too, by
requesting to be on the poll list.

> No.. iwpriv set_rid_word is not the only interface for RID access.
> get_rid and set_rid "sub-ioctls" are already implemented in the private
> "hostapd" ioctl.

I assumed that hostapd has to be enabled for that.  After looking at the
code, it turns out I was wrong.  However, iwpriv would be much easier to
use from shell scripts.

> They can read/write RIDs of any size. hostap_diag uses get_rid, but
> there is no example program for using set_rid. In addition, many RID
> values need to be updated after hardware reset, so it might be necessary
> to add some additional mechanism for that, too.

Correct.  One possible solution would be to keep a list of "persistent
RIDs" that were set by the user.

-- 
Regards,
Pavel Roskin



From jesper  Wed Apr 23 23:52:06 2003
From: jesper (Jarmie Espuerta)
Date: Thu, 24 Apr 2003 14:52:06 +0800
Subject: wlan0,wlan0ap,wlansta
Message-ID: <3EA78996.1050107@asti.dost.gov.ph>

what is the difference between the wlan0, wlan0ap and wlan0sta? i think 
i have a big problem here.... i have build up my pc as a hostap (with 
the driver hostap-0.0.1 and linux-2.4.20). then when it is time to check 
if everything is fine with my access point, i assigned a essid for my 
accesspoint as "dmr' having an IP add of 192.168.41.5 and it is in a 
Master mode, then i configured a base station to act as my client with 
"dmr" as its essid having an IP add of 192.168.41.2.  

here comes the problem... the base station cannot ping the access point. 
 i really need some help over here. for additional information, here's 
what my wlan0 looks..

bash #iwconfig

wlan0     IEEE 802.11b  ESSID:"dmr"
          Mode:Master  Frequency:2.422GHz  Access Point: 00:60:B3:76:9E:8A
          Bit Rate:11Mb/s   Tx-Power:-31 dBm   Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:88/92  Signal level:-40 dBm  Noise level:-84 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:41650   Missed beacon:0

bash# ifconfig -a

eth0      Link encap:Ethernet  HWaddr 00:04:76:72:82:51
          inet addr:10.10.6.33  Bcast:10.10.6.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:121459 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18352 errors:0 dropped:0 overruns:0 carrier:4
          collisions:9 txqueuelen:100
          RX bytes:19709028 (18.7 Mb)  TX bytes:2418376 (2.3 Mb)
          Interrupt:5 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:18049 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18049 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2019470 (1.9 Mb)  TX bytes:2019470 (1.9 Mb)

wlan0     Link encap:Ethernet  HWaddr 00:60:B3:76:9E:8A
          inet addr:192.168.41.5  Bcast:162.168.41.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6172 errors:0 dropped:40 overruns:0 frame:0
          TX packets:12287 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:691760 (675.5 Kb)  TX bytes:902298 (881.1 Kb)
          Interrupt:12 Base address:0x100

wlan0ap   Link encap:UNSPEC  HWaddr 
00-60-B3-76-9E-8A-00-00-00-00-00-00-00-00-00-00
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1056 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:95040 (92.8 Kb)  TX bytes:0 (0.0 b)
          Interrupt:12 Base address:0x100

wlan0sta  Link encap:Ethernet  HWaddr 00:60:B3:76:9E:8A
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:12 Base address:0x100

thank you very much.


regards,
jarmie




From chen  Thu Apr 24 01:45:33 2003
From: chen (Chen Chen)
Date: Thu, 24 Apr 2003 03:45:33 -0500
Subject: Questions on Hostap
Message-ID: <20030424084533.2016.qmail@mail.com>

hi all,

i would like to know if the current hostap version supports PCF mode?

i need to modify the CFP-interval which is broadcast in the beacons.

is there any way to turn off or 'prolong' the beacon interval?

is there any way to send additional beacon frames in the 'hostap' level?

thank you.

--
Chen

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup




From vatn  Thu Apr 24 04:49:02 2003
From: vatn (Jon-Olov Vatn)
Date: Thu, 24 Apr 2003 13:49:02 +0200
Subject: Question on HostAP, IAPP link layer update and bridge station 
 cache (fwd)
In-Reply-To: <20030423201923.GA9389@bougret.hpl.hp.com> 
Message-ID: <200304241149.h3OBn2Q23609@mail2.it.kth.se>

Thanks for the response!

23 April 2003 Jean Tourrilhes wrote:
> Jon-Olov Vatn wrote :
> > 
> > As far as I could see I got no reaction on this email.
> 
> 	Probably missed it.
> 
> > > > Now to my question. If one would like to fix this problem, I can see
> > > > two different approaches, and I wonder what way to go:
> > > > * "Interaction between hostAP and briding code"
> > > > * "Inserting link layer update frame in wlan0 input queue"
> > > =
> > 
> > > I think it would be useful to implement more interaction between =
> > 
> > > Host AP and bridging code.
> > 
> > Before I saw your answer I started to work on a solution according to
> > my second alternative, i.e., upon a successful (re)association the
> > hostapd would build the IAPP link layer update packet and then to
> > ask the hostap driver (by ioctl) to treat this packet as if it
> > came in on the wlan interface (put it in an sk_buff and call netif_rx).
> 
> 	Yuck ! This is very ugly. The ioctl is a management API, I
> prefer to keep data out of it. And this is clearly a "layer
> violation".

I can agree that this was not a nice way to do it; it was just the
simplest way for me to make it work, since I am not experienced 
at kernel hacking. (A small comment: the only information that actually
needed to be transferred via the ioctl was the MAC address of the
STA; the rest of the packet is static and could as well be created
in the kernel code. Even so, this is probably a layer violation ...)

> 	If you really want to do that, the clean way to do it :
> 		o Get yourself familiar with tun/tap operation
> 		o Add tun0 to the bridge
> 		o send your packet on /dev/tun0

Thanks for the hint about tun/tap. I'm not familiar with it yet.
What I really would like to do is
* to have the packet distributed to all interfaces of the bridge
  except the interface on which the STA resides
  (e.g., on eth0 and on some WDS-link, but not back on wlan0)
* the bridge within the remove any stale entries of the STA that
  it might have in its learning cache, e.g., it may believe that
  the MAC address of the STA still resides on the "eth0" side
  of the AP)
Maybe tun/tap can solve this or parts of it, but I am not able
to judge that. 

> 
> 	But, we are still left with a layer violation. In my mind, no
> local process should "impersonate" Rx network traffic. You should
> always do thing explicitely, because that's the best way to have a
> clear semantic and avoid nasty side effects.

I can agree that this is not nice, but I am not sure if you dislike
that the AP sends a packet on behalf of the STA or if you dislike that
the I suggested to implement this feature by putting in as input on
"wlan0" rather than as output on "eth0" as done earlier, or both.
Anyhow, the reason for the AP to send the link-layer update packet on behalf
of the STA comes from the draft IAPP protocol (802.11f-D3). A cleaner
way would probably be to require the STAs to send this packet themselves,
but this is not the way it was suggested in the draft.

> 	I don't understand enough of what you are doing, and didn't
> follow the discussion, but it seems to me that if you open a standard
> raw socket on the bridge device (br0), you should get the same
> result. If you want more control, use the SO_BINDTODEVICE option so
> you can send the packet on the interface you want (wlanXXX). You can
> use netlink to discover interfaces.

Since I am not experienced enough I cannot say if this would work.
If I would connect it to br0 my fear is that it would go out on
every interface assocaiated with the bridge, including the interface
on which the STA resides (e.g. wlan0). (It can be discussed if this
is a big problem or not.)
Using SO_BINDTODEVICE might very well work (once again, I'm a newbie
and can't judge) if I then can specify that a copy of the packet should
go to all interfaces but the interface where the STA resides (wlan0).

Regarding information about the problem that I am trying to solve,
the posting 
http://lists.shmoo.com/pipermail/hostap/2003-March/001946.html
may give some more hints.

> 	It may look a bit more complex now, but the cleaner semantic
> and the additional control will pay in the long run.

Of course it is better to do it "right" from start. I'm just afraid
that I am not well suited to do it. I will look more deeply at your
hints, but if anyone else would like to step in and do it she/he is
most welcome!

Once againg, thanks alot for you feedback!!

BW /J-O








From jeb  Thu Apr 24 06:21:52 2003
From: jeb (Jim Burns)
Date: Thu, 24 Apr 2003 09:21:52 -0400
Subject: Add an extra information element to Beacon
Message-ID: <AJEHIOCKJEHEKEHOHOBKEEHCCOAA.jeb@mtghouse.com>

Hello,
The following is an exchange you had a few months ago. Is there any code
snippet I could see that demonstrates how to do this?
--------------------------------------
PREVIOUS EXCHANGE
--------------------------------------
I am trying to add an extra information element doing the following but to
no avail:
printk (KERN_CRIT "Setting traffic indication map\n");
if (local->func->set_rid(local->dev, HFA384X_RID_CNFTIMCTRL, val, 4))
{
printk(KERN_CRIT "Could not set traffic indication map\n");
}

On Mon, Nov 04, 2002 at 06:39:49PM +0800, Huang Xiaodong wrote:
> Do you know how to add some thing such as a int value into Beacon's
reserve
> capablility field before sending Beacon frame? I want to bring some
infomation
> of Hostap to Clients' stations.
This would require firmware changes (or exploiting SETTIM buffer overrun
;-).

Sincerely,
Jim Burns




From yasir  Thu Apr 24 14:26:48 2003
From: yasir (yasir)
Date: Thu, 24 Apr 2003 17:26:48 -0400
Subject: sending Beacons from the user space
Message-ID: <015b01c30aa8$3703b840$f301a8c0@yazhome>

Hi All,

I am sending beacon frames from the userspace, and when I look through the ethereal trace, 
I can see the beacons going through properly. They contain the fake ssid "phony" in the 
tagged parameters.

However, my "coerced" beacons are preceded by the original beacon generated by the card which has the ssid "demo-ap".

The problem is this that when I scan for networks through the supplicant, I do see demo-ap in the ssid list but i dont see the "phony" ssid. 

Do I need to disable the card from sending any beacons? if so how do I do that ?
Why is it the case that the phony ssid does not get displayed in the ssid list?

Any help will be appreciated.

regards
Yasir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030424/c1c76b13/attachment.htm 


From proski  Thu Apr 24 14:46:40 2003
From: proski (Pavel Roskin)
Date: Thu, 24 Apr 2003 17:46:40 -0400 (EDT)
Subject: Patch for irqreturn_t in Linux 2.5.68-bk2
In-Reply-To: <Pine.LNX.4.44.0304222030550.3278-200000@localhost.localdomain>
References: <Pine.LNX.4.44.0304222030550.3278-200000@localhost.localdomain>
Message-ID: <Pine.LNX.4.55.0304241745180.5928@marabou.research.att.com>

On Tue, 22 Apr 2003, Pavel Roskin wrote:

> This patch updates the IRQ handler to the new kernel API, which is
> described here: http://lwn.net/Articles/29555/

Slightly better version of the same patch is attached.  It uses IRQ_RETVAL
the way is was intended.

-- 
Regards,
Pavel Roskin



From proski  Thu Apr 24 15:03:37 2003
From: proski (Pavel Roskin)
Date: Thu, 24 Apr 2003 18:03:37 -0400 (EDT)
Subject: Simplified Makefile for 2.5.x kernels
Message-ID: <Pine.LNX.4.55.0304241754540.5987@marabou.research.att.com>

Hello!

The code in the top-level Makefile to add machine-specific includes is not
needed anymore.  Apparently it was added in the revision 1.27 to enable
building the driver for 2.5.x kernels, but was later superseded by a more
generic solution.

Also, I would like to hide from the user the name "2.5" in the targets.
It could become 2.6 some day, after all.  If we have to build all targets,
then lets make "make all" do it, and "make install" would install all
modules.

There is a simple way to figure out the build system, used in the Orinoco
driver.  If Rules.make is in the kernel tree, we assume the old build
system and ask the user what he wants.  If Rules.make is not in the kernel
tree, there is no point in asking - we just build everything and ask the
user to run "make install".

Additional sanity checks for the kernel version have been left, but they
can be trivially killed later.

The patch is attached.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
--- Makefile
+++ Makefile
@@ -34,7 +34,14 @@
 
 MSRC=driver/modules
 
+# if Rules.make exists in the kernel tree, we assume 2.4 style modules
+# if it doesn't assume 2.5 style
+OLDMAKE = $(wildcard $(KERNEL_SRC)/Rules.make)
 
+
+ifeq (,$(OLDMAKE))
+all: 2.5
+else
 all:
 	@echo "Select the version to be build:"
 	@echo "make pccard      PC Card (PCMCIA) driver (Prism2 or Prism2.5)"
@@ -42,23 +49,10 @@
 	@echo "make pci         Prism 2.5 PCI Card"
 	@echo "make crypt       Make hostap_crypt*.o"
 	@echo "make hostap      Make hostap.o"
-	@echo "make 2.5         Make all modules for Linux kernel 2.5.x"
-
+endif
 
 include $(KERNEL_PATH)/.config
 
-ifdef CONFIG_X86
-ifdef CONFIG_VISWS
-MACHINE        := mach-visws
-MACHINE_       := mach-visws
-else
-MACHINE        := mach-generic
-MACHINE_       := mach-default
-endif
-CFLAGS += -I$(KERNEL_PATH)/arch/i386/$(MACHINE)
-CFLAGS += -I$(KERNEL_PATH)/include/asm/$(MACHINE_)
-endif
-
 ifdef CONFIG_ALPHA
 CFLAGS += -mno-fp-regs -ffixed-8
 endif
@@ -155,10 +149,14 @@
 	@echo
 
 2.5_install_info:
-	@echo "*** Become superuser and 'make install_2.5' to install the modules. ***" 
+	@echo "*** Become superuser and 'make install' to install the modules. ***" 
 
 
+ifeq (,$(OLDMAKE))
+install: install_2.5
+else
 install: install_info
+endif
 
 install_check:
 	@if [ ! -d "$(MODPATH)" ]; then \


From m_pawlowski  Thu Apr 24 16:11:59 2003
From: m_pawlowski (m_pawlowski at t-online.de)
Date: Fri, 25 Apr 2003 01:11:59 +0200
Subject: unres. symbols by issueing "insmod hostap_cs"
References: <3EA51F0F.9050500@t-online.de> <3EA52168.B22F8BC7@tataelxsi.co.in>
Message-ID: <3EA86F3F.9020208@t-online.de>

hi,

thanks for your hint.

it didn't really solve the problem (only the "smp"-stuff after 
_Rwhatever disappeared after disabling smp in the kernel config and 
recompiling), but it made me think of copying the kernel .config from 
the working system to the other machine. and what should i tell you? now 
it just works fine after recompiling the source (although i don't 
exactly know why - i should run a diff on those files).

but there's one cloud on the horizon: unfortunately it does not work 
with the mppe enabled kernel (the system simply freezes when the modules 
(partly directly after hostap, partly after *_crypt) are inserted) but 
anyway - it works with the standard kernel and this makes me a lucky man 
indeed.

thank you very much again.

-mp.

Peyush Agarwal schrieb:

>Hi,
>
>At the time of kernel compilation, remove the "Symmetric multiprocessor
>support" support and then compile your driver.
>
>Regds.
>Peyush.
>
>"m_pawlowski at t-online.de" wrote:
>
>  
>
>>hi, everybody.
>>
>>well ... i was trying to get hostap up and running for several days now.
>>unfortunately i wasn't able to set it up completely and i'm close to
>>going slightly mad about it.
>>
>>the distributions i used were rh 7.1 and 8.0 and i even installed it
>>freshly any time i was close to desperation. but although everything
>>compiled ok (make pccard and make install_pccard) and installed
>>correctly hostap_cs did not install itself when the wireless card was
>>inserted (Netgear MR401RA, i edited hostap_cs.conf to fit the desc and i
>>did edit the Makefile to point to the right location and added the line
>>EXTRA_CFLAGS=-DPRISM2_HOSTAPD to get the userspace-daemon). so i tried
>>to insmod it manually and strangely enough the following messages
>>appeared on the screen:
>>
>>["insmod hostap_cs" on RH71:]
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_get_stats_Rsmp_390a1e89
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_handle_sta_tx_Rsmp_46f640b0
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_check_sta_fw_version_Rsmp_42ed7e19
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_rx_Rsmp_b8370db9
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_netif_stop_queues_Rsmp_3a5a7aef
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_info_init_Rsmp_2c329034
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_get_porttype_Rsmp_62abd661
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_update_rx_stats_Rsmp_797a2ffa
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_dump_tx_header_Rsmp_3abcbf80
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_handle_sta_rx_Rsmp_5e5b501a
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_set_multicast_list_queue_Rsmp_c089a779
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_init_data_Rsmp_e87fbd5a
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_info_process_Rsmp_e0942f32
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_free_data_Rsmp_44cb068b
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_set_word_Rsmp_f1417d23
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_is_sta_assoc_Rsmp_4f6542f7
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_set_antsel_Rsmp_b80593b4
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_80211_get_hdrlen_Rsmp_6903f16c
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_init_proc_Rsmp_00cea015
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_update_sta_ps_Rsmp_45a63518
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_set_string_Rsmp_c7659074
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_dump_rx_header_Rsmp_27a069d6
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_80211_header_parse_Rsmp_5890fb53
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_set_encryption_Rsmp_8e5c034d
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_setup_dev_Rsmp_b7f64b28
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_handle_sta_release_Rsmp_27df6133
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_handle_sta_crypto_Rsmp_5084302a
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_netif_wake_queues_Rsmp_6f00495f
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_handle_sta_tx_exc_Rsmp_096fa615
>>/lib/modules/2.4.2-2/pcmcia/hostap_cs.o: unresolved symbol
>>hostap_remove_proc_Rsmp_51010be6
>>
>>there was no output from depmod concerning unresolved symbols; those
>>messages only appear when i try to insmod hostap_cs manually.
>>
>>CONFIG_MODVERSIONS didn't do the trick, either. the only thing that
>>differs then is the missing trailing _R* stuff when trying to insmod
>>hostap_cs.
>>
>>can anybody please tell me what i'm doing wrong?
>>
>>the weird thing is: on a system where hostapd is not intended to run
>>everything works fine (it's another laptop running RH 8.0), hostap_cs
>>automatically loads every time the card is inserted and i am sure that
>>the config's identical to the one on the system where hostap_cs does not
>>work.
>>
>>well, you shall say that surely enough there must be differences and
>>most probably you're right (excuse me for being that dull :). but i
>>can't figure out where the differences are ...
>>
>>oh - and: it doesn't matter whether i use the latest cvs-snapshot (which
>>runs fine on the system where hostapd is not intended to run) or v0.0.1.
>>
>>any help is gladly appreciated.
>>
>>thanks in advance.
>>
>>-mp.
>>
>>_______________________________________________
>>HostAP mailing list
>>HostAP at shmoo.com
>>http://lists.shmoo.com/mailman/listinfo/hostap
>>    
>>
>
>--
>______________________________________________________________
>Peyush Agarwal
>Sr. Engineer, Networking and Communications, Tata Elxsi Ltd.
>Phone number :: 91-80-8410220/1/2 ex. 415.  Fax ::  91-80-8410219.
>www.tataelxsi.com
>______________________________________________________________
>
>
>
>  
>





From m_pawlowski  Thu Apr 24 17:23:47 2003
From: m_pawlowski (m_pawlowski at t-online.de)
Date: Fri, 25 Apr 2003 02:23:47 +0200
Subject: WEP encryption
Message-ID: <3EA88013.5060709@t-online.de>

  hi everybody.

sorry for disturbing again.

i seem to have a problem analysing if  my hostap does run with 
wep-encryption enabled or not. well, i put the wep-stuff into 
hostapd.conf and also configured wep by using hostap_crypt_conf, but an 
xp-machine (i didn't check out any other machine so far) equipped with a 
prism2-card (onboard)  presents me with the following:

when i use the configuration tool that was provided by the manufacturer 
of the card (actiontec electronics with their prism2 card) and put in it 
the wep key with 128bits of encryption no connection at all will be 
possible.

when i use the dumb built-in windows feature to manage the wireless lan 
and put in it the key with "wep enabled" it works just fine (even at 11mbps)

by using the manufacturer provided tool with 128bits of enc i see a 
whole lot of hostap debug output stuff like

authentication: STA=(mac addr) auth_alg=1 auth_transaction=1 status_code=0
Unknown authentication algorithm (1)
Received 30 bytes management frame
MGMT (TX callback) ACK
mgmt::auth cb

although ap_auth_algs is set to 3 with prism2_param.

anyway - if i completely disable encryption with the manufacturer 
provided tool it works and the card gets connected to the hostap system. 
so either windows lies to me by blinding me with encyption that is not 
really active or the manufacturer tool lies to me or does some weird 
stuff or stuff that i don't really have any idea about. (yes, iwconfig 
shows the enc key for all devices)

can anyone please tell me how i can check out if wep is enabled indeed 
and to make sure that only encrypted wep-auth is possible? i've read 
thru the readme but i didn't find any stuff corresponding to this ... at 
least i can't remember having found anything corresponding to this.

if i should have missed something please do accept my sincerest apologies.

if i did not miss anything that's written in the docs i'll gladly 
appreciate any hints.

thank you very much in advance.

-mp.




From lists  Thu Apr 24 18:10:53 2003
From: lists (Chincogan Network Services Lists)
Date: Fri, 25 Apr 2003 11:10:53 +1000
Subject: 1.1.1/1.5.6 Non-Volitile Firmware for DWL-520
In-Reply-To: <Pine.LNX.4.44.0304210015570.3967-100000@localhost.localdomain>
References: <20030421115326.2bd334b7.lists@chincogan.net.au>
	<Pine.LNX.4.44.0304210015570.3967-100000@localhost.localdomain>
Message-ID: <20030425111053.6efcffab.lists@chincogan.net.au>

These Images still give me the errors:
"Error in file rf010506.hex"
"Error Loading Files. Update will not start."

Thanks,
Aaron Daniels
Chincogan Network Services
http://www.chincogan.net.au/

On Mon, 21 Apr 2003 00:18:18 -0400 (EDT)
Pavel Roskin <proski at gnu.org> wrote:

> On Mon, 21 Apr 2003, Chincogan Network Services Lists wrote:
> 
> > So my question, Where can I find a set of non-volitile 1.1.1/1.5.6
> > firmware images, ie. will stay on the card after a reboot. that will
> > work on my DWL-520 (0x8013) Netgate have taken their 1.5.6.zip down from
> > http://www.netgate.com/support/prism_firmware/
> 
> http://www.red-bean.com/~proski/firmware/
> 
> -- 
> Regards,
> Pavel Roskin
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 



From proski  Thu Apr 24 18:23:50 2003
From: proski (Pavel Roskin)
Date: Thu, 24 Apr 2003 21:23:50 -0400 (EDT)
Subject: 1.1.1/1.5.6 Non-Volitile Firmware for DWL-520
In-Reply-To: <20030425111053.6efcffab.lists@chincogan.net.au>
References: <20030421115326.2bd334b7.lists@chincogan.net.au>
 <Pine.LNX.4.44.0304210015570.3967-100000@localhost.localdomain>
 <20030425111053.6efcffab.lists@chincogan.net.au>
Message-ID: <Pine.LNX.4.55.0304242119270.9028@marabou.research.att.com>

On Fri, 25 Apr 2003, Chincogan Network Services Lists wrote:

> These Images still give me the errors:
> "Error in file rf010506.hex"
> "Error Loading Files. Update will not start."

This information is insufficient for me to reproduce your problem or to
suggest anything meaningful other than to describe your software and
hardware properly.  If questions in this "style" continue, I'll have to
remove the firmware from my website.

-- 
Regards,
Pavel Roskin



From jkmaline  Thu Apr 24 18:39:13 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 24 Apr 2003 18:39:13 -0700
Subject: sending Beacons from the user space
In-Reply-To: <015b01c30aa8$3703b840$f301a8c0@yazhome>
References: <015b01c30aa8$3703b840$f301a8c0@yazhome>
Message-ID: <20030425013912.GA1634@jm.kir.nu>

On Thu, Apr 24, 2003 at 05:26:48PM -0400, yasir wrote:

> The problem is this that when I scan for networks through the supplicant, I do see demo-ap in the ssid list but i dont see the "phony" ssid. 
> 
> Do I need to disable the card from sending any beacons? if so how do I do that ?
> Why is it the case that the phony ssid does not get displayed in the ssid list?

Most station implementations seem to be using active scanning. In
practice, this means that SSID field in beacons is ignored completely
and only the results from Probe Response frames (reply to Probe Request
sent by the station) are displayed in network list.

Disabling beacons (which you cannot really do in Prism2 Host AP mode)
would not help. You would need to implement ProbeReq processing for the
new SSID - a task that cannot be done in Host AP mode with the current
Intersil firmware.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Apr 24 18:40:01 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 24 Apr 2003 18:40:01 -0700
Subject: Prism headers
In-Reply-To: <200304231839.36790.trulmont@ingegneria.unime.it>
References: <200304231839.36790.trulmont@ingegneria.unime.it>
Message-ID: <20030425014001.GB1634@jm.kir.nu>

On Wed, Apr 23, 2003 at 06:39:36PM +0200, Thomas Rulmont wrote:

> Can anyone explain me the signification of the Prism2 headers while in monitor 
> mode.
> I would like to have as information as possible, explaining the meaning of 
> each field, and how it is obtain.

In most cases, the fields that contain useful information for a wireless
sniffer are: time (MAC timestamp of the exact time the frame was
received), silence/signal (signal quality information), and TX rate.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Apr 24 18:42:20 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 24 Apr 2003 18:42:20 -0700
Subject: Add an extra information element to Beacon
In-Reply-To: <AJEHIOCKJEHEKEHOHOBKEEHCCOAA.jeb@mtghouse.com>
References: <AJEHIOCKJEHEKEHOHOBKEEHCCOAA.jeb@mtghouse.com>
Message-ID: <20030425014220.GC1634@jm.kir.nu>

On Thu, Apr 24, 2003 at 09:21:52AM -0400, Jim Burns wrote:

> The following is an exchange you had a few months ago. Is there any code
> snippet I could see that demonstrates how to do this?

> I am trying to add an extra information element doing the following but to
> no avail:

You cannot _add_ elements with the SETTIM buffer overrun; you can only
modify bits in the firmware-generated beacon frame.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Apr 24 18:44:15 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 24 Apr 2003 18:44:15 -0700
Subject: Questions on Hostap
In-Reply-To: <20030424084533.2016.qmail@mail.com>
References: <20030424084533.2016.qmail@mail.com>
Message-ID: <20030425014415.GD1634@jm.kir.nu>

On Thu, Apr 24, 2003 at 03:45:33AM -0500, Chen Chen wrote:

> i would like to know if the current hostap version supports PCF mode?

No, it does not support PCF since Intersil firmware does not support it
in Host AP mode.

> is there any way to turn off or 'prolong' the beacon interval?

You can set beacon interval to about four seconds, but I'm not aware of
any mechanism of completely disabling beacon sending in Host AP mode.

> is there any way to send additional beacon frames in the 'hostap' level?

Yes, you can send more or less arbitrary frames. However, in most cases
this does not really help that much..

-- 
Jouni Malinen                                            PGP id EFC895FA



From lists  Thu Apr 24 19:13:11 2003
From: lists (Chincogan Network Services Lists)
Date: Fri, 25 Apr 2003 12:13:11 +1000
Subject: 1.1.1/1.5.6 Non-Volitile Firmware for DWL-520
In-Reply-To: <Pine.LNX.4.55.0304242119270.9028@marabou.research.att.com>
References: <20030421115326.2bd334b7.lists@chincogan.net.au>
	<Pine.LNX.4.44.0304210015570.3967-100000@localhost.localdomain>
	<20030425111053.6efcffab.lists@chincogan.net.au>
	<Pine.LNX.4.55.0304242119270.9028@marabou.research.att.com>
Message-ID: <20030425121311.181902a5.lists@chincogan.net.au>

Pavel,
Sorry, since you replied to my original post, I assumed that you were familiar with my situation as I had first described it, but as you are not I will re-post my original message.

-- Start Original Post --
Hi list and a merry easter to all.

Over the easter break I have been trying to flash my DWL-520's up to 1.5.6 to make use of standards based WDS.
I am trying to do this using the winupdate windows utility provided by the file dwl650_firmware_8c2.exe

The DWL-520 is a 0x8013 card and after reading the archives of this list I found http://aldebaran.feld.cvut.cz/~xmyslik/wifi while this looks to be what I am after running this firmware on the winupdate utility produces the following errors:
"Error in file rf010506.hex"
"Error Loading Files. Update will not start."

The files I am using are ak010101.hex and rf010506.hex and after further searching of the archives I found that these are possibly volitile images which is not what I am after.

So my question, Where can I find a set of non-volitile 1.1.1/1.5.6 firmware images, ie. will stay on the card after a reboot. that will work on my DWL-520 (0x8013) Netgate have taken their 1.5.6.zip down from http://www.netgate.com/support/prism_firmware/

-- End Original Post --


On Thu, 24 Apr 2003 21:23:50 -0400 (EDT)
Pavel Roskin <proski at gnu.org> wrote:

> On Fri, 25 Apr 2003, Chincogan Network Services Lists wrote:
> 
> > These Images still give me the errors:
> > "Error in file rf010506.hex"
> > "Error Loading Files. Update will not start."
> 
> This information is insufficient for me to reproduce your problem or to
> suggest anything meaningful other than to describe your software and
> hardware properly.  If questions in this "style" continue, I'll have to
> remove the firmware from my website.
> 
> -- 
> Regards,
> Pavel Roskin
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 



From proski  Thu Apr 24 19:23:23 2003
From: proski (Pavel Roskin)
Date: Thu, 24 Apr 2003 22:23:23 -0400 (EDT)
Subject: 1.1.1/1.5.6 Non-Volitile Firmware for DWL-520
In-Reply-To: <20030425121311.181902a5.lists@chincogan.net.au>
References: <20030421115326.2bd334b7.lists@chincogan.net.au>
 <Pine.LNX.4.44.0304210015570.3967-100000@localhost.localdomain>
 <20030425111053.6efcffab.lists@chincogan.net.au>
 <Pine.LNX.4.55.0304242119270.9028@marabou.research.att.com>
 <20030425121311.181902a5.lists@chincogan.net.au>
Message-ID: <Pine.LNX.4.55.0304242221550.9866@marabou.research.att.com>

On Fri, 25 Apr 2003, Chincogan Network Services Lists wrote:

> Sorry, since you replied to my original post, I assumed that you were
> familiar with my situation as I had first described it, but as you are
> not I will re-post my original message.

Sorry, I forgot the context.  You need sf010506.hex, not rf010506.hex.

-- 
Regards,
Pavel Roskin



From jkmaline  Thu Apr 24 19:32:36 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 24 Apr 2003 19:32:36 -0700
Subject: WEP encryption
In-Reply-To: <3EA88013.5060709@t-online.de>
References: <3EA88013.5060709@t-online.de>
Message-ID: <20030425023236.GA5389@jm.kir.nu>

On Fri, Apr 25, 2003 at 02:23:47AM +0200, m_pawlowski at t-online.de wrote:

> i seem to have a problem analysing if  my hostap does run with 
> wep-encryption enabled or not. well, i put the wep-stuff into 
> hostapd.conf and also configured wep by using hostap_crypt_conf, but an 
> xp-machine (i didn't check out any other machine so far) equipped with a 
> prism2-card (onboard)  presents me with the following:

Current hostapd version is not really prepared for static WEP key
configuration. In theory, you might be able to setup WEP keys with
iwconfig/hostap_crypt_conf and have it mostly working. However, there
are some known issues with this.

> by using the manufacturer provided tool with 128bits of enc i see a 
> whole lot of hostap debug output stuff like
> 
> authentication: STA=(mac addr) auth_alg=1 auth_transaction=1 status_code=0
> Unknown authentication algorithm (1)
> Received 30 bytes management frame
> MGMT (TX callback) ACK
> mgmt::auth cb
> 
> although ap_auth_algs is set to 3 with prism2_param.

ap_auth_algs is only used with kernel driver -based management
functionality, i.e., not with hostapd. In addition, hostapd does not
support shared key authentication (auth_alg=1). There was a bug in
reporting unsupported authentication algorithm, which I just fixed in
CVS. I'm not sure whether this helps with your case, but it might, so
feel free to test current CVS snapshot. If the station implementation
you are using is willing to try open system authentication with the
fixed hostapd, it should be able to authenticate with the AP.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Apr 24 19:51:00 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 24 Apr 2003 19:51:00 -0700
Subject: Patch for irqreturn_t in Linux 2.5.68-bk2
In-Reply-To: <Pine.LNX.4.44.0304222030550.3278-200000@localhost.localdomain>
References: <Pine.LNX.4.44.0304222030550.3278-200000@localhost.localdomain>
Message-ID: <20030425025100.GB5389@jm.kir.nu>

On Tue, Apr 22, 2003 at 08:39:57PM -0400, Pavel Roskin wrote:

> This patch updates the IRQ handler to the new kernel API, which is
> described here: http://lwn.net/Articles/29555/

Thanks, applied (the updated version of the patch).

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Apr 24 20:06:10 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 24 Apr 2003 20:06:10 -0700
Subject: Simplified Makefile for 2.5.x kernels
In-Reply-To: <Pine.LNX.4.55.0304241754540.5987@marabou.research.att.com>
References: <Pine.LNX.4.55.0304241754540.5987@marabou.research.att.com>
Message-ID: <20030425030610.GD5389@jm.kir.nu>

On Thu, Apr 24, 2003 at 06:03:37PM -0400, Pavel Roskin wrote:

> The code in the top-level Makefile to add machine-specific includes is not
> needed anymore.
> Also, I would like to hide from the user the name "2.5" in the targets.
> The patch is attached.

Thanks, applied with a minor fix.

> +# if Rules.make exists in the kernel tree, we assume 2.4 style modules
> +# if it doesn't assume 2.5 style
> +OLDMAKE = $(wildcard $(KERNEL_SRC)/Rules.make)

Did you test this with Linux 2.4.x? ;-)
s/KERNEL_SRC/KERNEL_PATH/

-- 
Jouni Malinen                                            PGP id EFC895FA



From imp  Thu Apr 24 20:51:02 2003
From: imp (=?utf-7?B?K3ZCWFhaY1gwLQ==?=)
Date: Fri, 25 Apr 2003 12:51:02 +0900
Subject: About Dynamic WEP
Message-ID: <HIEILNBGFIFLDLBJCOLACEDBCIAA.imp@airlinktek.com>

Dear all..

When I start hostapd, Using 802.1x + WEP rekeying functionality... 

My Station does not associate with hostap box. 

cause, hostapd Box set WEP key by it self when starting hostapd daemon.. and Station does not know about the WEP key..

Could you explain.. how station can set automatically the WEP key which match with hostap box one ? 

Thanks..




From lists  Thu Apr 24 20:57:55 2003
From: lists (Chincogan Network Services Lists)
Date: Fri, 25 Apr 2003 13:57:55 +1000
Subject: 1.1.1/1.5.6 Non-Volitile Firmware for DWL-520
In-Reply-To: <Pine.LNX.4.55.0304242221550.9866@marabou.research.att.com>
References: <20030421115326.2bd334b7.lists@chincogan.net.au>
	<Pine.LNX.4.44.0304210015570.3967-100000@localhost.localdomain>
	<20030425111053.6efcffab.lists@chincogan.net.au>
	<Pine.LNX.4.55.0304242119270.9028@marabou.research.att.com>
	<20030425121311.181902a5.lists@chincogan.net.au>
	<Pine.LNX.4.55.0304242221550.9866@marabou.research.att.com>
Message-ID: <20030425135755.2b1a2a7c.lists@chincogan.net.au>

I thought I tried them all, but I will give it another go.

Thanks Heaps!
Aaron Daniels
Chincogan Network Services
http://www.chincogan.net.au/

On Thu, 24 Apr 2003 22:23:23 -0400 (EDT)
Pavel Roskin <proski at gnu.org> wrote:

> On Fri, 25 Apr 2003, Chincogan Network Services Lists wrote:
> 
> > Sorry, since you replied to my original post, I assumed that you were
> > familiar with my situation as I had first described it, but as you are
> > not I will re-post my original message.
> 
> Sorry, I forgot the context.  You need sf010506.hex, not rf010506.hex.
> 
> -- 
> Regards,
> Pavel Roskin
> 



From jkmaline  Thu Apr 24 21:29:04 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 24 Apr 2003 21:29:04 -0700
Subject: PCF mode in HostAP
In-Reply-To: <Pine.LNX.4.55.0304231859390.9381@marabou.research.att.com>
References: <20030423020201.GB1451@jm.kir.nu> <Pine.LNX.4.44.0304222209570.4871-100000@localhost.localdomain> <20030423031352.GA1728@jm.kir.nu> <Pine.LNX.4.55.0304231859390.9381@marabou.research.att.com>
Message-ID: <20030425042904.GB11272@jm.kir.nu>

On Wed, Apr 23, 2003 at 07:18:34PM -0400, Pavel Roskin wrote:

> You are right.  It is possible that CNFSTAPCFINFO (0xFC35) could affect
> HostAP master mode, but I don't know.  It should affect HostAP driver in
> managed mode.  PCF has to be enabled on the station side too, by
> requesting to be on the poll list.

I haven't really tested PCF at all, but yes, that should change managed
mode behavior. Anyway, I would be surprised if that RID would work in
Host AP mode.

> I assumed that hostapd has to be enabled for that.  After looking at the
> code, it turns out I was wrong.  However, iwpriv would be much easier to
> use from shell scripts.

I don't think current iwpriv would be the most convenient solution for
this. I don't link moving string parsing into the kernel driver and
setting variable length binary items does not fit will with iwpriv (I
think).

Take a look at Host AP snapshot.. I added utils/hostap_rid to make some
testing easier; it should also be usable from shell scripts if you need
to do something that is not directly supported in the driver.

> Correct.  One possible solution would be to keep a list of "persistent
> RIDs" that were set by the user.

Yes.. Although, I think I would prefer to add "real support" for all the
items that are considered useful in real life. hostap_rid should be fine
for testing and if something proves to be useful and requires persisten
RID configuration, it could be moved into driver code (with
iwpriv/whatever mechanism for configuration).

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Apr 24 21:32:52 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 24 Apr 2003 21:32:52 -0700
Subject: About Dynamic WEP
In-Reply-To: <HIEILNBGFIFLDLBJCOLACEDBCIAA.imp@airlinktek.com>
References: <HIEILNBGFIFLDLBJCOLACEDBCIAA.imp@airlinktek.com>
Message-ID: <20030425043252.GC11272@jm.kir.nu>

On Fri, Apr 25, 2003 at 12:51:02PM +0900, ?vBXXZcX0-? wrote:

> When I start hostapd, Using 802.1x + WEP rekeying functionality... 
> 
> My Station does not associate with hostap box. 

Which station card, operating system (+ version), ad IEEE 802.1X
Supplicant?

> cause, hostapd Box set WEP key by it self when starting hostapd daemon.. and Station does not know about the WEP key..

This is the expected behavior.

> Could you explain.. how station can set automatically the WEP key which match with hostap box one ? 

IEEE 802.1X uses EAPOL frames for authentication and key exchange. These
are not encrypted and station does not need to know the WEP key at this
point. It will eventually receive the needed keys in EAPOL-Key frames
(with partially encrypted payload, but not with WEP).

-- 
Jouni Malinen                                            PGP id EFC895FA



From a.boegl  Fri Apr 25 01:29:33 2003
From: a.boegl (=?ISO-8859-1?Q?Alexander_B=F6gl?=)
Date: Fri, 25 Apr 2003 10:29:33 +0200
Subject: Linksys WET11 (---) HostAP
Message-ID: <3EA8F1ED.806@amnet.at>

Hi!

Im using 3 WET11 Ethernet Bridges with a Debian /Hostap 0.0.1 based AP, 
which works fine for a couple of days,
but then one by one, the WET11s crashes. I use the lastest(1.4.3)  
firmware on the WET11s.

Does somebody have any advice for me?


Alex





From martin.whitlock  Fri Apr 25 11:43:53 2003
From: martin.whitlock (Martin Whitlock)
Date: Fri, 25 Apr 2003 14:43:53 -0400
Subject: Panic with WEP
References: <3E7A4B34.8020009@prontonetworks.com>
Message-ID: <3EA981E9.8070001@possio.com>

I have experienced the same problem, but in an ARM environment with 
0.0.1 release and 2.4.[18|19] kernel. I have made some debugging and it 
turns out that there is a problem with hostbased wep decryption together 
with fragmented frames. When I use a Lucent Orinoco client in windows it 
seems as the defualt fragmentation size is 500 bytes, which means that a 
lot of packets will be fragmented. I beleive that it is when the last 
fragmented frame is decrypted, the resulting buffer size is false.
Jouni, could this be the case?

I have sniffed the traffic with Etherreal and the frames sent from the 
client seem to be in perfect order. The problem is easily repeated by 
configuring the AP with host_decrypt = 1and letting a fragmenting client 
ping with a packetsize > frag.

/Martin


Justin Reigle wrote:

> I've recently been playing with hostap, 802.1x, and WEP in conjunction
> with a Windows XP (post-SP1) station.
>
> Simple data transfer works fine (i.e. ping). If I do anything more than
> that, it doesn't take long before a panic occurs (reproducable).
>
> I managed to track the problem down to the line of code where a null
> pointer is dereferenced. The kernel version is 2.4.17. The code is in
> linux/net/core/dev.c:netif_rx. The macro, dev_hold() is called, with
> skb->dev passed to it. Here skb->dev is null, which causes the panic.
>
> I'm not sure why skb->dev is null, or where the actual bug is. This is
> a daily snapshot of the hostap code from this past sunday (march 16th).
> I see the same behavior with a month old snapshot.
>
> Here's some ksymoops output to provide a little more information:
> --------------------
>
> CPU:    0
> EIP:    0010:[<c0198dcd>]    Not tainted
> EFLAGS: 00010046
> eax: 00000000   ebx: c3a92ea0   ecx: 00000000   edx: c3a92eb0
> esi: 00000246   edi: 00000000   ebp: c3a63e08   esp: c3a63cd0
> ds: 0018   es: 0018   ss: 0018
> Process boa (pid: 1305, stackpage=c3a63000)
> Stack: c3a8c000 c356382e 00000283 00000000 00000000 c3a92ea0 c3a92efc 
> c784b69b
>        c3a92ea0 c11d6e00 c376b820 c11ad7e0 000001f4 c3435648 00000010 
> 08000004
>        00000096 691000a7 abc9c507 c3563852 c38949ac 00000000 15b28679 
> c3a63d8c
> Call Trace: [<c784b69b>] [<c7847a2d>] [<c019570c>] [<c784a88d>] 
> [<c783d7f9>]
>    [<c01958bb>] [<c0195a33>] [<c784c05b>] [<c784b74f>] [<c0115fde>] 
> [<c0115e43>]
>    [<c01fc382>] [<c01cb987>] [<c01929a1>] [<c019570c>] [<c784c29f>] 
> [<c0192aba>]
>    [<c012c126>] [<c0115651>] [<c0106cf3>]
> Code: ff 80 dc 00 00 00 b8 e0 26 26 c0 83 c0 0c 89 43 08 8b 50 08
>
> >>EIP; c0198dcd <netif_rx+4d/110>   <=====
> Trace; c784b69b <[hostap]hostap_proc+573b/13100>
> Trace; c7847a2d <[hostap]hostap_proc+1acd/13100>
> Trace; c019570c <alloc_skb+dc/1b0>
> Trace; c784a88d <[hostap]hostap_proc+492d/13100>
> Trace; c783d7f9 <[hostap]hostap_info_process+55/1f0>
> Trace; c01958bb <kfree_skbmem+b/70>
> Trace; c0195a33 <__kfree_skb+113/120>
> Trace; c784c05b <[hostap]hostap_proc+60fb/13100>
> Trace; c784b74f <[hostap]hostap_proc+57ef/13100>
> Trace; c0115fde <tasklet_action+3e/70>
> Trace; c0115e43 <do_softirq+53/a0>
> Trace; c01fc382 <stext_lock+26a2/3516>
> Trace; c01cb987 <inet_recvmsg+37/50>
> Trace; c01929a1 <sock_recvmsg+31/b0>
> Trace; c019570c <alloc_skb+dc/1b0>
> Trace; c784c29f <[hostap]hostap_proc+633f/13100>
> Trace; c0192aba <sock_read+8a/a0>
> Trace; c012c126 <sys_read+96/d0>
> Trace; c0115651 <sys_time+11/50>
> Trace; c0106cf3 <system_call+33/40>
> Code;  c0198dcd <netif_rx+4d/110>
> 00000000 <_EIP>:
> Code;  c0198dcd <netif_rx+4d/110>   <=====
>    0:   ff 80 dc 00 00 00         incl   0xdc(%eax)   <=====
> Code;  c0198dd3 <netif_rx+53/110>
>    6:   b8 e0 26 26 c0            mov    $0xc02626e0,%eax
> Code;  c0198dd8 <netif_rx+58/110>
>    b:   83 c0 0c                  add    $0xc,%eax
> Code;  c0198ddb <netif_rx+5b/110>
>    e:   89 43 08                  mov    %eax,0x8(%ebx)
> Code;  c0198dde <netif_rx+5e/110>
>   11:   8b 50 08                  mov    0x8(%eax),%edx
>
>  <0>Kernel panic: Aiee, killing interrupt handler






From mrcool  Fri Apr 25 07:14:36 2003
From: mrcool (Jerry)
Date: Fri, 25 Apr 2003 09:14:36 -0500
Subject: Problems with Orinoco cards associating
Message-ID: <000701c30b35$00775a60$1d04000a@terraworld.net>

  Hello...

I have WPC11 cards in an Elan bridge,SuSE 8.0, Hostap CVS dated 4/22/03.

My problem is that Orinoco cards (win98, Orinoco client manager) doesnt even
see that the ap exists, (I have 2such boxes, similar config, same CVS). I am
writing this on the same test client, only using a Nokia card, which
associates fine with either AP.  Is there some reason that the Orinoco cards
cant see the APs?

The distance isnt an issue as the client is within 5 ft of the AP.
detail specs...

AP: SuSE 8.0, kernel pcmcia (2.4.18), 4/22/03 CVS Snapshot, WPC11 ram FW
1.5.6.
Clients: Win98,Lucent Silver(Orinoco) driver 7.64, FW 8.42
            and Nokia C110, with the last available drivers from their
website.

Thanks
Jerryf




From atari  Fri Apr 25 08:30:41 2003
From: atari (Thomas Peterhans)
Date: Fri, 25 Apr 2003 17:30:41 +0200 (CEST)
Subject: Prism2 card list
Message-ID: <Pine.LNX.4.50.0304251729020.18695-100000@k7-500>

hi

i took a look at that site:
http://www.linux-wlan.com/linux-wlan/index.html#The%20linux-wlan%20Project

but i didnt find any card which is avaible in switzerland. is anyone else
from switzerland who has found a compatible card?


greets
thomas




From proski  Fri Apr 25 08:48:55 2003
From: proski (Pavel Roskin)
Date: Fri, 25 Apr 2003 11:48:55 -0400 (EDT)
Subject: Prism2 card list
In-Reply-To: <Pine.LNX.4.50.0304251729020.18695-100000@k7-500>
References: <Pine.LNX.4.50.0304251729020.18695-100000@k7-500>
Message-ID: <Pine.LNX.4.55.0304251142310.5855@marabou.research.att.com>

On Fri, 25 Apr 2003, Thomas Peterhans wrote:

> i took a look at that site:
> http://www.linux-wlan.com/linux-wlan/index.html#The%20linux-wlan%20Project

It's strange that you are asking in a mailing list of one project about a
website of another project.  Anyway, hostap and wlan-ng support the same
cards.

> but i didnt find any card which is avaible in switzerland. is anyone else
> from switzerland who has found a compatible card?

Go to google.com and enter following:

SMC2632W site:.ch

You can pick another card from the list, I just think SMC cards are cheap
and have a convenient form factor.  If you care about WDS support, look
for WPC11 - they are upgradeable to publicly available 1.5.6 firmware.

-- 
Regards,
Pavel Roskin



From dave  Fri Apr 25 09:16:21 2003
From: dave (Dave Wang)
Date: Fri, 25 Apr 2003 09:16:21 -0700
Subject: Linksys WET11 (---) HostAP
Message-ID: <B2FC93133CB3EB4A813CBD19717B1488313149@aruba-server.arubanetworks.com>

I have some advice for you.

I had been experiencing wet11 crashes as well.  Lucky for us, the wireless card in the wet11 is prism based.  The problem I experienced with the wet11 (wet11 firmware 1.4.3) was that if I generated lots of upstream traffic (ie webserving behind wet11 bridged from Ethernet to wireless), it would crash in 3 seconds.  Downstream traffic, however, was fine.

You have to void your warranty by taking the prism card out of the wet11 and then update the firmware on the prism card with the following utilities:

http://www.red-bean.com/~proski/firmware/  (use firmware 1.5.6) http://wiw.org/~craig/WinUpdate-0-7-0.exe

The original card firmware is sta:1.3.2 and pri:1.0.something.  Back those up.  
It's been really stable for me so far.  I've only tested with 64bit wep.

-dave
dave at davidwang dot com

-----Original Message-----
From: Alexander B?gl [mailto:a.boegl at amnet.at] 
Sent: Friday, April 25, 2003 1:30 AM
To: hostap at shmoo.com
Subject: Linksys WET11 (---) HostAP

Hi!

Im using 3 WET11 Ethernet Bridges with a Debian /Hostap 0.0.1 based AP, 
which works fine for a couple of days,
but then one by one, the WET11s crashes. I use the lastest(1.4.3)  
firmware on the WET11s.

Does somebody have any advice for me?


Alex


_______________________________________________
HostAP mailing list
HostAP at shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap



From beattie  Fri Apr 25 09:29:18 2003
From: beattie (Brian Beattie)
Date: 25 Apr 2003 09:29:18 -0700
Subject: Intersil firmware versions
Message-ID: <1051288158.947.61.camel@kokopelli>

I have come across various firmware loads and am curious if there is
anything explaining what firmware goes with which version of the
hardware, mine seems to be 0x8003 if I understand these things, while we
are at it anything that explains the differing hardware types woudl be
useful as well.
-- 
Brian Beattie            | Experienced kernel hacker/embedded systems
beattie at beattie-home.net | programmer, direct or contract, short or
www.beattie-home.net     | long term, available immediately.

"Honor isn't about making the right choices.
It's about dealing with the consequences." -- Midori Koto




From sumitgwalani  Fri Apr 25 14:35:48 2003
From: sumitgwalani (Sumit Gwalani)
Date: Fri, 25 Apr 2003 14:35:48 -0700
Subject: modification of sequence numbers in 802.11 header
Message-ID: <003001c30b72$a39c69a0$da286f80@heavenlyabode>

Hi all,

I had a doubt regarding hostap driver.
I am new to this list and I am sorry if someone has already asked this question. 
I wanted to know whether we can change the sequence number in the IEEE 802.11 header for management and data frames. If yes, can someone tell me as how this can be done. Is this possible with other dirvers or is this under the firmware control?


Thanks,
Sumit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030425/756904c4/attachment.htm 


From proski  Fri Apr 25 16:35:44 2003
From: proski (Pavel Roskin)
Date: Fri, 25 Apr 2003 19:35:44 -0400 (EDT)
Subject: PCF mode in HostAP
In-Reply-To: <20030425042904.GB11272@jm.kir.nu>
References: <20030423020201.GB1451@jm.kir.nu>
 <Pine.LNX.4.44.0304222209570.4871-100000@localhost.localdomain>
 <20030423031352.GA1728@jm.kir.nu> <Pine.LNX.4.55.0304231859390.9381@marabou.research.att.com>
 <20030425042904.GB11272@jm.kir.nu>
Message-ID: <Pine.LNX.4.55.0304251934270.17513@marabou.research.att.com>

On Thu, 24 Apr 2003, Jouni Malinen wrote:

> I don't think current iwpriv would be the most convenient solution for
> this. I don't link moving string parsing into the kernel driver and
> setting variable length binary items does not fit will with iwpriv (I
> think).

Agreed.

> Take a look at Host AP snapshot.. I added utils/hostap_rid to make some
> testing easier; it should also be usable from shell scripts if you need
> to do something that is not directly supported in the driver.

I really appreciate it.  Thank you!

-- 
Regards,
Pavel Roskin



From ykchoi  Fri Apr 25 17:39:51 2003
From: ykchoi (=?ks_c_5601-1987?B?w9a/tbHU?=)
Date: Sat, 26 Apr 2003 09:39:51 +0900
Subject: ap scanned results
Message-ID: <PNEJLAPGLICNDDFNOMDEKEEPCBAA.ykchoi@mwnl.snu.ac.kr>

Hi all,
I have some work to use the ap scanned list.
>From the reading the hostap source(the latest version, Apr, 2003), I found the informations are reported in two ways.
In prism2_init_local_data() of the Hostap_hw.c, there are two initialization procedure.
One is initializing the info_tasklet, the other is doing the info_queue by calling the hostap_info_init.
After tracing the call flow,while the former reports to the "/proc/net/wlan0/scan_result"("prism2_info_scanresults",hostap_info.c), 
the last informs user space by IO controlling("handle_info_queue_scanresults", hostap_info.c).

Then, I  have two questions.
1. What is the scanning results based on?  is passive scanning?
2. Can i receive the scan results using the ioctl(SIOCGIWSCAN) like the wireless extension in the user space?

Of course, the above things are reasonable when the PRISM2_NO_STATION_MODES is not defined.

Thanks.(It's the first mail for me to greet the members of this mailing list)




----
Youngkyu Choi
M.S. candidate
School of Electrical Engineering
Seoul National University

Tel: +82-(0)2-880-1755
Fax: +82-(0)2-877-1753
Cel: +82-(0)18-205-9925
E-mail: ykchoi at mwnl.snu.ac.kr
           wastebinchoi at hotmail.com
URL: http://mwnl.snu.ac.kr/~ykchoi
 


From jomick  Sat Apr 26 17:49:05 2003
From: jomick (Jeff Omick)
Date: Sat, 26 Apr 2003 20:49:05 -0400
Subject: Hostap - WEP - Bridge problem?
Message-ID: <3EAB2901.9040903@users.sourceforge.net>



Hi,

Not sure how to present this but I have been looking at  this for 
acouple of days now on and
off.

Configuration:
Wireless PC (kauai) ---- 802.11 w/Wep key ----- wlan0- Hostap 
bridging-eth0 ----- Linux machine (Molokai)

I also replaced Kauai with a different pc and an imbedded wireless card 
same fingerprint as below.

The issue is I cannot do a ftp from my wireless PC (kauai) to the Linux 
machine (Molokai) and do a put
or i cannot FTP from molokai to the PC and do a get. (The FTP hangs - 
packet get corrupted)

I think it has to do with buffer allocation or a MTU gets broken because 
if I reduce the MTU the problem goes away.
If you notice the Packet size on the AP it is bigger than 1514 it is 
1522 but only 96 gets captured.
And if you look at the packet traces (Attached below) the payload gets 
truncated at the AP side.
The length of the ftp payload leaving kauai is 1448 bytes and the 
payload on the AP side is only
30 bytes (Rest of packet is lost). Molokai never sees this packet on 
it's ethereal capture.

This issue only occurs when I have the combination of WEP key, 
Hostap(DWL-650), and Bridging.
This issue goes away if I do ANY of the following:
- I turn off WEP (iwconfig wlan0 enc off on ap and turn off wep security 
on kauai)
- I remove bridging and do routing though the hostap machine.
- reduce my MTU (this is why I think it is overloading a buffer somewhere)
- use Hermes_ap (with Orinoco card of course)

I have to tell you that I think the work done here has been fabulous you 
have put
together a great package and I love it.. I am getting by because I 
lowered my MTU
and things work great in that mode, but I thought i would put out this 
finding to help the
cause. 
Software:
hostap-0.0.1.tar.gz
Redhat kernel - 2.4.20
pcmcia-cs-3.2.4.tar.gz
wireless_tools.25.tar.gz

Hardware:
Socket 0:
 product info: "D", "Link DWL-650 11Mbps WLAN Card", "Version 01.02", ""
 manfid: 0x0156, 0x0002
 function: 6 (network)
Socket 1:
 product info: "NETGEAR", "FA410TX", "Fast Ethernet"
 manfid: 0x0149, 0x0230
 function: 6 (network)

Gateway Solo 75Mhz Pentuim

[root at solo wlan]# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"OmsNet"  Nickname:"solo"
         Mode:Master  Frequency:2.422GHz  Access Point: 
00:05:5D:EE:73:0F          Bit Rate:2Mb/s   Tx-Power:-1 dBm   
Sensitivity=1/3          Retry min limit:8   RTS thr:off   Fragment thr:off
         Encryption key:3131-3131-31   Encryption mode:restricted
         Power Management:off
         Link Quality:0  Signal level:0  Noise level:0
         Rx invalid nwid:0  Rx invalid crypt:838  Rx invalid frag:0
         Tx excessive retries:915  Invalid misc:208   Missed beacon:0


Thanks for listening
Let me know if there is any other data you would like to see of have me 
test
if you think it would help.

Jeff Omick
jomick at users.sourceforge.net


--------------------------------------------
Packet trace at Kauai side.

Frame 27 (1514 on wire, 1514 captured)
   Arrival Time: Apr 25, 2003 19:00:38.125355000
   Time delta from previous packet: 0.004764000 seconds
   Time relative to first packet: 13.465361000 seconds
   Frame Number: 27
   Packet Length: 1514 bytes
   Capture Length: 1514 bytes
Ethernet II
   Destination: 00:04:5a:72:e0:62 (The_72:e0:62)
   Source: 00:60:1d:04:78:54 (Lucent_04:78:54)
   Type: IP (0x0800)
Internet Protocol, Src Addr: 192.168.0.14 (192.168.0.14), Dst Addr: 
192.168.0.1 (192.168.0.1)
   Version: 4
   Header length: 20 bytes
   Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
       0000 00.. = Differentiated Services Codepoint: Default (0x00)
       .... ..0. = ECN-Capable Transport (ECT): 0
       .... ...0 = ECN-CE: 0
   Total Length: 1500
   Identification: 0x2274
   Flags: 0x04
       .1.. = Don't fragment: Set
       ..0. = More fragments: Not set
   Fragment offset: 0
   Time to live: 128
   Protocol: TCP (0x06)
   Header checksum: 0x5148 (correct)
   Source: 192.168.0.14 (192.168.0.14)
   Destination: 192.168.0.1 (192.168.0.1)
Transmission Control Protocol, Src Port: 1059 (1059), Dst Port: ftp-data 
(20), Seq: 3897295803, Ack: 3505752771
   Source port: 1059 (1059)
   Destination port: ftp-data (20)
   Sequence number: 3897295803
   Next sequence number: 3897297251
   Acknowledgement number: 3505752771
   Header length: 32 bytes
   Flags: 0x0010 (ACK)
       0... .... = Congestion Window Reduced (CWR): Not set
       .0.. .... = ECN-Echo: Not set
       ..0. .... = Urgent: Not set
       ...1 .... = Acknowledgment: Set
       .... 0... = Push: Not set
       .... .0.. = Reset: Not set
       .... ..0. = Syn: Not set
       .... ...0 = Fin: Not set
   Window size: 17520
   Checksum: 0x5ee6 (correct)
   Options: (12 bytes)
       NOP
       NOP
       Time stamp: tsval 117138, tsecr 68369212
FTP Data
   FTP Data: 6/14/2002\t6:06 PM\t\tAdministrator\tKAUAI\tExtracting Zip 
file from stub file, 
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\~SDAT4UP.tmp\DATS\cdex4207.exe.\r\r\n6/14/2002\t6:06 
PM\t\tAdministrator\tKAUAI\tPerforming self validation ...\r\ (it goes 
on when viewing raw data...)

( I Think the print statement of Ethereal did not correctly print the 
data but if you look at ethereal
capture of the raw data you see the hole payload)

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

Trace of Packet on AP side.

Frame 43 (1522 on wire, 96 captured)
   Arrival Time: Apr 25, 2003 17:58:48.306638000
   Time delta from previous packet: 0.017794000 seconds
   Time relative to first packet: 16.075410000 seconds
   Frame Number: 43
   Packet Length: 1522 bytes
   Capture Length: 96 bytes
Ethernet II
   Destination: 00:04:5a:72:e0:62 (The_72:e0:62)
   Source: 00:60:1d:04:78:54 (Lucent_04:78:54)
   Type: IP (0x0800)
Internet Protocol, Src Addr: 192.168.0.14 (192.168.0.14), Dst Addr: 
192.168.0.1 (192.168.0.1)
   Version: 4
   Header length: 20 bytes
   Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
       0000 00.. = Differentiated Services Codepoint: Default (0x00)
       .... ..0. = ECN-Capable Transport (ECT): 0
       .... ...0 = ECN-CE: 0
   Total Length: 1500
   Identification: 0x2274
   Flags: 0x04
       .1.. = Don't fragment: Set
       ..0. = More fragments: Not set
   Fragment offset: 0
   Time to live: 128
   Protocol: TCP (0x06)
   Header checksum: 0x5148 (correct)
   Source: 192.168.0.14 (192.168.0.14)
   Destination: 192.168.0.1 (192.168.0.1)
Transmission Control Protocol, Src Port: 1059 (1059), Dst Port: ftp-data 
(20), Seq: 3897295803, Ack: 3505752771
   Source port: 1059 (1059)
   Destination port: ftp-data (20)
   Sequence number: 3897295803
   Next sequence number: 3897297251
   Acknowledgement number: 3505752771
   Header length: 32 bytes
   Flags: 0x0010 (ACK)
       0... .... = Congestion Window Reduced (CWR): Not set
       .0.. .... = ECN-Echo: Not set
       ..0. .... = Urgent: Not set
       ...1 .... = Acknowledgment: Set
       .... 0... = Push: Not set
       .... .0.. = Reset: Not set
       .... ..0. = Syn: Not set
       .... ...0 = Fin: Not set
   Window size: 17520
   Checksum: 0x5ee6
   Options: (12 bytes)
       NOP
       NOP
       Time stamp: tsval 117138, tsecr 68369212
FTP Data
   FTP Data: 6/14/2002\t6:06 PM\t\tAdministrat

(Notice the payload is cut off at 30 bytes - that is it looking at the 
print format or raw format)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030426/69d044a9/attachment.htm 


From jomick  Sat Apr 26 18:45:58 2003
From: jomick (Jeff Omick)
Date: Sat, 26 Apr 2003 21:45:58 -0400
Subject: Hostap - WEP - Bridge problem?
References: <3EAB2901.9040903@users.sourceforge.net>
Message-ID: <3EAB3656.9010905@users.sourceforge.net>

i forgot to mention what version of bridgeutils i was useing:

bridge-utils-0.9.6-1.i386.rpm

Jeff






From imp  Fri Apr 25 19:56:07 2003
From: imp (=?utf-7?B?K3ZCWFhaY1gwLQ==?=)
Date: Sat, 26 Apr 2003 11:56:07 +0900
Subject: Dynamic WEP does not work..
Message-ID: <HIEILNBGFIFLDLBJCOLAEEDHCIAA.imp@airlinktek.com>

Dear all..

Using latestest CVS tree. Dynamic WEP does not work ... when I try hostapd with EAP-TTLS authentication with 
broadcast WEP... 

local hostap box set WEP key correctly (at least It's looks work well...) and STA can get authentication from RADIUS Server.
but, after authentication STA does not talk with hostap Box... It looks like STA WEP key does not match hostap's one..
So, RX decryption always failed from that STA... 

--------------------- DEBUG MSG ----------------
after authentication...

wlan0: WEP decryption failed (SA=00:02:2d:4a:93:85)
wlan0: WEP decryption failed (SA=00:02:2d:4a:93:85)
wlan0: WEP decryption failed (SA=00:02:2d:4a:93:85)
wlan0: WEP decryption failed (SA=00:02:2d:4a:93:85)
wlan0: WEP decryption failed (SA=00:02:2d:4a:93:85)

in that time.. I show the iwlist key value.. the key value registered as correctly...

~ # iwlist wlan0 key
wlan0     2 key sizes : 40, 104bits
          4 keys available :
                [1]: 1DD4-4DCF-F7 (40 bits)
                [2]: off
                [3]: off
                [4]: off
          Current Transmit Key: [1]
          Encryption mode:open

Please, Could you give me any comment for it ASAP ??? 
Thanks for your attention....





From jkmaline  Fri Apr 25 20:19:56 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 25 Apr 2003 20:19:56 -0700
Subject: modification of sequence numbers in 802.11 header
In-Reply-To: <003001c30b72$a39c69a0$da286f80@heavenlyabode>
References: <003001c30b72$a39c69a0$da286f80@heavenlyabode>
Message-ID: <20030426031956.GA2945@jm.kir.nu>

On Fri, Apr 25, 2003 at 02:35:48PM -0700, Sumit Gwalani wrote:

> I wanted to know whether we can change the sequence number in the IEEE 802.11 header for management and data frames. If yes, can someone tell me as how this can be done. Is this possible with other dirvers or is this under the firmware control?

Sequence number field is under firmware control and I would assume that
the firmware would be overwriting this field and it would be impossible
to set it in the host driver. One reason for this is the fragmentation
of 802.11 frames which is (usually) done by firmware. However, I have
not tested this.

There is one special case, where the host driver would actually need to
be able to at least partially control sequence and fragment fields:
host-based WEP encryption. If a frame is fragmented, each fragment is
encryption separately and when doing the host-based WEP encryption, also
the fragmentation must be done in the host side. This would require
using the same sequence number and increasing fragment numbers in the
transmitted frames. I haven't written fragmentation code, so I haven't
yet been forced to figure out how to do this.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr 25 20:25:29 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 25 Apr 2003 20:25:29 -0700
Subject: Panic with WEP
In-Reply-To: <3EA981E9.8070001@possio.com>
References: <3E7A4B34.8020009@prontonetworks.com> <3EA981E9.8070001@possio.com>
Message-ID: <20030426032529.GB2945@jm.kir.nu>

On Fri, Apr 25, 2003 at 02:43:53PM -0400, Martin Whitlock wrote:

> I have experienced the same problem, but in an ARM environment with 
> 0.0.1 release and 2.4.[18|19] kernel. I have made some debugging and it 
> turns out that there is a problem with hostbased wep decryption together 
> with fragmented frames. When I use a Lucent Orinoco client in windows it 
> seems as the defualt fragmentation size is 500 bytes, which means that a 
> lot of packets will be fragmented. I beleive that it is when the last 
> fragmented frame is decrypted, the resulting buffer size is false.

Thanks! That made it easy to debug.

The crash was indeed caused by skb->dev being NULL as Justin pointed
out. This happened when defragmentation code finished assembling the
frame (i.e., when processing the last fragment). However, this was not
the only issue in host-based decryption with defragmentation.. I don't
remember when I might have broken them, but I do remember having seen
them working before ;-).

Last eight encrypted octets of the first frame were included in the
defragmented frame which of course meant that the payload was incorrect.
I cleaned up the defragmentation code a bit and fixed this.

Both host_decrypt+defrag fixes are now in CVS.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Apr 25 20:57:15 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 25 Apr 2003 20:57:15 -0700
Subject: Dynamic WEP does not work..
In-Reply-To: <HIEILNBGFIFLDLBJCOLAEEDHCIAA.imp@airlinktek.com>
References: <HIEILNBGFIFLDLBJCOLAEEDHCIAA.imp@airlinktek.com>
Message-ID: <20030426035714.GA1597@jm.kir.nu>

On Sat, Apr 26, 2003 at 11:56:07AM +0900, ?vBXXZcX0-? wrote:

> Using latestest CVS tree. Dynamic WEP does not work ... when I try hostapd with EAP-TTLS authentication with 
> broadcast WEP... 

Works fine in my tests.. I'm using EAP-TLS, but that should not really
cause any difference for WEP. I tested both broadcast-only and
broadcast+individual key setup and I was able to ping the AP from the
STA in both cases.

> local hostap box set WEP key correctly (at least It's looks work well...) and STA can get authentication from RADIUS Server.
> but, after authentication STA does not talk with hostap Box... It looks like STA WEP key does not match hostap's one..

Which client card are you using and which Supplicant? Can you get any
debugging information from the Supplicant/driver about the WEP key
setup? Did you try with both unicast(individual) and broadcast keys or
only with broadcast key?

> in that time.. I show the iwlist key value.. the key value registered as correctly...

I would suggest using 'utils/hostap_crypt_conf -l wlan0' for listing the
keys. It will also show the individual keys whereas iwlist will only
list default/broadcast keys.

-- 
Jouni Malinen                                            PGP id EFC895FA



From melk  Thu Apr 24 23:28:16 2003
From: melk (mel kravitz)
Date: 25 Apr 2003 02:28:16 -0400
Subject: SMC2632W card won't initalize
Message-ID: <1051252096.424.6.camel@casey222>

I have the following dmesg:<snipit>
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: clean.
cs: IO port probe 0x1000-0x17ff: clean.
cs: IO port probe 0x2008-0x209f: clean.
cs: IO port probe 0x2f8f-0x2f9f: clean.
cs: IO port probe 0x2800-0x29ff: clean.
hostap_crypt: registered algorithm 'NULL'
#modprobe hostap_cs ignore_cis_vcc=1  , plug pcmcia card in & gives:
hostap_cs: 0.0.1 - 2003-04-05 (Jouni Malinen <jkmaline at cc.hut.fi>)
cs: memory probe 0x209000000-0x20a0fffff: excluding
0x209000000-0x20910ffff
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: ignoring Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
CardServices(RequestIO) returned 30
hostap_cs: RequestIO: Resource in use
hostap_cs: GetNextTuple: No more items
prism2_release
: card already removed or not configured during shutdown
release - done
prism2_detach
hostap_free_data: ap has not yet been initialized - skip resource
freeing
This is a 2.4.20 on an XP1000
-Mel





From jerryf  Fri Apr 25 08:09:08 2003
From: jerryf (Jerry)
Date: Fri, 25 Apr 2003 10:09:08 -0500
Subject: Problems with Orinoco cards associating
Message-ID: <001b01c30b3c$9f11e800$e512fea9@terraworld.net>

Yea, just 40bit...
but the client doesnt even "see" the ap at all... (the orinoco software 'site manager' shows 'other' in scanning).  Aparently it cant read the AP Name...?

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030425/4ce075aa/attachment.htm 


From anoopp  Sat Apr 26 01:39:32 2003
From: anoopp (ANOOP P)
Date: Sat, 26 Apr 2003 14:09:32 +0530
Subject: HostAP support for Prism GT
Message-ID: <F6E1228667B6D411BAAA00306E00F2A50154112F@pdc2.nestec.net>

Hi all, 

I am planning to buy a D-Link DWL-G650 cardbus card. 
It is based on Prism GT chipset. 
As per my understanding the HostAP driver does not have cardbus support 
so is it possible that if i add cardbus support, the driver will work? 
i am assuming that the difference between prism2 and prism GT is in PHY and
the MAC-PHY interfaces need not be changed. Please correct me if i am wrong 

TIA 
anoop 



From jkmaline  Sat Apr 26 08:55:20 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 26 Apr 2003 08:55:20 -0700
Subject: HostAP support for Prism GT
In-Reply-To: <F6E1228667B6D411BAAA00306E00F2A50154112F@pdc2.nestec.net>
References: <F6E1228667B6D411BAAA00306E00F2A50154112F@pdc2.nestec.net>
Message-ID: <20030426155519.GA1624@jm.kir.nu>

On Sat, Apr 26, 2003 at 02:09:32PM +0530, ANOOP P wrote:

> It is based on Prism GT chipset. 
> As per my understanding the HostAP driver does not have cardbus support 
> so is it possible that if i add cardbus support, the driver will work? 

Host AP driver does not support Cardbus cards since there are no Prism
2/2.5/3 Cardbus cards. PCI version of the driver could actually work
with Cardbus cards (if there were any) without modifications. However,
no, this will not make it work with Prism GT.

> i am assuming that the difference between prism2 and prism GT is in PHY and
> the MAC-PHY interfaces need not be changed.

Please take a closer look at Intersil data sheets.. Prism2 and Prism GT
have completely different design and their MAC <-> host driver
interfaces are not even close to eachother.

-- 
Jouni Malinen                                            PGP id EFC895FA



From new_warpaint  Sat Apr 26 11:35:24 2003
From: new_warpaint (=?euc-kr?q?=B0=E6=C8=A3=20=B1=E8?=)
Date: Sun, 27 Apr 2003 03:35:24 +0900 (JST)
Subject: my e-mail:new_warpaint@yahoo.co.kr
Message-ID: <20030426183524.73672.qmail@web7307.mail.kr.yahoo.com>

new_warpaint at yahoo.co.kr

---------------------------------
??? ?? ?? ?? - ??! ??
? ?? ??? ??? - ??! ???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030427/1b227edf/attachment.htm 


From mike  Sat Apr 26 11:52:22 2003
From: mike (Michael Guntsche)
Date: Sat, 26 Apr 2003 20:52:22 +0200
Subject: WEP Decryption via firmware
Message-ID: <20030426205222.4ca89635.mike@it-loops.com>

Hi,

Im running a netgear PCI MA311 in hostap mode in an old Pentium.
After upgrading the STA to 1.4.9 (RAM non-volatile) I tried using
firmware based WEP de-/en-cryption.
Copying a file from the Pentium to a notebook equipped with a netgear
MA401 I get around 580KB.
Doing it the other way around ( notebook -> pentium) I get a mere 180KB.
If I enable host based decryption on the MA311 (iwpriv wlan0
host_decrypt 1) I get around 450~500KB which seems quite ok for my setup
here.
Trying hardware based en-decryption on the PCMCIA card gives me a normal
transfer rates too.

Why is hardware based decryption so slow with the PCI card?


Cheers,
Michael








From jkmaline  Sat Apr 26 13:04:29 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 26 Apr 2003 13:04:29 -0700
Subject: Hostap - WEP - Bridge problem?
In-Reply-To: <3EAB2901.9040903@users.sourceforge.net>
References: <3EAB2901.9040903@users.sourceforge.net>
Message-ID: <20030426200429.GA3286@jm.kir.nu>

On Sat, Apr 26, 2003 at 08:49:05PM -0400, Jeff Omick wrote:

> I think it has to do with buffer allocation or a MTU gets broken because 
> if I reduce the MTU the problem goes away.
> If you notice the Packet size on the AP it is bigger than 1514 it is 
> 1522 but only 96 gets captured.

Please re-test with the latest CVS snapshot. Those extra eight octets
should not be in the frame and this was fixed by the defragmentation
related fix I mentioned yesterday. TCP/IP stack did not care about the
extra octets, but bridging code could not send such frames when the
total length was larger than MTU.

-- 
Jouni Malinen                                            PGP id EFC895FA



From sriram_subramanian  Sat Apr 26 14:56:12 2003
From: sriram_subramanian (sriram_subramanian )
Date: Sun, 27 Apr 2003 03:26:12 +0530
Subject: MIB for Intersils Prism2/2.5
Message-ID: <20030426215612.3450.qmail@indiainfo.com>

Hi,

Does anyone know if a MIB is available for the Prism 2 chipset? I looked on the web but could not get any information. If there isn't one defined, I'm willing to work on it...
Please let me know asap.

Thanks,
Sriram Subramanian
Graduate Student
Information Networking Institute
Carnegie Mellon University
-- 
______________________________________________
http://www.indiainfo.com
Now with POP3/SMTP access for only US$14.95/yr

Powered by Outblaze



From awu  Sat Apr 26 18:39:02 2003
From: awu (Alex Wu)
Date: Sat, 26 Apr 2003 18:39:02 -0700
Subject: hostap setup problem
Message-ID: <3EAB34B6.9010600@sohoware.com>

Hi,

I've compiled and installed the most recent hostap driver
for the Prism card on Intel XP425. It seems to start up fine.
I do not have iwconfig/iwpriv for the target platform.

I have two problems:
1)hostap_diag -b wlan0 complains:
   ioctl[PRISM2_IOCTL_READMIF]: Invalid argument

   The information returned from hostap_diag is:

   # hostap_diag wlan0
   Host AP driver diagnostics information for 'wlan0'

   NICID: id=0x8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))
   PRIID: id=0x0015 v1.1.0
   STAID: id=0x001f v1.4.9 (station firmware)

2)I cannot start hostapd, it complains:
     ioctl(SIOCGIFINDEX): No such device
     ioctl[SIOCGIFFLAGS]: No such device
   then exits.

What are the solutions?

Thanks in advance,
-Alex







From jkmaline  Sat Apr 26 19:51:38 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 26 Apr 2003 19:51:38 -0700
Subject: RID len mismatch/timeouts
In-Reply-To: <20030216213953.GA27970@nevermore.toe.doomcom.org>
References: <20030216213953.GA27970@nevermore.toe.doomcom.org>
Message-ID: <20030427025138.GA2582@jm.kir.nu>

On Sun, Feb 16, 2003 at 04:39:53PM -0500, Gerald Britton wrote:

> This seems to be a common problem with the driver over the past few months.
> I'll run through the Red Hat ifup scripts which issue a rapid sequence of
> iwconfig commands to set operating mode, essid, wep keys, etc. and then
> fire of dhclient to get an ip address.  I've seen this problem mostly with
> my minipci card (1.4.9), but I also occasionally see it with my pcmcia
> card(1.3.5):

> wlan0: hfa384x_get_rid - RID len mismatch: rid=0xfd42, len=40 (expected 6)
> wlan0: could not read CURRENTBSSID after LinkStatus event

> wlan0: hfa384x_setup_bap - timeout after

I (finally) started testing this more thoroughly. I was able to generate
an easy to repeat test case with Prism2.5 PCI cards and with the help of
PRISM2_IO_DEBUG, it was easy to find out what went wrong.

Get and set RID operations had a mutex only for the duration of BAP
access, i.e., Access Read/Write commands were not protected with the
same mutex and another get/set operation could end up using same BAP
buffer between another BAP read/write and Access command. In case of get
RID being interrupted this way by set RID, the original get RID ended up
reading the data that was being set into another RID; not the data that
was read from the real RID.

I added a mutex semaphore for get/set RID operations to make sure that
there will be no concurrent accesses. This seemed to fix all the RID len
mismatch errors I was previously seeing in the test. This removed some
setup_bap timeouts, too. Anyway, I increased BAP busy timeout to get rid
of these.

It would be nice to know whether this fix is enough to get rid of all
these issues or is there still something else causing similar problems.
I would appreciate if people who have seen these problems would test the
latest CVS snapshot and report whether it fixes the problems.

I did not see any command completion problems during my tests
("hfa384x_cmd: entry still in list?", "hfa384x_cmd: command was not
completed"). This might be related to the race condition with get/set
RID operations (and thus possible fixed now) or it might be completely
different problem.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jomick  Sun Apr 27 21:06:46 2003
From: jomick (Jeff Omick)
Date: Mon, 28 Apr 2003 00:06:46 -0400
Subject: hostap setup problem
References: <3EAB34B6.9010600@sohoware.com>
Message-ID: <3EACA8D6.6080001@users.sourceforge.net>

You need to re-compile with the EXTRA_CFLAG option
in the README.prism2 file.

Host AP configuration for IEEE 802.1X
-------------------------------------

Host AP driver includes and Authenticator implementation in the user
space daemon. When using this Authenticator, the driver needs to be
compiled for user space management functionality, i.e., with
PRISM2_HOSTAPD defined. This is not the default option, so an
additional configuration is needed. This can be added by editing
driver/modules/hostap_config.h, or more easily by using EXTRA_CFLAGS
definition:

make pccard EXTRA_CFLAGS="-DPRISM2_HOSTAPD"

After this, the kernel driver should be installed and the kernel
modules loaded to initialize the wireless LAN card. In addition, the
user space daemon needs to be build:

cd hostapd
make

Hope this helps
Jeff



Alex Wu wrote:

> Hi,
>
> I've compiled and installed the most recent hostap driver
> for the Prism card on Intel XP425. It seems to start up fine.
> I do not have iwconfig/iwpriv for the target platform.
>
> I have two problems:
> 1)hostap_diag -b wlan0 complains:
>   ioctl[PRISM2_IOCTL_READMIF]: Invalid argument
>
>   The information returned from hostap_diag is:
>
>   # hostap_diag wlan0
>   Host AP driver diagnostics information for 'wlan0'
>
>   NICID: id=0x8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))
>   PRIID: id=0x0015 v1.1.0
>   STAID: id=0x001f v1.4.9 (station firmware)
>
> 2)I cannot start hostapd, it complains:
>     ioctl(SIOCGIFINDEX): No such device
>     ioctl[SIOCGIFFLAGS]: No such device
>   then exits.
>
> What are the solutions?
>
> Thanks in advance,
> -Alex
>
>
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>





From new_warpaint  Sun Apr 27 03:24:40 2003
From: new_warpaint (=?euc-kr?q?=B0=E6=C8=A3=20=B1=E8?=)
Date: Sun, 27 Apr 2003 19:24:40 +0900 (JST)
Subject: problem of the IO/IRQ or setting of way
Message-ID: <20030427102440.86172.qmail@web7304.mail.yahoo.co.kr>

hi all################ my test system ################redhat 7.3 (kernel-2.4.18-3)wireless lan : compaq wl200 pci cardhostap-0.0.1############################################## I have compqa wl200 pci cardit is setting on the hostap-0.0.1. ############ my order of setting ################run "make pci"run "make install_pci"run "modprobe hostap_pci" error message"/lib/modules/2.4.18-3custom/net/hostap_pci.o:
init_module:
No such device Hint:
insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.18-3custom/net/hostap_pci.o:
insmod /lib/modules/2.4.18-3custom/net/hostap_pci.o failed /lib/modules/2.4.18-3custom/net/hostap_pci.o:
insmod hostap_pci failed"
############################################################ I give IRQ=11 a discretion. #########################################################run "modprobe hostap_pci IRQ=11"
 /lib/modules/2.4.18-3custom/net/hostap_pci.o:
invalid parameter parm_IRQ
/lib/modules/2.4.18-3custom/net/hostap_pci.o:
insmod /lib/modules/2.4.18-3custom/net/hostap_pci.o failed
//lib/modules/2.4.18-3custom/net/hostap_pci.o:
insmod hostap_pci failed
######################################
how give IRQ?Please correct me if i am wrong
thank!  

---------------------------------
??? ?? ?? ?? - ??! ??
? ?? ??? ??? - ??! ???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030427/04057828/attachment.htm 


From jar  Sun Apr 27 06:34:45 2003
From: jar (jar)
Date: Sun, 27 Apr 2003 16:34:45 +0300
Subject: problem of the IO/IRQ or setting of way
In-Reply-To: <20030427102440.86172.qmail@web7304.mail.yahoo.co.kr>
References: <20030427102440.86172.qmail@web7304.mail.yahoo.co.kr>
Message-ID: <3EABDC75.8070809@pcuf.fi>

?? ? wrote:

> I have compqa wl200 pci card
> it is setting on the hostap-0.0.1.
>  
> ############ my order of setting ################
> run "make pci"
> run "make install_pci"
> run "modprobe hostap_pci"

Compaq Wl200 is pcmcia card with pcmcia/pci bridge. The hostap_pci
isn't proper driver for WL200. You will need:

1) external-pcmcia package (e.g. ver. 3.1.31 or later) and it's i82365.o
module. This WL200 card needs that the "irq_mode=1" parameter is in
/etc/sysconfig/pcmcia.

2) run "make pccard" etc. for hostap driver

Regards, Jar




From panoop  Sat Apr 26 01:30:48 2003
From: panoop (Anoop P)
Date: Sat, 26 Apr 2003 14:00:48 +0530
Subject: HostAP support for Prism GT
Message-ID: <Sea2-F5VXLuSbh29cM300014295@hotmail.com>

Hi all,

I am planning to buy a D-Link DWL-G650 cardbus card.
It is based on Prism GT chipset.
As per my understanding the HostAP driver does not have cardbus support
so is it possible that if i add cardbus support, the driver will work?
i am assuming that the difference between prism2 and prism GT is in PHY and 
the MAC-PHY interfaces need not be changed. Please correct me if i am wrong

TIA
anoop




_________________________________________________________________
IIFA Awards. Vote now. 
http://server1.msn.co.in/msnspecials/iifa2003/index.asp Celebrate Indian 
cinema




From dinn  Sat Apr 26 18:20:59 2003
From: dinn (Michael 'Moose' Dinn)
Date: Sat, 26 Apr 2003 22:20:59 -0300
Subject: hostap first experiences
In-Reply-To: <20030414025548.GA8869@blend.twistedpair.ca>
References: <20030414025548.GA8869@blend.twistedpair.ca>
Message-ID: <20030427012059.GC27695@blend.twistedpair.ca>

> If anyone wants some WMP-11's from Future Shop (Prism2 ones) I can go grab a
> bunch and test them. I'll charge $5 CDN to test 'em and make sure they're
> prism2 cards - or you can order blind at http://www.futureshop.ca/ :-)

Well, I think that WMP-11 I got was the last one they had. Neither local
Future Shop has any more WMP-11's at all. :-(

However, one of my other local suppliers is carrying the USR Prism-2 based
PCMCIA cards with PLX adapter! yaay :-)

It even worked first try on my config that was running my prism2 WMP-11 -

hostap_plx: 0.0.1 - 2003-04-05 (Jouni Malinen <jkmaline at cc.hut.fi>)
PLX9052 PCI/PCMCIA adapter: mem=0xd7001000, plx_io=0xdc00, irq=10, pccard_io=0xe000
hostap_plx: CIS: 01 03 00 00 ff 17 ...
hostap_plx: manfid=0x0156, 0x0002
hostap_plx: cor_index=0x1 cor_offset=0x3e0
Prism2/2.5 PC Card detected in PLX9052 adapter


And to top it off they're even cheaper than the WMP-11s. But there's no
detachable antenna. Can't have everything you want.



Anyone have any experience with these? Antenna connectors, 200mW power (and
a 100mW card available too) and they're not TOO pricy...

http://www.demarctech.com/products/reliawave-rwz/reliawave-rwz-200mw-prism2-5-pcmcia-card.html


The site has deep linking blocked, so you have to go to the main page, then
products, etc etc.

-- 
 Michael 'Moose' Dinn, Twisted Pair Network Consulting Incorporated
 dinn at twistedpair.ca // 902 423 4700 (voice) // 902 423 8407 (fax)

 Colocate your server in our underground bunker!



From hostap  Sun Apr 27 15:22:54 2003
From: hostap (Santiago Garcia Mantinan)
Date: Mon, 28 Apr 2003 00:22:54 +0200
Subject: wireless bridging over WDS not working
Message-ID: <20030427222254.GA2557@man.beta.es>

Hi!

There seems to be some kind of problem when one sets up a wds link between
two APs (A and B), as the packages going from a client of AP A to AP B are
drop at AP A with a message like this:

handle_ap_item - addr3(BSSID)=00:50:c2:10:92:6a not own MAC

where that MAC is the MAC of the client of AP A

I'm using pings to do the tests and AP A and AP B can ping each other, and
the client can ping the AP it is connected to, however packages from this
client to the other AP (B) seem to be dropped, all but the ARP wich seems to
go through without any problem. 

The net is bridged and if you see the bridge config of AP A it looks like
this:

# brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.0090d1014bf1       yes             wlan0
                                                        wlan0wds0
                                                        wlan0wds1
                                                        eth0
# brctl showmacs br0
port no mac addr                is local?       ageing timer
  2     00:50:c2:10:90:b3       no                 0.50
  1     00:50:c2:10:92:6a       no                56.16
  3     00:90:d1:01:4b:f1       yes                0.00
  2     00:90:d1:01:4b:f1       yes                0.00
  1     00:90:d1:01:4b:f1       yes                0.00
  4     00:90:d1:01:4b:f1       yes                0.00

You can see the MAC 00:50:c2:10:90:b3 wich is the one of the AP B on port 2,
which is wlan0wds0 and the MAC of the client on port 1, wlan0.

I don't know why does this packages get dropped, all I know is that ARP is
passing through and back, and then the icmp packages are drop.

AP A has firmware 1.3.4 and is thus using WDS type 2, while AP B has a RAM
upgraded firmware 1.5.6 and is using WDS type 4, does this cause my problem?

I'm using version 0.0.1 on both APs.

The weird thing on this is that if I try to ping AP B from a machine
connected to the ethernet port of AP A  it works perfectly, so it seems to
be that the packets are being dropped in the input of AP A, wich really
sounds weird.

Any Ideas on what could be wrong, what am I not doing correctly or what I
could try?

I'd like to upgrade both cards on the APs to 1.5.6 using a non-volatile
firmware, but they are NIC 0x8002 and 0x8003, does anybody know where could
I find this?

Regards...
-- 
Manty/BestiaTester -> http://manty.net



From sriram_subramanian  Sun Apr 27 19:11:08 2003
From: sriram_subramanian (sriram_subramanian )
Date: Mon, 28 Apr 2003 07:41:08 +0530
Subject: MIB for Intersils Prism2/2.5
Message-ID: <20030428021108.30173.qmail@indiainfo.com>

Thanks Todd.
Can anyone tell me which would be the best place to start ? Has anyone felt the requirement for the MIB or worked in this direction ?
Any inputs would really help.

Thanks,
Sriram

----- Original Message -----
From: "Todd Hartle" <talltodd at hotmail.com>
Date: Sun, 27 Apr 2003 00:34:24 +0000
To: sriram_subramanian at indiainfo.com
Subject: Re: MIB for Intersils Prism2/2.5

> I'm not aware of one and have thought similar thoughts about the need for 
> one. I'm sure people would help out in getting something created.
> 
> >From: "sriram_subramanian " <sriram_subramanian at indiainfo.com>
> >To: hostap at shmoo.com
> >Subject: MIB for Intersils Prism2/2.5
> >Date: Sun, 27 Apr 2003 03:26:12 +0530
> >
> >Hi,
> >
> >Does anyone know if a MIB is available for the Prism 2 chipset? I looked on 
> >the web but could not get any information. If there isn't one defined, I'm 
> >willing to work on it...
> >Please let me know asap.
> >
> >Thanks,
> >Sriram Subramanian
> >Graduate Student
> >Information Networking Institute
> >Carnegie Mellon University
> >--
> >______________________________________________
> >http://www.indiainfo.com
> >Now with POP3/SMTP access for only US$14.95/yr
> >
> >Powered by Outblaze
> >_______________________________________________
> >HostAP mailing list
> >HostAP at shmoo.com
> >http://lists.shmoo.com/mailman/listinfo/hostap
> 
> 
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online  
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 

-- 
______________________________________________
http://www.indiainfo.com
Now with POP3/SMTP access for only US$14.95/yr

Powered by Outblaze



From imp  Sun Apr 27 19:57:41 2003
From: imp (=?utf-7?B?K3ZCWFhaY1gwLQ==?=)
Date: Mon, 28 Apr 2003 11:57:41 +0900
Subject: Dynamic WEP Question..
Message-ID: <HIEILNBGFIFLDLBJCOLACEDPCIAA.imp@airlinktek.com>

Dear all.

Current hostapd only can send WEP key dynamically, if hostapd got MS-MPPE-SEND-KEY +ACY- RECV-KEY from RADIUS Attribute..

This means that, If there are no such kinds of RADIUS attribute, then hostapd does not send key to STA. 

In case of EAP/MD5, Radius does not negotiation with Sta using MS-MPPE-SEND-KEY +ACY- RECV-KEY.. isn't it ?

how can I use Dynamic WEP with EAP/MD5 authentication without MS-MPPE-SEND/RECV-KEY ? 

Thanks for attention..





From proski  Sun Apr 27 19:57:55 2003
From: proski (Pavel Roskin)
Date: Sun, 27 Apr 2003 22:57:55 -0400 (EDT)
Subject: Genesis mode success
Message-ID: <Pine.LNX.4.55.0304272133030.6225@marabou.research.att.com>

Hello!

This is a followup to the old discussion about restoring cards damaged by
unsuccessful firmware download.  I have restored one of such cards.  This
information is not directly related to hostap, but I hope that the future
versions of the driver will provide similar functionality.

Hardware used - PC and a bridge with TI PCI1410PGE chip.  The TI chip is
connected by pin 134 to the SPKR pin on the PCMCIA bus.  See this document
(you need pin assignments for the 16-bit mode):
http://www.mit.edu/afs/sipb/contrib/doc/specs/ic/bridge/pci1410.pdf

The cards with HFA3841 MAC chip that has no HCR register use the SPKR PIN
to enable genesis mode.  This pin should be connected to +5V during COR
reset to enable genesis mode.

I could trace the line from the pin 134 to the back of the card, which is
much easier and safer to touch by wires.  I took +5V from the pin 5 on
PCI, counting from the backplane (it's +5V on both sides).  I just removed
the isolation by the screwdriver and connected the points by a wire.

It was a long process with many gotchas.  Making the long story short, let
me just list the facts.

Use doskey with autocompletion.  It's a great time-saver under DOS:
http://members.aol.com/paulhoule/doskey.htm

DOS flash utility 0.5e is broken.  Don't use it.  It fails randomly.  Use
version 0.3b instead.  It's included into we110.exe:
http://www.hawkingtech.com/download/we110.exe

However, you'll need flash 0.5e to dump PDA from a known good card.

Run legacy.exe first.  When it asks if you want to restart, answer "n".

Keep SPKR connected to +5V during the whole process.  It may be
unnecessary for some operations, but it won't prevent any operations in
DOS, so just stick it with duct tape or chewing gum or solder it.

Dump PDA from a good card of the same type using flash 0.5e:

flash5 -5v -pd good.pda

Using flash 0.3b, run following:

flash -5v -i i10003c0.hex
flash -5v -g -mp -p good.pda
flash -5v -g -d bromax5v.hex
flash -5v -g -d p10003c0.hex
flash -5v -g -d s1010409.hex

Remove the card and enjoy.  If you are going to boot Linux on the same
system, make sure to remove the connector from the SPKR pin.

The bad thing is that the card now identifies itself as BroMax.  Although
flash 0.5e can dump the CIS using the "-cd" switch, it cannot write is
back.  Frankly the dump doesn't even look like a valid CIS.  It should be
possible to convert the output of dump_cis from pcmcia-cs to an S3 file.

-- 
Regards,
Pavel Roskin



From jkmaline  Sun Apr 27 20:21:21 2003
From: jkmaline (Jouni Malinen)
Date: Sun, 27 Apr 2003 20:21:21 -0700
Subject: Dynamic WEP Question..
In-Reply-To: <HIEILNBGFIFLDLBJCOLACEDPCIAA.imp@airlinktek.com>
References: <HIEILNBGFIFLDLBJCOLACEDPCIAA.imp@airlinktek.com>
Message-ID: <20030428032121.GA1984@jm.kir.nu>

On Mon, Apr 28, 2003 at 11:57:41AM +0900, ?vBXXZcX0-? wrote:

> In case of EAP/MD5, Radius does not negotiation with Sta using MS-MPPE-SEND-KEY & RECV-KEY.. isn't it ?

MS-MPPE-{Send,Recv}-Key attributes are not really used with STA with any
method; they are just used to pass some information (session key) from
the EAP authentication to the Authenticator. Anyway, you are correct in
that those are not send with EAP-MD5 (since it does not generate such
session key).

> how can I use Dynamic WEP with EAP/MD5 authentication without MS-MPPE-SEND/RECV-KEY ? 

Well.. You can't. In order to send a key to STA, AP needs some kind of
shared secret with STA. With IEEE 802.1X this is the session key
provided by some EAP types, like EAP-TLS.

-- 
Jouni Malinen                                            PGP id EFC895FA



From proski  Sun Apr 27 21:20:07 2003
From: proski (Pavel Roskin)
Date: Mon, 28 Apr 2003 00:20:07 -0400 (EDT)
Subject: Genesis mode success
In-Reply-To: <Pine.LNX.4.55.0304272133030.6225@marabou.research.att.com>
References: <Pine.LNX.4.55.0304272133030.6225@marabou.research.att.com>
Message-ID: <Pine.LNX.4.55.0304280017120.7046@marabou.research.att.com>

On Sun, 27 Apr 2003, Pavel Roskin wrote:

> The bad thing is that the card now identifies itself as BroMax.  Although
> flash 0.5e can dump the CIS using the "-cd" switch, it cannot write it
> back.  Frankly the dump doesn't even look like a valid CIS.  It should be
> possible to convert the output of dump_cis from pcmcia-cs to an S3 file.

The attached script runs dump_cis and converts the output to an S3 file
suitable for flashing on cards with HFA3841.

Yes, my perl is very bad.  Yet the card is as good as it was before :-)

-- 
Regards,
Pavel Roskin
-------------- next part --------------
#!/usr/bin/perl

use strict;
use vars qw(@bytes $address $index);

open(DUMP, "dump_cis -v |");
while (<DUMP>) {
	if (/^\s*$/) {
		next;
	}
	if (/offset 0x.., tuple 0x(..), link 0x(..)/) {
		push (@bytes, $1, $2);
		next;
	}
	if (/^[0-9a-f ]*$/) {
		push (@bytes, split(' '));
		next;
	}
}

push (@bytes, "FF");
push (@bytes, "FF");
push (@bytes, "FF");

$address = 0x003EFE00;
$index = 0;

while (1) {
	my $bstr;
	my $line;
	my $sum;

	my $str_len = $#bytes - $index;
	if ($str_len <= 0) {
		last;
	}

	if ($str_len > 16) {
		$str_len = 16;
	}

	$line = sprintf ("%02X%08X", $str_len + 5, $address);
	for (0 .. $str_len - 1) {
		my $num = hex($bytes[$index]);
		$line = $line . sprintf ("%02X", $num);
		$index = $index + 1;
	}

	my @b = split (/(..)/, $line);
	$sum = 0;
	print "S3";
	foreach (@b) {
		next if (length($_) == 0);
		printf ("%02X", hex($_));
		$sum = $sum + hex($_);
	}

	$sum = (-1 - $sum) & 0xFF;

	printf "%02X\n", $sum;
	$address = $address + $str_len;
}

print "S70500000000FA\n";


From jesper  Sun Apr 27 22:12:28 2003
From: jesper (Jarmie Espuerta)
Date: Mon, 28 Apr 2003 13:12:28 +0800
Subject: web base for hostap
Message-ID: <3EACB83C.2060600@asti.dost.gov.ph>

helo,
one of my colleagues is using a cisco card for its hostap and client... 
and he has this web base for it to track down the strength and quality 
of his radio... what i mean is he can view it through telnet... is there 
a way that i can also view mine? or any suggestions where i can download 
such software in the internet if it is an open source.
thanks.
best regards,
jarmie




From a.boegl  Mon Apr 28 00:24:54 2003
From: a.boegl (=?ISO-8859-1?Q?Alexander_B=F6gl?=)
Date: Mon, 28 Apr 2003 09:24:54 +0200
Subject: Linksys WET11 (---) HostAP
In-Reply-To: <B2FC93133CB3EB4A813CBD19717B1488313149@aruba-server.arubanetworks.com>
References: <B2FC93133CB3EB4A813CBD19717B1488313149@aruba-server.arubanetworks.com>
Message-ID: <3EACD746.5000902@amnet.at>

Hi!

Thank you for your advice!
It seems that the WinUpdate utility needs a loaded driver for the card,
but where can I found that?

alex




Dave Wang schrieb:

>I have some advice for you.
>
>I had been experiencing wet11 crashes as well.  Lucky for us, the wireless card in the wet11 is prism based.  The problem I experienced with the wet11 (wet11 firmware 1.4.3) was that if I generated lots of upstream traffic (ie webserving behind wet11 bridged from Ethernet to wireless), it would crash in 3 seconds.  Downstream traffic, however, was fine.
>
>You have to void your warranty by taking the prism card out of the wet11 and then update the firmware on the prism card with the following utilities:
>
>http://www.red-bean.com/~proski/firmware/  (use firmware 1.5.6) http://wiw.org/~craig/WinUpdate-0-7-0.exe
>
>The original card firmware is sta:1.3.2 and pri:1.0.something.  Back those up.  
>It's been really stable for me so far.  I've only tested with 64bit wep.
>
>-dave
>dave at davidwang dot com
>
>-----Original Message-----
>From: Alexander B?gl [mailto:a.boegl at amnet.at] 
>Sent: Friday, April 25, 2003 1:30 AM
>To: hostap at shmoo.com
>Subject: Linksys WET11 (---) HostAP
>
>Hi!
>
>Im using 3 WET11 Ethernet Bridges with a Debian /Hostap 0.0.1 based AP, 
>which works fine for a couple of days,
>but then one by one, the WET11s crashes. I use the lastest(1.4.3)  
>firmware on the WET11s.
>
>Does somebody have any advice for me?
>
>
>Alex
>
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>  
>






From a.boegl  Mon Apr 28 00:49:31 2003
From: a.boegl (=?ISO-8859-1?Q?Alexander_B=F6gl?=)
Date: Mon, 28 Apr 2003 09:49:31 +0200
Subject: Linksys WET11 (---) HostAP
In-Reply-To: <3EACD746.5000902@amnet.at>
References: <B2FC93133CB3EB4A813CBD19717B1488313149@aruba-server.arubanetworks.com> <3EACD746.5000902@amnet.at>
Message-ID: <3EACDD0B.2050002@amnet.at>

Hi again!

I found the Tekram PCF200 Card Driver which worked perfectly with the
embedded card.





Alexander B?gl schrieb:

> Hi!
>
> Thank you for your advice!
> It seems that the WinUpdate utility needs a loaded driver for the card,
> but where can I found that?
>
> alex
>
>
>
>
> Dave Wang schrieb:
>
>> I have some advice for you.
>>
>> I had been experiencing wet11 crashes as well.  Lucky for us, the 
>> wireless card in the wet11 is prism based.  The problem I experienced 
>> with the wet11 (wet11 firmware 1.4.3) was that if I generated lots of 
>> upstream traffic (ie webserving behind wet11 bridged from Ethernet to 
>> wireless), it would crash in 3 seconds.  Downstream traffic, however, 
>> was fine.
>>
>> You have to void your warranty by taking the prism card out of the 
>> wet11 and then update the firmware on the prism card with the 
>> following utilities:
>>
>> http://www.red-bean.com/~proski/firmware/  (use firmware 1.5.6) 
>> http://wiw.org/~craig/WinUpdate-0-7-0.exe
>>
>> The original card firmware is sta:1.3.2 and pri:1.0.something.  Back 
>> those up.  It's been really stable for me so far.  I've only tested 
>> with 64bit wep.
>>
>> -dave
>> dave at davidwang dot com
>>
>> -----Original Message-----
>> From: Alexander B?gl [mailto:a.boegl at amnet.at] Sent: Friday, April 
>> 25, 2003 1:30 AM
>> To: hostap at shmoo.com
>> Subject: Linksys WET11 (---) HostAP
>>
>> Hi!
>>
>> Im using 3 WET11 Ethernet Bridges with a Debian /Hostap 0.0.1 based 
>> AP, which works fine for a couple of days,
>> but then one by one, the WET11s crashes. I use the lastest(1.4.3)  
>> firmware on the WET11s.
>>
>> Does somebody have any advice for me?
>>
>>
>> Alex
>>
>>
>> _______________________________________________
>> HostAP mailing list
>> HostAP at shmoo.com
>> http://lists.shmoo.com/mailman/listinfo/hostap
>> _______________________________________________
>> HostAP mailing list
>> HostAP at shmoo.com
>> http://lists.shmoo.com/mailman/listinfo/hostap
>>  
>>
>
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap






From imp  Mon Apr 28 01:15:32 2003
From: imp (=?utf-7?B?K3ZCWFhaY1gwLQ==?=)
Date: Mon, 28 Apr 2003 17:15:32 +0900
Subject: Dynamic WEP Question
Message-ID: <HIEILNBGFIFLDLBJCOLAGEEBCIAA.imp@airlinktek.com>

Dear Jouni..

Thanks for your reply... 

Yes, It is not standard for EAP/MD5... but, are there any way to cheat STA in hostap to send Dynamic WEP key ??

for example, If we can generate MS-MPPE-SEND/RECV-KEY in hostapd then we can send it to STA isn't it ?

Thanks..




From hazard  Mon Apr 28 01:56:05 2003
From: hazard (Vladimir Ivaschenko)
Date: Mon, 28 Apr 2003 11:56:05 +0300
Subject: MIB for Intersils Prism2/2.5
In-Reply-To: <20030428021108.30173.qmail@indiainfo.com>
References: <20030428021108.30173.qmail@indiainfo.com>
Message-ID: <20030428115605.A8519@hzdhome.home.blkseanet.ru>

Note that WISP-Dist gives some wireless extensions/Prism data via SNMP. I
made it using an awk script which parses various data in /proc and
iwconfig, and is attached to a separate tree in UCD SNMP configuration.

Mon, Apr 28, 2003 at 07:41:08AM +0530 sriram_subramanian  wrote about Re: MIB for Intersils Prism2/2.5

> Thanks Todd.
> Can anyone tell me which would be the best place to start ? Has anyone felt the requirement for the MIB or worked in this direction ?
> Any inputs would really help.
> 
> Thanks,
> Sriram
> 
> ----- Original Message -----
> From: "Todd Hartle" <talltodd at hotmail.com>
> Date: Sun, 27 Apr 2003 00:34:24 +0000
> To: sriram_subramanian at indiainfo.com
> Subject: Re: MIB for Intersils Prism2/2.5
> 
> > I'm not aware of one and have thought similar thoughts about the need for 
> > one. I'm sure people would help out in getting something created.
> > 
> > >From: "sriram_subramanian " <sriram_subramanian at indiainfo.com>
> > >To: hostap at shmoo.com
> > >Subject: MIB for Intersils Prism2/2.5
> > >Date: Sun, 27 Apr 2003 03:26:12 +0530
> > >
> > >Hi,
> > >
> > >Does anyone know if a MIB is available for the Prism 2 chipset? I looked on 
> > >the web but could not get any information. If there isn't one defined, I'm 
> > >willing to work on it...
> > >Please let me know asap.
> > >
> > >Thanks,
> > >Sriram Subramanian
> > >Graduate Student
> > >Information Networking Institute
> > >Carnegie Mellon University
> > >--
> > >______________________________________________
> > >http://www.indiainfo.com
> > >Now with POP3/SMTP access for only US$14.95/yr
> > >
> > >Powered by Outblaze
> > >_______________________________________________
> > >HostAP mailing list
> > >HostAP at shmoo.com
> > >http://lists.shmoo.com/mailman/listinfo/hostap
> > 
> > 
> > _________________________________________________________________
> > Protect your PC - get McAfee.com VirusScan Online  
> > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> > 
> 
> -- 
> ______________________________________________
> http://www.indiainfo.com
> Now with POP3/SMTP access for only US$14.95/yr
> 
> Powered by Outblaze
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap

-- 
Best Regards
Vladimir Ivaschenko
http://www.hazard.maks.net/



From Jacques.Caron  Mon Apr 28 02:37:48 2003
From: Jacques.Caron (Jacques Caron)
Date: Mon, 28 Apr 2003 11:37:48 +0200
Subject: MIB for Intersils Prism2/2.5
In-Reply-To: <20030428021108.30173.qmail@indiainfo.com>
Message-ID: <5.2.1.1.0.20030428113726.026602e8@pop.mail.yahoo.com>

Hi,

I guess you should start with the 802.11 and the 802.1X MIBs...

Jacques.

At 04:11 28/04/2003, sriram_subramanian wrote:
>Thanks Todd.
>Can anyone tell me which would be the best place to start ? Has anyone 
>felt the requirement for the MIB or worked in this direction ?
>Any inputs would really help.
>
>Thanks,
>Sriram


-- Jacques Caron, IP Sector Technologies
    Join the discussion on public WLAN open global roaming:
    http://lists.ipsector.com/listinfo/openroaming





From Jacques.Caron  Mon Apr 28 02:36:14 2003
From: Jacques.Caron (Jacques Caron)
Date: Mon, 28 Apr 2003 11:36:14 +0200
Subject: Dynamic WEP Question
In-Reply-To: <HIEILNBGFIFLDLBJCOLAGEEBCIAA.imp@airlinktek.com>
Message-ID: <5.2.1.1.0.20030428113158.02346828@pop.mail.yahoo.com>

Hi,

At 10:15 28/04/2003, =?utf-7?B?K3ZCWFhaY1gwLQ==?= wrote:
>Yes, It is not standard for EAP/MD5... but, are there any way to cheat STA 
>in hostap to send Dynamic WEP key ??
>
>for example, If we can generate MS-MPPE-SEND/RECV-KEY in hostapd then we 
>can send it to STA isn't it ?

I think you missed something important in the whole dynamic WEP key 
concept... Before you can use it, you need to have a way (the EAP method) 
to compute a secret key that is known only to the client (station) and the 
RADIUS server, which will then send it to the AP in the RADIUS 
MPPE-Send/Recv-Key attributes. If you just make up a key in the RADIUS 
server and send it to the AP, the AP will be able to generate a dynamic WEP 
key, encrypt it with the RADIUS key, and send it to the station, but the 
station will not be able to decrypt it since it does not know the key!

This is one of the reasons why EAP-MD5 is *not* a good choice for WLAN 
authentication: it does not provide any keys, so you cannot do dynamic WEP 
keying. The other problem being that EAP-MD5 is inherently insecure, being 
subject to a bunch of attacks that will reveal the user password.

For WLAN authentication, you should use a better EAP method, such as 
EAP-TLS, EAP-SRP, EAP-SIM, EAP-AKA, or one of the "compound" methods, such 
as EAP-TTLS+EAP-MSCHAPv2 or PEAP+EAP-MSCHAPv2.

Hope that helps,

Jacques.



-- Jacques Caron, IP Sector Technologies
    Join the discussion on public WLAN open global roaming:
    http://lists.ipsector.com/listinfo/openroaming





From neverland11  Mon Apr 28 04:36:13 2003
From: neverland11 (=?iso-8859-1?B?Sm9oYW5uYSBH/GxseQ==?=)
Date: Mon, 28 Apr 2003 13:36:13 +0200
Subject: parameters of stats file
Message-ID: <Sea2-F23IZDyDk0lUR20001fa34@hotmail.com>

Hello everybody,

The following parameters are taken from the stats file of my hostap. Where 
do I get Informations what the single parameters mean?

thanxx a lot for your help!!
hanna

TxUnicastFrames=0
TxMulticastframes=6027
TxFragments=100070
TxUnicastOctets=0
TxMulticastOctets=528968
TxDeferredTransmissions=9409
TxSingleRetryFrames=0
TxMultipleRetryFrames=0
TxRetryLimitExceeded=150
TxDiscards=0
RxUnicastFrames=0
RxMulticastFrames=183868
RxFragments=183868
RxUnicastOctets=0
RxMulticastOctets=12407270
RxFCSErrors=46641
RxDiscardsNoBuffer=0
TxDiscardsWrongSA=0
RxDiscardsWEPUndecryptable=975
RxMessageInMsgFragments=0
RxMessageInBadMsgFragments=0





_________________________________________________________________
Messenger? - ?Wer in Echtzeit kommunizieren will, l?dt den MSN Messenger. 
Cool, kostenlos und mit 3D Emoticons:  http://messenger.msn.at




From a.boegl  Mon Apr 28 00:14:11 2003
From: a.boegl (=?ISO-8859-1?Q?Alexander_B=F6gl?=)
Date: Mon, 28 Apr 2003 09:14:11 +0200
Subject: Linksys WET11 (---) HostAP
In-Reply-To: <B2FC93133CB3EB4A813CBD19717B1488313149@aruba-server.arubanetworks.com>
References: <B2FC93133CB3EB4A813CBD19717B1488313149@aruba-server.arubanetworks.com>
Message-ID: <3EACD4C3.3070102@comteam.at>

Hi!

Thank you for your advice!
It seems that the WinUpdate utility needs a loaded driver for the card, 
but where can I found that?

alex




Dave Wang schrieb:

>I have some advice for you.
>
>I had been experiencing wet11 crashes as well.  Lucky for us, the wireless card in the wet11 is prism based.  The problem I experienced with the wet11 (wet11 firmware 1.4.3) was that if I generated lots of upstream traffic (ie webserving behind wet11 bridged from Ethernet to wireless), it would crash in 3 seconds.  Downstream traffic, however, was fine.
>
>You have to void your warranty by taking the prism card out of the wet11 and then update the firmware on the prism card with the following utilities:
>
>http://www.red-bean.com/~proski/firmware/  (use firmware 1.5.6) http://wiw.org/~craig/WinUpdate-0-7-0.exe
>
>The original card firmware is sta:1.3.2 and pri:1.0.something.  Back those up.  
>It's been really stable for me so far.  I've only tested with 64bit wep.
>
>-dave
>dave at davidwang dot com
>
>-----Original Message-----
>From: Alexander B?gl [mailto:a.boegl at amnet.at] 
>Sent: Friday, April 25, 2003 1:30 AM
>To: hostap at shmoo.com
>Subject: Linksys WET11 (---) HostAP
>
>Hi!
>
>Im using 3 WET11 Ethernet Bridges with a Debian /Hostap 0.0.1 based AP, 
>which works fine for a couple of days,
>but then one by one, the WET11s crashes. I use the lastest(1.4.3)  
>firmware on the WET11s.
>
>Does somebody have any advice for me?
>
>
>Alex
>
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>  
>





From antonio.vilei  Mon Apr 28 09:02:27 2003
From: antonio.vilei (Antonio Vilei)
Date: Mon, 28 Apr 2003 18:02:27 +0200
Subject: rfc 1042 encapsulation  & bridge tunnel
Message-ID: <008201c30d9f$93a43800$151e0a0a@stmantoniov>

I was studying HostAP code. About encapsulation I've found that the driver
adds in tx and strips in rx (file hostap_hw.c):

- nothing at all (if EtherType is less than 0x600 that is it's a length and
not a type)
- bridge_tunnel_header (Bridge-Tunnel header for EtherTypes ETH_P_AARP and
ETH_P_IPX)
- rfc1042_header (Ethernet-II snap header RFC 1042 for other EtherTypes)

Is this a standard behaviour? Where can I found the docs about it (besides
rfc 1042)?

Thanks in advance,
Antonio





From s-ha  Mon Apr 28 14:02:19 2003
From: s-ha (Sungwon Ha)
Date: Mon, 28 Apr 2003 16:02:19 -0500 (CDT)
Subject: Loosing an interface on a client
Message-ID: <Pine.LNX.4.44.0304281601480.20375-100000@chaos.crhc.uiuc.edu>

Hi!

I am having a weird problem on a client side and would like to ask you a 
question. The client (Linux) was successful successfully authenticated using
EAP-TLS and started to have network connectivity. But some time later, the
client loses its interface(ifconfig doesn't show the interface). Any reason 
why my client loses the interface? I know that it is not hostapd access point.
My client is a laptop using 0.0.1 hostapd driver and 2.4.18-3 linux kernel.
Thanks in advance.





From hostap  Mon Apr 28 15:47:09 2003
From: hostap (Santiago Garcia Mantinan)
Date: Tue, 29 Apr 2003 00:47:09 +0200
Subject: wireless bridging over WDS with automatic WDS connections not working
Message-ID: <20030428224709.GA4027@man.beta.es>

Hi!

I have been investigating for a long time in this WDS failure... all I have
discovered is that if I setup a normal (not automatic) WDS link then
everything works ok and the message:

handle_ap_item - addr3(BSSID)=00:50:c2:10:92:6a not own MAC

is not longer shown with everything working ok.

I've tried again to do the setup with automatic WDS and failed again a lot
of times, I could only get it once working but it was after a lot of
instructions so I really don't know how did I get it working that time, I
was wondering does the order of the instructions have something to say here?
Maybe timing also makes some differences? is there any known bug?

Please help, I'm desperate on this.

Regards...
-- 
Manty/BestiaTester -> http://manty.net



From gallir  Mon Apr 28 15:57:01 2003
From: gallir (Ricardo Galli)
Date: Tue, 29 Apr 2003 00:57:01 +0200
Subject: wireless bridging over WDS with automatic WDS connections not working
In-Reply-To: <20030428224709.GA4027@man.beta.es>
References: <20030428224709.GA4027@man.beta.es>
Message-ID: <200304290057.01932.gallir@uib.es>

On Tuesday 29 April 2003 00:47, Santiago Garcia Mantinan shaped the 
electrons to shout:
> Hi!
>
> I have been investigating for a long time in this WDS failure... all I
> have discovered is that if I setup a normal (not automatic) WDS link
> then everything works ok and the message:

I haven't had any problem with bridging among masters (but I did have it 
in repeater mode)

...
> I've tried again to do the setup with automatic WDS and failed again a
> lot of times, I could only get it once working but it was after a lot
> of instructions so I really don't know how did I get it working that
> time, I was wondering does the order of the instructions have something
...

http://bulmalug.net/body.phtml?nIdNoticia=1624 (in Spanish and for Debian)

-- 
  ricardo galli       GPG id C8114D34



From imp  Mon Apr 28 20:19:30 2003
From: imp (=?utf-7?B?K3ZCWFhaY1gwLQ==?=)
Date: Tue, 29 Apr 2003 12:19:30 +0900
Subject: ftp test problem..
Message-ID: <HIEILNBGFIFLDLBJCOLAAEEHCIAA.imp@airlinktek.com>

Dear all...

Today, I test the dos ftp test as a script ... 

Sta (EAP/TTLS with Dynamic Wep)   +ADw--------+AD4- hostap +ADw-------+AD4- FTP Server (Windows 2000)

and I print some information for FTP Get/ FTP Put Speed... 
But, from time to time the FTP Get 0.0 Kbps printed as my test result.. 

Could you ever show this kinds of issue ?? 
I run hostapd as bridge mode.. using br0 ...

Thanks for your attention..

-----------------------FTP Log ---------------------------------------
Date and time      Get Speed/ Put Speed
2003-04-29 11:35:02 427.21 572.18 
2003-04-29 11:35:45 515.04 563.57 
2003-04-29 11:36:25 514.79 544.23 
2003-04-29 11:37:05 514.03 582.38 
2003-04-29 11:37:44 513.28 585.63 
2003-04-29 11:38:22 512.53 569.69 
2003-04-29 11:39:01 372.10 579.77 
2003-04-29 11:39:48 451.97 474.66 
2003-04-29 11:40:18 0.00 492.52 
2003-04-29 11:40:39 0.00 458.63 
2003-04-29 11:41:03 297.49 421.01 
2003-04-29 11:41:31 0.00 442.92 
2003-04-29 11:41:55 0.00 578.49 
2003-04-29 11:42:14 0.00 558.73 
2003-04-29 11:42:33 0.00 549.94 
2003-04-29 11:42:52 0.00 521.71 
2003-04-29 11:43:12 0.00 354.11 
2003-04-29 11:43:42 499.85 574.37 
2003-04-29 11:44:01 536.20 580.09 
2003-04-29 11:44:20 483.46 561.13 
2003-04-29 11:44:40 342.52 533.95 
2003-04-29 11:45:01 377.61 545.65 
2003-04-29 11:45:22 516.48 513.03 
2003-04-29 11:45:43 426.79 491.60 
2003-04-29 11:46:06 433.06 487.01 
2003-04-29 11:46:28 475.66 478.34 
2003-04-29 11:46:51 499.85 576.90 
2003-04-29 11:47:10 433.06 352.20 
2003-04-29 11:47:42 263.08 304.21 
2003-04-29 11:48:21 288.56 260.85 
2003-04-29 11:49:06 0.00 259.95 
2003-04-29 11:49:47 0.00 575.00 
2003-04-29 11:50:06 0.00 538.06 

Thanks.




From antonio.vilei  Tue Apr 29 00:23:36 2003
From: antonio.vilei (Antonio Vilei)
Date: Tue, 29 Apr 2003 09:23:36 +0200
Subject: MIB for Intersils Prism2/2.5
References: <20030426215612.3450.qmail@indiainfo.com>
Message-ID: <006001c30e20$40a05ea0$151e0a0a@stmantoniov>

Most of the MIB is accessible via RIDs in the Prism2 chipset. RID stands for
Resource IDentifier. RIDs also include Prism2 specific stuff.

If you want to read the RIDs, you can compile the tools in the "utils"
directory. Then type:
root# hostap_diag wlan0 -r

for more info about hostap_diag just type:
root# hostap_diag -h

Antonio

----- Original Message -----
From: "sriram_subramanian " <sriram_subramanian at indiainfo.com>
To: <hostap at shmoo.com>
Sent: Saturday, April 26, 2003 11:56 PM
Subject: MIB for Intersils Prism2/2.5


> Hi,
>
> Does anyone know if a MIB is available for the Prism 2 chipset? I looked
on the web but could not get any information. If there isn't one defined,
I'm willing to work on it...
> Please let me know asap.
>
> Thanks,
> Sriram Subramanian
> Graduate Student
> Information Networking Institute
> Carnegie Mellon University
> --
> ______________________________________________
> http://www.indiainfo.com
> Now with POP3/SMTP access for only US$14.95/yr
>
> Powered by Outblaze
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>





From imp  Tue Apr 29 02:48:19 2003
From: imp (=?utf-7?B?K3ZCWFhaY1gwLQ==?=)
Date: Tue, 29 Apr 2003 18:48:19 +0900
Subject: iwconfig rate failed..
Message-ID: <HIEILNBGFIFLDLBJCOLAGEEKCIAA.imp@airlinktek.com>

Dear all

I try to set the AP tx rate as fixed 11M, 5.5, 2, 1 rate..
but, iwconfig wlan0 show always 11M and STA associated hostap box what fixed rate 5.5M show 11M rate status in windows 
network properties..

+AH4- +ACM- iwconfig wlan0 rate 2M
+AH4- +ACM- iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:+ACI-imptest+ACI-  Nickname:+ACI-Anygate Access Point+ACI-
          Mode:Master  Frequency:2.457GHz  Access Point: 00:50:C2:15:20:00  
          Bit Rate+AD0-11Mb/s   Tx-Power+AD0-20 dBm   Sensitivity+AD0-1/3  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:91  Invalid misc:1236   Missed beacon:0

after set fixed 2M iwconfig wlan0 always show 11M rate .. 

Could you giva any comment about it ?
Thanks for your attentions..




From heeyeoly  Mon Apr 28 14:09:28 2003
From: heeyeoly (Yu, Heeyeol)
Date: Mon, 28 Apr 2003 16:09:28 -0500
Subject: Txpower setting for making interference
Message-ID: <002101c30dca$77fa67c0$3e88b383@yuatxp>

Hi HostAP
 
I want to set up Txpower value for making interference.
What I need is packet drop due to interference.
I set up the txpower in iwconfig, but it seems not to work.
What is the min and max  value of that?
 
Further I wonder this txpower is related with firmware version.
When I tried to use linux-wlan-ng driver there is no inteface for that
due to wireless_ext is lower version.
Even though I tried to make code for that option, it doesn't work.
 
Now I am using hostAP which supports txpower interface. Even if there is
code for txpower, it seems not to work.
I used Linksys WPC11.
 
Also I wnat to know which PCMCIA card work for this txpower in hostAP
driver.
 
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030428/745f400f/attachment.htm 


From martin.whitlock  Tue Apr 29 08:19:53 2003
From: martin.whitlock (Martin Whitlock)
Date: Tue, 29 Apr 2003 17:19:53 +0200
Subject: Kernel panic with ap_bridge_packets = 1.
Message-ID: <3EAE9819.8080702@possio.com>

There seems to be a problem in the latest cvs ver when ap_bridge_packets 
are set to 1. If I ping between two WLAN clients I get a null pointer 
kernel panic in the AP. I've located the problem and it seems to be 
caused by an unhandled case when skb is NULL and "stats->rx_bytes +=  
skb->len;" is called. As a bug report I've attached a patch that solves 
the panic, but I don't know where to correctly put the stats function 
without spoiling the statistics.

/Martin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: skb.diff
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030429/621c23aa/attachment.txt 


From new_warpaint  Tue Apr 29 11:19:06 2003
From: new_warpaint (=?euc-kr?q?=B0=E6=C8=A3=20=B1=E8?=)
Date: Wed, 30 Apr 2003 03:19:06 +0900 (JST)
Subject: hostap and compaq wl200 of setting to error
Message-ID: <20030429181906.46199.qmail@web7307.mail.kr.yahoo.com>


hi all
my test system
redhat 7.3(kernel-2.4.18-3).
wlan compaq wl200.
hostap-0.0.1
pcmcia-cs-3.1.31.
##########


I have setting.
my point out mistakes of setting.

1.install the new kernel and reboot.
2.cd /usr/src/hostap-0.0.1
3.edit Makefile
4.KERNEL_PATH=/usr/src/linux-2.4.18-3.
5.run "make pccard"
6.run "make install_pccard"
7.cp -a driver/* /usr/src/pcmcia-cs-3.1.31.
    "cp overwrite '/usr/src/pcmcia-cs-3.1.31/modules/Makefile'? y"
8.cd /usr/src/pcmcia-cs-3.1.31
9.make config
   "make [2]: ***No rule to make target 'clean'. Stop."
   "make[1]: ***[clean] Error 2"
   "make: *** [config] error2"

"cp overwrite '/usr/src/pcmcia-cs-3.1.31/modules/Makefile?"
"y" correct answers?
you are point out mistakes my setting!
pless!

 


---------------------------------
??? ?? ?? ?? - ??! ??
? ?? ??? ??? - ??! ???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030430/14ed5744/attachment.htm 


From awu  Tue Apr 29 12:12:45 2003
From: awu (Alex Wu)
Date: Tue, 29 Apr 2003 12:12:45 -0700
Subject: hostap setup problem
References: <3EAB34B6.9010600@sohoware.com> <3EACA8D6.6080001@users.sourceforge.net>
Message-ID: <3EAECEAD.2080701@sohoware.com>

Hi,

Thanks for your help. Following your suggestions, I did not
see error message as reported last time.
   ioctl(SIOCGIFINDEX): No such device
   ioctl[SIOCGIFFLAGS]: No such device

It now complained a problem while setting ssid at startup.
/ # hostapd /etc/hostapd.conf
Opening raw packet socket for ifindex 11
Using interface wlan0ap with hwaddr 00:02:6f:03:dc:4f and ssid 'test'
ioctl[SIOCSIWESSID]: Invalid argument
len=5
Could not set SSID for kernel driver

I searched the mailing list archive, and found an article
http://hostap.epitest.fi/hostap/2002-06/0761.html
seems to be related, I tried the patch to the device driver,
but it stills complained the same problem.

My board CPU is Intel IXP425, HostAP card is Prism2.

Thanks in advance,
-Alex

Jeff Omick wrote:
> 
> You need to re-compile with the EXTRA_CFLAG option
> in the README.prism2 file.
> 
> Host AP configuration for IEEE 802.1X
> -------------------------------------
> 
> Host AP driver includes and Authenticator implementation in the user
> space daemon. When using this Authenticator, the driver needs to be
> compiled for user space management functionality, i.e., with
> PRISM2_HOSTAPD defined. This is not the default option, so an
> additional configuration is needed. This can be added by editing
> driver/modules/hostap_config.h, or more easily by using EXTRA_CFLAGS
> definition:
> 
> make pccard EXTRA_CFLAGS="-DPRISM2_HOSTAPD"
> 
> After this, the kernel driver should be installed and the kernel
> modules loaded to initialize the wireless LAN card. In addition, the
> user space daemon needs to be build:
> 
> cd hostapd
> make
> 
> Hope this helps
> Jeff
> 
> 
> 
> Alex Wu wrote:
> 
>> Hi,
>>
>> I've compiled and installed the most recent hostap driver
>> for the Prism card on Intel XP425. It seems to start up fine.
>> I do not have iwconfig/iwpriv for the target platform.
>>
>> I have two problems:
>> 1)hostap_diag -b wlan0 complains:
>>   ioctl[PRISM2_IOCTL_READMIF]: Invalid argument
>>
>>   The information returned from hostap_diag is:
>>
>>   # hostap_diag wlan0
>>   Host AP driver diagnostics information for 'wlan0'
>>
>>   NICID: id=0x8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))
>>   PRIID: id=0x0015 v1.1.0
>>   STAID: id=0x001f v1.4.9 (station firmware)
>>
>> 2)I cannot start hostapd, it complains:
>>     ioctl(SIOCGIFINDEX): No such device
>>     ioctl[SIOCGIFFLAGS]: No such device
>>   then exits.
>>
>> What are the solutions?
>>
>> Thanks in advance,
>> -Alex
>>
>>
>>
>>
>> _______________________________________________
>> HostAP mailing list
>> HostAP at shmoo.com
>> http://lists.shmoo.com/mailman/listinfo/hostap
>>
> 
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 
> 






From sachin  Tue Apr 29 12:49:49 2003
From: sachin (Sachin Ganu)
Date: Tue, 29 Apr 2003 15:49:49 -0400 (EDT)
Subject: Txpower setting for making interference
In-Reply-To: <002101c30dca$77fa67c0$3e88b383@yuatxp>
Message-ID: <Pine.GSO.4.05.10304291544080.14688-100000@liman1b>

Hi Heeyeol,

I think for the Linksys Prism card the Tx power settings range from -43dBm
to 20 dBm. I am not sure what a spectrum analyzer actually sees these
values as.(in mW)

HTH

-----------------------------------------------------------
Sachin Ganu
Graduate Research Assistant
WINLAB, Rutgers University
73 Brett Rd, Piscataway NJ 08854

On Mon, 28 Apr 2003, Yu, Heeyeol wrote:

> Hi HostAP
>  
> I want to set up Txpower value for making interference.
> What I need is packet drop due to interference.
> I set up the txpower in iwconfig, but it seems not to work.
> What is the min and max  value of that?
>  
> Further I wonder this txpower is related with firmware version.
> When I tried to use linux-wlan-ng driver there is no inteface for that
> due to wireless_ext is lower version.
> Even though I tried to make code for that option, it doesn't work.
>  
> Now I am using hostAP which supports txpower interface. Even if there is
> code for txpower, it seems not to work.
> I used Linksys WPC11.
>  
> Also I wnat to know which PCMCIA card work for this txpower in hostAP
> driver.
>  
> Best regards
> 




From verdu009  Tue Apr 29 14:24:36 2003
From: verdu009 (verdu009 at cistron.nl)
Date: Tue, 29 Apr 2003 23:24:36 +0200
Subject: Hostap-0.0.1  Install problems debian woody 2.4.18tsc
Message-ID: <001901c30e95$bcaa01c0$c910a8c0@bureaubak>

hi all,

I installed woody with the standard 2.2.20 kernel and upgraded afterward to 2.4.18(tsc) Image install.
I did a kernel source installation of 2.4.18 as well.
Later on I compiled my 3com 905 into the kernel as well with the wireless extensions.
Nothing exotic i think.

On compilation no errors!

make install_pci however start nagging about;
" Module installation directory not valid: /lib/modules/2.4.18'

So i changed usr/src/~linux/include/linux/versions.h
from #define UTS_RELEASE "2.4.18"
into #define UTS_RELEASE "2.4.18-586tsc"

Make install_pci now perfoms 90 percent of the module install, but exits with

Depmod: Can't open /lib/modules/2.4.18/modules.dep for writing

----- Cause, it doesn't excist -> this needs to be 2.4.18-586tsc as well!

What can i do to change this?
What's going wrong here?


grt.

Evert Verduin
www.Wirelessleiden.nl



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030429/9bbc7f98/attachment.htm 


From lists  Tue Apr 29 16:33:12 2003
From: lists (Chincogan Network Services Lists)
Date: Wed, 30 Apr 2003 09:33:12 +1000
Subject: 1.1.1/1.5.6 Non-Volitile Firmware for DWL-520
In-Reply-To: <20030425135755.2b1a2a7c.lists@chincogan.net.au>
References: <20030421115326.2bd334b7.lists@chincogan.net.au>
	<Pine.LNX.4.44.0304210015570.3967-100000@localhost.localdomain>
	<20030425111053.6efcffab.lists@chincogan.net.au>
	<Pine.LNX.4.55.0304242119270.9028@marabou.research.att.com>
	<20030425121311.181902a5.lists@chincogan.net.au>
	<Pine.LNX.4.55.0304242221550.9866@marabou.research.att.com>
	<20030425135755.2b1a2a7c.lists@chincogan.net.au>
Message-ID: <20030430093312.0ab31b07.lists@chincogan.net.au>

everything worked, using the sf and pk files.

Thanks,
Aaron Daniels
Chincogan Network Services
http://www.chincogan.net.au/

On Fri, 25 Apr 2003 13:57:55 +1000
Chincogan Network Services Lists <lists at chincogan.net.au> wrote:

> I thought I tried them all, but I will give it another go.
> 
> Thanks Heaps!
> Aaron Daniels
> Chincogan Network Services
> http://www.chincogan.net.au/
> 
> On Thu, 24 Apr 2003 22:23:23 -0400 (EDT)
> Pavel Roskin <proski at gnu.org> wrote:
> 
> > On Fri, 25 Apr 2003, Chincogan Network Services Lists wrote:
> > 
> > > Sorry, since you replied to my original post, I assumed that you were
> > > familiar with my situation as I had first described it, but as you are
> > > not I will re-post my original message.
> > 
> > Sorry, I forgot the context.  You need sf010506.hex, not rf010506.hex.
> > 
> > -- 
> > Regards,
> > Pavel Roskin
> > 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 



From jkmaline  Tue Apr 29 18:14:37 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 29 Apr 2003 18:14:37 -0700
Subject: Kernel panic with ap_bridge_packets = 1.
In-Reply-To: <3EAE9819.8080702@possio.com>
References: <3EAE9819.8080702@possio.com>
Message-ID: <20030430011437.GA1602@jm.kir.nu>

On Tue, Apr 29, 2003 at 05:19:53PM +0200, Martin Whitlock wrote:

> There seems to be a problem in the latest cvs ver when ap_bridge_packets 
> are set to 1. If I ping between two WLAN clients I get a null pointer 
> kernel panic in the AP. I've located the problem and it seems to be 
> caused by an unhandled case when skb is NULL and "stats->rx_bytes +=  
> skb->len;" is called.

Thanks! There were actually two bugs in it.. I was using skb that had
already been passed to netif_rx() and in addition, the skb would be zero
in the case you described. Proper fix was to move statistics calculation
to happen before deciding what to do with the received frame.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Tue Apr 29 18:28:58 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 29 Apr 2003 18:28:58 -0700
Subject: hostap setup problem
In-Reply-To: <3EAECEAD.2080701@sohoware.com>
References: <3EAB34B6.9010600@sohoware.com> <3EACA8D6.6080001@users.sourceforge.net> <3EAECEAD.2080701@sohoware.com>
Message-ID: <20030430012858.GC1602@jm.kir.nu>

On Tue, Apr 29, 2003 at 12:12:45PM -0700, Alex Wu wrote:

> It now complained a problem while setting ssid at startup.
> / # hostapd /etc/hostapd.conf
> Opening raw packet socket for ifindex 11
> Using interface wlan0ap with hwaddr 00:02:6f:03:dc:4f and ssid 'test'
> ioctl[SIOCSIWESSID]: Invalid argument

Which kernel version are you using? Did you enable Linux wireless
extensions (do you have /proc/net/wireless)?

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Tue Apr 29 20:50:48 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 29 Apr 2003 20:50:48 -0700
Subject: Loosing an interface on a client
In-Reply-To: <Pine.LNX.4.44.0304281601480.20375-100000@chaos.crhc.uiuc.edu>
References: <Pine.LNX.4.44.0304281601480.20375-100000@chaos.crhc.uiuc.edu>
Message-ID: <20030430035048.GB3999@jm.kir.nu>

On Mon, Apr 28, 2003 at 04:02:19PM -0500, Sungwon Ha wrote:

> EAP-TLS and started to have network connectivity. But some time later, the
> client loses its interface(ifconfig doesn't show the interface). Any reason 
> why my client loses the interface? I know that it is not hostapd access point.
> My client is a laptop using 0.0.1 hostapd driver and 2.4.18-3 linux kernel.

Does 'ifconfig -a' still show the interface? If yes, I would guess that
you are running some additional daemon (like DHCP client) that is
setting the interface down.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Tue Apr 29 20:53:06 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 29 Apr 2003 20:53:06 -0700
Subject: parameters of stats file
In-Reply-To: <Sea2-F23IZDyDk0lUR20001fa34@hotmail.com>
References: <Sea2-F23IZDyDk0lUR20001fa34@hotmail.com>
Message-ID: <20030430035306.GC3999@jm.kir.nu>

On Mon, Apr 28, 2003 at 01:36:13PM +0200, Johanna G?lly wrote:

> The following parameters are taken from the stats file of my hostap. Where 
> do I get Informations what the single parameters mean?

>From the field names.. These should be self-describing.. Few examples:

> TxUnicastFrames=0

number of transmitted unicast frames

> TxMulticastframes=6027

number of transmitted multicast frames

> RxFragments=183868

number of received fragments

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Tue Apr 29 20:59:07 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 29 Apr 2003 20:59:07 -0700
Subject: Non-standard WDS format causes problems with non-WDS packets
In-Reply-To: <20030422002400.GB1884@lily.klfree.net>
References: <20030422002400.GB1884@lily.klfree.net>
Message-ID: <20030430035907.GD3999@jm.kir.nu>

On Tue, Apr 22, 2003 at 02:24:01AM +0200, Milan Krcmar wrote:

> All packets originated from computers connected to the wired side of Edimax
> are sent as stadndard-compliant 4 adress WDS frames (both FromDS and ToDS
> bits set). _But_ packets generated in the Edimax itself (it has a simple
> IP stack, ie you can ping it) are sent as common client packets (no 4th
> address information, only ToDS set). If I register Edimax's MAC as an WDS
> link, the function hostap_rx_frame_wds() recognizes theese packets as having
> non-standard WDS format (only ToDS set and address 2 in list of known WDSs),
> later in hostap_rx_skb() it is processed this way (last 6 bytes of payload
> treated as Ethernet source address).

This should now be fixed in CVS version of Host AP driver. I assume that
3-addr frames from a known WDS device are not really WDS frames. In
addition to this, I added possibility to automatically add WDS links to
this kind of devices in 'AP client' mode. If autom_ap_wds is set and a
WDS frame is received from unknown transmitter, WDS link will be added
automatically.

> I am not sure whether the hostap_rx_frame_wds() can be improved to distinguish
> between non-standard WDS frames and non-WDS frames. (I've read the IEEE 802.11
> only party, I am sure at least Jouni can answer it more easily).  If it can,
> please tell me the difference between them. A second solution would be to
> optionally disable recognition of non-standard WDS frames, could be done as an
> additional bit position in "prism2_param wds_type". I could do it, if you want.

I do not think that non-standard WDS frames can be distinguished from
normal ToDS frames in generic case. However, non-standard WDS format is
needed only in Host AP mode since Managed mode is able to send
standard-compliant WDS frames. In other words, no associated STA should
be sending non-standard WDS frames; hence the fix mentioned above. This
should not even need any additional configuration.

-- 
Jouni Malinen                                            PGP id EFC895FA



From lists  Tue Apr 29 21:20:07 2003
From: lists (Chincogan Network Services Lists)
Date: Wed, 30 Apr 2003 14:20:07 +1000
Subject: Hostap 0.0.2 ?
Message-ID: <20030430142007.58383d14.lists@chincogan.net.au>

Jouni,
I am currently running hostap 2002-10-12 and it is running fine. I am looking to upgrade to a 0.0.? release soon in a production environment.

I saw a message fly past the other week that 0.0.2 would be 0.0.1 with some bug fixes. What is the timetable for this release.

Thanks,
Aaron Daniels
Chincogan Network Services
http://www.chincogan.net.au/



From jkmaline  Tue Apr 29 21:35:53 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 29 Apr 2003 21:35:53 -0700
Subject: Hostap 0.0.2 ?
In-Reply-To: <20030430142007.58383d14.lists@chincogan.net.au>
References: <20030430142007.58383d14.lists@chincogan.net.au>
Message-ID: <20030430043553.GA4389@jm.kir.nu>

On Wed, Apr 30, 2003 at 02:20:07PM +1000, Chincogan Network Services Lists wrote:

> I am currently running hostap 2002-10-12 and it is running fine. I am looking to upgrade to a 0.0.? release soon in a production environment.
> 
> I saw a message fly past the other week that 0.0.2 would be 0.0.1 with some bug fixes. What is the timetable for this release.

I try not to keep any strict timetables for driver releases (enough
deadlines in other projects anyway ;-), but I hope to get 0.0.2 out
relatively soon. In fact, current CVS snapshot would be more or less OK
as v0.0.2. I wanted to wait at least couple of days after the changes I
did last weekend to allow some more testing for them. In other words,
the more positive testing reports of the current CVS version I hear, the
faster the next release is going to happen..

-- 
Jouni Malinen                                            PGP id EFC895FA



From unlisted  Tue Apr 29 22:14:35 2003
From: unlisted (unlisted)
Date: 30 Apr 2003 00:14:35 -0500
Subject: Hostap-0.0.1  Install problems debian woody 2.4.18tsc
In-Reply-To: <001901c30e95$bcaa01c0$c910a8c0@bureaubak>
References: <001901c30e95$bcaa01c0$c910a8c0@bureaubak>
Message-ID: <1051679677.10450.31.camel@deuteronomy>

On Tue, 2003-04-29 at 16:24, verdu009 at cistron.nl wrote:
> I installed woody with the standard 2.2.20 kernel and upgraded afterward to 2.4.18(tsc) Image install.
> I did a kernel source installation of 2.4.18 as well.
> Later on I compiled my 3com 905 into the kernel as well with the wireless extensions.
> Nothing exotic i think.

what "kernel source" package did you install?  i assume
"kernel-source-2.4.18"?  i believe you just need the kernel-headers
package that corresponds to your installed kernel-image package, not the
entire kernel-source, if all you want to do is build kernel modules
against the current kernel image.  the kernel-headers package for the
kernel you mentioned is kernel-headers-2.4.18-586tsc.

once you install the headers you'll need to move/copy/link them to where
build scripts will expect them to be.

ln -s kernel-headers-2.4.18-586tsc /usr/src/linux

should you actually need both the kernel source and the kernel headers
specific to your kernel image, then you'll need to install and merge
both.

(disclaimer: this is from memory and from looking at the packages
installed on my debian system.)

apt-get install kernel-image-2.4.18-586tsc \
	kernel-source-2.4.18 \
	kernel-headers-2.4.18-586tsc
tar -xvvjf /usr/src/kernel-source-2.4.18.tar.bz2 -C /usr/src
ln -s kernel-source-2.4.18 /usr/src/linux
mv /usr/src/linux/include /usr/src/linux/include~
cp -pv /usr/src/kernel-headers-2.4.18-586tsc/* /usr/src/linux/

this should give you the exact kernel source used to compile the
kernel-image-2.4.18-586tsc package.

see if this gets you back on track.  anybody correct me if you see a
mistake.  anymore i just use the kernel-source and kernel-headers
packages to get me a working source install (hopefully with the
legendary debian quality), from which i do a make-kpkg to create/compile
my own kernel-image packages.  the only kernel-image packages that i
install from debian are the boot-floppy images, which make good rescue
images as just about everything is compiled into the kernel and it's
pretty generic (hey, it's what debian uses to try to install debian to
every x86 hardware configuration available).  but i use to do what you
are doing, so my memory may be a little rusty.

anyways...
-- 

PLEASE REQUEST PERMISSION TO REDISTRIBUTE
   AUTHOR'S COMMENTS OR EMAIL ADDRESS.




From proski  Tue Apr 29 22:57:13 2003
From: proski (Pavel Roskin)
Date: Wed, 30 Apr 2003 01:57:13 -0400 (EDT)
Subject: Hostap 0.0.2 ?
In-Reply-To: <20030430043553.GA4389@jm.kir.nu>
Message-ID: <Pine.LNX.4.44.0304300114130.4829-200000@localhost.localdomain>

On Tue, 29 Apr 2003, Jouni Malinen wrote:

> I try not to keep any strict timetables for driver releases (enough
> deadlines in other projects anyway ;-), but I hope to get 0.0.2 out
> relatively soon. In fact, current CVS snapshot would be more or less OK
> as v0.0.2. I wanted to wait at least couple of days after the changes I
> did last weekend to allow some more testing for them. In other words,
> the more positive testing reports of the current CVS version I hear, the
> faster the next release is going to happen..

The CVS driver is working for me (hostap_cs and hostap_plx).  Scanning is
OK, by the way.  But I'd like to fix some parts that I touched after 0.0.1
release.

hostap.conf is not installed on systems with 2.5.x kernels.  The solution 
is to create a separate target install_conf and share it between 
install_2.5 and install_pccard.

While at that, I have also fixed all cases of calling "make" in makefiles,
replacing them with $(MAKE).  The reasons are explained in the GNU make
manual ("info make").

PRISM2_NON_VOLATILE_DOWNLOAD should be made more visible.  Either it 
should be enabled when PRISM2_DOWNLOAD_SUPPORT is enabled, or should 
appear in driver/modules/hostap_config.h.

There has been a report of the secondary firmware being killed, and the
person who reported it didn't know whether prism2_srec was current of not.

Either we should bump the number for PRISM2_IOCTL_DOWNLOAD, or there 
should be a warning next to the PRISM2_NON_VOLATILE_DOWNLOAD option.  The 
attached patch implements the later approach.

Minor stuff not in the patch, just in case you are not aware.  I can 
provide more information if you consider the issue serious.

Changing mode from Ad-Hoc to Master doesn't enable beacons on 1.5.6 
firmware.  The card pretends to be in the Master mode, but it's not 
sending any beacons.  Calling local->func->reset_port(dev) twice instead 
of once in prism2_ioctl_siwmode() fixes the problem, but I'm not sure it's 
the right approach.

Useless information like "Link Quality" is displayed by iwconfig in the
Master mode.  Maybe it's better not to confuse users by "Link Quality"  
being zero.  But it may be hard to disable printing quality without
suppressing the rest of the data returned by hostap_get_wireless_stats().

-- 
Regards,
Pavel Roskin
-------------- next part --------------
--- Makefile
+++ Makefile
@@ -110,8 +110,8 @@
 		echo "*** Can't build for 2.5 with a non-2.5 source!"; \
 		exit 1; \
 	fi
-	make -C $(KERNEL_PATH) SUBDIRS=$(PWD)/driver/modules modules
-	make 2.5_install_info
+	$(MAKE) -C $(KERNEL_PATH) SUBDIRS=$(PWD)/driver/modules modules
+	$(MAKE) 2.5_install_info
 
 pccard:	$(MSRC)/$(MODULE_CS) hostap crypt install_info
 plx:	$(MSRC)/$(MODULE_PLX) hostap crypt install_info
@@ -168,8 +168,8 @@
 		exit 1; \
 	fi
 
-install_2.5:
-	make install_check
+install_2.5: install_conf
+	$(MAKE) install_check
 	@echo "*** Copying modules to: $(MODPATH)/kernel/drivers/net/wireless"
 	mkdir -p $(MODPATH)/kernel/drivers/net/wireless
 	cp $(MSRC)/*.ko $(MODPATH)/kernel/drivers/net/wireless
@@ -190,13 +190,15 @@
 	mkdir -p $(MODPATH_PCI)
 	cp -f $(MSRC)/hostap_crypt*.o $(MODPATH_PCI)
 
-install_pccard: install_check install_crypt install_hostap
+install_pccard: install_check install_crypt install_hostap install_conf
 	@echo "Installing $(MODULE_CS) to $(MODPATH_CS)"
 	mkdir -p $(MODPATH_CS)
 	cp -f $(MSRC)/$(MODULE_CS) $(MODPATH_CS)
 ifndef DESTDIR
 	/sbin/depmod -ae
 endif
+
+install_conf:
 	@if [ ! -r $(DESTDIR)/etc/pcmcia/hostap_cs.conf ]; then \
 		echo "Installing $(DESTDIR)/etc/pcmcia/hostap_cs.conf"; \
 		cp -f driver/etc/hostap_cs.conf $(DESTDIR)/etc/pcmcia/hostap_cs.conf; \
--- driver/modules/hostap_config.h
+++ driver/modules/hostap_config.h
@@ -44,6 +44,12 @@
 /* Include code for downloading firmware images. */
 /* #define PRISM2_DOWNLOAD_SUPPORT */
 
+/* Allow writing firmware images into flash.  Before you enable this option,
+ * you should make absolutely sure that you are using prism2_srec utility
+ * that comes with THIS version of the driver!  Search and remove all old
+ * versions of prism2_srec NOW - they will damage your card. */
+/* #define PRISM2_NON_VOLATILE_DOWNLOAD */
+
 /* Allow kernel configuration to enable download support. */
 #if !defined(PRISM2_DOWNLOAD_SUPPORT) && defined(CONFIG_HOSTAP_FIRMWARE)
 #define PRISM2_DOWNLOAD_SUPPORT


From dshenoy  Tue Apr 29 23:53:38 2003
From: dshenoy (Dinesh S Shenoy)
Date: Wed, 30 Apr 2003 01:53:38 -0500 (CDT)
Subject: finding details about connected hosts?
Message-ID: <Pine.GSO.4.10.10304300149530.22157-100000@cook.cs.uno.edu>

Hi 
I was wondering how do I find out details about mobile hosts connected to
a machine running hostap. I mean is there a way I can figure out details
like the MAC addresses, time of connection, signal strength etc. of hosts
connected to the computer running hostap

Thanks in advance
Dinesh




From jeetendra  Wed Apr 30 00:27:48 2003
From: jeetendra (Jeetendra Kumar)
Date: Wed, 30 Apr 2003 12:57:48 +0530
Subject: hostap and compaq wl200 of setting to error
References: <20030429181906.46199.qmail@web7307.mail.kr.yahoo.com>
Message-ID: <3EAF7AF4.9000103@alumnux.com>

hi,
you should not overwrite the '/usr/src/pcmcia-cs-3.1.31/modules/Makefile'
you need to modify the '/usr/src/pcmcia-cs-3.1.31/modules/Makefile', to
include the content from
'/usr/src/hostap-0.0.1/driver/modules/Makefile'.

jeetendra

?? ? wrote:

> hi all
> my test system
> redhat 7.3(kernel-2.4.18-3).
> wlan compaq wl200.
> hostap-0.0.1
> pcmcia-cs-3.1.31.
> ##########
>
>
> I have setting.
> my point out mistakes of setting.
>
> 1.install the new kernel and reboot.
> 2.cd /usr/src/hostap-0.0.1
> 3.edit Makefile
> 4.KERNEL_PATH=/usr/src/linux-2.4.18-3.
> 5.run "make pccard"
> 6.run "make install_pccard"
> 7.cp -a driver/* /usr/src/pcmcia-cs-3.1.31.
> "cp overwrite '/usr/src/pcmcia-cs-3.1.31/modules/Makefile'? y"
> 8.cd /usr/src/pcmcia-cs-3.1.31
> 9.make config
> "make [2]: ***No rule to make target 'clean'. Stop."
> "make[1]: ***[clean] Error 2"
> "make: *** [config] error2"
>
> "cp overwrite '/usr/src/pcmcia-cs-3.1.31/modules/Makefile?"
> "y" correct answers?
> you are point out mistakes my setting!
> pless!
>
> ------------------------------------------------------------------------
> ??? ?? ?? ?? - ??! ?? <http://kr.photos.yahoo.com>
> ? ?? ??? ??? - ??! ??? <http://autos.yahoo.co.kr/autos> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030430/bd55663b/attachment.htm 


From jeetendra  Wed Apr 30 00:36:31 2003
From: jeetendra (Jeetendra Kumar)
Date: Wed, 30 Apr 2003 13:06:31 +0530
Subject: finding details about connected hosts?
References: <Pine.GSO.4.10.10304300149530.22157-100000@cook.cs.uno.edu>
Message-ID: <3EAF7CFF.3050908@alumnux.com>

Hi Dinesh,
Most of the information you are looking for should be available in 
'/proc/net/wireless' and '/proc/net/hostap'. Also you can refer the 
output of dmesg.

jeetendra

Dinesh S Shenoy wrote:

>Hi 
>I was wondering how do I find out details about mobile hosts connected to
>a machine running hostap. I mean is there a way I can figure out details
>like the MAC addresses, time of connection, signal strength etc. of hosts
>connected to the computer running hostap
>
>Thanks in advance
>Dinesh
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>  
>

-- 
Regards
------------------------------------
    _    Jeetendra Kumar           |
   ?v?   Alumnus Software Limited  |
  /(_)\  Kolkata, India - 700091   |
   ^ ^   http://www.alumnux.com    |
------------------------------------






From swen  Wed Apr 30 02:12:24 2003
From: swen (swen at altern.org)
Date: Wed, 30 Apr 2003 11:12:24 +0200 (CEST)
Subject: DWL-520 Rev.B1 dead
Message-ID: <200304300914.BAA42021@archimedes.shmoo.com>

Hello!
I've do a big mistake, when I have tried to get the famous 1.5.6 firmware to use the stdantad WDS frames, and I flashed my DWL-520.

 Probably with a bad firmware, and now, the card is dead (but led is on).

This is what I have make :

Flashing with Winupdate my DWL-520 Rev.B1 with the file sf010506.hex . And nothing else.

Now the card is dead.

How i'can repair this PCI card?

Anyone can help me ?

Thank!


Swen R?thlisberger

PS:
Sorry for my english



From swen  Wed Apr 30 02:13:59 2003
From: swen (swen at altern.org)
Date: Wed, 30 Apr 2003 11:13:59 +0200 (CEST)
Subject: DWL-520 dead, bad firmware
Message-ID: <200304300916.BAA42051@archimedes.shmoo.com>

Hello!
I've do a big mistake, when I have tried to get the famous 1.5.6 firmware to use the stdantad WDS frames, and I flashed my DWL-520.

 Probably with a bad firmware, and now, the card is dead (but led is on).

This is what I have make :

Flashing with Winupdate my DWL-520 Rev.B1 with the file sf010506.hex . And nothing else.

Now the card is dead.

How i'can repair this PCI card?

Anyone can help me ?

Thank!


Swen R?thlisberger



From imp  Wed Apr 30 03:09:24 2003
From: imp (=?utf-7?B?K3ZCWFhaY1gwLQ==?=)
Date: Wed, 30 Apr 2003 19:09:24 +0900
Subject: Some test failed...
Message-ID: <HIEILNBGFIFLDLBJCOLAAEFCCIAA.imp@airlinktek.com>

Dear all..

I'd like to implement idletimeout which related to RADIUS Session..

So, I make some algorithm using +ACI-/proc/net/hostap/wlan0/STAMAC+ACI- file..
I read above file to check Tx/Rx packet count every 30 secs, while send PING from STA...

and I found jiffies always increase whenever I read the file.. 
but, the rx+AF8-packets, tx+AF8-packets, rx+AF8-bytes, tx+AF8-bytes does not changed for a while...

Could tell me, which code update the file and how open update it ? 
Thanks..







From khoh  Tue Apr 29 21:58:24 2003
From: khoh (khoh at etri.re.kr)
Date: Wed, 30 Apr 2003 13:58:24 +0900
Subject: Is it possible to modify management frames of Prism2 cards?
Message-ID: <8470181DABD5D511B3E700D0B7A8AC4A90052A@cms3>

I made a TKIP crypto module for HostAP driver, and succeeded to send and
receive
encrypted data frames.
WPA or RSN of 802.11i also requires to extend some management frames.
Beacons,
Probe-responses, and Association-requests should have the RSN Information
Element.
The function 'prism2_send_mgmt' of HostAP can generate management frames,
but I
cannot manage the frames generated by the card without any interaction with
the
device driver.

Is there any way to modify the management frames generated by the card?
If it is possible, I think, HostAP driver can be extended to support WPA or
RSN.


TKIP: one of the new encryption algorithms of 802.11i
WPA: Wi-Fi Protected Access
RSN: Robust Security Network


Kyunghee Oh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030430/d030e11f/attachment.htm 


From verdu009  Wed Apr 30 03:53:23 2003
From: verdu009 (verdu009 at cistron.nl)
Date: Wed, 30 Apr 2003 12:53:23 +0200
Subject: Hostap-0.0.1 Install problems debian woody 2.4.18tsc 
Message-ID: <001b01c30f06$b8693970$c910a8c0@bureaubak>

Great! The driver works now,

These tips are very usefull to me and i think also to other people.
I was installing the kernel in the way a did as a habbit,  but in the wrong way!
With the older 2.2.20 kernels and the old hostap driver i never bumped in to this problem and do not know why.

Many thanks to unlisted at pobox.com for his explanation.

regards,



Evert



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030430/26cb6e10/attachment.htm 


From mrcool  Wed Apr 30 06:45:57 2003
From: mrcool (Jerry)
Date: Wed, 30 Apr 2003 08:45:57 -0500
Subject: Orinoco cards not 'seeing' hostap
Message-ID: <001301c30f1e$d3fe4dc0$1d04000a@terraworld.net>

Hello.

I have a hostap box (SuSE 8.0, Hostap CVS 4/30/03, WPC11 pccard, kernel pcmcia, RAM Firmware 1.5.6, hostapd).

The problem im seeing is that Orinoco cards wont "see" the AP to associate to it... I have a nokia card that will see it MOST of the time, it seems if i just iwconfig wlan0, wlan0ap, wlan0sta (to see their settings) it will allow the nokia card to see it to assoc.  after it gets associated, it will stay and work fine.  Although the monitor function that allows you to see APs in range wont necessarily show the hostap that it is associatd to!!  others, yes, but not THIS hostap.  I have another hostap running (not hostapd) on a LRP box that works fine using the 4/25/03 CVS, Orinoco cards assoc fine to it.   and this one did to, until i enabled hostapd.   is there an issue with hostapd sending beacons or something?  is there a setting that im neglecting? what info can i supplyyou with to help figure this out.

Thanks

Jerryf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030430/0c3acdfb/attachment.htm 


From jkmaline  Wed Apr 30 19:59:42 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Apr 2003 19:59:42 -0700
Subject: Orinoco cards not 'seeing' hostap
In-Reply-To: <001301c30f1e$d3fe4dc0$1d04000a@terraworld.net>
References: <001301c30f1e$d3fe4dc0$1d04000a@terraworld.net>
Message-ID: <20030501025942.GB2289@jm.kir.nu>

On Wed, Apr 30, 2003 at 08:45:57AM -0500, Jerry wrote:

> I have a hostap box (SuSE 8.0, Hostap CVS 4/30/03, WPC11 pccard, kernel pcmcia, RAM Firmware 1.5.6, hostapd).

Which version of WPC11?

> The problem im seeing is that Orinoco cards wont "see" the AP to associate to it...

> is there an issue with hostapd sending beacons or something?

I would guess that these could be due to timeout of authentication or
association frames. hostapd does not send beacons; this is left for
firmware (just like ProbeReq handling). However, using hostapd (instead
of kernel driver with 802.11 mgmt code) will increase latency of
authentication and association frames a bit.

Wi-Fi test plan sets the limit for authentication and association to 100
ms. I would be surprised if hostapd would add that much latency.
However, Orinoco card might be configured to use much shorter timeout..

Have you looked into hostapd debug log (set debug=2 and
logger_stdout_level=0 in hostapd.conf)? It should show incoming
authentication frame and after this, whether STA ACKed authentication
frame that hostapd sent. At least the STAs that I have tested, seem to
not ACK authentication frame if they assume that authentication timed
out.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Apr 30 20:03:01 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Apr 2003 20:03:01 -0700
Subject: Some test failed...
In-Reply-To: <HIEILNBGFIFLDLBJCOLAAEFCCIAA.imp@airlinktek.com>
References: <HIEILNBGFIFLDLBJCOLAAEFCCIAA.imp@airlinktek.com>
Message-ID: <20030501030301.GC2289@jm.kir.nu>

On Wed, Apr 30, 2003 at 07:09:24PM +0900, ?vBXXZcX0-? wrote:

> So, I make some algorithm using "/proc/net/hostap/wlan0/STAMAC" file..

> and I found jiffies always increase whenever I read the file.. 
> but, the rx_packets, tx_packets, rx_bytes, tx_bytes does not changed for a while...
> 
> Could tell me, which code update the file and how open update it ? 

This file is dynamically generated when it is read. In addition, the
counters used to generate it are updated for all TX/RX frame. I have
never seen any delay in the statistics and I do not know of any reason
why that would happen. Do you open the file for every read or just seek
to the beginning? I'm not actually sure whether this would change
things, but if you don't close it between reads, you could try doing
this.

-- 
Jouni Malinen                                            PGP id EFC895FA



From Victor.Ciriza  Wed Apr 30 09:35:31 2003
From: Victor.Ciriza (Ciriza, Victor)
Date: Wed, 30 Apr 2003 18:35:31 +0200
Subject: Cisco Aironet client Interop
Message-ID: <B792B80756A1D511B9BD00508BB8CDB20168D5FC@macedoine.grenoble.xrce.xerox.com>

Hi all,

Congratulations for your excellent job. I have 3
boxes running different versions of your driver
and me as admin and users are more than satisfied.

My issue is the following, I try to run these confs:
First conf
--------------------------------------------------------
-iPAQ + PocketPC 2002 + Cisco Aironet 350 client card
Running software version 2.30 released on late march 2003.
This version comes with a certificate management utility
and some software improvements that are meant to provide
support for EAP-TLS auth, older Cisco client versions
didn't come with this. The card runs the latest firmware.

-HostAPd version 0.0.1 (well, the latest) with a Netgear
MA401 wireless NIC installed on a DELL laptop

-FreeRadius 0.8 server (latest snapshost compiled with
latest OPENSSL snapshot for EAP-TLS) runing on a RedHat
7.3 box.
--------------------------------------------------------

Second Conf
--------------------------------------------------------
-Fujitsu tablet running WinXP + Cisco Aironet 350 client
Card latest firmware and drivers.

-HostAPd version 0.0.1 (well, the latest) with a Netgear
MA401 wireless NIC installed on a DELL laptop

-FreeRadius 0.8 server (latest snapshost compiled with
latest OPENSSL snapshot for EAP-TLS) runing on a RedHat
7.3 box.
--------------------------------------------------------

And all this using:
-A W2K based PKI which IS NOT THE ROOT CERTIFICATE Authority
but a sub Authority (we keep the root authority Hard DISK
install in a vault).

THE TARGET:
-First authorization filter through MAC addresses stored in
the radius server.
-Authenticating clients via EAP-TLS through a hostapd based AP
Coupled with the freeradius server.
-All certificates issued by th W2K PKI.

THE ISSUES:

First conf:
-The client is authenticated at MAC level.
-The client Issues the EAP request.
-Hostapd relays the EAP request to the Radius server
-The radius server identifies the client name and
replys with and EAP-session ACK through the HostAP who
correctly sends it back to the client
-The client just doesn't understand and displays an auth
Failure.

Second Conf
-Everything works ... If we don't ask the client to authenticate
the server's Certificate (TLS error 49 at freeradius log)

MY CONCLUSIONS:

First conf:
-I think that the latest Cisco drivers have some interop issues
with HostAPd or with themselves :-) ... That's to say they
are bugged.

Second Conf
-There's an Issue with the way in which Freeradius and Windows XP
communicate with each other for the Radius server certificate
authentication phase of TLS at the client level. It is probably related
with the fact that the issuing PKI is a Sub CA.

-It is not a big problem, but it could be a security problem if someone
could steal the identity of our Radius server and the client couldn't
check the authenticity of the server.
-WEP key (128 bits !!!) dynamic generation works fine. Even in a P-233
running a cleaned up RedHat 7.3 we rarely climb higher than 30% of load
when transmitting at full rate. Hostapd rarely takes 5% of load and the
rest is just system ops which normally do not need Hard disk access 
... We could embed hostapd + system in a flash card ... Ummm :-)

MY QUESTIONS:
-Has anybody tested something like the two conf I mentioned with better
results.
-I am very interested on people running IPAQ PDA clients with Cisco Cards
with the latest version of Cisco drivers and its interoperability with
Freeradius and HostAp, did you have the same problems as me?
-Has anybody get to work the client side server certificate auth in a
win XP client?


Well, I know that some of the questions are more freeradius related
... But I imagine that we can find freeradius users in this DL ;-)

If you need logs, screenshots, etc do not hesitate to ask.

Thanks again to Jouni for his superb work.

------------------------------------------------------
Victor Ciriza
System Support Engineer
Xerox Research Centre For Europe
Computer Network Service
6, Chemin Maupertuis
38240 Meylan

Tel. +00 33 (0)476615003
Fax.+00 33 (0)476615099
----------------------------------------------------








