From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-89886-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1LSPMx-0002lb-P6
	for garchives@archives.gentoo.org; Thu, 29 Jan 2009 05:23:15 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 50C0EE02BF;
	Thu, 29 Jan 2009 05:23:13 +0000 (UTC)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155])
	by pigeon.gentoo.org (Postfix) with ESMTP id 0E113E02BF
	for <gentoo-user@lists.gentoo.org>; Thu, 29 Jan 2009 05:23:12 +0000 (UTC)
Received: by fg-out-1718.google.com with SMTP id d23so875599fga.14
        for <gentoo-user@lists.gentoo.org>; Wed, 28 Jan 2009 21:23:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=zufdsJK6FiuxrMFaeGJDPzd99ZO9DZ5YYKKvIiZOKzc=;
        b=ZYyymb5cOHFgGK2yf+rdttTK3Ynvqd5TzxBDugdIqLxTmxd00YaIMjMH/UBYenaox5
         MVIqur6eP1AEgv2UpLiWh8EPH5x7NAJP552NFufWtH2mLHZITIE39o55ZrMfqsAF4fYR
         syAxWTU0iaLmvOiB2m/Pyq/9Bq8JIp+cidUEc=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=Nhb35BVUkAUa3tUvwT0v29mrvJfXigd9DU5/4g2D/gjz9HExKDAKvCP+AsGKSHjo8s
         dNEs5iRWmBYRU6ZU9SnLJn1gJz+UJCspaMo2eN69xoEbFh7iTTGk47ntmA3VKJwB6k1k
         /z6e9fQMGsQA+ccHZzS4QHlVe2zx8SMva9ND4=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.180.242.5 with SMTP id p5mr143039bkh.178.1233206592360; Wed, 
	28 Jan 2009 21:23:12 -0800 (PST)
In-Reply-To: <20090128204629.0ea80ad2.nexenta@evil-monkey-in-my-closet.com>
References: <49bf44f10901280900p33914cbci19ed49544757ee31@mail.gmail.com>
	 <20090128171718.4D7B.1.NOFFLE@turbacz.local>
	 <20090128204629.0ea80ad2.nexenta@evil-monkey-in-my-closet.com>
Date: Wed, 28 Jan 2009 21:23:12 -0800
Message-ID: <49bf44f10901282123w6d5af17bp41626a2ec01922a3@mail.gmail.com>
Subject: Re: [gentoo-user] Re: wlan0 promiscuous mode
From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: fc5810b6-405f-49a0-b48c-615fdf0cbea2
X-Archives-Hash: 47188a1f90f7aa0c18abf3200d46363f

>> > Does anyone know how to put my USB wireless network adapter into
>> > promiscuous mode so I can see everything that's happening wirelessley
>> > on my network in wireshark?
>>
>> ifconfig eth1 promisc
>>
>> But at least tcpdump puts the interface into promiscous mode
>> automatically, so there is a chance that wireshark does the same.
>>
>>
>
> Another way is to use airmon-ng from the aircrack-ng package:
>
> airmon-ng start wlan0

I can't get that to work.  I get:

# airmon-ng start wlan0
Interface	Chipset		Driver
wlan3			ath5k_pci - [phy0]
wlan0		Ralink 2573 USB	rt73usb - [phy1]/usr/sbin/airmon-ng: line 338:
/sys/class/ieee80211/phy1/add_iface: No such file or directory
mon0: ERROR while getting interface flags: No such device
(monitor mode enabled on mon0)

It looks like I'm supposed to have /sys/class/ieee80211/phy1/add_iface
which isn't there.  I've tried with net.wlan0 started and stopped.

- Grant