NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 03-01-2006   #1 (permalink)
guru-meditation
Registered Member
 
Join Date: Mar 2006
Posts: 3
aircrack 2.41 not running with madwifi-ng-r1457-20060228 and Netgear WG511T (Atheros)

Hello,

I just have just successfully build and installed the above mentioned madwifi drivers.
madwifi seems to be working correctly as you can see below.
Code:
root@slax:~# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:09:5B:98:E3:FD
          inet6 addr: fe80::209:5bff:fe98:e3fd/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:11:25:D2:AC:BA
          inet addr:192.168.254.102  Bcast:192.168.254.255  Mask:255.255.255.0
          inet6 addr: fe80::211:25ff:fed2:acba/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:38432 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47696 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:17134965 (16.3 Mb)  TX bytes:5915094 (5.6 Mb)
          Interrupt:16

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 b)  TX bytes:100 (100.0 b)

wifi0     Link encap:Ethernet  HWaddr 00:09:5B:98:E3:FD
          inet6 addr: fe80::209:5bff:fe98:e3fd/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:334 (334.0 b)  TX bytes:5198 (5.0 Kb)
          Interrupt:16 Memory:f8c40000-f8c50000
Code:
root@slax:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:00:00:00:00:00
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
Code:
root@slax:~# wlanconfig ath0 list scan
SSID            BSSID              CHAN RATE  S:N   INT CAPS
DATEC-G         00:13:10:14:cf:9f    2   54M  8:0   100 EPs
When I try starting airodump 2.41, I get the following error:
Code:
root@slax:~# airodump ath0 test
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 <#>'
When I try to manually put the card into monitor mode, I get the following results:
Code:
root@slax:~# iwconfig ath0 mode monitor
Error for wireless request "Set Mode" (8B06) :
    SET failed on device ath0 ; Invalid argument.
Everything was working great (except packet injection), when I used the madwifi drivers, which came with the release 3.0 beta of <<back|track.

Is the current situation a problem of the madwifi release, or my installation of the madwifi release?
Or is it a problem of the aircrack suite and the current madwifi release?
And is there a solution to my problem or problems?

THX
guru-meditation
guru-meditation is offline   Reply With Quote
Old 03-01-2006   #2 (permalink)
guru-meditation
Registered Member
 
Join Date: Mar 2006
Posts: 3
Murphy strikes always!
After dealing with my problem for 2 days, I finally wrote the above post.
2 hours later I solved my problem myself.

"iwconfig ath0 mode monitor" does not work anymore with the new madwifi drivers.
What you have to do instead (if ath0 is already up):
Code:
wlanconfig ath0 destroy

wlanconfig ath0 create wlandev wifi0 wlanmode monitor
The result is:
Code:
root@slax:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:""
          Mode:Monitor  Channel:0  Access Point: 00:00:00:00:00:00
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
airodump is working again, and aireplay can inject packets.
Mission accomplished.

Have a nice day....
guru-meditation
[Got my first TCP/IP running on my Amiga 1200 - those were the days ;-)]
guru-meditation is offline   Reply With Quote
Old 03-01-2006   #3 (permalink)
slice
Registered Member
 
Join Date: Jan 2005
Posts: 8
So do you use ath0 or wifi0 as the interface for airodump? I've been messing with my WG511T in BackTrack and it's been making everything freeze while my PrismGT works great.
slice is offline   Reply With Quote
Old 03-02-2006   #4 (permalink)
guru-meditation
Registered Member
 
Join Date: Mar 2006
Posts: 3
I use ath0 for airodump and aireplay.
airodump works really great, but aireplay looks not so good.
Attak mode -0 and -1 are working. I am able to authenticate to an AP and I am able to send deauthentication packtes to an AP, but I just do not see any ARP packets and if I use attack mode -2, I will not get the IVs counting up. No matter which packet (provided that is from / for the correct BSSID) I use.

Which card do you haver with the PrismGT?
guru-meditation is offline   Reply With Quote
Old 03-05-2006   #5 (permalink)
slice
Registered Member
 
Join Date: Jan 2005
Posts: 8
It's an early Netgear WG511. Most have useless chipsets since they use softMAC but some have fullMAC which are really well supported. I plan on doing the external antenna mod on it one of these days.
slice is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 12:50 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.