aircrack 2.41 not running with madwifi-ng-r1457-20060228 and Netgear WG511T (Atheros)

aircrack 2.41 not running with madwifi-ng-r1457-20060228 and Netgear WG511T (Atheros)

Postby guru-meditation » Wed Mar 01, 2006 5:50 am

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: Select all
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: Select all
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: Select all
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: Select all
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: Select all
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
Mini Stumbler
 
Posts: 3
Joined: Wed Mar 01, 2006 4:55 am

Postby guru-meditation » Wed Mar 01, 2006 7:16 am

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: Select all
wlanconfig ath0 destroy

wlanconfig ath0 create wlandev wifi0 wlanmode monitor


The result is:
Code: Select all
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
Mini Stumbler
 
Posts: 3
Joined: Wed Mar 01, 2006 4:55 am

Postby slice » Wed Mar 01, 2006 10:45 am

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
Mini Stumbler
 
Posts: 8
Joined: Thu Jan 27, 2005 10:24 am

Postby guru-meditation » Thu Mar 02, 2006 1:09 am

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
Mini Stumbler
 
Posts: 3
Joined: Wed Mar 01, 2006 4:55 am

Postby slice » Sun Mar 05, 2006 12:13 pm

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
Mini Stumbler
 
Posts: 8
Joined: Thu Jan 27, 2005 10:24 am


Return to Unix/Linux

Who is online

Users browsing this forum: No registered users and 3 guests