Matteo Cypriani
9a5853d48a
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. |
||
---|---|---|
.. | ||
README | ||
capture.sh |
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.