In case you are interested in capturing the packets of the Ad-Hoc creator , you can create a monitor mode for the joiner of the ad-hoc network. I am not sure this is the right way , but hope it works.
with regards, shafi On Tue, Oct 12, 2010 at 6:21 PM, Mohammad Abdelhadi <moh.ja...@ieee.org> wrote: > Hi, > > I am trying to set my card which operates by ath9k to monitor an adhoc > ieee80211n network. But, when using wireshark, I didn't get all packets > details, data packets appeared to have LLC protocol not TCP, and the ip > addresses didn't appear, I just got the MAC addresses! I did set a static ip > addresses for the adhoc network and I am using iperf to generate TCP > traffic. > > I have attached a screen shot of the output of my Wireshark, and I used the > following commands to set my card into monitor mode: > > sudo ifconfig wlan1 down > sudo iwconfig wlan1 mode monitor > sudo ifconfig wlan1 up > iw phy phy0 interface add moni0 type monitor > iw dev moni0 set freq 2412 HT20 > > Are there more commands to configure my card to get what I want? Any > advices? > > Thank you in advance for your help. > -- > Mohammad > > > _______________________________________________ > ath9k-devel mailing list > ath9k-devel@lists.ath9k.org > https://lists.ath9k.org/mailman/listinfo/ath9k-devel > > _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel