Remote Exploit Forums

Go Back   Remote Exploit Forums > Specialist Topics > Programming


Programming A place for our community to discuss their own security related coding projects.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2007, 02:13 PM
-~operator~-'s Avatar
Senior Member
 
Join Date: Apr 2007
Location: Black Forest
Posts: 173
Lightbulb IPW3945 - Driver Management gui dev

Hey all, i know there's another thread for it (with wrong download link), but i would like to start this from scratch so it's (hopefully) pointed out clearly.

So you have an IPW3945abg card and want to use it for injection? Then you can use this link, will get you the required drivers as lzm.bz2 file:

lzm module for ipraw drivers

i assume you have downloaded it in the /tmp directory, so open up a shell and type:

Code:
cd /tmp
mv ipwraw-ng.lzm.bz2 ipwraw-ng.lzm
lzm2dir ipwraw-ng.lzm /
this will unpack the drivers needed, and create a subdirectory named "ipwraw" in the /tmp directory. now we install it, so we do:

Code:
cd /tmp/ipwraw
make
make install
the required drivers should now be installed. NOW YOU HAVE TWO DRIVERS FOR YOUR CARD, the original ipw3945 and the ipwraw drivers. To check if the new ones are working, be sure that your other ipw3945 drivers are not loaded, so do this:

Code:
/sbin/modprobe -r ipw3945
/usr/src/drivers/ipw3945-1.2.0/unload
now you can load the ipwraw with:

Code:
/tmp/ipwraw/load
This should get up a message saying "Interface up as rtap0 and ready for application connection". iwconfig will show you a wifi and rtap interface you can try out for injection.

if you want to use your old drivers again for normal connection, first unload the new ipwraw driver. YOU CANNOT USE BOTH AT THE SAME TIME! use this for unloading:

Code:
/sbin/modprobe -r ipwraw
then load your old ipw3945 driver with:

Code:
/sbin/modprobe ipw3945
/usr/src/drivers/ipw3945-1.2.0/load
Finished!
-----------------------------
Now you got 2 drivers. your old ipw3945, with this commands:

For loading:
Code:
/sbin/modprobe ipw3945
/usr/src/drivers/ipw3945-1.2.0/load
For unloading:
Code:
/sbin/modprobe -r ipw3945
/usr/src/drivers/ipw3945-1.2.0/unload
and the new ipwraw driver with this for loading:
Code:
/tmp/ipwraw/load
and unloading:
Code:
/sbin/modprobe -r ipwraw
----------------------------
OPTIONAL, you don't need to do this: if you are lazy like me, you can use this ipwstarter.zip, a little Kommander skript for loading and unloading the drivers, if you followed the installation above. Just download it in your /tmp directory and use this commands:

Code:
cd /tmp
unzip ipwstarter.zip
cd /tmp/ipwstarter
./install.sh
This should have created a link called "ipw-starter.sh" on your Desktop and, when doubleclicked, you should see a small GUI for starting up and shutting down the wireless drivers.
On the top you can see the input for your interface,essid,channel and key. under this is the main part, the dropdown. there you can load, unload the drivers, down your interface, configure it for wireless and dhcp.if you click on any of those, especially the "load ipw3945" please be patient as it takes some seconds till it's loaded. also you get no status messages, so check ifconfig/iwconfig in a shell.
On the left side under "Injection" you have the ipwraw drivers. so with this you can quickly switch between the two drivers. Remember: you cannot have two drivers loaded at the same time.
This is my first Kommander Skript and the first install skript, so don't be too harsh with me if anything is not working right, please inform me about it.

Have Fun!
__________________
The answer is 42.

Last edited by -~operator~-; 07-03-2007 at 11:44 AM.
Reply With Quote
  #2 (permalink)  
Old 06-25-2007, 08:15 PM
PrairieFire's Avatar
Senior Member
 
Join Date: Apr 2007
Location: 32°30'54.46"N 93°44'14.26"W
Posts: 723
Default

Quote:
Originally Posted by -~operator~- View Post
Code:
cd /tmp
mv ipraw-ng.lzm.bz2 ipraw-ng.lzm
lzm2dir ipraw-ng.lzm /
Fix to
Code:
ipwraw-ng.lzm.bz2 ipwraw-ng.lzm
other than that good tutorial. I am still going through what works and what does not with ipwraw.
__________________
Μολὼν λαβέ - Great spirits encounter heavy opposition from mediocre minds.
Reply With Quote
  #3 (permalink)  
Old 06-26-2007, 05:55 AM
-~operator~-'s Avatar
Senior Member
 
Join Date: Apr 2007
Location: Black Forest
Posts: 173
Default

uups, sorry, bad typo. fixed in above thread. thanks!
__________________
The answer is 42.
Reply With Quote
  #4 (permalink)  
Old 08-03-2007, 12:38 PM
wyze's Avatar
Jenkem Addict
 
Join Date: Jul 2007
Location: chmod 400
Posts: 1,596
Thumbs up

Quote:
Originally Posted by -~operator~- View Post
This is my first Kommander Skript and the first install skript, so don't be too harsh with me if anything is not working right, please inform me about it.

Have Fun!
Hey man... long overdue, but thanks man... I've used you mod like 8+ times for quick install and it's never failed me!
__________________
dd if=/dev/swc666 of=/dev/wyze
Reply With Quote
  #5 (permalink)  
Old 10-18-2007, 07:46 PM
Junior Member
 
Join Date: Apr 2007
Posts: 6
Default

This is pretty good, thanks -~operator~-

I have tried it but, error coming up as

Could not find wifi0 interface...

Last edited by nishv; 10-19-2007 at 03:38 AM.
Reply With Quote
  #6 (permalink)  
Old 11-16-2007, 11:37 AM
Junior Member
 
Join Date: Oct 2007
Posts: 10
Default

Quote:
Originally Posted by nishv View Post
This is pretty good, thanks -~operator~-

I have tried it but, error coming up as

Could not find wifi0 interface...
Same problem here. Couldnt find solution anywhere (google, forums etc.)
anyone know? only eth0 active, no wifi0.
Reply With Quote
  #7 (permalink)  
Old 11-20-2007, 01:11 AM
New Member
 
Join Date: Nov 2007
Posts: 1
Default

I can't download the attachement ipwstarte.zip
Reply With Quote
  #8 (permalink)  
Old 11-24-2007, 02:44 PM
New Member
 
Join Date: Nov 2007
Posts: 1
Default dmesg?

I too had the problem with interface not coming up

what does dmesg say?

Because in my case it said the Radio Frequency kill switch is on, and that obvoiusly needs to be off.

The kill switch is the button on your laptop that alows you to shut down wlan completely.
Reply With Quote
  #9 (permalink)  
Old 11-24-2007, 04:26 PM
Junior Member
 
Join Date: Mar 2007
Posts: 7
Default

-~operator~- thank you very much for this tutorial, it is both simple to follow and very useful indeed, especially the ipwstarter script you made for us the lazy ones . It's nice that you explain on every step what we are actually doing. BIG THANKS again. Keep guiding us, you and all the RE.forum activists, your work is well appreciated!
Reply With Quote
  #10 (permalink)  
Old 12-05-2007, 09:53 PM
Just burned his ISO
 
Join Date: Dec 2007
Posts: 2
Default

Thanks for this great tutorial, worked for me!!! I'm a complete noob with bt, I had my first linux encounter 3 weeks ago Only not allowed to try your kommander script.. :'(
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 12:26 AM.


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