View previous topic :: View next topic |
Author |
Message |
moja n00b
Joined: 04 Feb 2005 Posts: 21 Location: Sweden
|
Posted: Wed Feb 08, 2006 8:30 pm Post subject: wg311t +madwifi + mode monitor wont work [SOLVED] |
|
|
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 |
|
|
moja n00b
Joined: 04 Feb 2005 Posts: 21 Location: Sweden
|
Posted: Wed Feb 08, 2006 8:36 pm Post subject: |
|
|
can add:
i have recompiled the kernel with both the radio things and crypt |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Wed Feb 08, 2006 9:27 pm Post subject: Re: wg311t +madwifi + mode monitor wont work |
|
|
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:
Now you can up your iface with ifconfig:
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...
Have fun! |
|
Back to top |
|
|
moja n00b
Joined: 04 Feb 2005 Posts: 21 Location: Sweden
|
Posted: Wed Feb 08, 2006 10:07 pm Post subject: |
|
|
you are my angel
it worked great! thanks. big thanks |
|
Back to top |
|
|
moja n00b
Joined: 04 Feb 2005 Posts: 21 Location: Sweden
|
Posted: Wed Feb 08, 2006 10:43 pm Post subject: |
|
|
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 |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Thu Feb 09, 2006 8:55 am Post subject: |
|
|
moja wrote: | you are my angel
it worked great! thanks. big thanks |
You're welcome! Could you please just add [solved] to the title of your post? |
|
Back to top |
|
|
|