User Tools

Site Tools


toh:d-link:dir-505

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
toh:d-link:dir-505 [2014/08/08 15:01]
aind
toh:d-link:dir-505 [2015/04/15 21:01] (current)
tmomas [D-LINK DIR-505]
Line 1: Line 1:
 ====== D-LINK DIR-505 ====== ====== D-LINK DIR-505 ======
 +
 +---- dataentry----
 +BRAND : D-Link
 +MODEL: DIR-505
 +STATUS_: suppported
 +OpenWRT Version: 14.07
 +PLATFORM: Atheros AR1311 ​
 +CPU MHZ: 400
 +RAM MB: 64
 +FLASH MB: 8
 +WLAN HARDWARE: Atheros AR9285
 +WLAN STD: b/g/n
 +WIRED PORTS_: 1x 100
 +VLAN: No
 +USB: 1x 2.0
 +FW factory_url:​ https://​downloads.openwrt.org/​barrier_breaker/​14.07/​ar71xx/​generic/​openwrt-ar71xx-generic-dir-505-a1-squashfs-factory.bin
 +FW sysupgrade_url:​ https://​downloads.openwrt.org/​barrier_breaker/​14.07/​ar71xx/​generic/​openwrt-ar71xx-generic-dir-505-a1-squashfs-sysupgrade.bin
 +Devicepage_url:​ http://​wiki.openwrt.org/​toh/​d-link/​dir-505
 +Forumthreads_url:​ http://​forum.openwrt.org/​viewtopic.php?​id=38742
 +----
  
 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. 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 18: Line 37:
  
 ^ Version/​Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/​Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| DIR-505 A1    | ??          | ??  | AA + trunk                ​| No "​Charge Mode" ​    | +| DIR-505 A1    | ??          | ??  | 14.07                     | No "​Charge Mode" ​    | 
-| DIR-505L A1   | ??          | ??  | AA + trunk                ​| Charge mode          | +| DIR-505L A1   | ??          | ??  | 14.07                     | Charge mode          | 
-| DIR-505L A2   | ??          | ??  | AA + trunk                ​| Charge mode; exchangeable mains plug | +| DIR-505L A2   | ??          | ??  | 14.07                     | Charge mode; exchangeable mains plug |
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 504: Line 522:
 | WPS | Secure Easy Setup | | WPS | Secure Easy Setup |
  
 +=== Use WPS button for reboot and shutdown ===
  
-There is a 4 position switch on the top of the unitThe fourth position is used by the DIR-505L model to shutdown the software and operate as a USB charger - on the DIR-505 the case keeps the switch from going into the fourth position.+see [[https://​forum.openwrt.org/​viewtopic.php?​pid=248346#​p248346|this forum posting]] for how to use the WPS button ​to reboot / shutdown the device.
  
-I mapped out the gpio values. The switch ​seems to modify GPIO 19,20,21,22 and 23. This is what I got, respectively:​+=== Mode-switch ​===
  
-|"wifi hotspot"​|01001| +There is a 4 position ​switch on the top of the unit. The fourth position is used by the DIR-505L model to shutdown the software and operate as a USB charger - on the DIR-505 the case keeps the switch from going into the fourth position.
-|"​repeater"​|11001| +
-|"​Router/​AP"​|10001|  +
-|4th position|11000|+
  
 +You can use the mode switch for pretty much anything you want -- however, keep in mind that the "​Charge"​ position turns the router off and is pretty easy to accidentally switch to.
  
 +The switch seems to modify GPIO 19,20,21,22 and 23:
  
 +^  Switch position ​ ^  GPIO  ^
 +| "WiFi Hotspot" ​ | 01001 |
 +| "​Repeater" ​     | 11001 |
 +| "​Router/​AP" ​    | 10001 | 
 +| "​Charger" ​      | 11000 |
  
 ===== Hardware ===== ===== Hardware =====
Line 565: Line 588:
 See above photo for connections. 115200 bps, 8N1. You can use any 3.3V serial dongle for this, I used a 3.3v arduino serial programming cable. See above photo for connections. 115200 bps, 8N1. You can use any 3.3V serial dongle for this, I used a 3.3v arduino serial programming cable.
  
 +When the case is open it may be more convenient to power the DIR-505 directly from a 5V power supply. The power connector is the female 4-pin header (2.54mm/​0.1in spacing) and has a symmetric connection: <​code>​[-|+|+|-]</​code>​ (the inner two pins are +5V, the outer ones are 0V/GND).
 ==== JTAG ==== ==== JTAG ====
 -> [[doc:​hardware:​port.jtag]] general information about the JTAG port, JTAG cable, etc. -> [[doc:​hardware:​port.jtag]] general information about the JTAG port, JTAG cable, etc.
toh/d-link/dir-505.1407502868.txt.bz2 · Last modified: 2014/08/08 15:01 by aind