The madwifi-20030802 does not have monitor mode. Get the code from the CVS tree
instead. The instructions are as follows:
1. cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi login
    When it prompts for the password hit return. If the above command does not succeed
    after several retries, try sometime later since the server could be overloaded
2. cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi
This creates a directory madwifi. cd to that directory and do a 'make' followed by
'make install'. Load this driver and then do monitoring as follows:
ifconfig ath0 up
iwpriv ath0 mode ?
-->In place of '?' type 1 for .a , 2 for .b and 3 for .g . I have tried .a and .g and it works.
iwconfig ath0 mode Monitor
If you want to monitor a different channel do
iwconfig ath0 channel X
X is 36,40,...,64 for .a and 1 thru 11 for .b/.g
Then run ethereal (with the prism header patch) or tcpdump to monitor packets.
-----Original Message-----
From: Rene Kupczak [mailto:kupczak@seznam.cz]
Sent: Tuesday, August 26, 2003 8:15 PM
To: madwifi-users@lists.sourceforge.net
Subject: [Madwifi-users] can I get D-link G520 to MONITOR mode?

How can i set my D-link G-520 in monitor mode? I have mandrake 9.0 with kernel 2.4.19-25. Im using madwifi-20030802.
Everything works well.