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

Both sides previous revision Previous revision
Next revision
Previous revision
d-link_dir-3001 [2012/02/11 09:44]
ispyisail [Install Procedure]
d-link_dir-3001 [2015/09/01 21:34] (current)
nworbnhoj [D-Link DIR-300]
Line 5: Line 5:
 WARNING: This document may contain errors which may result in damage to your router. USE AT YOUR OWN RISK. WARNING: This document may contain errors which may result in damage to your router. USE AT YOUR OWN RISK.
 </alertbox> </alertbox>
 +
  
 **Airlink101 AR430W** **Airlink101 AR430W**
Line 10: Line 11:
 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 48: 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 56: 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 78: 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.1328953489.txt.gz · Last modified: 2012/02/11 09:44 by ispyisail