File: cisco_monitor

package info (click to toggle)
kismet 1.4.2-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 504 kB
  • ctags: 435
  • sloc: cpp: 2,741; makefile: 126; sh: 29
file content (11 lines) | stat: -rwxr-xr-x 212 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

if [ "$1" == "" ]; then
	echo "$0 <wireless interface>"
	exit
fi

iwconfig $1 essid off
echo "Mode: r" > /proc/driver/aironet/$1/Config
echo "Mode: y" > /proc/driver/aironet/$1/Config
ifconfig $1 up