1 |
On Wed, 28 Jan 2009 21:23:12 -0800 |
2 |
Grant <emailgrant@×××××.com> wrote: |
3 |
|
4 |
> >> > Does anyone know how to put my USB wireless network adapter into |
5 |
> >> > promiscuous mode so I can see everything that's happening wirelessley |
6 |
> >> > on my network in wireshark? |
7 |
> >> |
8 |
> >> ifconfig eth1 promisc |
9 |
> >> |
10 |
> >> But at least tcpdump puts the interface into promiscous mode |
11 |
> >> automatically, so there is a chance that wireshark does the same. |
12 |
> >> |
13 |
> >> |
14 |
> > |
15 |
> > Another way is to use airmon-ng from the aircrack-ng package: |
16 |
> > |
17 |
> > airmon-ng start wlan0 |
18 |
> |
19 |
> I can't get that to work. I get: |
20 |
> |
21 |
> # airmon-ng start wlan0 |
22 |
> Interface Chipset Driver |
23 |
> wlan3 ath5k_pci - [phy0] |
24 |
> wlan0 Ralink 2573 USB rt73usb - [phy1]/usr/sbin/airmon-ng: line 338: |
25 |
> /sys/class/ieee80211/phy1/add_iface: No such file or directory |
26 |
> mon0: ERROR while getting interface flags: No such device |
27 |
> (monitor mode enabled on mon0) |
28 |
> |
29 |
> It looks like I'm supposed to have /sys/class/ieee80211/phy1/add_iface |
30 |
> which isn't there. I've tried with net.wlan0 started and stopped. |
31 |
> |
32 |
> - Grant |
33 |
|
34 |
Your driver has to support monitor-mode. |
35 |
I am using an Atheros-based internal WiFi-card and an Alpha-USB-WiFi-device |
36 |
with Realtek-Chip. The drivers I used a while ago needed a patch to work with |
37 |
monitor-mode, but the recent drivers don't. Take a look at the driver-section |
38 |
on the aircrack-ng homepage. Maybe your driver needs to be patched. |
39 |
|
40 |
|
41 |
-- |
42 |
Dominic Kexel <nexenta@××××××××××××××××××××××××.com> |