This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
d-link_dir-3001 [2012/02/11 09:19] ispyisail created |
d-link_dir-3001 [2015/09/01 21:34] (current) nworbnhoj [D-Link DIR-300] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== D-Link DIR-300 ====== | ====== D-Link DIR-300 ====== | ||
+ | |||
+ | < | ||
+ | WARNING: This document may contain errors which may result in damage to your router. USE AT YOUR OWN RISK. | ||
+ | </ | ||
+ | |||
+ | |||
**Airlink101 AR430W** | **Airlink101 AR430W** | ||
The D-link/ | The D-link/ | ||
- | It appears that Dlink in there wisdom have changed the chipset of the DIR-300. **This procedure only works for revision A** | + | < |
+ | This how-to has been updated 25 July 2012 and now should work without the need for a serial connection | ||
+ | |||
+ | </ | ||
+ | |||
+ | It appears that Dlink in there wisdom have changed the chipset of the DIR-300. | ||
+ | |||
+ | **This procedure only works for revision A** | ||
This procedure has been tested and works with | This procedure has been tested and works with | ||
Line 19: | Line 32: | ||
www.dd-wrt.com | www.dd-wrt.com | ||
- | It now appears that DD-WRT have changed | + | Assuming you want to install Gargoyle 1.0.14, then you need to copy the following files to your local TFTP server (for windows use tftp32 http:// |
- | [[http:// | + | * ap61.ram – Downloaded from the DD-WRT site. |
+ | * ap61.rom – Downloaded from the DD-WRT site. | ||
+ | * gargoyle_1.0.14-atheros-root.squashfs | ||
+ | * gargoyle_1.0.14-atheros-vmlinux.lzma | ||
- | Windows flashing instruction for the D-Link DIR-300 to DD-WRT (by Brainslayer, | ||
+ | Start the TFTP server and replace the bootloader as described here: http:// | ||
==== Install Method ==== | ==== Install Method ==== | ||
Configure your local ip to 192.168.20.80 | Configure your local ip to 192.168.20.80 | ||
Line 40: | Line 56: | ||
back to the redboot enter: | back to the redboot enter: | ||
+ | |||
load ap61.ram | load ap61.ram | ||
- | go | + | go |
Now a new temporarily bootloader should start. (on serial console it will display some warnings. but you don't need to worry about this) | Now a new temporarily bootloader should start. (on serial console it will display some warnings. but you don't need to worry about this) | ||
Line 48: | Line 65: | ||
Important: while doing the following steps. never unplug the lan cable or the power supply | Important: while doing the following steps. never unplug the lan cable or the power supply | ||
+ | |||
fis init | fis init | ||
Line 70: | Line 88: | ||
... Program from 0x807f0000-0x80800000 at 0xbffe0000: . | ... Program from 0x807f0000-0x80800000 at 0xbffe0000: . | ||
- | reset | ||
- | now the unit will reboot and the new bootloader will be executed and is waiting for your connection. | + | fconfig boot_script true |
- | this wil take 30+ sec. | + | fconfig boot_script_timeout 10 |
+ | fconfig bootp false | ||
+ | fconfig bootp_my_gateway_ip 192.168.1.1 | ||
+ | | ||
+ | fconfig bootp_my_ip_mask 255.255.255.0 | ||
+ | fconfig bootp_server_ip 192.168.1.254 | ||
+ | fconfig console_baud_rate 9600 | ||
+ | fconfig gdb_port 9000 | ||
+ | fconfig info_console_force false | ||
+ | fconfig net_debug false | ||
- | connect to the bootloader with telnet on port 9000 and ip 192.168.1.1 | + | fconfig boot_script_data |
- | ==== Install DD-WRT ==== | + | |
- | now do the following: (consider that fis create operations are taking sometimes several minutes to finish) | + | boot_script_data: |
- | | + | .. fis load -l vmlinux.bin.l7 |
- | ip_address -h 192.168.1.2 | + | .. exec |
- | | + | Enter script, terminate with empty line |
- | | + | >> fis load -l vmlinux.bin.l7 |
+ | >> exec | ||
+ | >> | ||
+ | Update RedBoot non-volatile configuration - continue (y/n)? y | ||
+ | | ||
+ | ... Program from 0x80ff0000-0x81000000 at 0xbffe0000: . | ||
+ | DD-WRT> | ||
- | | + | |
- | fis create linux | + | |
- | fconfig boot_script true | ||
- | fconfig boot_script_timeout 4 | ||
- | now type fconfig again and configure the bootscript to | ||
- | fis load -l linux | ||
- | exec | ||
- | now type reset again. | + | now the unit will reboot |
+ | this will take 30+ sec. | ||
+ | |||
+ | connect to the bootloader with telnet on port 9000 and ip 192.168.1.1 | ||
==== Install Gargoyle ==== | ==== Install Gargoyle ==== |