Wireshark-users: [Wireshark-users] switching WLAN channel from Windows command line
From: "Sreenivasulu Yellamaraju" <Sreenivasulu.Yellamaraju@xxxxxxx>
Date: Wed, 29 Dec 2010 18:19:09 +0530

Hi,

 

I want to write a Windows shell script to capture WLAN packets using tshark on multiple channels but one channel at a time.

 

I have the following sniffer setup:

 

WireShark  version 1.2.9 (SVN Rev 33171)

 winpcap 4.1.1, libpcap 1.0           

Tshark version 1.2.9(SVN Rev 33171)

Adapter : AirPCapNx from CACE technologies

 

 

Although channel can be selected from WireShark’s GUI before starting WLAN capture, how to do it from command line?

Is there any tool or any option in tshark utility to set the adapter’s channel before capture starts?

 

If it is possible then I can run a Windows batch file to run tshark to capture packets on multiple channels. Any help would be appreciated.

 

Regards,

Sreenivasulu Y

Lead Engineer

 



Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom