Michael Buesch wrote: > On Sunday 08 July 2007 20:15:24 Ulrich Kunitz wrote: >> On 07-07-08 17:22 Andy Green wrote: >> >>> I rebooted into the new kernel and did this only >>> >>> # iwconfig wlan0 mode monitor >>> # ifconfig wlan0 up >>> # iwconfig wlan0 channel 6 >>> # tcpdump -i wlan0 >>> >>> But all I could see were beacons, this is despite I am ssh-d into that >>> box over the same channel 6 network with WPA and should surely be seeing >>> the encrypted packets? >> I assume you were connected over a different interface. It appears >> that the code, which enables the reception of all packets hasn't >> been called or is wrong. Currently you will see only packets that >> are sent to the interface. Promiscous mode is also interesting, >> but shouldn't have any importance in monitor mode, which the >> iwconfig manual describes as passing all packets on the frequency. That's right, I actually use eth0 on the test box which ends up at an AP in bridge mode, and this laptop is coming in to the test box via the AP (and then eth0). ZD1211 - usb - [test box] -- eth0 -- [AP] -- wireless -- [main laptop] The ZD1211 should definitely be in a place to see the traffic between the main laptop and the eth0 side of the test box since it is also set to ch6, it is only 3 - 4 metres from the AP. I wonder if there is some kind of filtering enabled with the firmware or the hardware, only packets with both the AP MAC and the wlan0 MAC are allowed somehow. And beacons. >>> Then I decided to start wpa_supplicant (this >>> is an FC6 box so it was service wpa_supplicant start) and I got this oops: >>> >>> ... >>> EIP is at zd_mac_config_interface+0xc/0x35 [zd1211rw_mac80211] >>> ... >> I believe Jon Smirl reported the same bug. But I didn't quite >> understand how to provoke it. > > I think it's the NULL pointer dereference of the mac address pointer, > if there's only a monitor interface. The address pointer can be NULL. Right, that is the situation: there is only a single default interface wlan0 and it has been placed into Monitor mode. Then you start wpa_supplicant to provoke the Oops. -Andy - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html