User Tools

Site Tools


d-link_dir-3001

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
d-link_dir-3001 [2012/02/11 09:19]
ispyisail created
d-link_dir-3001 [2015/09/01 21:34]
nworbnhoj [D-Link DIR-300]
Line 1: Line 1:
  
 ====== D-Link DIR-300 ====== ====== D-Link DIR-300 ======
 +
 +<alertbox>
 +WARNING: This document may contain errors which may result in damage to your router. USE AT YOUR OWN RISK.
 +</alertbox>
 +
 +
 **Airlink101 AR430W** **Airlink101 AR430W**
  
 The D-link/Airlink is very similar to the La Fonera but only has 4MB of flash memory, it uses an atheros wireless device, and second you must access the RedBoot bootloader to install OpenWrt/Gargoyle. It is impossiable to install Gargoyle on a factory default DIR-300, so be warned that it is not as straightforward as with the other routers. The D-link/Airlink is very similar to the La Fonera but only has 4MB of flash memory, it uses an atheros wireless device, and second you must access the RedBoot bootloader to install OpenWrt/Gargoyle. It is impossiable to install Gargoyle on a factory default DIR-300, so be warned that it is not as straightforward as with the other routers.
  
-It appears that Dlink in there wisdom have changed the chipset of the DIR-300. **This procedure only works for revision A**+<alertbox> 
 +This how-to has been updated 25 July 2012 and now should work without the need for a serial connection 
 + 
 +</alertbox> 
 + 
 +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 the RedBoot in new releases and it now no longer works with gargoyleWorking previous release found here:+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://tftpd32.jounin.net/):
  
-[[http://www.robin-mesh.net/Howto/Install/D-link_DIR-300?highlight=dir-300|www.robin-mesh.net]]+    * 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, modified by Sash) 
  
 +Start the TFTP server and replace the bootloader as described here: http://www.dd-wrt.com/wiki/index.php/DIR300.
 ==== 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 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 
-  IP: 192.168.1.1/255.255.255.0, Gateway0.0.0.0 +  Enter script, terminate with empty line 
-  Default server: 192.168.1.2+  >> fis load -l vmlinux.bin.l7 
 +  >> exec 
 +  >> 
 +  Update RedBoot non-volatile configuration - continue (y/n)? y 
 +  ... Erase from 0xbffe0000-0xbfff0000: . 
 +  ... Program from 0x80ff0000-0x81000000 at 0xbffe0000: . 
 +  DD-WRT>
  
-  load -r -b 0x80041000 linux.bin  +  DD-WRT> reset
-  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. the unit should now boot dd-wrt and work as known from other atheros based platforms+now the unit will reboot and the new bootloader will be executed and is waiting for your connection. 
 +this will take 30+ sec. 
 + 
 +connect to the bootloader with telnet on port 9000 and ip 192.168.1.1 
  
 ==== Install Gargoyle ==== ==== Install Gargoyle ====
d-link_dir-3001.txt · Last modified: 2015/09/01 21:34 by nworbnhoj