wlan-ap-Telecominfraproject/feeds/wlan-ap/opensync/files/bin/wlan_ap_tcpdump_wifi.sh
John Crispin d9bf09d3c2 opensync: add wifi tcpdump support
This patch will bring up a monitor interface on a named phy and start a scan.
Once completed, the resulting pcap will be uploaded to a http server.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-30 15:55:30 +02:00

4 lines
209 B
Bash
Executable File

#!/bin/sh
/usr/opensync/tools/ovsh insert Command_Config command:="tcpdump-wifi" delay:=5 duration:=15 timestamp:=123 payload:="[\"map\",[[\"wifi\",\"radio0\"],[\"ul_url\",\"http://192.168.178.9/upload\"]]]"