Differences
This shows you the differences between two versions of the page.
|
toh:d-link:dir-615 [2012/12/20 01:03] ka_fe |
toh:d-link:dir-615 [2013/05/11 01:31] (current) orenr |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== Supported Versions ===== | ===== Supported Versions ===== | ||
| ^ Revision ^ Version Supported ^ Model Specific Notes ^ | ^ Revision ^ Version Supported ^ Model Specific Notes ^ | ||
| - | | C1, C2 | Backfire | Full support, eth/wireless/leds/buttons ok | | + | | C1, C2 | Attitude Adjustment RC1 | Full support, eth/wireless/leds/buttons ok | |
| | D1/D2 | trunk | Partly working - problems with ethernet. Requires manual custom build. | | | D1/D2 | trunk | Partly working - problems with ethernet. Requires manual custom build. | | ||
| - | | D3/D4 | trunk | Mostly working. Requires manual build. (Works with DIR-600/B2 firmware)* | | + | | D3/D4 | trunk | Working with AA (12.09) [[https://forum.openwrt.org/viewtopic.php?id=35184|Forum]] | |
| | E1 - E4 | Backfire | (Works with DIR-600 rev. A1 firmware)*, LEDs should work since [[https://dev.openwrt.org/changeset/29973/trunk|R29973]], support for E4 merged with [[toh:d-link:DIR-600]] A1 in [[https://dev.openwrt.org/changeset/29976/trunk|R29976]] | | | E1 - E4 | Backfire | (Works with DIR-600 rev. A1 firmware)*, LEDs should work since [[https://dev.openwrt.org/changeset/29973/trunk|R29973]], support for E4 merged with [[toh:d-link:DIR-600]] A1 in [[https://dev.openwrt.org/changeset/29976/trunk|R29976]] | | ||
| | H1 | trunk | Partly working - Requires manual custom build with network configuration | | | H1 | trunk | Partly working - Requires manual custom build with network configuration | | ||
| - | **NOTE:** ONLY revision C1 and C2 are fully supported yet. | + | **NOTE:** ONLY revision C1 and C2 are fully supported yet. |
| - | *You might have to change the magic number at the end of the OpenWRT firmware to the one used by the stock DIR-615 firmware to get it to upload. | + | *You might have to change the magic number at the end of the OpenWRT firmware to the one used by the stock DIR-615 firmware to get it to upload. \\ |
| - | + | Frys FR-300RTR is the same as E1 [[https://forum.openwrt.org/viewtopic.php?pid=131673#p131673|Forum]] \\ | |
| - | Frys FR-300RTR is the same as E1 [[https://forum.openwrt.org/viewtopic.php?pid=131673#p131673|Forum]] | + | * April 2013 - **Version E4 is supported and known to work with attitude adjustment 12.09** [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-dir-615-e4-squashfs-factory.bin|(link to flash file))]] , see installation instruction below \\ |
| ===== Unsupported Versions ===== | ===== Unsupported Versions ===== | ||
| Line 23: | Line 23: | ||
| FIXME add revisions | FIXME add revisions | ||
| ^ Revisions ^ CPU ^ Ram ^ Flash ^ Network ^ Gigabit ^ USB ^ Serial ^ JTag ^ | ^ Revisions ^ CPU ^ Ram ^ Flash ^ Network ^ Gigabit ^ USB ^ Serial ^ JTag ^ | ||
| - | |A1 | Marvell | 32MB | 8MB | 4x1 | No | No | Yes | Yes | | + | |A1 | Marvell | 32MB | 8MB | 4x1 | No | No | Yes | Yes | |
| - | |B2 | Ubicom | 8MB | 2MB | 4x1 | No | No | Yes | Yes | | + | |B2 | Ubicom | 8MB | 2MB | 4x1 | No | No | Yes | Yes | |
| - | |C1, C2| Atheros | 32MB | 4MB | 4x1 | No | Yes* | Yes | No | | + | |C1, C2 | Atheros | 32MB | 4MB | 4x1 | No | Yes* | Yes | No | |
| - | |D1 - D5| Ralink | 32MB | 4MB | 4x1 | No | No | Yes | No | | + | |D1 - D5 | Ralink | 32MB | 4MB | 4x1 | No | No | Yes | No | |
| - | |E1, E2| Atheros | 32MB | 4MB | 4x1 | No | Yes* | Yes | Yes | | + | |E1, E2 | Atheros | 32MB | 4MB | 4x1 | No | Yes* | Yes | Yes | |
| - | |E3, E4| Atheros | 32MB | 4MB | 4x1 | No | Yes* | Yes | Yes | | + | |E3,E4,E5| Atheros | 32MB | 4MB | 4x1 | No | Yes* | Yes | Yes | |
| - | |F1, F2| Realtek | 16MB | 2MB | 4x1 | No | No | Yes | Yes | | + | |F1, F2 | Realtek | 16MB | 2MB | 4x1 | No | No | Yes | Yes | |
| - | |G1 | Ralink | 32MB | 8MB | 4x1 | No | No | Yes | ? | | + | |G1 | Ralink | 32MB | 8MB | 4x1 | No | No | Yes | ? | |
| - | |H1 | Ralink | 32MB | 4MB | 4x1 | No | No | Yes | Yes | | + | |H1 | Ralink | 32MB | 4MB | 4x1 | No | No | Yes | Yes | |
| - | |I1 | Atheros | 32MB | ? | ? | no | no | ? | ? | | + | |I1 | Atheros | 32MB | ? | ? | no | no | ? | ? | |
| - | |I2 | | | | | | | | | | + | |I2 | | | | | | | | | |
| - | |J1 | Realtek | 16MB | 2MB | 4x1 | No | No | Yes | Yes | | + | |J1 | Realtek | 16MB | 2MB | 4x1 | No | No | Yes | Yes | |
| - | |K1 | | | | | | | | | | + | |K1 | Broadcom | 32MB | 4MB | 4x1 | No | No | No | No | |
| ===== Installation ===== | ===== Installation ===== | ||
| - | ==== Rev. C1 ==== | + | ==== Rev. C1 and E4 ==== |
| Installation is fairly straight forward for this router, you will need to access the D-Link recovery console with the steps below. | Installation is fairly straight forward for this router, you will need to access the D-Link recovery console with the steps below. | ||
| - | - As per the note at http://www.dd-wrt.com/wiki/index.php/DIR-615C , "If your dlink 615 C1 is at f/w 3.12 or 3.11 you may have to revert it to 3.10". The older firmware is available from D-Link: http://www.dlink.com/products/?tab=3&pid=DIR-615&rev=DIR-615_revC | + | - As per the note at http://www.dd-wrt.com/wiki/index.php/DIR-615C , "If your dlink 615 C1 is at f/w 3.12 or 3.11 you may have to revert it to 3.10". The older firmware is available from [[http://www.dlink.com/us/en/support/product/dir-615-wireless-n-300-router?revision=us_revc|D-Link support]]. |
| - Set a static IP on your PC to '192.168.0.2'. | - Set a static IP on your PC to '192.168.0.2'. | ||
| - | - Press and hold the reset button until the power LED starts blinking orange (usually takes ~45 seconds). Or, hold down the reset button while powering on the router, this is much quicker and only takes 5-10 seconds. | + | - Press and hold the reset button until the power LED starts blinking orange (usually takes ~45 seconds). Or, hold down the reset button while powering on the router, this is much quicker and only takes 5-15 seconds. |
| - | - Go to 'http://192.168.0.1' from your PC web browser. (Note: most modern browsers don't work, see below) | + | - Go to 'http://192.168.0.1' from your PC web browser. (Note: most modern browsers don't work, see below, Firefox 13 portable version is known to work) |
| - "Browse" and select the OpenWrt firmware (e.g. 'openwrt-ar71xx-dir-615-c1-squashfs-factory.bin'). | - "Browse" and select the OpenWrt firmware (e.g. 'openwrt-ar71xx-dir-615-c1-squashfs-factory.bin'). | ||
| - Let router flash the image, don't worry if it reboots before it reaches 100%. If the page loads forever or times out, your browser is unsupported. See below. | - Let router flash the image, don't worry if it reboots before it reaches 100%. If the page loads forever or times out, your browser is unsupported. See below. | ||
| Line 57: | Line 57: | ||
| Internet Explorer 7 on Windows is known to work, as well as Firefox 13.0.1 on GNU/Linux, but problems have been reported with newer versions and most other browsers on GNU/Linux. Older versions of Firefox (4.x and below) are known to have problems, several people have been more successful with newer versions. Alternatively, you can use the ''curl'' command-line HTTP client like so: | Internet Explorer 7 on Windows is known to work, as well as Firefox 13.0.1 on GNU/Linux, but problems have been reported with newer versions and most other browsers on GNU/Linux. Older versions of Firefox (4.x and below) are known to have problems, several people have been more successful with newer versions. Alternatively, you can use the ''curl'' command-line HTTP client like so: | ||
| curl -0vF files=@openwrt-ar71xx-dir-615-c1-squashfs-factory.bin http://192.168.0.1/cgi/index | curl -0vF files=@openwrt-ar71xx-dir-615-c1-squashfs-factory.bin http://192.168.0.1/cgi/index | ||
| + | |||
| There seems to be some compatibility issues with the firmware update system network stack and at least a Linux 3.5.3 kernel and curl 7.27.0. Even forcing ''curl'' down to HTTP/1.0 resulted in a hang. One known working configuration is NetBSD 5.1.2 with curl 7.26.0. | There seems to be some compatibility issues with the firmware update system network stack and at least a Linux 3.5.3 kernel and curl 7.27.0. Even forcing ''curl'' down to HTTP/1.0 resulted in a hang. One known working configuration is NetBSD 5.1.2 with curl 7.26.0. | ||
| + | ***A use of Firefox 13 portable edition (on windows 7) was verified as successful. | ||
| + | ** | ||
| ==== Rev. D1-D4 ==== | ==== Rev. D1-D4 ==== | ||
| Line 67: | Line 70: | ||
| | FIXME: D1/D2 build instructions | | | FIXME: D1/D2 build instructions | | ||
| + | The DIR-615D maps to DIR-300b1 therefore there is no dedicated target for 615-D. | ||
| + | |||
| + | D2 can be flashed with Attitude Adjustment - RC1: openwrt-ramips-rt305x-dir-615-d-squashfs-factory.bin | ||
| + | Problems when flashing with AA RC1 firmware: | ||
| + | - ethernet only works when trying to connect over 10baseT/UTP (10mbit/sec) | ||
| + | - wireless needs workaround | ||
| + | |||
| + | **Wireless**: | ||
| + | It is fixed in the recent Attitude Adjustment branch and works out of box. However, if you are using precompiled AA RC1 you will need a workaround: https://dev.openwrt.org/ticket/12636 | ||
| + | |||
| + | **Ethernet**: | ||
| + | The only way to get this fully working is to recompile using old ramips ethernet drivers (from revision: 24328) | ||
| + | To do this: | ||
| + | - get the desired branch/trunk | ||
| + | - navigate to target/linux/ramips/files/drivers/net/ethernet/ramips | ||
| + | - remove all *.c and *.h files | ||
| + | - copy into this folder the 3 files from https://dev.openwrt.org/browser/trunk/target/linux/ramips/files/drivers/net?rev=24328 | ||
| + | - rename ramips.c to remips_main.c | ||
| + | - continue with configuration/compilation as normal | ||
| + | |||
| + | This has been tested and the router works flawlessly. | ||
| + | |||
| | FIXME: D3/D4 build instructions | | | FIXME: D3/D4 build instructions | | ||
| + | Updated D4 install instructions (AArc2) are here: https://forum.openwrt.org/viewtopic.php?id=35184 | ||
| + | |||
| | FIXME: The DIR-825 has a better description: [[toh/d-link/dir-825#installation]]. | | | FIXME: The DIR-825 has a better description: [[toh/d-link/dir-825#installation]]. | | ||
| Line 90: | Line 117: | ||
| Now you should be able to telnet to DIR-615_H1 | Now you should be able to telnet to DIR-615_H1 | ||
| - | | FIXME: H1 build instructions | | + | |
| + | === Rev. H1 Build Instruction === | ||
| + | This documentation refers to current trunk of 03.04.2013. | ||
| + | Instead of using the above procedure, you can build the image following the next steps. It will create a working image with dhcp on wan and fixed ip 192.168.0.1 on lan. | ||
| + | |||
| + | - Download current trunk. I've downloaded it from git mirror: | ||
| + | <code> | ||
| + | git clone git://nbd.name/openwrt.git | ||
| + | </code> | ||
| + | - Add the file "target/linux/ramips/rt305x/profiles/d-link.mk" with content (ref:[[https://forum.openwrt.org/viewtopic.php?id=40623|DIR-615 H1 current sources]]): | ||
| + | <code> | ||
| + | # | ||
| + | # Copyright (C) 2012 OpenWrt.org | ||
| + | # | ||
| + | # This is free software, licensed under the GNU General Public License v2. | ||
| + | # See /LICENSE for more information. | ||
| + | # | ||
| + | |||
| + | define Profile/DIR615H1 | ||
| + | NAME:=DIR-615 H1 | ||
| + | PACKAGES:=\ | ||
| + | kmod-usb-core kmod-usb-ohci \ | ||
| + | kmod-usb2 kmod-ledtrig-usbdev \ | ||
| + | usb-modeswitch usb-modeswitch-data \ | ||
| + | kmod-usb-serial-option | ||
| + | endef | ||
| + | |||
| + | define Profile/DIR615H1/Description | ||
| + | Package set for DIR-615 H1 | ||
| + | endef | ||
| + | |||
| + | $(eval $(call Profile,DIR615H1)) | ||
| + | </code> | ||
| + | - edit file "target/linux/ramips/base-files.mk", remove the line : | ||
| + | <code> | ||
| + | rm -f $(1)/etc/config/network | ||
| + | </code> | ||
| + | - Edit the file "package/base-files/files/etc/config/network" with the settings you want. For example: | ||
| + | <code> | ||
| + | # Copyright (C) 2006 OpenWrt.org | ||
| + | config interface 'loopback' | ||
| + | option ifname 'lo' | ||
| + | option proto 'static' | ||
| + | option ipaddr '127.0.0.1' | ||
| + | option netmask '255.0.0.0' | ||
| + | |||
| + | config interface 'lan' | ||
| + | option ifname 'eth0.1' | ||
| + | option type 'bridge' | ||
| + | option proto 'static' | ||
| + | option ipaddr '192.168.0.1' | ||
| + | option netmask '255.255.255.0' | ||
| + | |||
| + | config interface 'wan' | ||
| + | option ifname 'eth0.2' | ||
| + | option hostname 'DIR-615-H1' | ||
| + | option proto 'dhcp' | ||
| + | |||
| + | config switch | ||
| + | option name rt305x | ||
| + | option reset 1 | ||
| + | option enable_vlan 1 | ||
| + | |||
| + | config switch_vlan | ||
| + | option device rt305x | ||
| + | option vlan 1 | ||
| + | option ports '0 1 2 3 6t' | ||
| + | |||
| + | config switch_vlan | ||
| + | option device rt305x | ||
| + | option vlan 2 | ||
| + | option ports '4 6t' | ||
| + | </code> | ||
| + | - In case you have already build something make a dirclean | ||
| + | <code> | ||
| + | make dirclean | ||
| + | </code> | ||
| + | - Configure the image: | ||
| + | <code> | ||
| + | make menuconfig | ||
| + | </code> | ||
| + | <code> | ||
| + | Target System (Ralink RT288x/RT3xxx) | ||
| + | Subtarget (RT305x based boards) | ||
| + | Target Profile (DIR-615 H1) | ||
| + | </code> | ||
| + | - Build the image: | ||
| + | <code> | ||
| + | make -j 5 | ||
| + | </code> | ||
| ==== Upgrading OpenWrt ==== | ==== Upgrading OpenWrt ==== | ||
| Line 212: | Line 328: | ||
| | **JTAG:** [[:toh/d-link/dir-615#JTAG|Yes]] | | | **JTAG:** [[:toh/d-link/dir-615#JTAG|Yes]] | | ||
| - | Revision E3/E4: | + | Revision E3/E4/E5: |
| | **Architecture:** MIPS | | | **Architecture:** MIPS | | ||
| Line 291: | Line 407: | ||
| | **Serial:** Yes | | | **Serial:** Yes | | ||
| | **JTAG:** Yes | | | **JTAG:** Yes | | ||
| + | |||
| + | Revision K1: | ||
| + | |||
| + | | **Architecture:** ? | | ||
| + | | **Bootloader:** ? | | ||
| + | | **System-On-Chip:** Broadcom BCM5357C0 | | ||
| + | | **CPU Speed:** ? | | ||
| + | | **Flash-Chip:** Macronix MX25L3206EMI-12G | | ||
| + | | **Flash size:** 4MB | | ||
| + | | **RAM-Chip:** Winbond W9425G6JH-5 | | ||
| + | | **RAM size:** 32 MiB (2M x 16bit x 4 banks) | | ||
| + | | **Wireless:** Broadcom BCM5357C0 | | ||
| + | | **Ethernet:** SoC integrated | | ||
| + | | **USB:** No | | ||
| + | | **Serial:** ? | | ||
| + | | **JTAG:** ? | | ||
| FIXME More info, please! | FIXME More info, please! | ||
| Line 302: | Line 434: | ||
| | D3 | [[:toh/d-link/dir-615/d3-photos/start|toh/d-link/dir-615/d3-photos/start]] | Wireless, cpu are unshielded, revD3E | | | D3 | [[:toh/d-link/dir-615/d3-photos/start|toh/d-link/dir-615/d3-photos/start]] | Wireless, cpu are unshielded, revD3E | | ||
| | D4 | [[:toh/d-link/dir-615/d4-photos/start|toh/d-link/dir-615/d4-photos/start]] | Wireless, cpu are unshielded | | | D4 | [[:toh/d-link/dir-615/d4-photos/start|toh/d-link/dir-615/d4-photos/start]] | Wireless, cpu are unshielded | | ||
| - | | E3/E4 | [[:toh/d-link/dir-615/e4-photos/start|toh/d-link/dir-615/e4-photos/start]] | Wireless, cpu and memory are unshielded on this photo | | + | |E3/E4/E5 | [[:toh/d-link/dir-615/e4-photos/start|toh/d-link/dir-615/e4-photos/start]] | Wireless, cpu and memory are unshielded on this photo | |
| | F1/F2 | [[:toh/d-link/dir-615/f1-photos/start|toh/d-link/dir-615/f1-photos/start]] | This is rev.F1/F2 device photo | | | F1/F2 | [[:toh/d-link/dir-615/f1-photos/start|toh/d-link/dir-615/f1-photos/start]] | This is rev.F1/F2 device photo | | ||
| | H1 | [[:toh/d-link/dir-615/h1-photos/start|toh/d-link/dir-615/h1-photos/start]] | Shield removed | | | H1 | [[:toh/d-link/dir-615/h1-photos/start|toh/d-link/dir-615/h1-photos/start]] | Shield removed | | ||
| Line 383: | Line 515: | ||
| * If done right the DMZ LED will quickly flash 3 times every second. | * If done right the DMZ LED will quickly flash 3 times every second. | ||
| * You should be able to telnet to the router at 192.168.1.1 now (no username and password) | * You should be able to telnet to the router at 192.168.1.1 now (no username and password) | ||
| + | FIXME What is the DMZ LED? It's not mentioned anywhere else in this article. | ||
| ==== What to do in failsafe mode? ==== | ==== What to do in failsafe mode? ==== | ||
toh/d-link/dir-615.1355961795.txt.bz2 · Last modified: 2012/12/20 01:03 by ka_fe
