Aircrack-ng
Welcome, Guest. Please login or register.
August 01, 2010, 02:20:26 am

Login with username, password and session length
Search:     Advanced search
Read forum rules, "Read this before posting". Post that do not respect them will be trashed.
34568 Posts in 6337 Topics by 20712 Members
Latest Member: illino87t
* Home Help Search Login Register
+  Aircrack-ng
|-+  Members only
| |-+  Drivers
| | |-+  Support for intel 4965AGN/iwlwifi ?
« previous next »
Pages: [1] 2 Print
Author Topic: Support for intel 4965AGN/iwlwifi ?  (Read 48553 times)
adema
Newbie
*
Posts: 3


Support for intel 4965AGN/iwlwifi ?
« on: October 21, 2007, 10:24:58 pm »

I just want to know if the driver iwlwifi will be supported in the futur and if yes, when ?
I really need to use aircrack, it's a fantastic tool :p

adema

P.S : if someone know how to use injection with intel 4965 AGN, can you tell how me please?
« Last Edit: October 21, 2007, 10:27:49 pm by adema » Logged
Mister_X
Administrator
Hero Member
*****
Posts: 3626


WWW
Re: Support for intel 4965AGN/iwlwifi ?
« Reply #1 on: October 21, 2007, 10:28:03 pm »

yes, it will.
Logged
adema
Newbie
*
Posts: 3


Re: Support for intel 4965AGN/iwlwifi ?
« Reply #2 on: October 21, 2007, 10:33:47 pm »

Do you have a delay ?
On week ? One month ? Are you already working on it ?
Sorry for being impetience Smiley
Logged
Raskal
Newbie
*
Posts: 6


Re: Support for intel 4965AGN/iwlwifi ?
« Reply #3 on: November 07, 2007, 03:35:52 pm »

Hi,

I'm also searching for patches to make the driver ilwifi works with aircrack-ng...
Thanks to tell us when it's supported  Wink

Logged
hatake_kakashi
Newbie
*
Posts: 34


Re: Support for intel 4965AGN/iwlwifi ?
« Reply #4 on: November 18, 2007, 02:06:40 pm »

The drivers are heavily dependent on the programmers who can make support for them. If there are no support, be patient or go learn how to code + reverse engineer.

This has nothing to do with aircrack-ng suite which only makes use of the driver that was already provided by means of internet or otherwise.
Logged
fett2k
Newbie
*
Posts: 3

Exploit code, not people.


Re: Support for intel 4965AGN/iwlwifi ?
« Reply #5 on: November 26, 2007, 04:20:48 pm »

sorry for being noob, but i have a question.

even without the patch, shouldnt this work? i understood that the patch is for packet reinjection, so the packet gathering would be much more slower without the patch... but still isnt it possible to crack a wep key?

also sorry for my english, i'm portuguese  Cheesy
Logged
darkAudax
Administrator
Hero Member
*****
Posts: 5905


Re: Support for intel 4965AGN/iwlwifi ?
« Reply #6 on: November 26, 2007, 04:29:21 pm »

fett2k,

The basic drivers need to be available and and working.  If the base driver does not support monitor mode then a patch even for that is required.

d.
Logged
fett2k
Newbie
*
Posts: 3

Exploit code, not people.


Re: Support for intel 4965AGN/iwlwifi ?
« Reply #7 on: November 28, 2007, 07:36:51 pm »

but i can get it to monitor mode...

ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up

ifconfig shows me that it's in monitor mode, and i can run airodump-ng to capture ivs, i just dont get to reinject packets to the network...

thanks
Logged
darkAudax
Administrator
Hero Member
*****
Posts: 5905


Re: Support for intel 4965AGN/iwlwifi ?
« Reply #8 on: November 28, 2007, 07:45:55 pm »

fett2k,

If monitor mode works, then read the wiki to learn how to use aircrack-ng.

Start with doing an injection test (aireplay-ng -9 ath0).  Then follow the simple wep crack tutorial.

The wiki has the details for all of the above.

d.
Logged
fett2k
Newbie
*
Posts: 3

Exploit code, not people.


Re: Support for intel 4965AGN/iwlwifi ?
« Reply #9 on: November 29, 2007, 06:28:04 pm »

i cant post anything, it replyes to me "Spam detected."  Huh
Logged
Mister_X
Administrator
Hero Member
*****
Posts: 3626


WWW
Re: Support for intel 4965AGN/iwlwifi ?
« Reply #10 on: November 29, 2007, 06:33:26 pm »

fett2k, send me by pm what you want to post.
Logged
alacrityathome
Full Member
***
Posts: 248

Technical Putzing


Re: Support for intel 4965AGN/iwlwifi ?
« Reply #11 on: January 05, 2008, 05:56:36 am »

In BT3 Beta, IPW4965 now works well in monitor mode to include airodump-ng.  No injection yet, though.

I wonder if the moderatiors/administrators can refer me to a web site where I can monitor progress on IPW 4965 injection?  I know it is not part of aircrack-ng.....but, I would like to monitor the web site that is hosting the driver progress on the 4965.  Thanks.

Alacrity
Logged
JMF
Full Member
***
Posts: 126



Re: Support for intel 4965AGN/iwlwifi ?
« Reply #12 on: January 05, 2008, 07:56:03 pm »

fett2k:

In case you didn't get the answer... if you can get your card in monitor mode, you can capture packets and use them to crack the password.
The only problem is you're depending on something else generating packets for you.

But I invite you to look at this topic and maybe try somethings by yourself:

Topic:     * iwlwifi drivers with injection *
http://tinyshell.be/aircrackng/forum/index.php?topic=2898.0

You can try this too, Alacrity
Logged
ml
Newbie
*
Posts: 4


Re: Support for intel 4965AGN/iwlwifi ?
« Reply #13 on: January 07, 2008, 08:38:18 am »

I've created a patch at http://www.cross-lfs.org/~mlankhorst/iwl4965_injection.patch - it needs a v2.6.23!!! kernel to work, and it needs the drivers from www.intellinuxwireless.org .

Apply with patch -Np1 < patchfile and make sure you install the drivers and the ucode.

Also get the 1.0-dev branch, else injection will not work: svn co http://trac.aircrack-ng.org/svn/branch/1.0-dev aircrack-ng , then build it.

If you don't understand what I said above, please buy a different card since this is too involved for you.
Logged
Zermelo
Hero Member
*****
Posts: 755



Re: Support for intel 4965AGN/iwlwifi ?
« Reply #14 on: January 10, 2008, 07:39:02 am »

Ok, I am going to post my results using ml's patch above.  A few preliminary notes: The adapter is an intel 4965 a/b/g/n and I'm on Gutsy.

Obviously the first step was to upgrade my kernel to 2.6.23 since Gutsy comes with kernel 2.6.22-14.  I managed to do this seemingly successfully:

uname -r:

Quote
root@Catalyst:~# uname -r
2.6.23.1-custom
root@Catalyst:~#

Next, I downloaded the drivers from the intel site and used the patch.  This seemed to go through without any errors:

Quote
root@Catalyst:~/Desktop/iwlwifi-1.2.23# patch -Np1 -i iwlwifi.patch
(Stripping trailing CRs from patch.)
patching file origin/iwl3945-base.c
Hunk #1 succeeded at 2490 (offset -94 lines).
Hunk #2 succeeded at 2780 (offset -90 lines).
Hunk #3 succeeded at 2801 (offset -90 lines).
Hunk #4 succeeded at 2812 (offset -90 lines).
root@Catalyst:~/Desktop/iwlwifi-1.2.23#

Next, comes the compilation.  This had to be done twice since the makefile had to be modified:

1st run:
Quote
root@Catalyst:~/Desktop/iwlwifi-1.2.23# make SHELL=/bin/bash
Checking kernel compatibility in:
        /lib/modules/2.6.23.1-custom/source
 * Kernel requires compatibility version:
   - Requires IEEE80211_CONF_CHANNEL_SWITCH compat.
   - Remove CONFIG_IWL4965_HT option if defined
   - Remove CONFIG_IWL4965_HT_AGG option if defined
Building compatibility version in 'compatible/' directory:
Copying compatible/ from origin/...done
 + Applying: patches/06-csa.patch
        diff -urp old/iwl-helpers.h origin/iwl-helpers.h

Makefile has been modified by generate_compatible, please run `make' again

make: *** [compatible/kversion] Error 1
root@Catalyst:~/Desktop/iwlwifi-1.2.23#

2nd run:
Quote
root@Catalyst:~/Desktop/iwlwifi-1.2.23# make SHELL=/bin/bash
make -C /lib/modules/2.6.23.1-custom/source O=/lib/modules/2.6.23.1-custom/build M=/root/Desktop/iwlwifi-1.2.23/compatible/ EXTRA_CFLAGS="-DCONFIG_IWL3945_DEBUG=y -DCONFIG_IWL4965_DEBUG=y -DCONFIG_IWL3945_SPECTRUM_MEASUREMENT=y -DCONFIG_IWL4965_SPECTRUM_MEASUREMENT=y -DCONFIG_IWL4965_SENSITIVITY=y -DCONFIG_IWL3945_QOS=y -DCONFIG_IWL4965_QOS=y" modules
make[1]: Entering directory `/usr/src/linux-2.6.23.1'
  CC [M]  /root/Desktop/iwlwifi-1.2.23/compatible/iwl3945-base.o
  CC [M]  /root/Desktop/iwlwifi-1.2.23/compatible/iwl-3945.o
  CC [M]  /root/Desktop/iwlwifi-1.2.23/compatible/iwl-3945-rs.o
  CC [M]  /root/Desktop/iwlwifi-1.2.23/compatible/iwl4965-base.o
  CC [M]  /root/Desktop/iwlwifi-1.2.23/compatible/iwl-4965.o
  CC [M]  /root/Desktop/iwlwifi-1.2.23/compatible/iwl-4965-rs.o
  LD [M]  /root/Desktop/iwlwifi-1.2.23/compatible/iwl3945.o
  LD [M]  /root/Desktop/iwlwifi-1.2.23/compatible/iwl4965.o
  Building modules, stage 2.
  MODPOST 2 modules
  CC      /root/Desktop/iwlwifi-1.2.23/compatible/iwl3945.mod.o
  LD [M]  /root/Desktop/iwlwifi-1.2.23/compatible/iwl3945.ko
  CC      /root/Desktop/iwlwifi-1.2.23/compatible/iwl4965.mod.o
  LD [M]  /root/Desktop/iwlwifi-1.2.23/compatible/iwl4965.ko
make[1]: Leaving directory `/usr/src/linux-2.6.23.1'
root@Catalyst:~/Desktop/iwlwifi-1.2.23#


I cleared out the old modules and then proceed to install:

Quote
root@Catalyst:~/Desktop/iwlwifi-1.2.23# make install SHELL=/bin/bash

Module  compatible/iwl4965.ko compatible/iwl3945.ko (s) installed into:
        /lib/modules/2.6.23.1-custom/kernel/drivers/net/wireless

Don't forget to copy firmware to your hotplug's firmware directory
and have the hotplug tools in place.

See INSTALL for more information.
root@Catalyst:~/Desktop/iwlwifi-1.2.23#

I rebooted, ran iwconfig:

Quote
root@Catalyst:~/Desktop/iwlwifi-1.2.23# iwconfig
lo        no wireless extensions.

eth1      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11a  ESSID:"" 
          Mode:Managed  Channel:0  Access Point: Not-Associated   
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B   
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@Catalyst:~/Desktop/iwlwifi-1.2.23#

Then I downloaded the latest svn: revision 863..  Then I tried to use airmon-ng to put the card into monitor mode with this result:

Quote
root@Catalyst:~# airmon-ng stop wlan0


Interface       Chipset         Driver

wlan0                   iwl4965 - [phy1]
                                (monitor mode disabled)

root@Catalyst:~# airmon-ng start wlan0


Interface       Chipset         Driver

wlan0                   iwl4965 - [phy1]/usr/local/sbin/airmon-ng: 875: cannot create /sys/class/ieee80211/phy1/add_iface: Permission denied
Error for wireless request "Set Mode" (8B06) :
    SET failed on device mon0 ; No such device.
mon0: ERROR while getting interface flags: No such device

                                (monitor mode enabled on mon0)

root@Catalyst:~#

(I have no idea what device "mon0" is)

Then I tried to run airodump-ng and aireplay-ng (injection test) with the following result:

Quote
root@Catalyst:~# airodump-ng wlan0
ioctl(SIOCSIFFLAGS) failed: No such file or directory
root@Catalyst:~# aireplay-ng -9 wlan0
ioctl(SIOCSIFFLAGS) failed: No such file or directory
root@Catalyst:~#

I'd appreciate it ml, if you could let me know if I did anything wrong.
Logged
Pages: [1] 2 Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Aircrack-ng | Powered by SMF 1.0.10.
© 2005, Simple Machines LLC. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!