Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: wlan0 promiscuous mode
Date: Thu, 29 Jan 2009 05:23:15
Message-Id: 49bf44f10901282123w6d5af17bp41626a2ec01922a3@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: wlan0 promiscuous mode by Dominic Kexel
1 >> > Does anyone know how to put my USB wireless network adapter into
2 >> > promiscuous mode so I can see everything that's happening wirelessley
3 >> > on my network in wireshark?
4 >>
5 >> ifconfig eth1 promisc
6 >>
7 >> But at least tcpdump puts the interface into promiscous mode
8 >> automatically, so there is a chance that wireshark does the same.
9 >>
10 >>
11 >
12 > Another way is to use airmon-ng from the aircrack-ng package:
13 >
14 > airmon-ng start wlan0
15
16 I can't get that to work. I get:
17
18 # airmon-ng start wlan0
19 Interface Chipset Driver
20 wlan3 ath5k_pci - [phy0]
21 wlan0 Ralink 2573 USB rt73usb - [phy1]/usr/sbin/airmon-ng: line 338:
22 /sys/class/ieee80211/phy1/add_iface: No such file or directory
23 mon0: ERROR while getting interface flags: No such device
24 (monitor mode enabled on mon0)
25
26 It looks like I'm supposed to have /sys/class/ieee80211/phy1/add_iface
27 which isn't there. I've tried with net.wlan0 started and stopped.
28
29 - Grant

Replies

Subject Author
Re: [gentoo-user] Re: wlan0 promiscuous mode Zhu Sha Zang <zhushazang@×××××××××.br>
Re: [gentoo-user] Re: wlan0 promiscuous mode Dominic Kexel <nexenta@××××××××××××××××××××××××.com>