Rev 11 |
|
Rev 12 |
Line 4... |
|
Line 4... |
# release date : 1/8/2003 |
|
# release date : 1/8/2003 |
# name : wifimon |
|
# name : wifimon |
# description : hostap powered wifi card monitoring |
|
# description : hostap powered wifi card monitoring |
# license : GPL |
|
# license : GPL |
|
|
|
wl_version="0.4beta6" |
|
wl_version="0.4beta7" |
|
|
|
wl_iwccmd="/usr/local/sbin/iwconfig" |
|
wl_iwccmd=`which iwconfig` |
|
|
if [ "$wl_iwccmd x" = " x" ] |
|
|
then |
|
|
echo "iwconfig not found" |
|
|
exit 1 |
|
|
fi |
wl_ifccmd="/sbin/ifconfig" |
|
wl_ifccmd="/sbin/ifconfig" |
wl_hnmcmd="/bin/hostname" |
|
wl_hnmcmd="/bin/hostname" |
wl_hostap="/proc/net/hostap/" |
|
wl_hostap="/proc/net/hostap/" |
wl_wireless="/proc/net/wireless" |
|
wl_wireless="/proc/net/wireless" |
wl_arp="/proc/net/arp" |
|
wl_arp="/proc/net/arp" |
Line 24... |
|
Line 29... |
wlm_no_managed_or_master=" neni ani Master ani Managed..." |
|
wlm_no_managed_or_master=" neni ani Master ani Managed..." |
wlm_number_of_clients="Pocet asociovanych klientu : " |
|
wlm_number_of_clients="Pocet asociovanych klientu : " |
wlm_unknown="Nezname parametry nebo neplatne jmeno rozhrani : " |
|
wlm_unknown="Nezname parametry nebo neplatne jmeno rozhrani : " |
#wlm_no_managed_or_master=" is not Master or Managed..." |
|
#wlm_no_managed_or_master=" is not Master or Managed..." |
#wlm_number_of_clients="Number of associated clients : " |
|
#wlm_number_of_clients="Number of associated clients : " |
|
|
|
|
|
|
wlch_signal="=" |
|
wlch_signal="=" |
wlch_noise="*" |
|
wlch_noise="*" |
|
|
|
###################################################################### |
|
###################################################################### |
Line 285... |
|
Line 291... |
do |
|
do |
w_iface |
|
w_iface |
done |
|
done |
echo $wl_footer |
|
echo $wl_footer |
else |
|
else |
tput cup 0 0 |
|
[ -e /usr/bin/tput ] && tput cup 0 0 || clear |
for wl_iface in $wcm_ifc |
|
for wl_iface in $wcm_ifc |
do |
|
do |
w_iface |
|
w_iface |
done |
|
done |
fi |
|
fi |