[CUWiN-Dev] Minitor mode with Atheros
Jeongkeun Lee
jklee at mmlab.snu.ac.kr
Sat Feb 3 06:44:10 CST 2007
Hi,
As I'm trying to use one mesh node as a packet sniffer, I have been testing
the monitor mode and resulted in some problem. I'm using cuwin-0.6.0 and the
Atheros driver in the corresponding cuwin-0.6.0 netbsd source.
In ifconfig.backhaul.tmpl, the 'adhoc' media opt was changed to 'monitor' as
follows:
media auto mediaopt adhoc mode 11a
When I reboot the node, I encounter the continuous error messages:
'ath_start: encapsulation failure' and the ath0 interface does not work.
The madwifi wiki site reports that:
(http://madwifi.org/wiki/UserDocs/MonitorModeInterface)
***************************
By default, monitor mode receives packets with prism2 headers prepended on
them. To change this, you must run one of the following:
Only 802.11 headers: echo '801' > /proc/sys/net/ath0/dev_type
Prism2 headers: echo '802' > /proc/sys/net/ath0/dev_type
Radiotap headers: echo '803' > /proc/sys/net/ath0/dev_type
Atheros Descriptors: echo '804' > /proc/sys/net/ath0/dev_type
***************************
I wonder this prism2 header causes the 'encapsulation failure' problem.
If so, how can it be changed..?
I can not find such dev_type file or something similar.
Thank you so mush as always.
-- Jeongkeun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.chambana.net/mailman/archive/cu-wireless-dev/attachments/20070203/494499bc/attachment.html
More information about the CU-Wireless-Dev
mailing list