This blog will redirect 2 http://trancemp3s.blogspot.com/ in 6 secs

Monday, March 24, 2008

Asus Eee PC with aircrack-ng!

===
YOU DO THIS AT YOUR OWN RISK
THESE INSTRUCTIONS ARE PROVIDED WITH NO WARRENTY
Please read blog comments before attempting this to see other peoples feedback first.

===

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-r3366+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.

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 :)

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

10 comments:

Anonymous said...

How to remove aircrack and rollback the original drivers?

Anonymous said...

omg.. your insane.. working for me .. my eeepc able to aircrack again.. thx alot

john said...

Your drivers work fine for aircrack and so do the ones I compiled my self but for some reason if I want to connect to a normal ap it wont connect. I tried it on open and WPA networks but nothing it just wont connect. Even if I assign an ip manually it still wont work. Any help or ideas would be greatly appreciated.

scott said...

i don't know man. mine worked fine. did you put the card back into normal mode? it won't while it's monitoring maybe. i haven't had my eeepc for a few weeks, i let a friend borrow it...

bob haste said...

Hi, these are great drivers! Can you let me know how I can build them from source incase I want to use another kernel? Which patches did you apply? thx

scott said...

this is kind of abandoned. i'm sure there's better things on the forums now. http://forum.eeeuser.com/
i've switched to windows 2000 since i got my eeepc back with no reason to muck around in linux again.

scott said...

just got this in my email:

roffelmavo has left a new comment on your post "blah!":

look, i would like you to explain me how to return my drivers patches back and the fully made program please otherwise it could ruin my computer and me and you both don't want that

email me with a guide how to restore it back please:email removed

and then tell me why didnt you finish what you started, thanks for listening

roffelmavo the hacker.

=== and also ===

hello, i would appreciate it if you told me how to fix my wifi problem in the asus eee pc, after all you made the problem by making a 75% made program, so i would like to know how to get my drivers back because everything reduced 50 points of wifi

email me back at: email removed with a guide on how to fix it

thx
roffelmavo the hacker

=== my reply ===

1. You left the comment on the wrong blog.
2. It was left unfinished because my EEE PC's Linux install got hosed by a disk partition utility and I lost things, including interest. I've since been using Windows 2000 and more recently Windows XP. I plan to soon get a 16GB SDHC card and possibly restore the internal HD with Linux (not sure if it'll be EEE's Distro though).

You sign your comment as "roffelmavo the hacker" I'd think you'd know how to fix this. Did you move your files to your home directory as explained in the steps on http://scottn.us/2008/03/asus-eee-pc-with-aircrack-ng.html ?

You should be able to do the reverse to move them back:

mv ~/*.ko /lib/modules/2.6.21.4-eeepc/atheros

Maybe you'd like to delete everything that is put into /lib/modules/2.6.21.4-eeepc/net from the tar.gz file first.

As with many "blogs" on the internet and using other peoples binaries, it'd done as a convinence to save people from having to get their own development tools and environment setup just to do this one task, and is provided AS-IS with no warrenty. I'm no company providing you a product which I have to support, so please don't suggest that this is my fault. I had great results and didn't notice a 50% decrease on my EEE PC 701 4G. I was able to still pickup a rather distant AP and capture.

I am a rather nice guy though. If these steps don't help I can try to troubleshoot with you more. I'm available on every messenger I know of. neutronscott on aol instant messenger being preferred.

Thanks,
Scott

Jacque Passive said...

Hi Scott,

Very much appreciate you putting together that download and instructions. Really helped me out a great deal.

You mention the "RTC" stuff - when I try to test injection using Aireplay ('aireplay-ng -9 ath0') I get :

ioctl(RTC_IRQP_SET) failed: Invalid Argument
Make sure enhanced... etc

then it says "trying to broadcast probe requests...
No Answer...
Found 0 APs


Is this due to the RTC problem, or am I just close enough to any APs?

Many thanks,

Jack

Cee said...

Hey Scott, loved reading your blog, are you still checking this post? I need some help running aircrack on my EEEPC... a newbie at this really and would love to learn.

Thanks mate.

scott said...

I certainly still get notified of any comments. This seems to be the most popular, but alas one I could help less with. Most of my phases last two weeks. I've not ran Linux on my EEEPC in forever! I did some passive sniffing as well in Windows using CommView WiFi. Google would probably be your better answer, sorry.