Blog Forum Wiki Links Contact Us NetbookUser
RunCore Pro IV SSD Transforms your ASUS EEE PC by increasing 
performance 5-40X. Your satistfaction guaranteed RunCore Pro 70mm SATA Mini PCI-e SSD
RunCore Pro IV 70mm SATA II Mini PCI-e SSD
RunCore Pro IV 2.5 Inch SATA II SSD

You are not logged in.

#1 2008-03-24 10:47:44 pm

mute
Member
From: southern maryland
Registered: 2008-03-24
Posts: 57
Website

HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

Other people have done it as well, but here's my version:

http://scottn.us/2008/03/asus-eee-pc-wi … ck-ng.html

Okay, we all know aircrack from debian etch works, but it's old. We also know injection requires a build environment, kernel sources, and loads of other fun. I made this and just got to test it on a newly recovered Eee pc. Not by choice, but that's another story. Simply put -- Never use Paragon's partition resizer on your ext2 filesystem!


    * Download http://scottn.us/aircrack-1.0b2+madwifi … ar5007.tgz
    * Open a console with CTRL+ALT+T
    * Execute: sudo bash
    * Execute: cd / ; tar vfxz /home/user/aircrack.tgz [make sure to do from /]
    * Execute: modprobe -r ath_pci wlan_scan_sta wlan
    * Execute: mv /lib/modules/2.6.21.4-eeepc/atheros ~ [move old stuff to home directory as backup]
    * Execute: depmod -a
    * Execute: modprobe ath_pci

That should be it. Feedback if I fudged the steps, please.

I'd have made a self installing .deb but like I said, my Eee PC died before I completely finished my work. Hope this gets some people up and running a lot faster!

A quick HOWTO:
airmon-ng stop ath0
airmon-ng start wifi0
aireplay-ng -9 ath0

You should get an "Injection is working!" somewhere in there smile

I was going to fix the RTC stuff, but like I said my filesystem became dead before I finished my work...

EDITs: "modprobe ath_pci" vs "modprobe ath" and changed rm to a mv, to keep old modules backed up - just in case.

Last edited by mute (2008-03-25 9:07:21 am)

Offline

 

#2 2008-03-24 11:41:28 pm

klopus
Senior Member
From: NYC
Registered: 2008-02-10
Posts: 267
Website

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

Why everybody should know how to steal somebody else's keys and break in into their private wifi?


Blue EeePC 1000HE, 2GB RAM, Mandriva KDE 2009.1 (no special kernels, drivers and scripts!)
Black EeePC 701 4G, 1GB RAM. Xandros Advanced Mode on SSD

Offline

 

#3 2008-03-25 8:06:39 am

deadDuck
Senior Member
From: Calgary, AB, Canada
Registered: 2007-07-19
Posts: 916
Website

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

I used aircrack to find out which neighbor was using my unsecured wifi ... just for information. tongue

Offline

 

#4 2008-03-25 8:14:42 am

Muadiv
Member
From: Cordoba, Argentina
Registered: 2008-03-16
Posts: 17
Website

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

I have a problem. I follow your steps, but, in the last I have this error:

eee:/>modprobe ath
FATAL: Module ath not found.

And... my wireless don't work.

Do you have some idea how I can solve this ?

Thanks (sory , my english is bad)

Offline

 

#5 2008-03-25 9:03:15 am

mute
Member
From: southern maryland
Registered: 2008-03-24
Posts: 57
Website

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

I'm sorry, it was getting late.  That should be:

modprobe ath_pci

Fixed in original post..

Offline

 

#6 2008-03-26 12:20:13 am

Muadiv
Member
From: Cordoba, Argentina
Registered: 2008-03-16
Posts: 17
Website

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

Works now big_smile

How i can use this aircrack to crack wep passwords ? do u have some tutorial ???
Wath other softwar I need to crack passwords ?

Thanks.

Offline

 

#7 2008-03-27 6:43:47 am

Flake
Member
Registered: 2008-03-22
Posts: 21

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

Muadiv wrote:

Works now big_smile

How i can use this aircrack to crack wep passwords ? do u have some tutorial ???
Wath other softwar I need to crack passwords ?

http://www.google.com/ will tell you all you need to know about the subject.


Universal Command Guide - translates commands between several operating systems
Linux for Windows Administrators - takes your existing Windows knowledge and teaches you the equivalent Linux concepts

Offline

 

#8 2008-03-28 12:13:28 pm

jpan1971
Member
From: Mitilini, GREECE
Registered: 2007-10-30
Posts: 14

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

How to remove aircrack and rollback the original drivers?

Offline

 

#9 2008-03-28 5:19:55 pm

Heiko
New member
Registered: 2008-01-27
Posts: 7

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

I have a problem too...

  * Execute: modprobe -r ath_pci wlan_scan_sta wlan
-> Fatal: Module WLAN is in use

airmon-ng stop ath0
airmon-ng start wifi0
aireplay-ng -9 ath0

This works, but my wlan does not work anymore :-(

Please help!

Offline

 

#10 2008-03-29 3:03:06 am

Heiko
New member
Registered: 2008-01-27
Posts: 7

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

Ok, wlan works again, but now airmon doesn't...

Offline

 

#11 2008-03-29 12:50:16 pm

Zuidel
New member
Registered: 2008-02-10
Posts: 4

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

Can someone please explian me how to roll back the drivers?

Thanks

Offline

 

#12 2008-04-02 1:15:28 am

spaceship9
Member
Registered: 2008-03-25
Posts: 39

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

I see reports of failure from people but can anyone confirm this works?

Offline

 

#13 2008-04-02 7:28:07 pm

joepesce
New member
Registered: 2008-03-10
Posts: 6

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

My-EEE:/home/user> aireplay-ng --test ath0
ioctl(RTC_IRQP_SET) failed: Invalid argument
Make sure enhanced rtc device support is enabled in the kernel (module
rtc, not genrtc) - also try 'echo 1024 >/proc/sys/dev/rtc/max-user-freq'.
00:27:23  Trying broadcast probe requests...
00:27:25  No Answer...
00:27:25  Found 0 APs


this is when I try to test injection....

Offline

 

#14 2008-04-03 12:11:32 pm

mattross
New member
Registered: 2008-04-03
Posts: 2

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

Like Joe I cannot get this working on my 4G. In addition to the RTC errors I also get the following output:

Interface ath0:
ioctl(SIOCGIFINDEX) failed: No such device

Then the wireless network is down for the count.

Offline

 

#15 2008-04-03 12:24:02 pm

celticfan1888
Senior Member
Registered: 2008-01-02
Posts: 199

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

i recieve the pending when trying to connect ot my home wifi network after installing these drivers

can see my network and select it however it cannot seem to find a dhcp

can someone please post how to roll back to the original xandros drivers

or hieiko can you tell me how you got your wifi working ..


his has become frustrating trying to get my wifi working again


Asus EEE S 101 16 GB 2Gb ram windows XP and Ubuntu 

EEE900 20 GB 2gb ram Xandros, windows7 , Ubuntu

Offline

 

#16 2008-04-03 2:17:43 pm

celticfan1888
Senior Member
Registered: 2008-01-02
Posts: 199

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

if i give  static ip it connects but at a very poor signal strength

i want to return to the orginal wifi drivers

anyone knowhow to do this


Asus EEE S 101 16 GB 2Gb ram windows XP and Ubuntu 

EEE900 20 GB 2gb ram Xandros, windows7 , Ubuntu

Offline

 

#17 2008-04-04 4:23:14 am

celticfan1888
Senior Member
Registered: 2008-01-02
Posts: 199

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

hi someone on here must know how to uninstall the madwifi drivers and re-install the
original eee pc drivers

any help would be much appreciated .... thanks


Asus EEE S 101 16 GB 2Gb ram windows XP and Ubuntu 

EEE900 20 GB 2gb ram Xandros, windows7 , Ubuntu

Offline

 

#18 2008-04-04 6:12:54 am

mattross
New member
Registered: 2008-04-03
Posts: 2

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

The way I uninstalled the drivers was to use a backup. I had previously used 'dd' to backup both the hdc1 and hdc2 partitions to files when I removed UnionFS and merged to one partition as per the Wiki. I mounted these files as loopback devices and then copied the entire '/lib/modules' directory from the backup over the top of my current files from hdc1 first, then hdc2.

After a restart my Wi-Fi is working again. Not sure what you would need to do if you don't have a backup of the modules to hand though.

Offline

 

#19 2008-04-04 2:34:26 pm

celticfan1888
Senior Member
Registered: 2008-01-02
Posts: 199

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

i did not back up my stuff before i replaced the drivers
so i am looking for another solution luckily i dual boot win xp aswell so my wifi works there


Asus EEE S 101 16 GB 2Gb ram windows XP and Ubuntu 

EEE900 20 GB 2gb ram Xandros, windows7 , Ubuntu

Offline

 

#20 2008-05-26 12:20:51 pm

deed02392
Senior Member
From: UK
Registered: 2008-04-26
Posts: 126
Website

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

http://www.georgehafiz.co.uk/aircrackeeepc.php

Step by step guide on aircrack-ng with Eee PC 900


Black Eee PC 900 with Linux & 16+4GB SSD - thanks Misco.co.uk, for getting it here less than 22Hrs after order!

Offline

 

#21 2008-05-28 6:20:22 pm

supernuller
New member
Registered: 2008-05-28
Posts: 3

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

Your modules seem to work but only for aircrack if I try to connect it doesn't work and its not a problem with dhcp because I have tried manually assigned an ip too and used it on multiple ap's one with WPA and one with no encryption. any ideas?

Last edited by supernuller (2008-05-28 6:20:47 pm)

Offline

 

#22 2008-09-10 12:31:57 pm

cjdshaw
Member
Registered: 2008-02-25
Posts: 72

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

If anyone's followed these steps and now can't connect to a WPA network, you need to look here
http://wiki.eeeuser.com/wpa_default_xandros

Or just follow these steps:

Code:

cd /home/user
tar jcf /home/user/old_wpa_supplicant.tar.bz /usr/sbin/wpa_supplicant /usr/sbin/wpa_cli
sudo rm -v /usr/sbin/wpa_supplicant /usr/sbin/wpa_cli
wget http://http.us.debian.org/debian/pool/main/w/wpasupplicant/wpasupplicant_0.5.5-2_i386.deb
sudo dpkg -i /home/user/wpasupplicant_0.5.5-2_i386.deb
sudo ln -s /sbin/wpa_supplicant /usr/sbin/wpa_supplicant
sudo ln -s /sbin/wpa_cli /usr/sbin/wpa_cli
sudo nano /etc/wpa_supplicant/functions.sh

Search (ctrl+w in nano) for “wext” until you come to the line (should be line 188) that looks like this: (should be the 2nd search result)

WPA_SUP_DRIVER="wext"

Change it to:

WPA_SUP_DRIVER="madwifi"

Now Ctrl+O to overwrite (save changes) and hit enter, Then Ctrl+X to exit

sudo nano /usr/bin/startsimple.sh

Search for the line

networkmonitor ath0 eth0 &

and replace it with

networkmonitor wifi0 eth0 &

Ctrl-O, Enter, Ctrl-X. Reboot and you're done

Offline

 

#23 2008-09-24 3:21:31 am

erewhon
New member
Registered: 2008-09-24
Posts: 1

Re: HOWTO: aircrack 1.0 beta 2 + madwifi r3366+ar5007 (with binaries!)

As a Linux newbie, I found I needed some more info to get this working. As such, I have used the info posted here and compiled an 'Idiots Guide' (written by an idiot!)

Download the madwifi driver+compiled aircrack apps - reference http://forum.eeeuser.com/viewtopic.php? … 40#p193240

http://scottn.us/aircrack-1.0b2+madwifi … ar5007.tgz

Save this to /home/user

Copy this file to root:

Ctrl-alt-T
 
su –
password

cd /home/user

cp aircrack-1.0b2+madwifi-r3366+ar5007.tgz /
cd /


Disable Wireless:

Fn – F2

Backup drivers to home directory (moving them so they are not reloaded):

mkdir /home/user/atheros-bkup
mv /lib/modules/2.6.21.4-eeepc/atheros/* /home/user/atheros-bkup

Unload the wireless driver modules (you will get errors if the wireless light is still on):

modprobe -r ath_pci wlan_scan_sta wlan

Check modules are unloaded:

lsmod | grep ath
lsmod | grep wlan

Extract the driver and app files to correct location:

cd /
tar vfxz aircrack-1.0b2+madwifi-r3366+ar5007.tgz

Rebuild package dependency:

depmod –a
(removed the old and adds the new)

Probe wireless module:

modprobe ath_pci


Check modules are loaded:

lsmod | grep ath
lsmod | grep wlan

Enable hardware:

Fn – F2

Put wireless card into monitor mode:

wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode monitor
ifconfig ath0 up
iwconfig ath0 channel 1

Scan for wireless WEP key:

wesside-ng –i ath0 –v <MAC-Address-Of Target>

e.g.
wesside-ng –i ath0 –v 01:AA:01:AB:EE:AA

Any errors usually relate to the AP not being WEP-enabled (or not following the above to the letter in the correct order)

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson