Jump to content

Iwconfig monitor


superplay
 Share

Recommended Posts

:wall:

 

After 12 hours on the task solid, I have managed to install my wireless NIC to Mandriva 2006 using linuxant.

 

The goal is to use airodump to audit wireless points. The tutorial which I have says to put the NIC into monitoring mode using the command

 

iwconfig eth1 mode monitor

 

however when I enter this command as room (my wireless nic is eth1) the following error is shown

 

Error for wireless request "Set Mode" (8B06) :

SET failed on device etch1 ; Invalid argument

 

Help!

 

Cheers

 

SuperPlay

Link to comment
Share on other sites

:wall:

Error for wireless request "Set Mode" (8B06) :

SET failed on device etch1 ; Invalid argument

I hope etch1 in the last line is a typo... As for the first line, I get a similar error occasionally (may be with a different error code). I don't know what causes this error, but usually it disappears after full shutdown. Apparently, the full shutdown/cold start sequence flashes something on the card or controller. The error is very seldom occurring, I never bothered to see if it can be fixed.... I use driverloader from Linuxant, by the way.

Edited by coverup
Link to comment
Share on other sites

Hi to check if your driver supports monitor mode do the following:

 

[root@whatever]:/home/anindya>iwpriv eth1

eth1 Available private ioctl :

force_reset (8BE0) : set 0 & get 0

card_reset (8BE1) : set 0 & get 0

set_port3 (8BE2) : set 1 int & get 0

get_port3 (8BE3) : set 0 & get 1 int

set_preamble (8BE4) : set 1 int & get 0

get_preamble (8BE5) : set 0 & get 1 int

set_ibssport (8BE6) : set 1 int & get 0

get_ibssport (8BE7) : set 0 & get 1 int

monitor (8BE8) : set 2 int & get 0

dump_recs (8BFF) : set 0 & get 0

 

Basically if you don't see monitor in this list, you'll need to patch your driver or get another one. To enable monitor mode manually (I looked at the kismet_monitor program to get this):

 

/sbin/iwpriv $DEVICE monitor 1 $CHANNEL

Link to comment
Share on other sites

Hi Jaraeez

 

Thank you for you reply.

 

I ran iwpriv eth1 and it returded something like "No Available private ioctl"

 

I am going to attempt to compile the latest ndiswrapper to see if it is Driverloader causing the issue. If not I will buy another wireless nic.

 

Cheers

 

SuperPlay

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...