Channel hopping on kismet drone

From DD-WRT Wiki

Revision as of 00:54, 1 September 2005 by 63.230.108.129 (Talk)
Jump to: navigation, search

Using the kismet_drone to do channel hopping with the prism0 driver

As I understand it, the prism0 (wl) driver on the wrt54g does not allow the kismet_drone to control channel hopping directly.

http://www.renderlab.net/projects/wardrive/wrt54g/openwrt.html suggests the use of a small script running on the wrt to manually channel hop.

#!/bin/sh
X=1
while [ $X -eq 1 ] ; do
   sleep 1
   wl scan > /dev/null 2>&1 &
done

The 'wl scan' command appears to increment the channel number each time it is executed... so if there are 14 channels, it will take 14 seconds to go through all of the channels 'sleap'ing for one second on each.

You could use the vi editor to enter the above script. Rember to save the file in /tmp or /jffs (where tmp will delete on router reboot, so it's great for testing) as these are the only parts of the filesystem which are writeable. Also rember to make the script executable with

chmod +x <filename>

For more details about the wl driver commands, see http://www.devicescape.com/docs/uwp/package_guide/pkg_broadcom-wl.php


see also http://www.kismetwireless.net/Forum/General/Messages/1099670776.2806771