Home
Contents

WLAN Analyzer and Decoder - CommView for WiFi

Prev Page Next Page
 
Introduction
About CommView for WiFi
What's New
Using the Program
Driver Installation
Overview
Main Menu
Nodes
AP and Station Details Window
Channels
Latest IP Connections
Packets
Logging
Viewing Logs
Rules
Advanced Rules
Alarms
WEP/WPA Keys
Reconstructing TCP Sessions
Reconstructing UDP Streams
Searching Packets
Statistics and Reports
Using Aliases
Packet Generator
Visual Packet Builder
NIC Vendor Identifier
Scheduler
Node Reassociation
Using Remote Agent for WiFi
Using RPCAP
Using Aruba Remote Capture
Port Reference
Setting Options
Frequently Asked Questions
VoIP Analysis
Introduction
Working with VoIP Analyzer
SIP and H.323 Sessions
RTP Streams
Registrations, Endpoints, and Errors
Call Logging and Reports
Call Playback
Viewing VoIP Logs
Working with Lists in VoIP Analyzer
NVF Files
Advanced Topics
Monitoring 802.11n, 802.11ac, and 802.11ax Networks
Understanding CRC and ICV Errors
Understanding WPA Decryption
Understanding Signal Strength
Capturing A-MPDU and A-MSDU Packets
Using CommView for WiFi in a Virtual Machine
Multi-Channel Capturing
Spectrum Analysis
Capturing High Volume Traffic
Running CommView for WiFi in Invisible Mode
Command Line Parameters
Exchanging Data with Your Application
Custom Decoding
CommView Log Files Format
Information
How to Purchase CommView for WiFi

Command Line Parameters

You can use command line parameters to perform the following operations when the program is being launched:

·Load and activate a rule set from a file. Use the "/ruleset" switch followed by the file name and full path, e.g.:

CV.EXE /ruleset "C:\Program Files\CommViewWiFi\Rules\POP3Rules.rls"

If a file name or its path contains spaces, it must be enclosed in quotation marks (" ").

·Load and activate a WEP/WPA key set from a file. Use the "/keyset" switch followed by the file name and full path, e.g.:

CV.EXE /keyset "C:\Program Files\CommViewWiFi\WLAN3Keys.wep"

If a file name or its path contains spaces, it must be enclosed in quotation marks (" ").

·Use the specified folder for storing log files. Use the /logdir switch followed by the full path to the folder, e.g.

CV.EXE /logdir "C:\Program Files\CommViewWiFi\Logs"

·Launch the application without the prompt to install the driver. This is useful when you use CommView for WiFi for loading logs collected from other computers or for connecting to Remote Agents. Use the /noprompt switch, e.g.

CV.EXE /noprompt

·Connect to one or several remote agents. Use the "/ra" switch followed by the IP address or hostname of the Remote Agent you'd like to connect to, followed by the password in quotation marks, followed by the channel number that should be monitored (the channel index is 1-based, i.e. if you need to monitor in scanner mode, use "1"; if you need to monitor the first channel, use "2"), e.g:

CV.exe /ra 192.168.0.5 "MyPassword" 2

To connect to multiple Remote Agents from the same CommView for WiFi instance, use a batch file that should look like this:

START "CV" "C:\Program Files\CommViewWiFi\CV.exe" /noprompt

PING 1.1.1.1 -n 1 -w 5000 >NUL

START "CV" "C:\Program Files\CommViewWiFi\CV.exe" /ra 192.168.0.1 "pwd1" 5

PING 1.1.1.1 -n 1 -w 1000 >NUL

START "CV" "C:\Program Files\CommViewWiFi\CV.exe" /ra 192.168.0.2 "pwd2" 5

PING 1.1.1.1 -n 1 -w 1000 >NUL

START "CV" "C:\Program Files\CommViewWiFi\CV.exe" /ra 192.168.0.3 "pwd3" 5

PING 1.1.1.1 -n 1 -w 1000 >NUL

This script launches CommView for WiFi, waits for 5 seconds to make sure that the application is loaded (we use the PING command to pause because there is no direct way of telling a .BAT file to pause), then we pass to the application the IP addresses, passwords, and adapter numbers of three Remote Agents (with  one-second pauses).

You can use all of these parameters, except the last one, at the same time.