Re: unable to put wireless card in monitor mode
Mohammad Abdelhadi <[email protected]> Fri, 16 Jul 2010 12:14:31 +0300
| Newsgroups | gmane.linux.drivers.madwifi.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jul 16, 2010 at 11:23 AM, yuva raj <[email protected]> wrote: > hi, > > I am running Ubuntu 9.10. on Acer Aspire One with following card: > > Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network > Adapter (rev 01) > > I have madwifi installed. I am trying to put the wlan0 interface to monitor > mode. For that I wanted to issue the following commands: > > sudo wlanconfig wlan0 destroy > sudo wlanconfig create wlan1 wlandev wifi0 wlanmode monitor > sudo wlan<x> up > > But, my first try resulted in > > laptop:~$ sudo wlanconfig wlan0 destroy > wlanconfig: ioctl: Operation not supported > > Please suggest me necessary steps to put card in monitor mode. > > Thanks in advance > uv. > -- > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > + REGISTERED LINUX USER: 406811 + > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Madwifi-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/madwifi-users > > Hi, You could try the following steps: - sudo service network-manager stop - sudo wlanconfig ath0 destroy - sudo wlanconfig create ath0 wlandev wifi0 wlanmode monitor - sudo iwconfig ath0 channel x # the channel that you want to monitor - sudo iwconfig ath0 essid "...." # the name of the network that you want to monitor - sudo ifconfig ath0 up Now your card should work in monitor mode.. Hope this helps. Regards, -- Mohammad ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Madwifi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/madwifi-users