I found that iwlist will capture 802.11 wifi ESSID and
data rates more often than tethereal. i.e. Sometimes
tethereal does not capture ESSID and data rates at
all.
Do people had similar results?
The commands I had used are:
iwconfig ath0 channel 6
or
iwconfig ath0 channel 11
or
iwconfig ath0 channel 36
iwconfig ath0 mode Managed
iwlist ath0 scan
iwconfig ath0 mode monitor
tethereal -i ath0 -c 100 -w /tmp/sniff.capture
tethereal -V -r /tmp/sniff.capture >
/tmp/sniff.capture.txt
#iwlist -v
iwlist Wireless-Tools version 27
Compatible with Wireless Extension v11 to v17.
Kernel Currently compiled with Wireless Extension v16.
ath0 Recommend Wireless Extension v13 or later,
Currently compiled with Wireless Extension v16.
#tethereal -v
tethereal 0.10.13
Compiled with GLib 2.4.8, with libpcap 0.8.3, with
libz 1.2.1.2,
with libpcre 4.5, with Net-SNMP 5.2.1.2, without ADNS.
Running with libpcap version 0.8.3 on Linux
2.6.9-1.667.
Linux kernel version is 2.6.9-1.667
__________________________________________________________
Find your next car at http://autos.yahoo.ca