Differences

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

toh:d-link:dir-505 [2013/05/17 20:32]
toh:d-link:dir-505 [2014/08/08 15:01] (current)
aind
Line 1: Line 1:
====== D-LINK DIR-505 ====== ====== D-LINK DIR-505 ======
-The discussion on the DIR-505 is in [[http://forum.openwrt.org/viewtopic.php?id=38742 | this forum post]]. OpenWRT has been flashed to version A1.+The discussion on the DIR-505 is in [[http://forum.openwrt.org/viewtopic.php?id=38742 | this forum post]]. OpenWRT has been flashed to version A1 + A2.
Line 7: Line 7:
===== Supported Versions ===== ===== Supported Versions =====
-Apparently so far there are two versions of the dlink 505. One is the DIR-505 and the other is DIR-505L. The only descrnable difference is extra parts for voltage stability and the addition of a "Charge" mode on the mode switch, which allows for charging USB devices via the USB port on the unit. +Apparently so far there are three versions of the dlink 505: DIR-505 A1, DIR-505L A1, DIR-505L A2.
-Note that both versions work fine with Openwrt, no software changes are needed.+They differ a bit on the "outer" hardware (switches, power supply stability, plugs), but the main router hardware is [[https://forum.openwrt.org/viewtopic.php?pid=210869#p210869|the same for all versions]]. 
 +Since the main router hardware is the same for all versions, all of them work fine with Openwrt.
-^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ +505L A1 = 505 + extra parts for voltage stability and the addition of a "Charge" mode on the mode switch, which allows for charging USB devices via the USB port on the unit.
-| DIR-505 | ?? | ?? | AA | No "Charge Mode" +
-| DIR-505L | ?? | ?? | AA | Charge mode |+
 +505L A2 = 505L A1 + exchangeable mains plug. For EU + UK, one plug for each is supplied.
 +
 +
 +^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
 +| DIR-505 A1    | ??          | ??  | AA + trunk                | No "Charge Mode"    |
 +| DIR-505L A1  | ??          | ??  | AA + trunk                | Charge mode          |
 +| DIR-505L A2  | ??          | ??  | AA + trunk                | Charge mode; exchangeable mains plug |
===== Hardware Highlights ===== ===== Hardware Highlights =====
^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^ ^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^
-| atheros AR1311-AL1A | 64MiB | 8MiB | 100mips x1 wifi Atheros 9380 | Yes | Yes | unknown | +| atheros AR1311-AL1A | 64MiB | 8MiB | 100mips x1 wifi Atheros 9380 | Yes | Yes | No |
===== Installation ===== ===== Installation =====
 +Starting with r37834 the device can be flashed via the web interface using a prebuilt factory image. For earlier versions (AA) you need the serial connection to flash the device or build the factory image yourself.
==== Flash Layout ==== ==== Flash Layout ====
Line 517: Line 524:
| **[[doc:hardware:soc|System-On-Chip]]:**  | SoC: Atheros AR9330 rev 1 | | **[[doc:hardware:soc|System-On-Chip]]:**  | SoC: Atheros AR9330 rev 1 |
| **[[doc:hardware:cpu|CPU]]/Speed**        | Atheros AR9330 400.000MHz | | **[[doc:hardware:cpu|CPU]]/Speed**        | Atheros AR9330 400.000MHz |
-| **Flash-Chip:**      | NANYA1207 NT5TU32N1608G (? barely can read last digits) |+| **Flash-Chip:**      | NANYA NT5TU32M16DG-AC  |
| **Flash size:**      | 8192 KiB | | **Flash size:**      | 8192 KiB |
-| **RAM:**            | 32 MiB  | +| **RAM:**            | 64 MiB  | 
-| **Wireless:**        | 802.11n/g |+| **Wireless:**        | 802.11b/g/n |
| **Ethernet:**        | 10/100 full duplex | | **Ethernet:**        | 10/100 full duplex |
| **USB:**            | Yes 1 x 2.0 ar7240-ehci| | **USB:**            | Yes 1 x 2.0 ar7240-ehci|
Line 536: Line 543:
Note: those pads are really meant for [[https://en.wikipedia.org/wiki/Pogo_pin|Pogo pins]] (which you can get at places like sparkfun). If you solder to them, use a low-wattage soldering iron (15-30 watts) and use solder flux to clean the pads first. Then only solder magnet wire or a single strand of stranded copper wire (32 awg). Note: those pads are really meant for [[https://en.wikipedia.org/wiki/Pogo_pin|Pogo pins]] (which you can get at places like sparkfun). If you solder to them, use a low-wattage soldering iron (15-30 watts) and use solder flux to clean the pads first. Then only solder magnet wire or a single strand of stranded copper wire (32 awg).
 +More photos: [[http://galeria.tech-blog.pl/D-Link_DIR-505/]]
==== Opening the case ==== ==== Opening the case ====
Line 572: Line 580:
However, if you hold down the reset button at boot time, the original bootloader has a web interface that comes up, where you can re-flash the unit from. However, if you hold down the reset button at boot time, the original bootloader has a web interface that comes up, where you can re-flash the unit from.
-Plug in your computer to the unit, assign it an ip address of 192.168.0.100, and boot the unit up while holding down the reset. Once the light comes on, release the reset, and go to 192.168.0.1 on your web browser. From there you can upload a new image. +Plug in your computer to the unit, assign it an ip address of 192.168.0.100, and boot the unit up while holding down the reset. Once the red light starts to blink slowly, release the reset, and go to 192.168.0.1 on your web browser. From there you can upload a new image. After successful flashing, you'll see a "Success" page in your browser. 
 + 
 +==== LED red/green/on/off ==== 
 + 
 +After getting the "success" page in your browser you might notice a different behaviour of the LED, depending on which image you flashed: 
 + 
 +== Plesiu's AA image == 
 + 
 +Please keep in mind, that the LED might not come on after flashing / rebooting, since it usually signals WiFi, which might not be up right after flashing. So don't misinterpret the off-LED as "it's not working", when it's just showing: "Wifi is off". Try to access the router by ''telnet 192.168.1.1''. 
 + 
 +== Trunk image == 
 + 
 +The LED goes from blinking red to blinking green, and then to steady green. Congratulations, your DIR-505 just has booted and is waiting for you to ''telnet 192.168.1.1'' (at least it should be).
===== Bootloader Mods ===== ===== Bootloader Mods =====
-None. +  - you could read about [[doc:techref:bootloader]] in general and about [[doc:techref:bootloader:uboot|Das U-Boot]] in particular. 
 + 
 +==== U-Boot 1.1.4 modification for routers ==== 
 +Forum member [[https://forum.openwrt.org/profile.php?id=72549|pepe2k]] made a modification of **U-Boot 1.1.4** for **Qualcomm Atheros** SoCs based devices (the project is still being developed, so new devices and SoCs will be supported in the future). Up to date information, binary images and sources can be found on official [[https://github.com/pepe2k/u-boot_mod|GitHub repository]]. 
 + 
 +This modification started from [[http://code.google.com/p/wr703n-uboot-with-web-failsafe/|wr703n-uboot-with-web-failsafe]] project, but supports more devices, all modern web browsers, has a lot of improvements and other modifications (like U-Boot NetConsole, custom commands, overclocking possibilities etc.). 
 + 
 +More information: 
 + 
 +  * Official repository on GitHub: [[https://github.com/pepe2k/u-boot_mod|U-Boot 1.1.4 modification for routers]] 
 +  * Discussion about this project on [[https://forum.openwrt.org/viewtopic.php?id=43237|OpenWrt forum]] 
 +  * An article (in Polish) about one of the first version of this project on [[http://www.tech-blog.pl/2013/03/29/zmodyfikowany-u-boot-dla-routerow-tp-link-z-atheros-ar9331-z-trybem-aktualizacji-oprogramowania-przez-www-i-konsola-sieciowa-netconsole/|www.tech-blog.pl]]
===== Hardware mods ===== ===== Hardware mods =====
Line 581: Line 612:
  - The internal WiFi antenna sometimes has a tendancy to short to the board. If you open the device, slip a piece of electrical tape, (or even better, shrink wrap tubing) around the vertical piece of metal that extends over the board to keep it from bouncing around. Otherwise if it shorts, the smoke comes out of the processor.   - The internal WiFi antenna sometimes has a tendancy to short to the board. If you open the device, slip a piece of electrical tape, (or even better, shrink wrap tubing) around the vertical piece of metal that extends over the board to keep it from bouncing around. Otherwise if it shorts, the smoke comes out of the processor.
 +===== Notes =====
 +Other than similar routers (e.g., the TP-Link TL-WR703N), the D-Link DIR-505 uses the interface **eth1** rather than eth0. This means that if you build your own firmware, you must configure **/etc/config/network** accordingly (option ifname 'eth1'), or you will not be able to connect later on via Ethernet.
 +<code>
 +config interface 'lan'
 +        option ifname 'eth1'
 +        option proto 'dhcp'
 +</code>
 +===== Custom OpenWrt image with LuCi integrated =====
-===== Notes ===== +http://www.superwrt.eu/en/firmware/d-link-dir-505/
===== Tags ===== ===== Tags =====
For some Help with the Tags, please have a look here: [[meta/tags]] For some Help with the Tags, please have a look here: [[meta/tags]]
-{{tag> FastEthernet, 1PHY, USB, 32RAM, 8Flash, MIPS }}+{{tag>FastEthernet 1NIC USB 64RAM 8Flash MIPS 802.11bgn}}

Back to top

toh/d-link/dir-505.1368815553.txt.bz2 · Last modified: 2013/05/17 20:32 (external edit)