Channel hopping on kismet drone

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:51, 28 July 2005 (edit)
62.255.64.6 (Talk)

← Previous diff
Revision as of 22:40, 28 July 2005 (edit) (undo)
62.255.64.6 (Talk)

Next diff →
Line 7: Line 7:
#!/bin/sh #!/bin/sh
X=1 X=1
- while [ $X -eq 1 ]+ while [ $X -eq 1 ] ; do
- do+
sleep 1 sleep 1
wl scan > /dev/null 2>&1 & wl scan > /dev/null 2>&1 &

Revision as of 22:40, 28 July 2005

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 conrtrol 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 as this is the only part of the filesystem which is 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