2007-07-09 21:51:09

by Jorge Lucángeli Obes

[permalink] [raw]
Subject: Monitor mode with RTL8187

Hi all,
I've come into possession of a RTL8187-based wireless USB adapter
(Encore ENUWI-G2). I am trying the new RTL8187 driver in wireless-dev
GIT. The question is: does this driver support monitor mode?

tamsyn@rory:~$ sudo iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.

Any clues? Please CC me as I'm not subscribed to the list. Thanks in advance.

Jorge


2007-07-10 05:21:58

by Andy Green

[permalink] [raw]
Subject: Re: Monitor mode with RTL8187

Jorge Luc=E1ngeli Obes wrote:
> Hi all,
> I've come into possession of a RTL8187-based wireless USB adapter
> (Encore ENUWI-G2). I am trying the new RTL8187 driver in wireless-dev
> GIT. The question is: does this driver support monitor mode?
>=20
> tamsyn@rory:~$ sudo iwconfig wlan0 mode monitor
> Error for wireless request "Set Mode" (8B06) :
> SET failed on device wlan0 ; Device or resource busy.
>=20
> Any clues? Please CC me as I'm not subscribed to the list. Thanks in
> advance.

mac80211 needs you to bring the interface down before changing the mode

ifconfig wlan0 down

Then after changing the mode, bring it up and set the channel.

-Andy