Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.06 KB

wlanpishark.py.md

File metadata and controls

28 lines (16 loc) · 1.06 KB

wlanpyshark.py

This is a companion Python script that resides on the WLANPi to simplify and speed-up the whole launch process. Users will not normally need to modify this script as it is activated by the batch file script on the Windows machine running the capture.

This file will normally be distributed as part of the WLANPi standard image, so will not need to be loaded by an end-user.

Usage

 Usage:

    wlanpishark.py -i <interface name> -c <channel> -w <channel width> -s <slice value> -f <filter definition>
    wlanpishark.py -h

 Command line options:

    -c       Sets channel to capture on (valid values 1-13, 36-165)
    -i       Sets name of wireless interface on WLANPi (usually wlan0 with one adapter attached)
    -w       Set channel width to capture (valid values: 20, 40+, 40-, 80MHz
    -s       Frame capture slice size (0 = no slice, any other numeric value specifies slice size in bytes)
    -f       Filter definition to specify frames captured (uses tcpdump filter syntax - e.g. "wlan type mgt subtype beacon")
    -h       Help page