2 Nov 2003 19:01
2 Nov 2003 19:43
Re: [patch] IWSPY support for ad-hoc mode
Jouni Malinen <jkmaline <at> cc.hut.fi>
2003-11-02 18:43:33 GMT
2003-11-02 18:43:33 GMT
On Fri, Sep 05, 2003 at 01:47:57PM -0700, dannys <at> changind.com wrote: > Below is a patch (based on 0.0.4) that allows for IWSPY support in > ad-hoc mode. It may very well work for all modes or break other > modes. I've only tested it in ad-hoc. But it seems to work decently. Thanks! Well, it breaks stats for other modes.. However, it pushed me to clean up the stats collecting routines so that they are updated just from one place. This patch did not change anything for the STA entry expiration, so it is likely to be incorrect for non-Master modes.. Since Linux 2.4.23 is apparently coming with wireless ext ver16, this patch is likely to be quite shortlived (ver16 implements iwspy in the generic wireless code). Anyway, for completeness sake, I added the SIOCSIWSPY handler for wireless ext <= 15 as a bit cleaned up version this patch. I did not bother fixing the STA entry expiration because this code is going to go away with wireless ext v16. -- -- Jouni Malinen PGP id EFC895FA
2 Nov 2003 22:39
Severe problem during download of Firmware makes PCI card useless
Ingo Hoffmann <ingo <at> hoffmann-augsburg.de>
2003-11-02 21:39:58 GMT
2003-11-02 21:39:58 GMT
I tried to upgrade the firmware of my Prism V2.5 PCI based card (Allnet 191), because the firmware on the card seemed to be rather old. (V 1.3.5). I tried to follow the instruction in Jun Sun's mini howto. (http://linux.junsun.net/intersil-prism/) very closely. After having tried the dry run as suggested (Even if I didn't understand every message of this dry run I saw the OK at the very end, so I thought it was OK.) I ran the real command as you can see from the log and kept fingers crossed a suggested. Unfortunately after having started smoothly the download aborted as can be seen from the attached logs! This was the worst case because afterwards the card was useless. It was not possible to load the driver under Linux and a tried even under W2k and failed as well. So now I have the situation, that I need help to reflash the card, because I can't use it anymore! Can somebody help? I would also be interested whether there is a place where I could send the card to get it reflashed. Diffferent suggetions? Every hint would be greatly appreciated! Regards Ingo # /tmp/hostap-utils-0.1.0/prism2_srec -v wlan0 /tmp/Intersil/1.7.4/pk010101.hex /home/imh/TXT/Firmware/WLAN/Intersil/1.7.4/rf010704.hex S3 CRC-16 generation record: start=0x007E17FE len=2 prog=0 Start address 0x00000000 srec summary for pk010101.hex Component: 0x0015 1.1.1 (primary firmware) Supported platforms:(Continue reading)
3 Nov 2003 00:54
Re: Problem with compiling hostap-driver-0.1.1.tar.gz
Jouni Malinen <jkmaline <at> cc.hut.fi>
2003-11-02 23:54:29 GMT
2003-11-02 23:54:29 GMT
On Sat, Nov 01, 2003 at 12:33:02AM +0100, Ingo Hoffmann wrote:
> I tried to compile hostap-driver-0.1.1.tar.gz on new SuSE 9.0 (kernel
> 2.4.21 with SuSE extensions) and got attached error message.
> The problem is obviously that there is a problem with the HZ macro,
> which has been changed in this kernel version (or in the according SuSE
> changes?).
SuSE has probably changed the HZ definition to be based on configuration
option or something similar and something is not included when compiling
external modules.. Could you tell me where I can download SuSE 2.4.21-99
kernel? I tried to find it from a mirror of SuSE ftp site, but it was
nowhere to be found (well, maybe in an ISO image or something, but I'm
not going to download 650 MB to get a look at one header file).
> I changed following two lines
>
> static int ap_max_inactivity[MAX_PARM_DEVICES] = { AP_MAX_INACTIVITY /
> HZ,DEF_INTS };
>
> to
>
> static int ap_max_inactivity[MAX_PARM_DEVICES] = { 300, DEF_INTS };
I see nothing wrong in having HZ on that line, so I'm not going to
change that unless someone can show that this is really needed and the
correct fix.
> Here the the result of make pci:
(Continue reading)
3 Nov 2003 01:02
Re: MAC port 0 enabling failed
Jouni Malinen <jkmaline <at> cc.hut.fi>
2003-11-03 00:02:09 GMT
2003-11-03 00:02:09 GMT
On Tue, Oct 28, 2003 at 02:09:25PM +0100, Thomas Schreiner wrote: > I encountered a strange problem while setting up my Senao SL-2011CD PCMCIA card (Prism 2.5) with hostap-0.0.4. Could you please first try whether you get the same errors when using the latest driver release (0.1.1 or current CVS snapshot)? > hostap_cs: index 0x01: Vcc 3.3, irq 3, io 0x0180-0x01bf > wlan0: hfa384x_cmd: entry still in list? (entry=c6be58b0, type=0, res=0) > wlan0: hfa384x_cmd: command was not completed (res=0, entry=c6be58b0, type=0, cmd=0x0021, param0=0xfd0b, EVSTAT=8010 INTEN=0010) > wlan0: interrupt delivery does not seem to work This is usually caused by incorrect pcmcia-cs configuration, but if I understood correctly, you can use the same card in the same host with orinoco_cs driver. Do you get the same irq and io ports assigned in that case? Do you see irq 3 counter increasing in /proc/interrupts when Host AP driver is initializing the card? -- -- Jouni Malinen PGP id EFC895FA
3 Nov 2003 01:18
Re: Problem with compiling hostap-driver-0.1.1.tar.gz
Ingo Hoffmann <ingo <at> hoffmann-augsburg.de>
2003-11-03 00:18:41 GMT
2003-11-03 00:18:41 GMT
Jouni Malinen schrieb: >On Sat, Nov 01, 2003 at 12:33:02AM +0100, Ingo Hoffmann wrote: > > > >>I tried to compile hostap-driver-0.1.1.tar.gz on new SuSE 9.0 (kernel >>2.4.21 with SuSE extensions) and got attached error message. >>The problem is obviously that there is a problem with the HZ macro, >>which has been changed in this kernel version (or in the according SuSE >>changes?). >> >> > >SuSE has probably changed the HZ definition to be based on configuration >option or something similar and something is not included when compiling >external modules.. Could you tell me where I can download SuSE 2.4.21-99 >kernel? I tried to find it from a mirror of SuSE ftp site, but it was >nowhere to be found (well, maybe in an ISO image or something, but I'm >not going to download 650 MB to get a look at one header file). > I don't know whether and where the SuSE kernel can be downloaded! But of course I can send you parts of the kernel or the entire kernel, but then we are again talking about more than 200 MB. So please tell me what you want to see and I'll send it. Here let me start with /usr/src/linux-2.4.20.SuSE/include/linux/hz.h. But I could also send the entire include tree, it's up to you! > >(Continue reading)
3 Nov 2003 01:25
kismet, hostap, Prism2.5
Auer, Karl James <karl.auer <at> id.ethz.ch>
2003-11-03 00:25:37 GMT
2003-11-03 00:25:37 GMT
Hi there.
I can't get lismet (a wireless sniffer) working with hostap. Kismet aborts with an error message saying
that "Set Frequency" is not supported. I/m running SuSE 8.2, kernel 2.4.20, hostap 0.1.1. The PCI
wireless card is reported by hostap as an "Intersil Prism 2.5"; "cat /proc/pci" says "Network
Controller: Harris Semiconductor Prism 2.5 Wavelan chipset (rev 1)".
Kismet does see the carda nd outputs quite a bit of information about the setup, but it can't get past that error.
Any ideas? Should Kismet work with HostAP? The Kismet docs suggest it should, as do a couple of wireless
FAQs, though the latter mention only 2, not 2.5...
Thanks for any help you might be able to offer. If anyone is using hostap and a Prism2.5 card with Kismet, I'd
love to see your working Kismet config files.
Regards, K.
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (karl.auer <at> id.ethz.ch) Geschaeft/work +41- 1-6327531
Kommunikation, ETHZ RZ Privat/home +41-43-2660706
Clausiusstrasse 59 CH-8092 ZUERICH Switzerland Fax +41- 1-6321225
Eidgenoessische Technische Hochschule, Zuerich
> -----Ursprüngliche Nachricht-----
> Von: hostap-bounces+karl.auer=id.ethz.ch <at> shmoo.com
> [mailto:hostap-bounces+karl.auer=id.ethz.ch <at> shmoo.com] Im
> Auftrag von Jouni Malinen
> Gesendet: Montag, 3. November 2003 10:54
> An: hostap <at> shmoo.com
> Betreff: Re: Problem with compiling hostap-driver-0.1.1.tar.gz
(Continue reading)
3 Nov 2003 01:30
Re: kismet, hostap, Prism2.5
Jason Boxman <jasonb <at> edseek.com>
2003-11-03 00:30:53 GMT
2003-11-03 00:30:53 GMT
On Sunday 02 November 2003 19:25, Auer, Karl James wrote: > Hi there. > <snip> > Any ideas? Should Kismet work with HostAP? The Kismet docs suggest it > should, as do a couple of wireless FAQs, though the latter mention only 2, > not 2.5... Whatever version of Kismet I have on my laptop from this Spring works fine. Since it's dual boot I don't have the configuration handy right now. It's worked fine since 2002-10-12 and probably before. You need to run the kismet_hopper so the Prism card will hop channels. As to the error, I don't know. > Thanks for any help you might be able to offer. If anyone is using hostap > and a Prism2.5 card with Kismet, I'd love to see your working Kismet config > files. I don't have any; I just start it (several of its binaries) from the command line. > Regards, K. > > <snip> -- -- Jason Boxman Administrator TrekWeb.COM(Continue reading)
3 Nov 2003 01:37
Re: Severe problem during download of Firmware makes PCI card useless
Jouni Malinen <jkmaline <at> cc.hut.fi>
2003-11-03 00:37:16 GMT
2003-11-03 00:37:16 GMT
On Sun, Nov 02, 2003 at 10:39:58PM +0100, Ingo Hoffmann wrote: > I tried to follow the instruction in Jun Sun's mini howto. > (http://linux.junsun.net/intersil-prism/) very closely. Missed one part about file names (see below).. Unfortunately, prism2_srec also missed verification code for noticing this automatically. I fixed this so that the current CVS version of prism2_srec does not allow this error anymore. > This was the worst case because afterwards the card was useless. It was > not possible to load the driver under Linux and a tried even under W2k > and failed as well. So now I have the situation, that I need help to > reflash the card, because I can't use it anymore! > > Can somebody help? I would also be interested whether there is a place > where I could send the card to get it reflashed. Diffferent suggetions? > Every hint would be greatly appreciated! Current Host AP driver does not allow cards to be flashed if they do not have working PRI f/w. However, this can be fixed and based on a recent email thread, it has already been done, although for a different need (for cards that do not include PRI or STA f/w images at all). I do not think the patch for this has been released (hint to the author: it could be useful for others, too(Continue reading)), so I cannot pinpoint you to it now. I will take a look at what would be needed to change the driver to allow Genesis-mode operations with corrupted PRI f/w (i.e., continue minimal operation mode even if initialization fails).
3 Nov 2003 01:43
AW: kismet, hostap, Prism2.5
Auer, Karl James <karl.auer <at> id.ethz.ch>
2003-11-03 00:43:22 GMT
2003-11-03 00:43:22 GMT
> Whatever version of Kismet I have on my laptop from this > Spring works fine. Since it's dual boot I don't have the > configuration handy right now. It's worked fine since > 2002-10-12 and probably before. You need to run the > kismet_hopper so the Prism card will hop channels. As to the > error, I don't know. Thanks - it's nice to know the combination should probably work. Your mentioning channel-hopping led me to turn off channel hopping (channel_hopping=false in the config file) and lo! Kismet starts. However, the output is less than useful(Continue reading)It ends up saying "didn't detect any networks" and exiting. > I don't have any [Kismet config files]; I just start it > (several of its binaries) from the command line. That would make your version very different to mine; I have no "kismet_hopper" binary, and setting up a config file is an essential step in installing my version. So, since I definitely do have a problem, I guess I need more detail. Does anyone else have a config file for Kismet 3.0.1? Thanks, K. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ Karl Auer (karl.auer <at> id.ethz.ch) Geschaeft/work +41- 1-6327531
), so I cannot pinpoint you to it now.
I will take a look at what would be needed to change the driver to allow
Genesis-mode operations with corrupted PRI f/w (i.e., continue minimal
operation mode even if initialization fails).
It ends up saying "didn't
detect any networks" and exiting.
> I don't have any [Kismet config files]; I just start it
> (several of its binaries) from the command line.
That would make your version very different to mine; I have no
"kismet_hopper" binary, and setting up a config file is an essential
step in installing my version.
So, since I definitely do have a problem, I guess I need more detail.
Does anyone else have a config file for Kismet 3.0.1?
Thanks, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~
Karl Auer (karl.auer <at> id.ethz.ch) Geschaeft/work +41-
1-6327531
RSS Feed