#/bin/bash
 clear
while [ 1 ]
do 
 echo "iwspy eth0 keys"
 iwspy eth0 keys

 echo "iwspy eth0 rate"
 iwspy eth0 rate
 echo "iwspy eth0 ap"
 iwspy eth0 ap

 echo "cat /proc/net/wireless"
 cat /proc/net/wireless 
 echo "iwconfig  eth0"
 iwconfig  eth0 essid "colonblow"
 
# iwconfig mode [ 
#    Ad-hoc    -  network  composed  of  only  one  cell and without  Access Point
#    Managed   -  network  composed  of  many cells,  with roaming or with an Access Point
#    Repeater  - the node forward packets on the air 
#    Secondary - the node act  as  a backup master/repeater
#    Master    - the node is the synchronisation master or  act as  an  Access  Point 
#    Auto      - 

#Set the nickname, or the station name.
#  iwconfig eth0 nickname "My Linux Node"

#Register with an access point.
#  iwconfig eth0 ap 00:60:1D:01:23:45

sleep 1 
clear
done

