Differences

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

toh:d-link:dir-600 [2012/07/29 10:34]
orca
toh:d-link:dir-600 [2013/04/26 15:34] (current)
oldcomputerjunk
Line 1: Line 1:
-===== D-Link DIR-600(A1)/601(A1) ===== +====== D-Link DIR-600/601(Rev.A1) ====== 
-|:!: Note: For D-Link DIR-600 Rev.B1/B2 (other hardware (HW), please see **[[toh:d-link:dir-300revb|D-Link DIR-300 Rev.B]]**.|+|:!: Note: For DIR-600 (Rev.B1/B2) see **[[toh:d-link:dir-300revb|D-Link DIR-300 Rev.B]]**. DIR-601 (Rev.B1) is not yet supported|
-==== DIR-600 ====+===== DIR-600 =====
There are (at least) three revisions of this router: A1, B1 and B2. Rev.A1 has been rebranded as FR-54RTR. The FR-54RTR is a close enough match that it can be flashed with the A1's firmware from D-Link: ftp://ftp.dlink.com/Gateway/dir600/Firmware/dir600_firmware_101NA.zip There are (at least) three revisions of this router: A1, B1 and B2. Rev.A1 has been rebranded as FR-54RTR. The FR-54RTR is a close enough match that it can be flashed with the A1's firmware from D-Link: ftp://ftp.dlink.com/Gateway/dir600/Firmware/dir600_firmware_101NA.zip
-===== Supported Versions =====+==== Supported Versions ====
^ Version/Model ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/Model ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
| A1 | - | [[https://forum.openwrt.org/viewtopic.php?pid=103396|yes]] | same HW as [[toh:frys::fr54rtr|FRYS FR-54RTR]], similar to [[toh:d-link:DIR-615]] E1-E4 | | A1 | - | [[https://forum.openwrt.org/viewtopic.php?pid=103396|yes]] | same HW as [[toh:frys::fr54rtr|FRYS FR-54RTR]], similar to [[toh:d-link:DIR-615]] E1-E4 |
-| B1 & B2 | - | other hardware | same HW as [[toh:d-link:dir-300revb|DIR-300 Rev.B]] |+| B1 & B2 | for B2, see [[toh:d-link:dir-300revb|DIR-300(B1)/DIR-600(B1&B2)]] | other hardware | same HW as [[toh:d-link:dir-300revb|DIR-300(B1)/DIR-600(B1&B2)]] |
-=== Hardware Highlights ===+==== Hardware Highlights ====
^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTAG ^ ^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTAG ^
| AR7240 | 32MB | 4MB | 4 x 1| No | Internal TTL solder pads | No | | AR7240 | 32MB | 4MB | 4 x 1| No | Internal TTL solder pads | No |
-==== DIR-601 ====+===== DIR-601 =====
The DIR-601 is basically a slightly newer DIR-600 with Atheros AR7240 SoC //version 2//, and a non-detachable antenna. The DIR-601 is basically a slightly newer DIR-600 with Atheros AR7240 SoC //version 2//, and a non-detachable antenna.
-=== Supported Versions ===+==== Supported Versions ====
^ Version/Model ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/Model ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| A1 | - | 10.03 (confirmed working by amishx64) | jffs2 does not appear to work |+| A1 | - | Backfire 10.03.1 (confirmed by uvray313) | jffs2 does not appear to work
 +| A1 | - | Attitude Adjustment 12.09b2 (confirmed by nop) | no jffs2, possible better stability |
-=== Hardware Highlights ===+/* Just because it's not autobuilt in snapshots doesn't mean it's off the support list. https://lists.openwrt.org/pipermail/openwrt-devel/2012-April/014873.html */ 
 +/* http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/ar71xx/generic/openwrt-ar71xx-generic-dir-601-a1-squashfs-sysupgrade.bin */ 
 +/* this needs a cite, since I'm running 12.09b2 off an imagebuilder |:!: Note: Backfire 10.03.1 is the final version available for this model.| */ 
 + 
 +==== Hardware Highlights ====
^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTAG ^ ^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTAG ^
| AR7240 | 32MB | 4MB | 4 x 1| mod | Internal TTL solder pads | No | | AR7240 | 32MB | 4MB | 4 x 1| mod | Internal TTL solder pads | No |
Line 27: Line 32:
===== Installation ===== ===== Installation =====
==== Installing of OpenWrt for first time ==== ==== Installing of OpenWrt for first time ====
 +Download http://downloads.openwrt.org/backfire/10.03.1/ar71xx/openwrt-ar71xx-dir-600-a1-squashfs-factory.bin
-''openwrt-ar71xx-dir-600-a1-squashfs-universal.bin'' from  +or http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/ar71xx/generic/openwrt-ar71xx-generic-dir-601-a1-squashfs-factory.bin
-http://downloads.openwrt.org/snapshots/trunk/ar71xx/ works.  This may be called ''-factory'' in later releases.+
-FIXME: Since [[https://dev.openwrt.org/changeset/30570/trunk|r30570]] there is a distinct profile for DIR-601  because it needs different factory images than the DIR-600.+/* needs a cite: This is the final firmware version available for this router due to hardware limitations. */ 
 +/* http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/ar71xx/generic/openwrt-ar71xx-generic-dir-600-a1-squashfs-factory.bin */
-You can use either the jffs2 or squashFS versions. squashFS is a read only file system that is designed to save space. You will not be able to remove any packages on the squashFS but you can add packages. Added packages are stored in flash. squashFS is ideal for users who want to get OpenWrt up and running quickly and easily.  +Some DIR-601 (Rev.A1) factory firmware revisions will accept a 10.03.x DIR-600 (Rev.A1) squashfs-factory.bin if the final byte is changed from ASCII "0" to "2". 12.09beta and later provide separate images for the DIR-601 (Rev.A1).
-jffs2 is an all-access file system that operates as a standard file system. You have full read/write access. jffs2 is ideal for user who want to heavily modify OpenWrt and its functionality. **jffs2 does NOT seem to work on the DIR-601, however.**+
=== Flash via D-Link Web Interface === === Flash via D-Link Web Interface ===
-These D-Link routers have a special (and very nice) web interface to unbrick a router.  This is my preferred method of upgrading to OpenWRT. Power on the router, then hold the reset button.  On the DIR-600, you need to wait about 10 seconds and the power light will start to blink slowly, perhaps once a second.  Note that on other D-Link routers, you may need to wait longer -- up to a minute.+These D-Link routers have a special (and very nice) web interface specifically for flashing firmware.  This is the simplest way to upgrade this router to OpenWRT. It also provides a fail-safe method of reflashing the firmware in case you "brick" your router and can no longer access it using other methods.
-Now, set your PC's IP address to 192.168.0.55 (or anything else in 192.168.0.0/24).  Open Internet Explorer 6, and go to http://192.168.0.1. Upload the .bin file you acquired above.  The progress will get to ~55 percent and then stop while the router reboots. This is OK. The actual percentage does not actually mean anything useful. +- Manually set your PC's IP address to any address between 192.168.0.2 and 192.168.0.253.
-Web Browsers that **can** upload the Initial Firmware Update +Don't use 192.168.0.1 (The router IP address will default to 192.168.0.1 when reset as instructed below.)
-  * Internet Explorer 6 +
-  * [[http://sf.net/projects/uswp/|Ultra Simple Web Browser 2.0]]+
-Web Browsers that **cannot** upload the Initial Firmware +- Hold the reset button while powering up the router and continue to hold until the power light begins blinking. Repeat if necessary.
-  * Internet Explorer 7,8,9 +
-  * Firefox 4.x, 5.+
-  * Chrome 11.x,12,x +
-  * Safari  +
-  * Konqueror+
 +- Open Internet Explorer 6, and go to http://192.168.0.1.
-Now, wait for the router to boot back up. The router signifies restarting by quickly flashing all lights. You'll know when the router has fully booted when the 'Status' light turns from orange to green.  The LAN and WAN link lights will not work, but the router will still be up. 'telnet 192.168.1.1' and you should be presented with a shell prompt. Set the password, and you should be able to ssh in after this. Alternatively, you can set your password via the web interface.+Most other web browser such as Firefox and even later versions of Internet Explorer, will appear to work but may not successfully upload the firmware to the router. 
 + 
 +- Upload the .bin file you downloaded above.   
 + 
 +The progress will get to a random percentage and then stop while the router reboots. This is OK. The actual percentage does not actually mean anything useful.  
 + 
 +- Wait for the router to boot back up.  
 + 
 +The router signifies restarting by quickly flashing all lights. You'll know when the router has fully booted when the 'Status' light turns from orange to green.  The LAN and WAN link lights will not light up, but the router is functioning. 
 + 
 +- Set your computer's network interface back to automatic or manually to any IP address between 192.168.1.2 and 192.168.1.253.  
 + 
 +Don't use 192.168.1.1 as this is the new IP address of the router now that the OpenWRT firmware has been successfully installed. 
 + 
 +- Telnet to 192.168.1.1 and you should be presented with a shell prompt. 
 + 
 +If you set the password via Telnet, you will need to use a SSH connection using a program like "Putty" to log in afterwards. Alternatively, you can set your password via the web interface
 + 
 +- Access the web interface using a web browser and go to http://192.168.1.1 
 + 
 +You will be presented with a login page. 
 + 
 +If you cannot access the router via Telnet or the web interface , check to ensure that you have properly reconfigured your computer's network interface and that it has a correct IP address. If all else fails, repeat these instructions as the router's firmware has not been successfually flashed with OpenWRT.
=== Flash via Normal Web Interface === === Flash via Normal Web Interface ===
Line 118: Line 139:
^ RAM:  | 32MiB | ^ RAM:  | 32MiB |
^ Wireless:  | Atheros AR9285 | ^ Wireless:  | Atheros AR9285 |
-^ Ethernet:  | ? |+^ Ethernet:  | eth0, eth1 (confirmed on 601 only)| 
 +^ Switch:  |AR7240 built-in 6 port switch (cpu @ port 0), 16 vlans (confirmed on 601 only)|
^ USB:  | mod (601) | ^ USB:  | mod (601) |
^ Serial:  | [[:inbox#Serial|Yes]] | ^ Serial:  | [[:inbox#Serial|Yes]] |
^ JTAG:  | No | ^ JTAG:  | No |
 +The swconfig command provides the following info about the Dir-601 ethernet switch. 
 +<code> 
 +root@OpenWrt:/# swconfig dev eth0 show 
 +Global attributes: 
 +        enable_vlan: 1 
 +Port 0: 
 +        pvid: 1 
 +Port 1: 
 +        pvid: 1 
 +Port 2: 
 +        pvid: 1 
 +Port 3: 
 +        pvid: 1 
 +Port 4: 
 +        pvid: 1 
 +Port 5: 
 +        pvid: 0 
 +VLAN 0: 
 +        vid: 0 
 +        ports: 5 
 +VLAN 1: 
 +        vid: 1 
 +        ports: 0 1 2 3 4 
 +</code>
The information written on the main Atheros chip is as follows: The information written on the main Atheros chip is as follows:
<code> <code>
Line 449: Line 494:
I will also host the modified ''mach-dir600-a1.c'' file for anyone that wants it (eventually). I will also host the modified ''mach-dir600-a1.c'' file for anyone that wants it (eventually).
 +
 +
 +FIXME @jkiddo: - I recently ported the DIR-632-A1, and for this board the WLAN is not a normal GPIO, to get the WLAN LED to work you actually have to call <code>
 +  ap9x_pci_setup_wmac_led_pin(0, DIR_632_A1_WLAN_GPIO_LED); </code>
 +where DIR_632_A1_WLAN_GPIO_LED is 0 in this case, I have seen it as 1 in other boards. I suspect you need to do something similar here...
===== Failsafe mode ===== ===== Failsafe mode =====
-> [[doc:howto:generic.failsafe]] -> [[doc:howto:generic.failsafe]]
-If you forgot your password, broke one of the startup scripts, firewalled yourself out, or corrupted the JFFS2 partition, you can get back in by using OpenWrt's failsafe mode.+If you forgot your password, broke one of the startup scripts, firewalled yourself out, or corrupted the JFFS2 partition, you can get back in by using OpenWrt's failsafe mode or simply reflashing the firmware as instructed above.
==== Boot into failsafe mode ==== ==== Boot into failsafe mode ====
Line 764: Line 814:
===== Tags ===== ===== Tags =====
- 

Back to top

toh/d-link/dir-600.1343550875.txt.bz2 · Last modified: 2012/07/29 10:34 by orca