You are not logged in.

#1 2006-01-03 18:22:14

honzor
Member
Registered: 2005-12-18
Posts: 42

Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

Hi,

i cant get the ipw2200 into Monitor mode,

iwconfig eth1 mode monitor

outputs

Error for wireless request "Set Mode" (8B06) :
     SET failed on device eth1 ; Invalid argument.

does anyone have a hint?

Offline

#2 2006-01-04 21:20:22

honzor
Member
Registered: 2005-12-18
Posts: 42

Re: Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

Uff nobody seems to have a solution? Btw, modinfo ipw2100 is stating that there is a module parameter which lets the wifi device start in a certain mode, in the ipw2100 there are 3 modes (managed, ad hoc, monitor), while modinfo ipw2200 is giving the same parameter with just 2 modes... is there anyway to disable the compiled-in ipw2200 module so i can try to build it myself?

Offline

#3 2006-01-04 22:33:30

Michiel
Member
From: Westkapelle, Zeeland, NL
Registered: 2005-02-13
Posts: 34
Website

Re: Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

It seems the ipw2200 monitor mode isn't build with this kernel..  sad
You could try to recompile the kernel with CONFIG_IPW_MONITOR=y, but i think it's a bit 'overkill' to recompile a kernel for such a small change...
If you just build the ipw2200 module your own, and overwrite the kernel's one, it will work I guess..

It would be nice if they will include the ipw2200 monitor mode in the next release of arch kernel26 package


All you got to do, is tell the story right...

Offline

#4 2006-01-04 23:16:17

honzor
Member
Registered: 2005-12-18
Posts: 42

Re: Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

yup rebulding the kernel only for that would be definitely overkill big_smile yes that would be nice, cant understand whats the reason they disabled it... probably its disabled by default and they just didnt notice that...

Offline

#5 2006-01-05 04:39:47

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

Are you sure there's a CONFIG_IPW_MONITOR setting in 2.6.15?  I couldn't find it.

[root@earth linux-2.6.15]# grep IPW .config
CONFIG_IPW2100=m
CONFIG_IPW2100_MONITOR=y
# CONFIG_IPW_DEBUG is not set
CONFIG_IPW2200=m
CONFIG_USB_SERIAL_IPW=m

Offline

#6 2006-01-05 09:30:08

honzor
Member
Registered: 2005-12-18
Posts: 42

Re: Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

dunno, just know that i cant set the device to monitor mode while others can with the ipw2200 driver... you think it would work if i create a pkgbuild for the driver and then install it over the old module?

Offline

#7 2006-01-05 11:42:46

Michiel
Member
From: Westkapelle, Zeeland, NL
Registered: 2005-02-13
Posts: 34
Website

Re: Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

apeiro wrote:

Are you sure there's a CONFIG_IPW_MONITOR setting in 2.6.15?  I couldn't find it.

I couldn't find it either in the config file, but google told me that was _teh_ option  smile


All you got to do, is tell the story right...

Offline

#8 2006-01-06 09:50:33

Michiel
Member
From: Westkapelle, Zeeland, NL
Registered: 2005-02-13
Posts: 34
Website

Re: Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

I just checked it, the option isn't in the `make config` of 2.6.15, but if you look in drivers/net/wireless/ipw2200.c, you can see CONFIG_IPW2200_MONITOR.
So adding that option to the kernel config will work I guess..


All you got to do, is tell the story right...

Offline

#9 2006-01-10 00:23:33

phydeaux
Member
Registered: 2005-06-13
Posts: 68

Re: Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

I found this link on google.. http://lkml.org/lkml/2005/11/12/229


Subject    [PATCH] add missing option in kconfig for ipw2200 monitor mode
From    Kasper Sandberg <>
Date    Sun, 13 Nov 2005 05:16:54 +0100

This patch adds monitor mode option to ipw2200....
signed-off-by: Kasper Sandberg <lkml@metanurb.dk>

diff -Naur linux-2.6.15-rc1-a/drivers/net/wireless/Kconfig linux-2.6.15-rc1-b/drivers/net/wireless/Kconfig
--- linux-2.6.15-rc1-a/drivers/net/wireless/Kconfig    2005-11-13 05:11:39.451031050 +0100
+++ linux-2.6.15-rc1-b/drivers/net/wireless/Kconfig    2005-11-13 05:12:36.834130145 +0100
@@ -217,6 +217,15 @@
           say M here and read <file:Documentation/modules.txt>.  The module
           will be called ipw2200.ko.
 
+config IPW2200_MONITOR
+        bool "Enable promiscuous mode"
+        depends on IPW2200
+        ---help---
+          Enables promiscuous/monitor mode support for the ipw2200 driver.
+          With this feature compiled into the driver, you can switch to
+          promiscuous mode via the Wireless Tool's Monitor mode.  While in this
+          mode, no packets can be sent.
+
 config IPW_DEBUG
     bool "Enable full debugging output in IPW2200 module."
     depends on IPW2200

I'm building a new kernel with this patch now...  It just adds the option to the kconfig so you see it in what ever your favorite kernel configurator is, putting CONFIG_IPW2200_MONITOR=y into your config should enable the support as well.  I'll post back when its done baking and I've tested it.

andy

[update]
New kernel is installed and monitor mode is back.  I have no idea if the kernel devs are going to add this into the kconfig that ships with the vanilla kernel or not. I would assume since the option is there they would include it.  I don't really follow the kernel development so I have no idea what their plans are.
[/update]

Offline

#10 2006-01-19 15:10:04

alex1969
Member
From: Italy
Registered: 2005-09-10
Posts: 17

Re: Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

Have you some problems when you active monitor mode for ipw2200 whireless card?

When i do iwconfig eth1 mode monitor all is ok

but dmesg say:

ipw2200: Firmware error detected.  Restarting.
ipw2200: Sysfs 'error' log captured.
ipw2200: Firmware error detected.  Restarting.
ipw2200: Sysfs 'error' log already exists.
ipw2200: Firmware error detected.  Restarting.
ipw2200: Sysfs 'error' log already exists.
ipw2200: Firmware error detected.  Restarting.
ipw2200: Sysfs 'error' log already exists.
ipw2200: Firmware error detected.  Restarting.
ipw2200: Sysfs 'error' log already exists.
ipw2200: Firmware error detected.  Restarting.

I have rebuild my kernel with CONFIG_IPW2200_MONITOR=y in my config file, and i use firmware 2.4 in the ipw2200 arch pakages....

Some ideas?  :?

Offline

#11 2006-01-20 09:49:40

Michiel
Member
From: Westkapelle, Zeeland, NL
Registered: 2005-02-13
Posts: 34
Website

Re: Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

If I recall corectly, this is fixed in the latest ipw2200 release. This release will probably be included in the next kernel release.


All you got to do, is tell the story right...

Offline

#12 2006-01-20 10:59:30

alex1969
Member
From: Italy
Registered: 2005-09-10
Posts: 17

Re: Monitor mode with ipw2200 on 2.6.15-2 fw 2.4

ok thanks smile

Offline

Board footer

Powered by FluxBB