![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Mental Penis Fencer
Join Date: Apr 2002
Posts: 371
|
cisco monitor script for linux.
i got htis from MAX who wrote wellenreiter. (awesome program check it out)
Im posting this cause i was trying to find this for a while. Cut and paste that into a text file and name it something like .ciscomonitorscript or what ever you want to call it. #!/bin/bash if [ "$1" == "" ]; then echo "$0 <wireless interface> <on/off>" exit fi if [ "$2" == "" ]; then echo "$0 <wireless interface> <on/off>" exit fi if [ "$2" == "on" ]; then iwconfig $1 essid off echo 'Mode: r' > /proc/driver/aironet/$1/Config echo 'Mode: y' > /proc/driver/aironet/$1/Config fi if [ "$2" == "off" ]; then iwconfig $1 essid off echo 'Mode: i' > /proc/driver/aironet/$1/Config fi |
|
|
|