Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wg311t +madwifi + mode monitor wont work [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
moja
n00b
n00b


Joined: 04 Feb 2005
Posts: 21
Location: Sweden

PostPosted: Wed Feb 08, 2006 8:30 pm    Post subject: wg311t +madwifi + mode monitor wont work [SOLVED] Reply with quote

Hi
have a problem

from the start. for the moment im useing latest madwifi ~x86 driver from gentoo portage.

my wlan card works ok and i can connect to another ap (i think, havent tested that much)

the problem is when i am going to use it for wardriving and testgin my own networks security.

iwconfig ath0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device ath0 ; Invalid argument.

this is the error message i get when trying to change mode.

750d ~ # airodump ath0 test 0
ioctl(SIOCSIWMODE) failed: Invalid argument

ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211
or ARPHRD_IEEE80211_PRISM instead. Make sure RFMON is enabled:
run 'ifconfig ath0 up; iwconfig ath0 mode Monitor channel <#>


and this error becuase i cant set mode.
i cant change linktype. tryed but nothing hapened.

no error messages in dmesg.

pls. someone help me. have been sitting here for like 10 hrs now and dunno what i have missed.


Last edited by moja on Thu Feb 09, 2006 11:05 am; edited 1 time in total
Back to top
View user's profile Send private message
moja
n00b
n00b


Joined: 04 Feb 2005
Posts: 21
Location: Sweden

PostPosted: Wed Feb 08, 2006 8:36 pm    Post subject: Reply with quote

can add:

i have recompiled the kernel with both the radio things and crypt
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2326
Location: Bretagne

PostPosted: Wed Feb 08, 2006 9:27 pm    Post subject: Re: wg311t +madwifi + mode monitor wont work Reply with quote

Hi! :)
Code:
iwconfig ath0 mode monitor
Error for wireless request "Set Mode" (8B06) :
    SET failed on device ath0 ; Invalid argument.

You'll need to create a new ath interface just for monitor mode. Try to run:
Code:
# wlanconfig ath create wlandev wifi0 wlanmode monitor

Upon successful creation (don't know if this is correct in english) the output should be:
Code:
ath1

Now you can up your iface with ifconfig:
Code:
# ifconfig ath1 up

and use monitor mode on ath1 only:
Code:
# iwconfig ath1 mode monitor


If something goes wrong, post here or try with this version of madwifi-*:
net-wireless/madwifi-*-0.1401.20060117
It's the only one out of the latest versions that works for me... :roll:
Have fun! :wink:
Back to top
View user's profile Send private message
moja
n00b
n00b


Joined: 04 Feb 2005
Posts: 21
Location: Sweden

PostPosted: Wed Feb 08, 2006 10:07 pm    Post subject: Reply with quote

you are my angel :wink: 8)

it worked great! thanks. big thanks
Back to top
View user's profile Send private message
moja
n00b
n00b


Joined: 04 Feb 2005
Posts: 21
Location: Sweden

PostPosted: Wed Feb 08, 2006 10:43 pm    Post subject: Reply with quote

now i just gota figure out how to get the injection to work and gater data, seems lika i dont send the right data, (dont get the data to count faster on aerodump)
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2326
Location: Bretagne

PostPosted: Thu Feb 09, 2006 8:55 am    Post subject: Reply with quote

moja wrote:
you are my angel :wink: 8)
it worked great! thanks. big thanks

You're welcome! :) Could you please just add [solved] to the title of your post?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum