#972: Monitor mode acts strange and doesnt work
-----------------------------------+----------------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:         
          Type:  defect            |      Status:  new    
      Priority:  major             |   Milestone:         
     Component:  madwifi: driver   |     Version:  trunk  
    Resolution:                    |    Keywords:  monitor
Patch_attached:  0                 |  
-----------------------------------+----------------------------------------
Comment (by lucida):

 Thanks for the reply. I've searched alot before posting here and  cant
 find any similar case. :( So this might be a rare problem and might not
 reproducible on all systems.

 Here is the complete command list/output after a system boot
 {{{
 fancyworld ~ # iwconfig
 lo        no wireless extensions.

 wifi0     no wireless extensions.

 ath0      IEEE 802.11g  ESSID:"NetGear"
           Mode:Managed  Frequency:2.422 GHz  Access Point:
 00:14:6C:90:4B:F8
           Bit Rate:12 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
           Retry:off   RTS thr:off   Fragment thr:off
           Encryption key:FF03-58BF-F871-EC78-9C60-DB84-6F2F-EF6B
 Security mode:restricted
           Power Management:off
           Link Quality=27/94  Signal level=-69 dBm  Noise level=-96 dBm
           Rx invalid nwid:63  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 fancyworld ~ # lspci | grep Atheros
 01:06.0 Ethernet controller: Atheros Communications, Inc. AR5005G
 802.11abg NIC (rev 01)
 fancyworld ~ # uptime
  20:49:48 up 5 min,  3 users,  load average: 0.73, 0.45, 0.21
 fancyworld ~ # wlanconfig ath1 create wlandev wifi0 wlanmode monitor
 ath1
 fancyworld ~ # iwconfig
 lo        no wireless extensions.

 wifi0     no wireless extensions.

 ath0      IEEE 802.11g  ESSID:"NetGear"
           Mode:Managed  Frequency:2.422 GHz  Access Point:
 00:14:6C:90:4B:F8
           Bit Rate:24 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
           Retry:off   RTS thr:off   Fragment thr:off
           Encryption key:FF03-58BF-F871-EC78-9C60-DB84-6F2F-EF6B
 Security mode:restricted
           Power Management:off
           Link Quality=14/94  Signal level=-82 dBm  Noise level=-96 dBm
           Rx invalid nwid:67  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 ath138    IEEE 802.11g  ESSID:""
           Mode:Monitor  Channel:0  Access Point: Not-Associated
           Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3
           Retry:off   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:off
           Link Quality=14/94  Signal level=-82 dBm  Noise level=-96 dBm
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 fancyworld ~ # wlanconfig ath1 destroy
 wlanconfig: ioctl: No such device
 fancyworld ~ # wlanconfig ath138 destroy
 fancyworld ~ # iwconfig
 lo        no wireless extensions.

 wifi0     no wireless extensions.

 ath0      IEEE 802.11g  ESSID:"NetGear"
           Mode:Managed  Frequency:2.422 GHz  Access Point:
 00:14:6C:90:4B:F8
           Bit Rate:24 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
           Retry:off   RTS thr:off   Fragment thr:off
           Encryption key:FF03-58BF-F871-EC78-9C60-DB84-6F2F-EF6B
 Security mode:restricted
           Power Management:off
           Link Quality=29/94  Signal level=-67 dBm  Noise level=-96 dBm
           Rx invalid nwid:75  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 fancyworld ~ # wlanconfig ath1 create wlandev wifi0 wlanmode monitor
 ath1
 fancyworld ~ # iwconfig
 lo        no wireless extensions.

 wifi0     no wireless extensions.

 ath0      IEEE 802.11g  ESSID:"NetGear"
           Mode:Managed  Frequency:2.422 GHz  Access Point:
 00:14:6C:90:4B:F8
           Bit Rate:24 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
           Retry:off   RTS thr:off   Fragment thr:off
           Encryption key:FF03-58BF-F871-EC78-9C60-DB84-6F2F-EF6B
 Security mode:restricted
           Power Management:off
           Link Quality=14/94  Signal level=-82 dBm  Noise level=-96 dBm
           Rx invalid nwid:75  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 ath139    IEEE 802.11g  ESSID:""
           Mode:Monitor  Channel:0  Access Point: Not-Associated
           Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3
           Retry:off   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:off
           Link Quality=14/94  Signal level=-82 dBm  Noise level=-96 dBm
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 fancyworld ~ # wlanconfig ath139 destroy
 fancyworld ~ # iwconfig
 lo        no wireless extensions.

 wifi0     no wireless extensions.

 ath0      IEEE 802.11g  ESSID:"NetGear"
           Mode:Managed  Frequency:2.422 GHz  Access Point:
 00:14:6C:90:4B:F8
           Bit Rate:18 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
           Retry:off   RTS thr:off   Fragment thr:off
           Encryption key:FF03-58BF-F871-EC78-9C60-DB84-6F2F-EF6B
 Security mode:restricted
           Power Management:off
           Link Quality=29/94  Signal level=-67 dBm  Noise level=-96 dBm
           Rx invalid nwid:78  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

 fancyworld ~ # dmesg | grep wifi
 wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
 24Mbps 36Mbps 48Mbps 54Mbps
 wifi0: H/W encryption support: WEP AES AES_CCM TKIP
 wifi0: mac 7.8 phy 4.5 radio 5.6
 wifi0: Use hw queue 1 for WME_AC_BE traffic
 wifi0: Use hw queue 0 for WME_AC_BK traffic
 wifi0: Use hw queue 2 for WME_AC_VI traffic
 wifi0: Use hw queue 3 for WME_AC_VO traffic
 wifi0: Use hw queue 8 for CAB traffic
 wifi0: Use hw queue 9 for beacons
 wifi0: Atheros 5212: mem=0xfdfe0000, irq=21

 fancyworld ~ # lsmod
 Module                  Size  Used by
 wlan_tkip              11456  2
 fuse                   38868  8
 it87                   18468  0
 hwmon_vid               2752  1 it87
 i2c_isa                 3648  1 it87
 wlan_scan_sta          12288  1
 joydev                  8128  0
 nvidia               4707060  22
 ath_pci                89376  0
 ath_rate_sample        13440  1 ath_pci
 wlan                  191292  5
 wlan_tkip,wlan_scan_sta,ath_pci,ath_rate_sample
 snd_intel8x0           28508  1
 ath_hal               189968  3 ath_pci,ath_rate_sample
 snd_ac97_codec         91808  1 snd_intel8x0
 i2c_nforce2             6272  0
 snd_ac97_bus            2048  1 snd_ac97_codec
 i2c_core               17472  4 it87,i2c_isa,nvidia,i2c_nforce2
 usb_storage            79488  0

 }}}

 I'm using wpa_supplicant and the conf. file is
 {{{
 fancyworld ~ # cat /etc/wpa_supplicant/wpa_supplicant.conf
 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=10
 update_config=1

 network={
         ssid="NetGear"
         psk="password"
         proto=WPA
         key_mgmt=WPA-PSK
         pairwise=TKIP
 }
 }}}

 The kernel is compiled with SMP, big ram and preempt enabled, does this
 matter? Below is the configuration file for reference.

 hxxp://lucida.googlepages.com/2.6.18-r1.config.gz

 Thanks!

-- 
Ticket URL: <http://madwifi.org/ticket/972>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to