LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Error setting monitor mode(ipw2200-1.0.9+/kernel 2.6.14+) (https://www.linuxquestions.org/questions/linux-wireless-networking-41/error-setting-monitor-mode-ipw2200-1-0-9-kernel-2-6-14-a-415076/)

metabaron 02-13-2006 05:45 PM

Error setting monitor mode(ipw2200-1.0.9+/kernel 2.6.14+)
 
Hi
I'm trying to setup wpa AND monitor mode on a 2200BG card with a compiled 2.6.14.7 or 2.6.15.4 kernel.
There is no problem when setting WPA with wpa_supplicant but i have the following error when trying monitor mode:

Code:

# iwconfig eth2 mode monitor
Error for wireless request "Set Mode" (8B06) :
    SET failed on device eth2 ; Invalid argument.

I can have both running with the linux-2.6.11-13mdk kernel package. I have also tried compiled kernels 2.6.11.12, 2.6.12.6 and 2.6.13.5 with no problem , but i'd like at least a 2.6.14 kernel.
Seems that from kernel 2.6.13 to 2.6.14, there is a new option : CONFIG_IPW2100_MONITOR that "Enables promiscuous/monitor mode support for the ipw2100 driver", but cant find the same for ipw2200 driver. Seems that there is an error in kernel configuration, as ipw2200 is not included in "Wireless LAN drivers (non-hamradio) & Wireless Extensions" where it should be ...

Any help please? Or could an1 at least confirm that it's possible to have both with a 2.6.14+ kernel so i'll keep trying. Or as it seems to be a kernel config problem, maybe I should ask there.

Hardware: Amilo M1425/2200BG
Distro: mandrake linux 10.2
kernel: 2.6.14.7 or 2.6.15.4 compiled with ipw2200/ieee80211 as modules
Drivers tested:
firmware-ipw2200-fw-2.4
ieee80211-1.1.9/ieee80211-1.1.11
ipw2200-1.0.9/ipw2200-1.0.10
wireless_tools.28.pre13
wpa_supplicant-0.4.8

[Edit]
OK, known problem, see http://seclists.org/lists/linux-kern.../Jan/1665.html
(add CONFIG_IPW2200_MONITOR=y to kernel's .config)
[Edit]

-=Graz=- 02-17-2006 11:30 PM

Hey dude,

When upgrading to kernel 2.6.15 i encountered the same problem as you.
I have since resolved by:

Compile 2.6.15 or .14 kernel again
my 2.6.15 kernel config includes IPW2200 and IPW2100 in the .config It also includes the generic IEEE802.11 stack.
Firstly, DO NOT include the IPW2200 driver that came with your kernel when you compile. LEave it out completely. Just 'enable' wireless network support and you also include the IEEE802 stack. The driver that comes with the kernel does not seem to support rfmon properly in all enviroments - i think it has to do with installing the correct firmware for the version included

after compiling the kernel (with NO ipw2200 support)
* You may need to remove any old versions of ipw2200 first.
* Install ipw2200 driver (#make / #make install)
* Install the firmware version that suits the driver you installed.

Now try iwconfig eth1 mode monitor again.

kernel 2.6.15 (ipw2200 not used)
IPW2200-1.0.8 Driver
IPW2200-fw-2.4 Firmware version
Generic 802.11 stack (included with kernel)

FOr me this works fine in monitor..

mcbosher 07-08-2007 08:18 PM

please can you tell me how to come out of monitor mode?
 
I cant get my wireless to connect to anything as its still in monitor mode and i think it boots that way too...

many thanks for any help


All times are GMT -5. The time now is 06:25 AM.