Ethereal-users: Re: [Ethereal-users] Thank you for your attention and I just want to sniff the m

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "小容" <zrong.xu@xxxxxxxxx>
Date: Fri, 9 Jun 2006 22:08:01 +0800
Dear Joerg Mayer ,
       Thank you for your patient guidance.I followed you and
executed the same command.But it seems there is something  wrong when
I execute the command
" iwconfig eth1 channel 1" .
        I send the script to you that I operated on my
computer.Please help me to check it and tell me why and what can I to
do .
       I am sorry to trouble you and thank you very much!

regards,
Zhirong Xu

2006/6/9, Joerg Mayer <jmayer@xxxxxxxxx>:
On Fri, Jun 09, 2006 at 09:01:34AM +0800, ???? wrote:
> Dear Andreas Fink,Guy Harris and Joerg Mayer,
>    Thank you for your attention and help.Please forgive me for my poor
> expression. Yes,I just want to sniff the management and control frames.
>     I have activated interface and set it to monitor but still have not
> sniffed any management and control frames at all.(I used the command set it
> to monitor:"iwconfig eth1 mode monitor").Is there anything wrong?

OK, as I'm the one who wrote the section on how to capture with the
ipw2100/ipw2200 driver maybe I can help you a bit more. I do no longer
have a ipw2100 card but have a ipw2200 card instead and things should
still behave very similar as far as the drivers are concerned.

You will find a sample session below. You will need to replace the
ipw2200 by ipw2100, use the correct interface for capturing (eth1 in my
case) and use tethereal instead of tshark if you do not use current
builds. Still, everything should work. If not, please provide a trace
similar to the attached one.

 Ciao
   Joerg

--
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.


_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users




[root@MIPV6 ~]# uname -a
Linux MIPV6 2.6.15 #1 Sat May 20 13:39:07 CST 2006 i686 i686 i386 GNU/Linux
[root@MIPV6 ~]# lsb_release -a
LSB Version:    1.3
Distributor ID: FedoraCore
Description:    Fedora Core release 4 (Stentz)
Release:        4
Codename:       Stentz
[root@MIPV6 ~]# modinfo ipw2100
filename:       /lib/modules/2.6.15/kernel/drivers/net/wireless/ipw2100.ko
description:    Intel(R) PRO/Wireless 2100 Network Driver
version:        1.2.0
author:         Copyright(c) 2003-2006 Intel Corporation
license:        GPL
parmtype:       debug:int
parmtype:       mode:int
parmtype:       channel:int
parmtype:       associate:int
parmtype:       disable:int
parm:           debug:debug level
parm:           mode:network mode (0=BSS,1=IBSS,2=Monitor)
parm:           channel:channel
parm:           associate:auto associate when scanning (default on)
parm:           disable:manually disable the radio (default 0 [radio on])
vermagic:       2.6.15 686 REGPARM 4KSTACKS gcc-4.0
depends:        ieee80211
alias:          pci:v00008086d00001043sv00008086sd00002520bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002521bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002524bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002525bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002526bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002522bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002523bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002527bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002528bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002529bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd0000252Bbc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd0000252Cbc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd0000252Dbc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002550bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002551bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002553bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002554bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002555bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002560bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002562bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002563bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002561bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002565bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002566bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002567bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002570bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002580bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002582bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002583bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002581bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002585bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002586bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002587bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002590bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002592bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002591bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002593bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002596bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd00002598bc*sc*i*
alias:          pci:v00008086d00001043sv00008086sd000025A0bc*sc*i*
srcversion:     0262A726CE086C1D5F46C86
[root@MIPV6 ~]# iwconfig
lo        no wireless extensions.

sit0      no wireless extensions.

ip6tnl0   no wireless extensions.

eth0      no wireless extensions.

Warning: Driver for device eth1 has been compiled with version 19
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

eth1      IEEE 802.11b  ESSID:"netgear2"  Nickname:"ipw2100"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:0F:B5:93:4F:C1
          Bit Rate=11 Mb/s   Tx-Power:16 dBm
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=100/100  Signal level=-56 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:101   Missed beacon:0

[root@MIPV6 ~]# iwlist eth1 scan
Warning: Driver for device eth1 has been compiled with version 19
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

eth1      No scan results
[root@MIPV6 ~]# iwlist eth1 scan
Warning: Driver for device eth1 has been compiled with version 19
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

eth1      Scan completed :
          Cell 01 - Address: 00:0F:B5:93:4F:C1
                    ESSID:"netgear2"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:11
                    Encryption key:off
                    Bit Rate:54 Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
                    Quality:70  Signal level:0  Noise level:0
                    Extra: Last beacon: 5396ms ago

[root@MIPV6 ~]# iwconfig eth1 mode monitor
[root@MIPV6 ~]# iwconfig eth1 channel 1
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device eth1 ; Operation not supported.
[root@MIPV6 ~]# iwconfig eth1 channel 01
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device eth1 ; Operation not supported.
[root@MIPV6 ~]# iwconfig eth1 channel 02
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device eth1 ; Operation not supported.
[root@MIPV6 ~]# iwconfig eth1 channel 03
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device eth1 ; Operation not supported.
[root@MIPV6 ~]# iwlist eth1 channel
Warning: Driver for device eth1 has been compiled with version 19
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

eth1      14 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 14 : 2.484 GHz
          Current Channel=11

[root@MIPV6 ~]# iwlist eth1 freq
Warning: Driver for device eth1 has been compiled with version 19
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

eth1      14 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 14 : 2.484 GHz
          Current Channel=11

[root@MIPV6 ~]# tethereal -i eth1
Warning:  Couldn't obtain netmask info (eth1: no IPv4 address assigned).
Capturing on eth1
  0.000000 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002
  2.048336 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002
  3.993447 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002
  6.042296 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002
  7.987136 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002
 10.035316 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002
 11.980906 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002
 14.028818 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002
 16.076956 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002
 18.022367 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002
 20.070492 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002
 22.016236 Netgear_93:4f:c1 -> Spanning-tree-(for-bridges)_00 STP Conf. Root = 32768/00:0f:b5:93:4f:c1  Cost = 0  Port = 0x8002

[root@MIPV6 ~]#


_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users