rt73usb + aircrack1.0

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
gregd72002
DD-WRT User


Joined: 06 Jan 2010
Posts: 81

PostPosted: Wed Apr 14, 2010 13:26    Post subject: rt73usb + aircrack1.0 Reply with quote
Hello,

I've managed to compile rt73 module along with recent aircrack-ng. I've included all the programs/modules to dd-wrt.v24-13309_NEWD-2_K2.6_big.bin

The following was added:
- aircrack-ng 1.0
- openssl 1.0
- rt73 + firmware
- wireless-tools.29

I've have tested it successfully on my Asus rt n16, though it should work on other routers as well.

Please note the size of the firmware! It is bigger than 8MB therefore you will need a router with 16MB flash? It should not be a big deal to use dd-wrt.v24-13309_NEWD-2_K2.6_std.bin (standard version) and include the above using firmware-modification-kit, so it will fit all routers with 8MB flash.

In order to activate rt73 module, please switch on USB support in webconfig. Moreover, the following nvram variables have to be set:
rt73="1" (if you intend to use rt2x00.serialmonkey.com rt73 module - rt73-cvs-2009041204)
rt73="2" (if you intend to use rt73-k2wrlz-3.0.3 module - this supports injection for aircrack-ng)
rt73ap="1" (if you'd like your rt73 to create an ad-hoc network you can connect to, the essid: testAP, wep key: 0011223344, ip: 172.29.20.1/24)

For more details please check (/etc/config/rt73.startup)

Please note that rt73ap="1" function can be only used in conjunction with rt73="1" (rt73ap will not work with rt73="2", though you should be able to configure it yourself using iwconfig and ifname: rausb0)

Please also note, that rt73 has to be plugged during booting of the router (it will not work if you plug it in once the router is already booted).

Flashing instructions:
- use tftp (other options might work as well, but I have not tested them)

You should not use iwconfig to configure broadcom chipset. It might work but it might not. Use 'wl'.

All the best,
gregd72002
---
Grzegorz Dymarek



custom_image-generic.bin
 Description:

Download
 Filename:  custom_image-generic.bin
 Filesize:  8.52 MB
 Downloaded:  1314 Time(s)



Last edited by gregd72002 on Thu Apr 15, 2010 13:24; edited 1 time in total
Sponsor
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Wed Apr 14, 2010 13:34    Post subject: Reply with quote
Nice work..

tmk, the rt-n16 is the only router (consumer) that has more than 8mb flash so testing will be limited to only n16 owners.

_________________
[Moderator Deleted] Shocked


Last edited by barryware on Wed Apr 14, 2010 14:17; edited 1 time in total
Masterman
DD-WRT Guru


Joined: 24 Aug 2009
Posts: 2070
Location: South Florida

PostPosted: Wed Apr 14, 2010 13:56    Post subject: Reply with quote
Why did you compile these components on such an ancient build?

Good work btw Wink...We need to start making use of the RT's 32MB of flash... Cool

_________________
Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
gregd72002
DD-WRT User


Joined: 06 Jan 2010
Posts: 81

PostPosted: Thu Apr 15, 2010 13:22    Post subject: Reply with quote
Here is updated version, based on latest eko's dd-wrt.v24-14144_NEWD-2_K2.6_big.bin

The following has been changed/updated:
- testAP does not require encryption/key anymore

It's now possible to create a 'wifi forwarder' without the use of command line (just using the web gui). In this case the Broadcom will act as Client and rt73 will be used to create ad-hoc network one can connect to. The traffic on rt73 will be NATed to the network from broadcom. In order to do it, please follow this howto: http://www.dd-wrt.com/wiki/index.php/Client_Mode_Wireless#The_easy_way

The following steps have to be changed:
- after point 6 (before point 7), activate USB support and active rt73 and rt73ap (as per the first post in this thread). Do router reboot.
- in point 14, router LAN ip must be: 172.29.21.1, mask 255.255.0.0
- in point 19, disable firewall totally (you might play around with it but it definitely will work if you disable it, and will not work if it is enabled as per default rules)

Thanks,
gregd72002
--
Grzegorz Dymareek



custom_image-generic-eko14144.bin
 Description:

Download
 Filename:  custom_image-generic-eko14144.bin
 Filesize:  8.45 MB
 Downloaded:  1282 Time(s)

Thireus
DD-WRT User


Joined: 12 Mar 2009
Posts: 93

PostPosted: Sat Jan 08, 2011 0:49    Post subject: Reply with quote
Hi,

Great work! But can you explain how you managed to compile the rt73 module please?

I'ld like to add it to my DD-WRT v24-sp2 (12/19/10) mini-usb-ftp - build 15943M NEWD-2 Eko.

Best regards,
Thi.

_________________
www.DareYourMind.net
khudko_denys
DD-WRT Novice


Joined: 01 Aug 2011
Posts: 14

PostPosted: Mon Aug 01, 2011 11:32    Post subject: Reply with quote
Hi to ALL!
gregd72002, really great work!
I have the same idea - to connect Realtek 8187 to the router (DIR-320/620 or 632 from D-Link), using Your succesfull results...
Kindly ask You to provide detailed info of how to integrate drivers into the firmware and how to set the router!
Will be very appreciated for Your assistance!
gregd72002
DD-WRT User


Joined: 06 Jan 2010
Posts: 81

PostPosted: Mon Aug 01, 2011 13:41    Post subject: Reply with quote
Sorry guys, cannot remember much on how I compiled it. But it is not a big deal.
Get a toolchain, download drivers (rt73-k2wrlz or rt2x00) and compile it.

Might be also helpful to look in here: http://www.dd-wrt.com/wiki/index.php/Development
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum