Remote Exploit Forums

Go Back   Remote Exploit Forums > BackTrack 4 (pre) Final > BackTrack 4 Working Hardware


BackTrack 4 Working Hardware Post your Hardware Specs here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-08-2009, 01:56 AM
New Member
 
Join Date: Oct 2009
Posts: 1
Default BT4 (pre FINAL) Driver Iwl3945 Injection SOLVED!!

Hi guys!!

This is my first post here!! I'm from Spain and I hope you understand me well.

I was surfing several post in order to get the Chipset (Intel 3945ABG) could inject packets.
As you know, if you try to inject with this driver, it does not generate any data. Up to now, only ipwraw driver got injection feature (no aggregate anymore on backtrack I read).

To get injection support with Iwl3945 driver on BT4 Pre Final, follow this:

1) Install Backtrack on HD

2) Update kernel to 2.6.30.5:

apt-get update
apt-get install -d linux-image
cd /var/cache/apt/archives/
dpkg -i --force all linux-image-2.6.30.5_2.6.30.5-10.00.Custom_i386.deb
apt-get dist-upgrade
apt-get install madwifi-drivers
apt-get install r8187-drivers


After a reboot, you might want to run:

fix-splash

3) Build kernel headers:

apt-get install linux-source-2.6.30.5
cd /usr/src/
tar jxvf /usr/src/linux-source-2.6.30.5.tar.bz2
rm -f /usr/src/linux
ln -s /usr/src/linux-source-2.6.30.5 /usr/src/linux
cd /usr/src/linux
zcat /proc/config.gz > .config
make scripts
make bzImage (let it run for like 20 secs and then CTRL+C)
ln -s /usr/src/linux /lib/modules/2.6.30.5/build


4) Update wireless drivers:

Download "compat-wireless-2.6.32-rc1.tar.bz2" from...It's seems I can't write Urls...
tar jxvf compat-wireless-2.6.32-rc1.tar.bz2
cd compat-wireless-2.6.32-rc1
make
sudo make install
reboot


Enjoy!!!

Thanks Backtrack team/menbers
Reply With Quote
  #2 (permalink)  
Old 10-11-2009, 07:44 AM
Just burned his ISO
 
Join Date: Aug 2009
Posts: 1
Default

Thank you!!! Will try this tonight!

Unfortunately I was unable to get injection to work.


Edit: Maybe it could be because I have a 4965... not 3945. Sorry, got confused with one of my other machines... =\

Last edited by balding_parrot; 10-12-2009 at 01:10 AM.
Reply With Quote
  #3 (permalink)  
Old 10-16-2009, 06:15 AM
New Member
 
Join Date: Oct 2009
Posts: 2
Default Small issue

I got to this line.
sudo zcat /proc/config.gz > .config

and it gave me this error.
bash: .config: Permission denied

Anyone know what I am doing wrong? Thanks
Reply With Quote
  #4 (permalink)  
Old 10-16-2009, 11:31 AM
archangel.amael's Avatar
Moderator
 
Join Date: Nov 2007
Location: behind the wire
Posts: 3,469
Default

Quote:
Originally Posted by Dmitriyus View Post
I got to this line.
sudo zcat /proc/config.gz > .config

and it gave me this error.
bash: .config: Permission denied

Anyone know what I am doing wrong? Thanks
Try it as root, instead of sudo and see what happens, generally it should produce the same result but, it might help to actually be root, in this case.
__________________
The very existence of flame-throwers proves that some time, somewhere, someone said to themselves, You know, I want to set those people over there on fire, but I'm just not close enough to get the job done.
George Carlin
Reply With Quote
  #5 (permalink)  
Old 10-17-2009, 10:03 AM
New Member
 
Join Date: Oct 2009
Posts: 2
Default

delete please i found my answer on Google

Last edited by Dmitriyus; 10-17-2009 at 11:42 AM.
Reply With Quote
  #6 (permalink)  
Old 10-18-2009, 04:56 PM
Just burned his ISO
 
Join Date: Oct 2009
Posts: 1
Default

Hi, I followed RollerDK guide and everything went without problem.
I just installed compat-wireless-2.6.32-rc4.tar.bz2 instead of rc1.
But now i noticed i don't have any wireless extensions in iwconfig output.

Quote:
dmesg | grep iwl3945
shows sth like this:
Quote:
iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.2.26kds
iwl3945: Copyright(c) 2003-2009 Intel Corporation
iwl3945 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwl3945 0000:04:00.0: setting latency timer to 64
iwl3945 0000:04:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
iwl3945 0000:04:00.0: Detected Intel Wireless WiFi Link 3945ABG
iwl3945 0000:04:00.0: irq 28 for MSI/MSI-X
iwl3945 0000:04:00.0: Failed to register hw (error -17)
iwl3945 0000:04:00.0: PCI INT A disabled
iwl3945: probe of 0000:04:00.0 failed with error -17
How can i work around this problem? What's the cause? Please help.
My laptop is Acer Extensa 5620, bt4 installed on USB, wifi card is intel 3945abg ofc.
Reply With Quote
  #7 (permalink)  
Old 10-18-2009, 07:58 PM
Just burned his ISO
 
Join Date: Oct 2009
Posts: 1
Default

Hi There,
nice tutorial, but having some issues with it.
I have same problem as pentiak

UDPATE:
Has anyone tried this:
This problem showed up before when a user was testing from compat-wireless. Moving to wireless-testing resolved the issue. The thread is at
thread.gmane.org/gmane.linux.kernel.wireless.general/35983

???

I dont have the laptop now and will be able to try it only next weekend

Thanks a lot

Last edited by durika; 10-21-2009 at 12:55 PM. Reason: Double Post
Reply With Quote
  #8 (permalink)  
Old 10-18-2009, 09:21 PM
archangel.amael's Avatar
Moderator
 
Join Date: Nov 2007
Location: behind the wire
Posts: 3,469
Default

Edit your posts using the Edit button located at the bottom right hand side of said post.
Re-read the rules that you agreed to when you signed up.
This is your one and only warning.
__________________
The very existence of flame-throwers proves that some time, somewhere, someone said to themselves, You know, I want to set those people over there on fire, but I'm just not close enough to get the job done.
George Carlin
Reply With Quote
  #9 (permalink)  
Old 10-23-2009, 08:17 PM
New Member
 
Join Date: Oct 2009
Posts: 4
Default

doesnt work for me with compat-wireless-2.6.32-rc5 and linux-source-2.6.30.5 gonna try again :P
Reply With Quote
  #10 (permalink)  
Old 10-23-2009, 11:22 PM
Just burned his ISO
 
Join Date: Aug 2009
Posts: 2
Default

I have an Acer Aspire 5610Z. On it there is a sticker saying that "Contains Atheros Module AR5BXB63". Despite this, both in BT4 and in Ubuntu 9.10 the chosen driver is iwl3945, and not to complain or anything, but because of some unknown reason my Intel 3945 works out of the box with BT4 (except for the fact that wicd wasn't enabled by default, which I eventually found in the forum). Injection works, I've tested it with various aireplay attacks and everything is tip-top. Any comments or ideas why might this happen?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:22 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2