scripts/wifi
Matteo Cypriani 9a5853d48a [wifi] capture: fix channel setting
At least on NetBSD with the ath driver, it is impossible to change the
channel when the interface is in monitor mode (actually it is possible,
but when the interface is turned up again the channel is set back to its
prior value).
Therefore, to set the interface in monitor mode on a given channel, we
must:
- shut down,
- switch to managed mode (media autoselect) with the wanted channel,
- turn up,
- shut down again,
- switch to monitor mode,
- turn up again.

I implemented the same behaviour for Linux, maybe it's useless but it
can't hurt.
2011-08-07 21:30:14 +02:00
..
README [wifi] capture: gather system information 2011-08-06 00:39:37 +02:00
capture.sh [wifi] capture: fix channel setting 2011-08-07 21:30:14 +02:00

README

capture.sh is a script to automatically capture a few packets on a Wi-Fi
interface and write them to a Pcap file along with some information
about the system, which are finally compressed into a tarball. The Pcap
file can then be analysed (for example with Wireshark) to check what the
interface supports on which operating system, using a given driver, etc.