maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [TUTORIAL] How to use aircrack-ng with the bleeding-edge wifi drivers (https://talk.maemo.org/showthread.php?t=68002)

jd4200 2011-01-07 22:23

Re: [TUTORIAL] How to use aircrack-ng with the bleeding-edge wifi drivers
 
Quote:

Originally Posted by saud khan (Post 914494)
can you please tell me exactly what i have to do to get the handshake? i just want to check if i am doing something wrong.

I just did. :)

1. Make sure you are fairly close to the access point.
2. Type: airodump-ng -c "X" wlan0 (where X is the channel number)
3. Connect another wireless device to the access point (this is the only way you can capture a handshake).

saud khan 2011-01-07 22:31

Re: [TUTORIAL] How to use aircrack-ng with the bleeding-edge wifi drivers
 
i am sitting in the same room so the router must be about 1.5 metres away from me. I tried that but it didnt work :( This is getting frustrating. i have spent my whole day trying to figure this out..
can you help me with why i cant get into monitor mode with airmon-ng command?

Quote:

Originally Posted by jd4200 (Post 914499)
I just did. :)

1. Make sure you are fairly close to the access point.
2. Type: airodump-ng -c "X" wlan0 (where X is the channel number)
3. Connect another wireless device to the access point (this is the only way you can capture a handshake).


Mentalist Traceur 2011-01-07 22:37

Re: [TUTORIAL] How to use aircrack-ng with the bleeding-edge wifi drivers
 
Did you run load.sh first, to make sure you're on the right driver? Also, airmon-ng doesn't properly work with the version of aircrack-ng in the repos, because it conflicts with installing iw, and iw is apparently necessary for airmon-ng working right. In otherwords, I don't know all the technical details.

Do this to put your card into monitor mode if airmon-ng doesn't work:

Code:

ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up

Notice that the first and third command are iFconfig, the second one is iWconfig. If you use ifconfig instead of iwconfig it'll just give you an error. I never used iwconfig instead of ifconfig, so I'm not sure what it does. Also, I'm pretty sure you need to be root to do it.

saud khan 2011-01-07 22:41

Re: [TUTORIAL] How to use aircrack-ng with the bleeding-edge wifi drivers
 
ya this is actually how i am getting into monitor mode.. and yes i am using bleeding edge driver. i guess then the problem is just with handshaking.. i dont know where i am going wrong. i have tried two tutorial and no success :(

Quote:

Originally Posted by Mentalist Traceur (Post 914509)
Did you run load.sh first, to make sure you're on the right driver? Also, airmon-ng doesn't properly work with the version of aircrack-ng in the repos, because it conflicts with installing iw, and iw is apparently necessary for airmon-ng working right. In otherwords, I don't know all the technical details.

Do this to put your card into monitor mode if airmon-ng doesn't work:

Code:

ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up

Notice that the first and third command are iFconfig, the second one is iWconfig. If you use ifconfig instead of iwconfig it'll just give you an error. I never used iwconfig instead of ifconfig, so I'm not sure what it does. Also, I'm pretty sure you need to be root to do it.


jd4200 2011-01-07 22:41

Re: [TUTORIAL] How to use aircrack-ng with the bleeding-edge wifi drivers
 
Do as MT said above, and also you may have to use iwconfig to manually set the channel.

So, iwconfig wlan0 channel X (again X is the channel number).

In all you should be doing:
1. Loading the modules with the load.sh script.
2. Manually putting the card into monitor mode (as MT said above)
3. Manually set the channel to match that of your access point:
(as above)
4. Running airodump: airodump -c [Channel Number] wlan0

saud khan 2011-01-07 22:52

Re: [TUTORIAL] How to use aircrack-ng with the bleeding-edge wifi drivers
 
ok i just tried that but now i get " fixed channel wlan: 2"
lol any guess now?

jd4200 2011-01-07 23:07

Re: [TUTORIAL] How to use aircrack-ng with the bleeding-edge wifi drivers
 
Quote:

Originally Posted by saud khan (Post 914518)
ok i just tried that but now i get " fixed channel wlan: 2"
lol any guess now?

Some other process is trying to change the channel.
Reboot and try it all again.

saud khan 2011-01-07 23:19

Re: [TUTORIAL] How to use aircrack-ng with the bleeding-edge wifi drivers
 
My phone's battery died as soon as i restarted and im not at home atm :P lol i guess i will try it when i get back home.

Creamy Goodness 2011-01-07 23:25

Re: [TUTORIAL] How to use aircrack-ng with the bleeding-edge wifi drivers
 
typo:

/home/user/MyDocs/wl1251-maemo/binary/kernel-power # cd /boot
/boot # mv zImage-2.6.28-maemo46-wl1 multiboot/wmlinuz-2.6.28.10power46-wl1

should be a v

augustthe 2011-01-07 23:29

Re: [TUTORIAL] How to use aircrack-ng with the bleeding-edge wifi drivers
 
i realize that when i using aircrack my root is getting full there no way to delete them


All times are GMT. The time now is 17:36.

vBulletin® Version 3.8.8