PDA

View Full Version : How To Enable Intel® PRO/Wireless 3945ABG Card In Backtrack


danmc
04-26-2007, 11:44 PM
I'm a bit noob to linux/backtrack about 3 weeks in now. And I couldn't find a dedicated guide on how to enable this card, so when I stumbled across the answer I thought i'd share it. At the beginning I found a few of the guides a little hard to follow. So I've made this as easy to follow as I can. Hope it's of use. Sorry if it comes across a little patronising.


Open a console and type


cd /usr/src/drivers/ipw3945-1.2.0


Hit enter then type


load


Hit enter


Your Intel® PRO/Wireless 3945ABG can now be found at eth1




For Those of you that have backtrack2 installed on your hdd. To save typing all that in every time you restart.



Open a console and type


alias 3945="cd /usr/src/drivers/ipw3945-1.2.0"


Hit enter


now all you have to do to enable your Intel® PRO/Wireless 3945ABG is type



3945

Hit enter


load


Hit enter


replace 3945 with whatever keyword you want as I only used it as an example



:)

slowz3r
04-27-2007, 06:13 PM
Maybe im missunderstanding what you are trying to solve, but wouldnt it just be easier to boot with bt irqpoll

Eristic
04-27-2007, 06:26 PM
I think this is what he types in to load his card. So instead of typing all the commands, he makes it use a alias word. What does bt irqpoll do and when do you type it (before startx?)

jay2005
05-04-2007, 12:26 AM
does the 3945abg card support injection???

danmc
05-05-2007, 02:49 AM
.....Nope:(

theSnail
05-06-2007, 09:31 AM
i'm not sure that is the hardware not able to inject, but i think is that aireplay-ng that does not support injection on the ipw3945 hardware.

If i'm right, you can use "scapy" to inject manipulated packet, but it's harder to use !!!

Where there's life there's hope :) :) :)

joek1010
05-19-2007, 05:48 PM
You can also just do this:
/sbin/ipw3945d

That will also load the drivers for your card.

For those interesting in packet injection, you may want to check this out: (forums.remote-exploit.org/showthread.php?t=6295&highlight=mac80211)
Check out the third link that he posted (I can't post links yet, not enough posts).

I haven't been able to get it to work yet, but it looks promising. I think the problem with packet injection is the intel drivers don't support it.

shamanvirtuel
05-19-2007, 07:20 PM
in order to test injection

ifconfig eth0 up
iwconfig eth0 mode monitor
aireplay -9 eth0


will test injection but you need to have aircrack 0.9 suite ......

pureh@te
05-20-2007, 02:36 PM
the intel drivers do NOT support injection..........

alacityathome
05-20-2007, 07:09 PM
What am I missing here? In the Linux Distribution wifimay-0.4, it looks like they achieved injection. Refer to

http://www.seguridadwireless.net/foro/index.php/topic,3323.0.html

Alacrity

Dr_GrEeN
11-30-2007, 04:07 PM
If you wana try this SHOULD allow injection

wget http://homepages.tu-darmstadt.de/~p_larbig/wlan/ipwraw-ng-2.0.0-10072007.tar.bz2
tar -xjf ipwraw-ng*
cd ipwraw-ng
make
sudo make install
sudo make install_ucode
echo "blacklist ipwraw" | sudo tee /etc/modprobe.d/ipwraw
sudo depmod -ae


To stop managed mode and start the card in monitor mode


airdriver-ng load 12


or


sudo modprobe -r ipw3945
sudo modprobe ipwraw


To switch back to your old driver


sudo modprobe -r ipwraw
sudo modprobe ipw3945


to test injection


aireplay-ng --test wifi0


If you are running a card that already has wifi0 your intel card will be wifi1

You might have to update your kernel??? Have a go and if unsuccessful post back.

Dr_GrEeN
11-30-2007, 04:21 PM
Confirmed the drivers below allow injection on intels 3945 :D enjoy Would you guys like a full tutorial?

wolf39us
12-02-2007, 10:47 PM
You can also just do this:
/sbin/ipw3945d

That will also load the drivers for your card.

For those interesting in packet injection, you may want to check this out: (forums.remote-exploit.org/showthread.php?t=6295&highlight=mac80211)
Check out the third link that he posted (I can't post links yet, not enough posts).

I haven't been able to get it to work yet, but it looks promising. I think the problem with packet injection is the intel drivers don't support it.

The /sbin/ipw3945d will freeze my computer everytime and I need to reboot...

I did attempt to use the drivers that enable packet injection for my 3945 however...I can only seem to keep it in monitor mode...it will NOT go back into managed... I am so confused..

I just wish I kept up with linux when RedHat came out :-(

pureh@te
12-02-2007, 11:00 PM
Your problem is that you are probably not unloading the drivers. After injecting with ipraw you must unload them and then load the 3495 drivers and vice versa. If you guy check the first page or so of the tutorial section you should find a how too.

wolf39us
12-03-2007, 12:35 AM
well how can that be?

the computer will freeze when I'm simply trying to load the ipw3945 drivers....I haven't even INSTALLED the raw drivers....I was just trying to get online is all!

pureh@te
12-03-2007, 12:59 AM
Ah I see I misunderstood. The solution to that is to upgrade your kernel. Some times the combination of driver ,laptop and kernel just don't mix. I am using the 2.6.22.9 kernel and my intel drivers work fine although I rarely use them.

wolf39us
12-03-2007, 01:14 AM
how do I go about that if I can't get online?

pureh@te
12-03-2007, 01:34 AM
Just use another pc and download the kernel and the two files needed for the intel drivers and then copy them on to your machine. Exitonly did a excellent write up on doing this in the tutorial section entitled "How to ipw395" or some thing like that. You should check it out.

wolf39us
12-03-2007, 04:39 PM
the ipw was disabled via the switch on the front of the laptop..that I guess only works when I boot into XP...so anyways...I got the drivers functioning...I updated to 0.9.1 on aircrack...but when I test injection....it will say

Injection working! (test on my router which is a Netgear WGR614v8 in 128 bit WEP mode)

and then it will send the packets....but I get 0% everytime....

usually the second time around that I try the test...instead of it saying Injection
working!....it will say no answer....and then send the packets...and still get 0

I did somehow get like 3 of those packets sent to another AP...which I guess was automatically detected in my area...but only once..

is there something that I am missing...the code I am using is

aireplay -9 -b wifi0 I think lol...I did all this last night

it reads well in airodump tho..

scorge
01-04-2008, 11:51 AM
tried the 80211 -> misc load ipw 3945/4965 and all i get is

ERROR: Module ipwraw does not exist in /proc/modules
/bin/sh: ./unload: No such file or directory
/bin/sh: ./load: No such file or directory


Tried cd /usr/src/drivers/ipw3945-1.2.0

but no drivers there only:

ipwraw-ng/ iwlwifi-1.0.0/

Tried loadin ipwraw but

Loading 'ipwraw'...done.
Waiting for /sys/class/net/wifi0/device/rtap_iface to appear....time out.
Could not find wifi0 interface.


any ideas? i am using the USB, extended version of backtrack 3

QuietStorm
01-04-2008, 07:58 PM
tried the 80211 -> misc load ipw 3945/4965 and all i get is

ERROR: Module ipwraw does not exist in /proc/modules
/bin/sh: ./unload: No such file or directory
/bin/sh: ./load: No such file or directory


Tried cd /usr/src/drivers/ipw3945-1.2.0

but no drivers there only:

ipwraw-ng/ iwlwifi-1.0.0/

Tried loadin ipwraw but

Loading 'ipwraw'...done.
Waiting for /sys/class/net/wifi0/device/rtap_iface to appear....time out.
Could not find wifi0 interface.


any ideas? i am using the USB, extended version of backtrack 3

There is a bugfix for this problem on a back track wiki...

sardinemaster
01-31-2008, 06:38 PM
Confirmed the drivers below allow injection on intels 3945 :D enjoy Would you guys like a full tutorial?

Sure Dr Green, that would be great!

Thanks

bpafoshizle
02-06-2008, 04:09 AM
Sure Dr Green, that would be great!

Thanks

I agree. I would love a full tutorial as well.

secure_it
02-20-2008, 01:18 PM
I have written a full tutorial with images working intel 3945 discovery and injection.you can search by username secure_it.

VictorCrane
02-26-2008, 10:47 AM
im installed the backtrack II on vmaware 6 & intel pro wireless 3945abg not work what can i do ¿
im find this module
h t t p : / / infinityexists.com/videos/vblog-how-to-use-intel-prowireless-3945abg-in-backtrack-2/
but this module not work or im dont do it i need a help i need a tutorials for 3945abg
im so sory im in turkiye :S
and other slax versions supported the this card what can i do help :S

"how to enable intel pro wireless 3945abg in hdd installed backtrack II"

VictorCrane
02-26-2008, 12:15 PM
this my hp pavilion dv6000 wlan driver .inf file

;; bcmwl5.inf
;;
;; Copyright 1998-2006, Broadcom Corporation.
;; All Rights Reserved.
;;
;; This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
;; the contents of this file may not be disclosed to third parties, copied or
;; duplicated in any form, in whole or in part, without the prior written
;; permission of Broadcom Corporation.
;;

[version]
Signature = "$Windows NT$" ; Combined Win9x/Win2k inf
-----------------------------------------------
how to rebuild this file for backtrack II ¿

VictorCrane
02-26-2008, 03:17 PM
pufffff not working this card im using ndiswrapper and cant do it any think :S
heeelllp

OmegaNine
04-14-2008, 04:02 AM
If you wana try this SHOULD allow injection

wget homepages.tu-darmstadt.de/~p_larbig/wlan/ipwraw-ng-2.0.0-10072007.tar.bz2
tar -xjf ipwraw-ng*
cd ipwraw-ng
make
sudo make install
sudo make install_ucode
echo "blacklist ipwraw" | sudo tee /etc/modprobe.d/ipwraw
sudo depmod -ae


To stop managed mode and start the card in monitor mode


airdriver-ng load 12


or


sudo modprobe -r ipw3945
sudo modprobe ipwraw


To switch back to your old driver


sudo modprobe -r ipwraw
sudo modprobe ipw3945


to test injection


aireplay-ng --test wifi0


If you are running a card that already has wifi0 your intel card will be wifi1

You might have to update your kernel??? Have a go and if unsuccessful post back.

So I went threw this, when i turned off the old driver and loaded the new one, it gave no error, but it would not come up in ifconfig and the activity light was solid.

Am i the only person having this issue?