The rtap0 interface can't be brought up with ifconfig rtap0 up. I have tested it in gentoo-sources 2.6.23 and 2.6.22 and it worked. I tested gentoo-sources 2.6.24-rX and didn't have any success. I also tested vanilla-sources 2.6.25-rcX and it does not work.
~ # ifconfig rtap0 up
SIOCSIFFLAGS: Invalid argument
the rtap0 interface exist, it is listed with ifconfig -a
you dont need to bring it up
Can you show me a link that states this? It is not working without being brought up. I tried wireshark. From kernel menuconfig:
Enables the creation of a second interface prefixed 'rtap'.
This second interface will provide every received in radiotap
This is useful for performing wireless network analysis while
maintaining an active association.
% modprobe ipw2200 rtap_iface=1
% ifconfig rtap0 up
% tethereal -i rtap0
I verified the behavior with other people. To use the rtap0 you must activate it. Only then can you capture packets with for example wireshark or airodump-ng.
Sorry for incorrect diagnosis, I think I got confused with something else.
As debugged on IRC, this is another case of an all-zero mac address. Sent a patch upstream.
Fixed in gentoo-sources-2.6.24-r6 / genpatches-2.6.24-7
I am having the same issue again with 2.6.24-r8.
rtap0 is there with "iwconfig" but cannot be brought up with "ifconfig rtap0 up".
Didn't the patch make it into 2.6.24-r8?