aircrack-ng with iwlagn (Ubuntu Intrepid)

Posted on Monday, December 29th, 2008 at 3:21 pm

Pre-requisite:

  • Kernel 2.6.27 or higher
  • Basic development tools (sudo apt-get build-essentials in Ubuntu)
  • aircrack-ng

 
Make a temporary folder in home directory

$ mkdir temp

 
Then type this commands

$ cd temp

$ wget http://www.intellinuxwireless.org/iwlwifi/downloads/iwlwifi-4965-ucode-228.57.2.21.tgz

$ tar -zxf iwlwifi-4965-ucode-228.57.2.21.tgz

$ cd iwlwifi-4965-ucode-228.57.2.21

$ sudo cp * /lib/firmware/

$ cd ..

$ wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2

$ tar -xjf compat-wireless-2.6.tar.bz2

$ cd compat-wireless-2008-12-28

$ make

$ sudo make install

Reboot.

To confirm, use aireplay-ng to test the packet injection.

$ sudo aireplay-ng -9 mon0

 

You can leave a response, or trackback from your own site.

11 comments

 1 
Mili:

This doesn’t work for me. You only showed how to download official drivers, not how to apply patch for packet injection.

January 6th, 2009 at 6:00 am
 2 
eyereex:

any error messages?

no driver patching is required for iwlagn.. u can have a look at aircrack-ng’s forum for more info..

January 6th, 2009 at 1:13 pm
 3 
bjorn:

Just what I needed! Thanks!

January 7th, 2009 at 1:19 am
 4 
nook:

Thank you so much…
I really felt like an idiot not getting this to work while it seemed quite easy. But with aswering mili you made me realize that i might start a mon0 before trying the injektion.

p.s. the compat-wireless directory has a date (compat-wireless-2008-12-28) no copy and paste here…..

January 16th, 2009 at 3:59 am
 5 
eyereex:

yepp.. u can’t simply copy paste because the compat-wireless directory depends on the date it was recently updated.. so to be sure, just hit Tab key after typing “cd compat-wireless”.. cheers

January 16th, 2009 at 7:01 pm
 6 
qkilla:

I also had to run the follwoing before I could get it to compile:

sudo apt-get install build-essentials
sudo apt-get install linux-source

the first argument was mentioned but the “install” argument is needed. hope this helps someone.

January 26th, 2009 at 7:58 am
 7 
yotremo:

Hi,
I just want to thank you for this post. I ve been searching for hours, tried the patch 2-3 times, following the walktroughs of different sites.. I reread them and retried them and couldnt get it to work.

So THANKS!

March 20th, 2009 at 11:49 am
 8 
wowiewowe:

wow, thank you so much, i’m a newb with linux and this has now enabled me to inection while in monitor mode, i have the intel wifi link 5300 AGN, works!!! 100%

March 22nd, 2009 at 6:41 am
 9 
lisonator:

Hi,
I have problem with ‘make’ command… Errors:

/home/jml/temp/compat-wireless-2009-04-20/drivers/net/wireless/libertas/if_sdio.c:53: error: ‘SDIO_DEVICE_ID_MARVELL_8688WLAN’ undeclared here (not in a function)
make[4]: *** [/home/jml/temp/compat-wireless-2009-04-20/drivers/net/wireless/libertas/if_sdio.o] Błąd 1
make[3]: *** [/home/jml/temp/compat-wireless-2009-04-20/drivers/net/wireless/libertas] Błąd 2
make[2]: *** [/home/jml/temp/compat-wireless-2009-04-20/drivers/net/wireless] Błąd 2
make[1]: *** [_module_/home/jml/temp/compat-wireless-2009-04-20] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.27-12-generic’
make: *** [modules] Błąd 2

Do You know what is a problem here?

April 28th, 2009 at 3:50 pm
 10 
eyereex:

have you installed linux-headers-2.6.27-12-generic package?

May 3rd, 2009 at 10:23 am
 11 
jasveer:

Thanks a lot man..Great help.

May 6th, 2010 at 10:27 pm

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment