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-89877-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1LSIZs-0006Nu-0E
	for garchives@archives.gentoo.org; Wed, 28 Jan 2009 22:08:08 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E9633E02A0;
	Wed, 28 Jan 2009 22:08:06 +0000 (UTC)
Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.155])
	by pigeon.gentoo.org (Postfix) with ESMTP id C2741E02A0
	for <gentoo-user@lists.gentoo.org>; Wed, 28 Jan 2009 22:08:06 +0000 (UTC)
Received: by yw-out-1718.google.com with SMTP id 5so2892540ywm.46
        for <gentoo-user@lists.gentoo.org>; Wed, 28 Jan 2009 14:08:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:sender:received:in-reply-to
         :references:date:x-google-sender-auth:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=hEdZ+UtOCpuRRB+OcqtIyREAbXC1Ktf5G+abpvoNFuc=;
        b=UaE+kJzKlyq+ZkgTfDd5PTr9vb6pbyWqkIC8qyTGh0gRyKGfUK9ZBVBtU9cV7tueDZ
         3uQYyWyoZ9WyYEJ4FdSIk6eXo/VtNf6CwTsE0dhcytsQOYTQHXQAX5jVsmPF4MJFK16B
         lBBSKn3249Xf7PEdQ8QbjUoelHbDAcETwpl+Q=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:date
         :x-google-sender-auth:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        b=O6nDdhLJ0ln/vYBtEAP+JigyRIuYfLmQ4Qn8dHTDCPWYdnQQymfPQDXqRYJNHqVBs9
         kD1aWTWgpH7TxlBEFDvZR4qcqKaBiiV+8Rlbcnkph6pUrX4hC0UKoPDGvpysx23bALrn
         STEUJdQl4QhUDdVbFuCtOheJeaP6Iq7NQfcuQ=
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
Sender: paul.hartman@gmail.com
Received: by 10.151.110.9 with SMTP id n9mr1886635ybm.23.1233180486444; Wed, 
	28 Jan 2009 14:08:06 -0800 (PST)
In-Reply-To: <49bf44f10901281217p12538284sf0be3011083cbb7b@mail.gmail.com>
References: <49bf44f10901280900p33914cbci19ed49544757ee31@mail.gmail.com>
	 <20090128171718.4D7B.1.NOFFLE@turbacz.local>
	 <20090128204629.0ea80ad2.nexenta@evil-monkey-in-my-closet.com>
	 <49bf44f10901281217p12538284sf0be3011083cbb7b@mail.gmail.com>
Date: Wed, 28 Jan 2009 16:08:06 -0600
X-Google-Sender-Auth: 497a5735a6449160
Message-ID: <58965d8a0901281408j1c96e353g7e4e1b2471a0c0ea@mail.gmail.com>
Subject: Re: [gentoo-user] Re: wlan0 promiscuous mode
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 5c6ca53f-80e8-4c7c-bcd5-cc673c25ca4f
X-Archives-Hash: cf52ef7afaf58a8b758c5e33b6cc1d2d

On Wed, Jan 28, 2009 at 2:17 PM, Grant <emailgrant@gmail.com> wrote:
>>> > 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
>
> Thanks everyone.  I didn't realize it but monitor mode is what I'm
> after.  aircrack-ng looks interesting too.  Is there something similar
> with a GUI?  airsnort seems to be discontinued.  What is iw for?

iw - show / manipulate wireless devices and their configuration

Usage:  iw [options] command
Options:
        --debug         enable netlink debugging
        --version       show version
Commands:
        help
        event
        list
        phy <phyname> info
        dev <devname> set channel <channel> [HT20|HT40+|HT40-]
        phy <phyname> set channel <channel> [HT20|HT40+|HT40-]
        dev <devname> set freq <freq> [HT20|HT40+|HT40-]
        phy <phyname> set freq <freq> [HT20|HT40+|HT40-]
        phy <phyname> set name <new name>
        dev <devname> set meshid <meshid>
        dev <devname> set monitor <flag> [...]
        dev <devname> info
        dev <devname> del
        dev <devname> interface add <name> type <type> [mesh_id
<meshid>] [flags ...]
        phy <phyname> interface add <name> type <type> [mesh_id
<meshid>] [flags ...]
        dev <devname> station dump
        dev <devname> station set <MAC address> plink_action <open|block>
        dev <devname> station del <MAC address>
        dev <devname> station get <MAC address>
        dev <devname> mpath dump
        dev <devname> mpath set <destination MAC address> next_hop
<next hop MAC address>
        dev <devname> mpath new <destination MAC address> next_hop
<next hop MAC address>
        dev <devname> mpath del <MAC address>
        dev <devname> mpath get <MAC address>
        reg set <ISO/IEC 3166-1 alpha2>
        dev <devname> get mesh_param <param>
        dev <devname> set mesh_param <param> <value>