User Tools

Site Tools


meta:playground

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
meta:playground [2013/01/20 17:58]
meta:playground [2015/06/13 13:09] (current)
tmomas [Dataentry]
Line 1: Line 1:
-====== Playground ======+The playground is for testing. Play around as you like!\\ 
 +Add your content below the line and leave this note in place.
  
-Place to test wiki markup+----
  
 +====== D-LINK DIR-505 ======
 +~~NOTOC~~
  
 +---- datatable ----
 +cols    : Brand, Model, Versions, Status_, OpenWrt version, Forumthreads_url
 +align   : c,c,c,c,c,c
 +filter ​ : Model=DIR-505
 +filter ​ : Versions*~A1
 +----
  
-===== Basic text formatting ​=====+===== Supported Versions ​=====
  
-DokuWiki supports **bold**//italic//__underlined__ and ''​monospaced''​ texts. Of course you can **__//''​combine''//​__** all these.+Apparently so far there are three versions of the dlink 505: DIR-505 A1DIR-505L A1DIR-505L A2.
  
-  DokuWiki supports **bold**, //italic//, __underlined__ and ''​monospaced''​ texts+They differ a bit on the "​outer"​ hardware (switchespower supply stability, plugs), but the main router hardware is [[https://forum.openwrt.org/viewtopic.php?​pid=210869#​p210869|the same for all versions]]
-  Of course you can **__//''​combine''//​__** ​all these.+Since the main router hardware is the same for all versions, ​all of them work fine with Openwrt.
  
-You can use <​sub>​subscript</​sub> ​and <​sup>​superscript</​sup>​too.+505L A1 = 505 + extra parts for voltage stability ​and the addition of a "​Charge"​ mode on the mode switchwhich allows for charging USB devices via the USB port on the unit.
  
-  You can use <​sub>​subscript</​sub>​ and <​sup>​superscript</​sup>​too.+505L A2 = 505L A1 + exchangeable mains plug. For EU + UKone plug for each is supplied.
  
-You can mark something as <​del>​deleted</​del>​ as well. 
  
-  You can mark something as <​del>​deleted<​/del> as well.+^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ 
 +| DIR-505 A1    | ??          | ??  | 14.07                     | No "​Charge Mode" ​    | 
 +| DIR-505L A1   | ??          | ??  | 14.07                     | Charge mode          | 
 +| DIR-505L A2   | ??          | ??  | 14.07                     | Charge mode; exchangeable mains plug |
  
-**Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line.+===== Hardware Highlights =====
  
-This is some text with some linebreaks\\ Note that the +==== Dataentry ==== 
-two backslashes are only recognized at the end of a line\\ +===Todo===
-or followed by\\ a whitespace \\this happens without it.+
  
-  This is some text with some linebreaks\\ Note that the +<color fuchsia> ​ * enlarge left column by 20...50px</​color> ​\\ 
-  two backslashes are only recognized at the end of a line\\ +<color green> ​   * enlarge right column / bounding box by 100..250px</​color>​
-  or followed ​by\\ a whitespace \\this happens without it.+
  
-You should use forced newlines ​only if really needed.+**dataentry for ''​data plugin''​** (this will later be placed on a separate page, containing ​only the dataentry) 
 +---- dataentry ---- 
 +BRAND_hidden ​            : D-Link ​    # <---- you can add comments that are not shown 
 +MODEL             : DIR-505 
 +VERSIONs ​         : A1, LA1, LA2 
 +Identical HW      : - 
 +Similar HW        : - 
 +STATUS_ ​          : suppported 
 +OpenWRT Version ​  : 14.07 
 +First revision_url:​ https://​dev.openwrt.org/​changeset/​37834 ​ # Please always provide link to changeset! 
 +First release ​    : 14.07 
 +Current release ​  : 14.07 
 +Instructionset ​   : ? 
 +Sub-instructionset:​ ? 
 +Bootloader ​       : ? 
 +PLATFORM ​         : Atheros AR1311  
 +CPU MHZ           : 400 
 +RAM MB            : 64 
 +FLASH MB          : 8 
 +WLAN HARDWARE ​    : Atheros AR9285 
 +WLAN STD          : b/g/n 
 +Detachbl Antennas: - 
 +WIRED PORTS_ ​     : 1x 100M 
 +VLAN              : No 
 +USB               : 1x 2.0 
 +SERIAL ​           : ? 
 +JTAG              : ? 
 +MODEM             : No 
 +LEDS_             : 1 
 +BUTTONS_ ​         : WPS, RESET 
 +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_page ​  : .:​toh:​d-link:​dir-505 
 +Forumthreads_url ​ : http://​forum.openwrt.org/​viewtopic.php?​id=38742 
 +OEM-website_url ​  : http://​us.dlink.com/​products/​connect/​shareport-mobile-companion/​ 
 +OEM-firmware_url ​ : http://​support.dlink.com/​ProductInfo.aspx?​m=DIR-505L 
 +----
  
-===== Links =====+==== Hardware table ====
  
-DokuWiki supports multiple ways of creating links. 
  
-==== External ====+**Table from the original [[http://​wiki.openwrt.org/​toh/​d-link/​dir-505|DIR-505 device page]]:** 
 +^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^ 
 +| Atheros AR1311-AL1A |  64MiB  |  8MiB  | 100mips x1 wifi Atheros 9380 |  1x 2.0  |  Yes  |  No  | 
  
-External links are recognized automagically:​ http://​www.google.com or simply www.google.com - You can set the link text as well[[http://​www.google.com|This Link points to google]]. Email addresses like this one: <​andi@splitbrain.org>​ are recognized, too. +**Table created with the data plugin:** 
- +---- datatable ---- 
-  DokuWiki supports multiple ways of creating links. External links are recognized +cols    ​VersionsPlatformCPU MHzFlash MBRAM MBWLAN Hardware, WLAN std, Wired ports_, Modem, USB, SerialJTAGLEDs_, Buttons_ 
-  automagically:​ http://​www.google.com or simply www.google.com ​You can set +align   c,c,c,c,c,l,​r,​l,​c,​c,​c,​c,​c 
-  link text as well[[http://​www.google.com|This Link points to google]]. Email +filter ​ : ​Model=DIR-505 
-  addresses like this one: <​andi@splitbrain.org>​ are recognizedtoo. +filter ​ : ​Versions*~A1 
- +----
-==== Internal ==== +
- +
-Internal links are created by using square brackets. You can either just give a [[wiki:​pagename]] or use an additional [[wiki:​pagename|link text]]. +
- +
-  Internal links are created by using square brackets. You can either just give +
-  a [[wiki:​pagename]] or use an additional [[wiki:​pagename|link text]]. +
- +
-[[doku>​pagename|Wiki pagenames]] are converted to lowercase automaticallyspecial characters are not allowed.  +
- +
-You can use [[some:​namespaces]] by using a colon in the pagename. +
- +
-  You can use [[some:​namespaces]] by using a colon in the pagename. +
- +
-For details about namespaces see [[doku>​namespaces]]. +
- +
-Linking to a specific section is possibletoo. Just add the section name behind a hash character as known from HTML. This links to [[wiki:​syntax#​internal|this Section]]. +
- +
-  This links to [[wiki:​syntax#​internal|this Section]]. +
- +
-Notes: +
- +
-  * Links to [[meta:​syntax|existing pages]] are shown in a different style from [[wiki:​nonexisting]] ones. +
-  * DokuWiki does not use [[wp>​CamelCase]] to automatically create links by defaultbut this behavior can be enabled in the [[doku>​config]] file. Hint: If DokuWiki is a linkthen it's enabled. +
-  * When a section'​s heading is changedits bookmark changestoo. So don't rely on section linking too much. +
- +
-==== Interwiki ==== +
- +
-DokuWiki supports [[doku>​Interwiki]] links. These are quick links to other Wikis. For example this is a link to Wikipedia'​s page about Wikis[[wp>​Wiki]]. +
- +
-  DokuWiki supports [[doku>​Interwiki]] links. These are quick links to other Wikis. +
-  For example this is a link to Wikipedia'​s page about Wikis: [[wp>​Wiki]]. +
- +
- +
-==== Windows Shares ==== +
- +
-Windows shares like [[\\server\share|this]] are recognizedtoo. Please note that these only make sense in a homogeneous user group like a corporate [[wp>​Intranet]]. +
- +
-  Windows Shares like [[\\server\share|this]] are recognizedtoo. +
- +
-Notes: +
- +
-  ​* For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone"​). +
-  * For Mozilla and Firefox it can be enabled through the config option [[http://​www.mozilla.org/​quality/​networking/​docs/​netprefs.html#​file|security.checkloaduri]] but this is not recommended. +
-  * See [[dokubug>​151]] for more info. +
- +
-==== Image Links ==== +
- +
-You can also use an image to link to another internal or external page by combining the syntax for links and [[:​wiki#​images_and_other_files|images]] (see below) like this: +
- +
-  ​[[http://​www.php.net|{{wiki:​dokuwiki-128.png}}]] +
- +
-[[http://​www.php.net|{{wiki:​dokuwiki-128.png}}]] +
- +
-Please note: The image formatting is the only formatting syntax accepted in link names. +
- +
-The whole [[:​wiki#​images_and_other_files|image]] and [[:​wiki#​links|link]] syntax is supported (including image resizing, internal and external images and URLs and interwiki links). +
- +
-===== Footnotes ===== +
- +
-You can add footnotes ((This is a footnote)) by using double parentheses. +
- +
-  You can add footnotes ((This is a footnote)) by using double parentheses. +
- +
-===== Sectioning ===== +
- +
-You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically ​-- this can be disabled by including the string ''<​nowiki>​~~NOTOC~~</​nowiki>''​ in the document. +
- +
- +
- +
- +
-==== Headline Level 3 ==== +
-=== Headline Level 4 === +
-== Headline Level 5 ==+
  
-  ​==== Headline Level 3 ===+===== Installation ​===== 
-  === Headline Level 4 === +Starting with [[https://​dev.openwrt.org/​changeset/​37834|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.
-  == Headline Level 5 ==+
  
-By using four or more dashes, you can make a horizontal line: 
  
 +---- datatable ----
 +cols    : Versions, OpenWrt version, FW factory_url,​ FW sysupgrade_url,​ OEM-firmware_url
 +align   : l,c
 +filter ​ : Model=DIR-505
 +filter ​ : Versions*~A1
 ---- ----
  
-===== Images and other files ===== 
  
-You can include external and internal [[doku>​images]] ​with curly brackets. Optionally you can specify ​the size of them.+**The easiest method to flash a DIR-505** ​with an OpenWrt factory image is via the //D-Link Router Recovery Mode// ​
  
-Real size                       ​{{wiki:​dokuwiki-128.png}}+The essential how to for the //D-Link Router Recovery Mode//:\\  
 +(adapted to DIR-505; original source: [[http://​forums.dlink.com/​index.php?​topic=44909.msg162511#​msg162511]])
  
-Resize to given width: ​           {{wiki:​dokuwiki-128.png?​50}} +<​file>​ 
- +1 Store a copy of the OpenWrt firmware ​(.BIN) on the HDD of a local PC 
-Resize to given width and height((when the aspect ratio of the given width and height doesn'​t match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:​dokuwiki-128.png?​200x50}} +2 Connect an Ethernet cable between ​the LAN port on the router ​and the network port on the local PC 
- +3 Configure the PC with a static IP address other than 192.168.0.1 (e.g. 192.168.0.5) 
-Resized external image: ​          ​{{http://​de3.php.net/​images/​php.gif?​200x50}} +4 Power down the router 
- +5 Press and hold the reset button on the router for 3 to 5 seconds and re-plug the power without releasing the reset button 
-  Real size:                        {{wiki:​dokuwiki-128.png}} +6 Continue ​to hold the reset button until the red power light keeps blinking on and off 
-  Resize ​to given width: ​           {{wiki:​dokuwiki-128.png?​50}} +7 Open a web browser and enter the following address: http://192.168.0.1/ 
-  ​Resize ​to given width and height: {{wiki:​dokuwiki-128.png?​200x50}} +8 Wait for the 'D-Link Router Recovery Mode' page to load 
-  ​Resized external image          {{http://de3.php.net/​images/​php.gif?​200x50}} +9 Click the [Choose File] buttonselect ​the OpenWrt router firmware stored on the local PC and then press [Upload
- +10 After the new OpenWrt firmware has successfully loaded, a 'Success' ​page will display 
- +11 If the 'Success' ​page fails to display, then repeat steps through 9 
-By using left or right whitespaces you can choose ​the alignment. +</​file>​
- +
-{{ wiki:​dokuwiki-128.png}} +
- +
-{{wiki:​dokuwiki-128.png }} +
- +
-{{ wiki:​dokuwiki-128.png }} +
- +
-  {{ wiki:​dokuwiki-128.png}} +
-  {{wiki:​dokuwiki-128.png }} +
-  {{ wiki:​dokuwiki-128.png }} +
- +
-Of courseyou can add a title (displayed as a tooltip by most browsers), too. +
- +
-{{ wiki:​dokuwiki-128.png |This is the caption}} +
- +
-  {{ wiki:​dokuwiki-128.png |This is the caption}} +
- +
-If you specify a filename (external or internal) that is not an image (''​gif,​ jpeg, png''​), ​then it will be displayed as a link instead. +
- +
-For linking an image to another page see [[:​wiki#​Image Links]] above. +
- +
-===== Lists ===== +
- +
-Dokuwiki supports ordered and unordered lists. To create a list itemindent your text by two spaces and use a ''​*'' ​for unordered lists or a ''​-''​ for ordered ones. +
- +
-  * This is a list +
-  * The second item +
-    * You may have different levels (using ​spaces instead of 2) +
-  * Another item +
- +
-  - The same list but ordered +
-  - Another item +
-    - Just use indention for deeper levels +
-  - That's it+
  
 +See also: [[toh:​d-link:​dir-505#​debricking|D-LINK DIR-505 debricking]]
 +==== Flash Layout ====
 +/ $ cat /proc/mtd
 <​code>​ <​code>​
-  ​* This is a list +dev:    size   ​erasesize ​ name 
-  * The second item +mtd0: 00010000 00010000 "​u-boot"​ 
-    * You may have different levels +mtd1: 00010000 00010000 "​art"​ 
-  * Another item +mtd2: 00010000 00010000 "​mac"​ 
- +mtd3: 00010000 00010000 "​nvram"​ 
-  - The same list but ordered +mtd4: 00040000 00010000 "​language"​ 
-  - Another item +mtd5: 00100000 00010000 "​kernel"​ 
-    - Just use indention for deeper levels +mtd6: 00680000 00010000 "​rootfs"​ 
-  - That's it+mtd7: 00120000 00010000 "​rootfs_data"​ 
 +mtd8: 00780000 00010000 "​firmware"​
 </​code>​ </​code>​
  
-===== Smileys ​=====+==== OEM bootlog ​==== 
 +<​HTML>​ 
 +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​ 
 +<​code>​ 
 +U-Boot 1.1.4 (Apr 11 2012 - 12:10:08)
  
-DokuWiki converts commonly used [[wp>​emoticon]]s to their graphical equivalents. More smileys can be placed in the ''​smiley''​ directory and configured in the ''​conf/​smileys.conf''​ file. Here is an overview of Smileys included in DokuWiki.+AP121 (ar9331) U-boot
  
-  * 8-) %%  8-)  %% +DRAM:  64 MB 
-  * 8-O %%  8-O  %% +Top of RAM usable for U-Boot at84000000 
-  * :-( %%  ​:- %% +Reserving 161k for U-Boot at: 83fd4000 
-  ​* ​:-) %%  :- %%+Reserving 192k for malloc() at83fa4000 
 +Reserving 44 Bytes for Board Info at: 83fa3fd4 
 +Reserving 36 Bytes for Global Data at: 83fa3fb0 
 +Reserving 128k for boot params() at: 83f83fb0 
 +Stack Pointer at83f83f98 
 +Now running in RAM U-Boot at: 83fd4000 
 +============================================  
 +Date:Apr 11 2012  Time:12:10:08 
 +Cameo Version: v1.00 Build:03 
 +Module Name: D-Link DIR-505A1 
 +============================================  
 +id read 0x100000ff 
 +flash size 8388608, sector count = 128 
 +Flash: ​ 8 MB 
 +Using default environment
  
-  ​* =)  %%  =)   ​%% +In:    serial 
-  ​* ​:-/ %%  ​:-/  %% +Out:   ​serial 
-  ​* ​:-\ %%  ​:-\  %% +Err:   ​serial 
-  * :-? %%  ​:-?  %% +Net  ag7240_enet_initialize... 
-  * :-D %%  ​:-D  %% +cfg1 0x5 cfg2 0x7114 
-  ​* ​:-P %%  :-P  %% +eth000:18:e7:91:ee:6d 
-  ​* ​:-O %%  ​:-O  %% +eth0 up 
-  * :-X %%  ​:-X  %% +cfg1 0xf cfg2 0x7214 
-  ​* ​:-| %%  ​:-|  %% +eth100:03:7f:ff:ff:fe 
-  * ;-) %%  ;-)  %% +athrs26_reg_init_lan 
-  ​* ^_^ %%  ^_^  %% +ATHRS26resetting s26 
-  ​* ​:?%%  :? %% +ATHRS26s26 reset done 
-  ​* ​:!%%  ​:!:  ​%% +eth1 up 
-  * LOL %%  LOL  %% +eth0, eth1 
-  * FIXME %%  FIXME %% +Hit any key to stop autoboot: ​  
-  * DELETEME %% DELETEME %%+## Booting image at 9f080000 ... 
 +   Image Name  Linux Kernel Image 
 +   ​Created     ​2012-04-09 ​ 11:02:58 UTC 
 +   Image Type  MIPS Linux Kernel Image (lzma compressed) 
 +   Data Size   ​976469 Bytes = 953.6 kB 
 +   Load Address80002000 
 +   Entry Point:  ​801fdc10 
 +   Verifying Checksum at 0x9f080040 ...OK 
 +   Uncompressing Kernel Image ... OK 
 +No initrd 
 +## Transferring control to Linux (at address 801fdc10) ... 
 +## Giving linux memsize in bytes, 67108864
  
-===== Icons ===== +Starting kernel ...
-[[meta:​icons:​tango:​start|Here]] are some icons that can be used in the wiki.+
  
-===== Typography ​=====+Booting AR9330(Hornet)... 
 +Linux version 2.6.31--LSDK-9.2.0_U9.915 (root@luke-ubuntu) (gcc version 4.3.3 (GCC) ) #1 Mon Apr 9 18:57:43 CST 2012 
 +flash_size passed from bootloader ​
 +arg 1: console=ttyS0,​115200 
 +arg 2: root=31:06 
 +arg 3: rootfstype=squashfs 
 +arg 4: init=/​sbin/​init 
 +arg 5: mtdparts=ar7240-nor0:​64k(u-boot),​64k(ART),​64k(mac),​64k(nvram),​256k(language),​1024k(uImage),​6656k(rootfs) 
 +arg 6: mem=64M 
 +CPU revision is: 00019374 (MIPS 24Kc) 
 +Determined physical RAM map: 
 + ​memory:​ 02000000 @ 00000000 (usable) 
 +User-defined physical RAM map: 
 + ​memory:​ 04000000 @ 00000000 (usable) 
 +Zone PFN ranges: 
 +  Normal ​  ​0x00000000 -> 0x00004000 
 +Movable zone start PFN for each node 
 +early_node_map[1] active PFN ranges 
 +    0: 0x00000000 -> 0x00004000 
 +Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256 
 +Kernel command line: console=ttyS0,​115200 root=31:06 rootfstype=squashfs init=/​sbin/​init mtdparts=ar7240-nor0:​64k(u-boot),​64k(ART),​64k(mac),​64k(nvram),​256k(language),​1024k(uImage),​6656k(rootfs) mem=64M  
 +PID hash table entries: 256 (order: 8, 1024 bytes) 
 +Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) 
 +Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) 
 +Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. 
 +Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes 
 +Writing ErrCtl register=00000000 
 +Readback ErrCtl register=00000000 
 +Memory: 62004k/​65536k available (2048k kernel code, 3456k reserved, 613k data, 124k init, 0k highmem) 
 +NR_IRQS:​128 
 +plat_time_init:​ plat time init done 
 +Calibrating delay loop... 266.24 BogoMIPS (lpj=532480) 
 +Mount-cache hash table entries: 512 
 +NET: Registered protocol family 16 
 +===== ar7240_platform_init:​ 0 
 +bio: create slab <​bio-0>​ at 0 
 +SCSI subsystem initialized 
 +usbcore: registered new interface driver usbfs 
 +usbcore: registered new interface driver hub 
 +usbcore: registered new device driver usb 
 +NET: Registered protocol family 2 
 +IP route cache hash table entries: 1024 (order: 0, 4096 bytes) 
 +TCP established hash table entries: 2048 (order: 2, 16384 bytes) 
 +TCP bind hash table entries: 2048 (order: 1, 8192 bytes) 
 +TCP: Hash tables configured (established 2048 bind 2048) 
 +TCP reno registered 
 +NET: Registered protocol family 1 
 +AR7240 GPIOC major 0 
 +squashfs: version 4.0 (2009/​01/​31) Phillip Lougher 
 +fuse init (API version 7.12) 
 +msgmni has been set to 121 
 +alg: No test for lzma (lzma-generic) 
 +alg: No test for stdrng (krng) 
 +io scheduler noop registered (default) 
 +HDLC line discipline maxframe=4096 
 +N_HDLC line discipline registered. 
 +Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled 
 +ttyS0: detected caps 00000000 should be 00000100 
 +serial8250.0:​ ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A 
 +console [ttyS0] enabled 
 +loop: module loaded 
 +PPP generic driver version 2.4.2 
 +NET: Registered protocol family 24 
 +PPTP driver version 0.8.5 
 +PPPoL2TP kernel driver, V1.0 
 +7 cmdlinepart partitions found on MTD device ar7240-nor0 
 +Creating 7 MTD partitions on "​ar7240-nor0":​ 
 +0x000000000000-0x000000010000 : "​u-boot"​ 
 +0x000000010000-0x000000020000 : "​ART"​ 
 +0x000000020000-0x000000030000 : "​mac"​ 
 +0x000000030000-0x000000040000 : "​nvram"​ 
 +0x000000040000-0x000000080000 : "​language"​ 
 +0x000000080000-0x000000180000 : "​uImage"​ 
 +0x000000180000-0x000000800000 : "​rootfs"​ 
 +usbcore: registered new interface driver libusual 
 +u32 classifier 
 +nf_conntrack version 0.5.0 (1024 buckets, 4096 max) 
 +CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use 
 +nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or 
 +sysctl net.netfilter.nf_conntrack_acct=1 to enable it. 
 +xt_time: kernel timezone is -0000 
 +nf_conntrack_rtsp v0.6.21 loading 
 +IPv4 over IPv4 tunneling driver 
 +ip_tables: (C) 2000-2006 Netfilter Core Team 
 +nf_nat_rtsp v0.6.21 loading 
 +TCP cubic registered 
 +NET: Registered protocol family 17 
 +arch/​mips/​ar7240/​gpio.c (ar7240_simple_config_init) AP_RESET_GPIO:​ 12 
 +ar7240wdt_init:​ Registering WDT success 
 +VFS: Mounted root (squashfs filesystem) readonly on device 31:6. 
 +Freeing unused kernel memory: 124k freed 
 +init started: ​ BusyBox v1.01 (2012.04.09-10:​59+0000) multi-call binary 
 +ln: /​sbin/​hotplug:​ File exists 
 +TFTP main 
 +standard_tftp_server launched on port 69.
  
-[[wiki:​dokuwiki]] can convert simple text characters ​to their typographically correct entitiesHere is an example of recognized characters.+Please press Enter to activate this console. init NVRAM_SPACE from mtdblock size 
 +init nvram memory map size: 0x10000 order of pages: 0x4 
 +nvram module init: 
 +        /dev/nvram major number 225 glues to mtd: "​nvram"​ size: 0x00010000 
 +        nvram_space:​ 0x00010000 mapped via mmap(2) 
 +openfile :/​var/​etc/​nvram.default 
 +gpio_module:​ module license '​unspecified'​ taints kernel. 
 +Disabling lock debugging due to kernel taint 
 +ehci_hcd: USB 2.0 '​Enhanced'​ Host Controller (EHCI) Driver 
 +Port Status 1c000004  
 +ar7240-ehci ar7240-ehci.0:​ ATH EHCI 
 +ar7240-ehci ar7240-ehci.0:​ new USB bus registered, assigned bus number 1 
 +ehci_reset Intialize USB CONTROLLER in host mode: 3 
 +ehci_reset Port Status 1c000000  
 +ar7240-ehci ar7240-ehci.0:​ irq 3, io mem 0x1b000000 
 +ehci_reset Intialize USB CONTROLLER in host mode: 3 
 +ehci_reset Port Status 1c000000  
 +ar7240-ehci ar7240-ehci.0:​ USB 2.0 started, EHCI 1.00 
 +usb usb1: configuration #1 chosen from 1 choice 
 +hub 1-0:1.0: USB hub found 
 +hub 1-0:1.0: 1 port detected 
 +Initializing USB Mass Storage driver... 
 +usbcore: registered new interface driver usb-storage 
 +USB Mass Storage support registered. 
 +ATHR_GMAC: Length per segment 1536 
 +ATHR_GMAC: fifo cfg 3 01f00140 
 +ATHR_GMAC: unit 0 --> 00:​18:​e7:​91:​ee:​6d  
 +ATHR_GMAC: Max segments per packet :   1 
 +ATHR_GMAC: Max tx descriptor count :   40 
 +ATHR_GMAC: Max rx descriptor count :   252 
 +ATHR_GMAC: Mac capability flags    :   ​5403 
 +ATHR_GMAC: unit 1 --> 00:​03:​7f:​ff:​ff:​fe  
 +ATHR_GMAC: Max segments per packet :   1 
 +ATHR_GMAC: Max tx descriptor count :   40 
 +ATHR_GMAC: Max rx descriptor count :   96 
 +ATHR_GMAC: Mac capability flags    :   ​25D93 
 +killall: netbios_checker:​ no process killed 
 +Enabling Auto Neg on port:4  
 +Phy status:​1000 
 +killall: wlan_schedule:​ no process killed 
 +killall: klogd: no process killed 
 +killall: syslogd: no process killed 
 +killall: timer: no process killed 
 +killall: timer: no process killed 
 +Sat Jan  1 00:00:00 UTC 2011 
 +killall: inadyn: no process killed 
 +killall: lighttpd: no process killed 
 +ath_hal: 0.9.17.1 (AR9380, REGOPS_FUNC,​ WRITE_EEPROM,​ 11D) 
 +killall: dnsmasq: no process killed 
 +ath_rate_atheros:​ Copyright (c) 2001-2005 Atheros Communications,​ Inc, All Rights Reserved 
 +ath_dev: Copyright (c) 2001-2007 Atheros Communications,​ Inc, All Rights Reserved 
 +killall: udhcpc: no process killed 
 +killall: pppd: no process killed 
 +killall: udhcpd: no process killed 
 +domain empty 
 +DHCP server start. 
 +device_lan_ip=192.168.0.1 , device_lan_subnet_mask=255.255.255.0 
 +Unable to open /​var/​misc/​udhcpd.leases for reading 
 +ath_ahb: 9.2.0_U9.915 (Atheros/​multi-bss) 
 +__ath_attach:​ Set global_scn[0] 
 +ACBKMinfree = 48 
 +ACBEMinfree = 32 
 +ACVIMinfree = 16 
 +ACVOMinfree = 0 
 +CABMinfree = 48 
 +UAPSDMinfree = 0 
 +Restoring Cal data from Flash 
 +ath_get_caps[4913rx chainmask mismatch actual 1 sc_chainmak 0 
 +ath_get_caps[4888tx chainmask mismatch actual 1 sc_chainmak 0 
 +killall: pppd: no process killed 
 +wifi0: Atheros 9380: mem=0xb8100000,​ irq=2 
 +killall: openl2tpd: no process killed 
 +cp: /​www/​xml/​help.xml:​ No such file or directory 
 +killall: ppp_redial: no process killed 
 +killall: ppp_monitor:​ no process killed 
 +512+0 records in 
 +512+0 records out 
 +tar: Invalid tar magic 
 +killall: wan_timer: no process killed 
 +rm: cannot remove `/​tmp/​lang_ver.txt':​ No such file or directory 
 +rm: cannot remove `/​tmp/​*.xml':​ No such file or directory 
 +wlan_vap_create : enter. devhandle=0x833e42c0,​ opmode=IEEE80211_M_HOSTAP,​ flags=0x1 
 +wlan_vap_create : exit. devhandle=0x833e42c0,​ opmode=IEEE80211_M_HOSTAP,​ flags=0x1. 
 +VAP device ath0 created  
 +ath0 
 +Interface doesn'​t accept private ioctl... 
 +HALDbg (8BE0): Operation not permitted 
 +killall: inadyn: no process killed 
 +route: SIOC[ADD|DEL]RT:​ No such process 
 +athr_gmac_ring_alloc Allocated 640 at 0x83936800 
 +athr_gmac_ring_alloc Allocated 4032 at 0x83a0c000 
 +Setting Drop CRC Errors, Pause Frames and Length Error frames  
 +Setting PHY... 
 +Failed ​to kill daemon: No such file or directory 
 + ​ieee80211_ioctl_siwmode:​ imr.ifm_active=131712,​ new mode=3, valid=1  
 +device ath0 entered promiscuous mode 
 +br0: port 1(ath0) entering learning state 
 +killall: lld2d: no process killed 
 +br0: port 1(ath0) entering forwarding state 
 + ​ieee80211_ioctl_siwmode:​ imr.ifm_active=393856,​ new mode=3, valid=1  
 + Scan in progress.. Cancelling it  
 +br0: port 1(ath0) entering disabled state 
 + ​DEVICE IS DOWN ifname=ath0 
 + ​DEVICE IS DOWN ifname=ath0 
 +br0: port 1(ath0) entering learning state 
 +SIOCGIFFLAGS:​ No such device 
 +br0: port 1(ath0) entering forwarding state 
 +killall: miniupnpd: no process killed 
 +ERROR:: paprd failed with error code = -2 
 +ath_paprd_cal PAPRD excessive failure disabling PAPRD now 
 +</​code>​ 
 +</​p>​ 
 +</​HTML>​
  
--> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) 
-"He thought '​It'​s a man's world'​..."​ 
  
 +==== OpenWrt bootlog ====
 +<​HTML>​
 +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 <​code>​ <​code>​
--> <<-> => <= <=> >> << -- --- 640x480 ​(c) (tm(r) +## Booting image at 81000000 ... 
-"He thought '​It'​s a man's world'..." +   Image Name:   MIPS OpenWrt Linux-3.3.8 
-</​code>​+   ​Created: ​     2012-11-26  17:01:44 UTC 
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed) 
 +   Data Size:    4269201 Bytes =  4.1 MB 
 +   Load Address: 80060000 
 +   Entry Point: ​ 80060000 
 +   ​Verifying Checksum at 0x81000040 ...OK 
 +   ​Uncompressing Kernel Image ... OK 
 +No initrd 
 +## Transferring control to Linux (at address 80060000) ... 
 +## Giving linux memsize in bytes, 67108864
  
-Please note: These conversions can be turned off through a [[doku>​config:​typography|config option]] and a [[doku>​entities|pattern file]].+Starting kernel ...
  
-===== Quoting ​=====+[    0.000000] Linux version 3.3.8 (dzubey@Spartan) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #6 Mon Nov 26 10:01:28 MST 2012 
 +[    0.000000] bootconsole [early0] enabled 
 +[    0.000000] CPU revision is: 00019374 (MIPS 24Kc) 
 +[    0.000000] SoC: Atheros AR9330 rev 1 
 +[    0.000000] Clocks: CPU:​400.000MHz,​ DDR:​400.000MHz,​ AHB:​200.000MHz,​ Ref:​25.000MHz 
 +[    0.000000] Determined physical RAM map: 
 +[    0.000000] ​ memory: 04000000 @ 00000000 (usable) 
 +[    0.000000] Initrd not found or empty - disabling initrd 
 +[    0.000000] Zone PFN ranges: 
 +[    0.000000] ​  ​Normal ​  ​0x00000000 -> 0x00004000 
 +[    0.000000] Movable zone start PFN for each node 
 +[    0.000000] Early memory PFN ranges 
 +[    0.000000] ​    0: 0x00000000 -> 0x00004000 
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256 
 +[    0.000000] Kernel command line:  board=DIR-505-A1 console=ttyATH0,​115200 mtdparts=spi0.0:​64k(u-boot)ro,​64k(art)ro,​64k(mac)ro,​64k(nvram)ro,​256k(language)ro,​1024k(kernel),​6656k(rootfs),​7680k@0x80000(firmware) rootfstype=squashfs,​jffs2 noinitrd 
 +[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) 
 +[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) 
 +[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) 
 +[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. 
 +[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes 
 +[    0.000000] Writing ErrCtl register=00000000 
 +[    0.000000] Readback ErrCtl register=00000000 
 +[    0.000000] Memory: 58492k/​65536k available (2121k kernel code, 7044k reserved, 401k data, 3432k init, 0k highmem) 
 +[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 
 +[    0.000000] NR_IRQS:​51 
 +[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) 
 +[    0.080000] pid_max: default: 32768 minimum: 301 
 +[    0.080000] Mount-cache hash table entries: 512 
 +[    0.090000] NET: Registered protocol family 16 
 +[    0.090000] gpiochip_add:​ registered GPIOs 0 to 29 on device: ath79 
 +[    0.100000] MIPS: machine is D-Link DIR-505 A1 
 +[    0.350000] bio: create slab <​bio-0>​ at 0 
 +[    0.360000] Switching to clocksource MIPS 
 +[    0.360000] NET: Registered protocol family 2 
 +[    0.370000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) 
 +[    0.370000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) 
 +[    0.380000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) 
 +[    0.380000] TCP: Hash tables configured (established 2048 bind 2048) 
 +[    0.390000] TCP reno registered 
 +[    0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes) 
 +[    0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) 
 +[    0.400000] NET: Registered protocol family 1 
 +[    6.810000] squashfs: version 4.0 (2009/​01/​31) Phillip Lougher 
 +[    6.820000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. 
 +[    6.830000] msgmni has been set to 114 
 +[    6.830000] io scheduler noop registered 
 +[    6.830000] io scheduler deadline registered (default) 
 +[    6.840000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled 
 +[    6.840000] ar933x-uart:​ ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART 
 +[    6.850000] console [ttyATH0] enabled, bootconsole disabled 
 +[    6.850000] console [ttyATH0] enabled, bootconsole disabled 
 +[    6.870000] m25p80 spi0.0: found mx25l6405d, expected m25p80 
 +[    6.870000] m25p80 spi0.0: mx25l6405d (8192 Kbytes) 
 +[    6.880000] 8 cmdlinepart partitions found on MTD device spi0.0 
 +[    6.880000] Creating 8 MTD partitions on "​spi0.0":​ 
 +[    6.890000] 0x000000000000-0x000000010000 : "​u-boot"​ 
 +[    6.890000] 0x000000010000-0x000000020000 : "​art"​ 
 +[    6.900000] 0x000000020000-0x000000030000 : "​mac"​ 
 +[    6.900000] 0x000000030000-0x000000040000 : "​nvram"​ 
 +[    6.910000] 0x000000040000-0x000000080000 : "​language"​ 
 +[    6.910000] 0x000000080000-0x000000180000 : "​kernel"​ 
 +[    6.920000] 0x000000180000-0x000000800000 : "​rootfs"​ 
 +[    6.920000] mtd: partition "​rootfs"​ set to be root filesystem 
 +[    6.930000] mtd: partition "​rootfs_data"​ created automatically,​ ofs=6E0000, len=120000  
 +[    6.940000] 0x0000006e0000-0x000000800000 : "​rootfs_data"​ 
 +[    6.940000] 0x000000080000-0x000000800000 : "​firmware"​ 
 +[    6.970000] ag71xx_mdio:​ probed 
 +[    6.970000] eth0: Atheros AG71xx at 0xb9000000, irq 4 
 +[    7.530000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:​04 [uid=004dd041,​ driver=Generic PHY] 
 +[    7.540000] TCP cubic registered 
 +[    7.540000] NET: Registered protocol family 17 
 +[    7.540000] Bridge firewalling registered 
 +[    7.550000] 8021q: 802.1Q VLAN Support v1.8 
 +[    7.580000] Freeing unused kernel memory: 3432k freed 
 +- preinit - 
 +Press the [f] key and hit [enter] to enter failsafe mode 
 +[   ​10.530000] eth0: link up (100Mbps/​Full duplex) 
 +- regular preinit - 
 +[   ​11.540000] eth0: link down 
 +- init - 
 +[   ​11.860000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993 
 +[   ​11.860000] Backport based on wireless-testing.git master-2012-09-07 
 +[   ​11.870000] compat.git: wireless-testing.git 
 +[   ​11.900000] cfg80211: Calling CRDA to update world regulatory domain 
 +[   ​11.910000] cfg80211: World regulatory domain updated: 
 +[   ​11.910000] cfg80211: ​  ​(start_freq - end_freq @ bandwidth), (max_antenna_gain,​ max_eirp) 
 +[   ​11.920000] cfg80211: ​  ​(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 
 +[   ​11.930000] cfg80211: ​  ​(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) 
 +[   ​11.940000] cfg80211: ​  ​(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) 
 +[   ​11.950000] cfg80211: ​  ​(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 
 +[   ​11.950000] cfg80211: ​  ​(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 
 +[   ​12.030000] NET: Registered protocol family 10 
 +[   ​12.170000] usbcore: registered new interface driver usbfs 
 +[   ​12.170000] usbcore: registered new interface driver hub 
 +[   ​12.180000] usbcore: registered new device driver usb 
 +[   ​12.330000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000,​ irq=2 
 +[   ​12.340000] cfg80211: Calling CRDA for country: US 
 +[   ​12.340000] cfg80211: Regulatory domain changed to country: US 
 +[   ​12.340000] cfg80211: ​  ​(start_freq - end_freq @ bandwidth), (max_antenna_gain,​ max_eirp) 
 +[   ​12.350000] cfg80211: ​  ​(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) 
 +[   ​12.360000] cfg80211: ​  ​(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) 
 +[   ​12.370000] cfg80211: ​  ​(5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 
 +[   ​12.380000] cfg80211: ​  ​(5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 
 +[   ​12.380000] cfg80211: ​  ​(5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 
 +[   ​12.390000] cfg80211: ​  ​(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) 
 +[   ​12.470000] PPP generic driver version 2.4.2 
 +[   ​12.510000] tun: Universal TUN/TAP device driver, 1.6 
 +[   ​12.510000] tun: (C) 1999-2004 Max Krasnyansky <​maxk@qualcomm.com>​ 
 +[   ​12.610000] ip_tables: (C) 2000-2006 Netfilter Core Team 
 +[   ​12.780000] NET: Registered protocol family 24 
 +[   ​12.800000] nf_conntrack version 0.5.0 (967 buckets, 3868 max) 
 +[   ​13.320000] xt_time: kernel timezone is -0000 
 +[   ​13.760000] Netfilter messages via NETLINK v0.30. 
 +[   ​13.780000] Ebtables v2.0 registered 
 +[   ​14.030000] ip6_tables: (C) 2000-2006 Netfilter Core Team 
 +[   ​14.270000] ctnetlink v0.93: registering with nfnetlink. 
 +[   ​14.420000] pwm: module license '​unspecified'​ taints kernel. 
 +[   ​14.430000] Disabling lock debugging due to kernel taint 
 +[   ​14.430000] pwm: Unknown symbol device_unregister (err 0) 
 +[   ​14.440000] pwm: Unknown symbol put_device (err 0) 
 +[   ​14.440000] pwm: Unknown symbol __class_register (err 0) 
 +[   ​14.450000] pwm: Unknown symbol device_create (err 0) 
 +[   ​14.450000] pwm: Unknown symbol sysfs_create_group (err 0) 
 +[   ​14.460000] pwm: Unknown symbol queue_work (err 0) 
 +[   ​14.460000] pwm: Unknown symbol __alloc_workqueue_key (err 0) 
 +[   ​14.470000] pwm: Unknown symbol class_find_device (err 0) 
 +[   ​14.510000] i2c /dev entries driver 
 +[   ​14.530000] gpio_pwm: Unknown symbol pwm_unregister (err 0) 
 +[   ​14.530000] gpio_pwm: Unknown symbol pwm_register (err 0) 
 +[   ​14.590000] usbcore: registered new interface driver usbserial 
 +[   ​14.600000] USB Serial support registered for generic 
 +[   ​14.600000] usbcore: registered new interface driver usbserial_generic 
 +[   ​14.610000] usbserial: USB Serial Driver core 
 +[   ​14.650000] Linux video capture interface: v2.00 
 +[   ​14.710000] USB Serial support registered for FTDI USB Serial Device 
 +[   ​14.720000] usbcore: registered new interface driver ftdi_sio 
 +[   ​14.720000] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver 
 +[   ​14.750000] USB Serial support registered for pl2303 
 +[   ​14.750000] usbcore: registered new interface driver pl2303 
 +[   ​14.760000] pl2303: Prolific PL2303 USB to serial adaptor driver 
 +[   ​14.840000] fuse init (API version 7.18) 
 +[   ​14.870000] usbcore: registered new interface driver uvcvideo 
 +[   ​14.880000] USB Video Class driver (1.1.1)
  
-Some times you want to mark some text to show it's a reply or commentYou can use the following syntax:+Please press Enter to activate this console. [   ​16.910000] ADDRCONF(NETDEV_UP):​ eth0: link is not ready 
 +[   ​16.910000] device eth0 entered promiscuous mode 
 +[   ​16.920000] ADDRCONF(NETDEV_UP):​ br-lan: link is not ready 
 +[   ​17.530000] eth0: link up (100Mbps/​Full duplex) 
 +[   ​17.530000] br-lan: port 1(eth0) entered forwarding state 
 +[   ​17.540000] br-lan: port 1(eth0) entered forwarding state 
 +[   ​17.540000] ADDRCONF(NETDEV_CHANGE):​ eth0: link becomes ready 
 +[   ​17.550000] ADDRCONF(NETDEV_CHANGE):​ br-lan: link becomes ready 
 +[   19.540000] br-lanport 1(eth0) entered forwarding state 
 +</​code>​ 
 +</​p>​ 
 +</​HTML>​ 
 +===== Specific Configuration =====
  
-  I think we should do it +==== Interfaces ====
-   +
-  > No we shouldn'​t +
-   +
-  >> Well, I say we should +
-   +
-  > Really? +
-   +
-  >> Yes! +
-   +
-  >>>​ Then lets do it!+
  
-I think we should do it+The default network configuration is: TODO 
 +(Yet to be filled in)
  
-> No we shouldn'​t 
  
->> Well, I say we should 
  
-> Really? 
  
->> Yes! 
  
->>>​ Then lets do it! +==== Buttons ==== 
-FIXME+^ BUTTON ^ Event ^ 
 +| Reset | RESET/​FACTORY DEFAULTS|  
 +| WPS | Secure Easy Setup |
  
-===== Tables =====+=== Use WPS button for reboot and shutdown ​===
  
-DokuWiki supports a simple syntax ​to create tables+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.
  
-^ Heading 1      ^ Heading 2       ^ Heading 3          ^ +=== Mode-switch ===
-| Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        | +
-| Row 2 Col 1    | some colspan (note the double pipe) || +
-| Row 3 Col 1    | Row 2 Col 2     | Row 2 Col 3        |+
  
-Table rows have to start and end with a ''​|''​ for normal rows or ''​^''​ for headers.+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 USB charger - on the DIR-505 the case keeps the switch from going into the fourth position.
  
-  ^ Heading 1      ^ Heading 2       ^ Heading 3          ^ +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.
-  | Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        | +
-  | Row 2 Col 1    | some colspan (note the double pipe) || +
-  | Row 3 Col 1    | Row 2 Col 2     | Row 2 Col 3        |+
  
-To connect cells horizontally,​ just make the next cell completely empty as shown above. Be sure to have always the same amount of cell separators!+The switch seems to modify GPIO 19,20,21,22 and 23:
  
-Vertical tableheaders are possible, too.+^  Switch position ​ ^  GPIO  ^ 
 +| "WiFi Hotspot" ​ | 01001 | 
 +| "​Repeater" ​     | 11001 | 
 +| "​Router/​AP" ​    | 10001 |  
 +| "​Charger" ​      | 11000 |
  
-             ^ Heading 1            ^ Heading 2          ^ +===== Hardware ===== 
-^ Heading 3    ​Row Col 2          ​Row Col 3        | +==== Info ==== 
-^ Heading 4    ​no colspan this time                    +**[[wp>​Instruction set|Architecture]]:​** ​   | [[wp>​MIPS architecture|MIPS 24Kc ]]| 
-^ Heading 5    ​Row 2 Col 2          | Row 2 Col        |+| **Vendor:​** ​         | [[wp>​Atheros]] | 
 +**[[doc:​techref:​Bootloader]]:​** ​    | UBoot 1.1.4 | 
 +| **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | SoC: Atheros AR9330 rev 
 +| **[[doc:​hardware:​cpu|CPU]]/​Speed** ​       | Atheros AR9330 400.000MHz ​
 +**Flash-chip:​** ​     ​Macronix MX25L6406EM2I-12G ​
 +**Flash size:​** ​     | 8192 KiB | 
 +| **RAM-chip:​** ​       | NANYA NT5TU32M16DG-AC ​ | 
 +| **RAM size:​** ​       | 64 MiB   | 
 +| **Wireless:​** ​       | 802.11b/g/n | 
 +| **Ethernet:​** ​       | 10/100 full duplex | 
 +| **USB:​** ​            | Yes 1 x 2.0 ar7240-ehci| 
 +| **[[doc:​hardware:​port.serial|Serial]]:​** ​         ​| ​[[#​Serial|Yes - tested working over TTL converter (3.3V!) ]] | 
 +| **[[doc:​hardware:​port.jtag|JTAG]]:​** ​           | [[#JTAG| Nope ]]  ​|
  
-As you can see, it's the cell separator before a cell which decides about the formatting:+==== Photos ==== 
 +Model Number
  
-  |              ^ Heading 1            ^ Heading 2          ^ +//Front:// 
-  ^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        ​+{{:​media:​20120916-d-link-d-505-va1e-pn-eir505eeu-front-better-labels.jpg|}} 
-  ^ Heading 4    | no colspan this time |                    | +//Back:// 
-  ^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        ​|+{{:​media:​20120916-d-link-d-505-va1e-pn-eir505eeu-rear.png|}}
  
-Note: Vertical spans (rowspanare not possible.+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).
  
-You can align the table contents, too. Just add at least two whitespaces at the opposite end of your textAdd two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text.+More photos[[http://​galeria.tech-blog.pl/​D-Link_DIR-505/​]]
  
-^           Table with alignment ​          ^^^ +==== Opening the case ==== 
-|         ​right| ​   center ​   |left          | +**Note:** This will void your warranty! (duh)\\
-|left          |         ​right| ​   center ​   | +
-| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |+
  
-This is how it looks in the source:+  *   ​remove white sticker on the back, just below the power plug, and remove exposed screw. 
 +  *   pry the now unfastened cap straight up over power plug  
 +  *    remove yellow/​green sticker 
 +  *    pry two remaining halves apart - there are three plastic tabs, one above reset hole, and one on each side of mode switch 
 +    * Just stick a screwdriver ​in the hole at the bottom next to the ethernet port, and pry the two halves apart. 
 +    * Then stick the screwdriver in on the other side in the topmost air vent and pry the top part of the shell apart. 
 +  *    pull power module straight up away from cpu board 
 +  *    pop cpu board up (two plastic tabs hold it down). \\ 
 + 
  
-  ^           Table with alignment ​          ^^^ +==== Serial ==== 
-  ​| ​        ​right| ​   center ​   |left          | +-> [[doc:​hardware:​port.serial]] general information about the serial port, serial port cable, etc.
-  |left          |         ​right| ​   center ​   | +
-  | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx |+
  
-===== Non-parsed Blocks =====+How to connect to the Serial Port of this specific device:
  
-You can include non-parsed blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags ''​code''​ or ''​file''​.+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.
  
-<​code>​ +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). 
-This is preformatted code all spaces are preservedlike              ​<-this +==== JTAG ====
-</​code>​+
  
-<​file>​ +No JTAG connectors are known for this device.
-This is pretty much the same, but you could use it to show that you quoted a file  +
-</​file>​+
  
-To let the parser ignore an area completely (ie. do no formatting on it), enclose the area either with ''​nowiki''​ tags or even simpler, with double percent signs ''<​nowiki>​%%</​nowiki>''​. 
  
-<​nowiki>​ +===== Debricking ===== 
-This is some text which contains addresses like this: http://www.splitbrain.org and **formatting**but nothing is done with it. +So there'​s two levels of "​bricking"​...mis-flashing the firmwareand overwriting the boot loader.
-</​nowiki>​+
  
-See the source of this page to see how to use these blocks.+Since there'​s no jtag, if you overwrite ​the bootloader and it doesn'​t boot again, you're sol. That's almost impossible ​to do accidentally.
  
-===== Syntax Highlighting =====+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. 
  
-[[wiki:​dokuwiki]] can highlight sourcecodewhich makes it easier to readIt uses the [[http://​qbnz.com/​highlighter/​|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supportedThe syntax is the same like in the code block in the previous sectionbut this time the name of the used language is inserted inside the tagEg. ''<​nowiki><​code java></​nowiki>''​.+Plug in your computer to the unitassign ​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 slowlyrelease ​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.
  
-<code java> +==== LED red/green/on/off ====
-/**  +
- * The HelloWorldApp class implements an application that +
- * simply displays "Hello World!"​ to the standard output. +
- */ +
-class HelloWorldApp { +
-    public static void main(String[] args) { +
-        System.out.println("​Hello World!"​); ​//Display the string. +
-    } +
-+
-</​code>​+
  
-The following language strings are currently recognized//abap, actionscript-french,​ actionscript,​ actionscript3,​ ada, apache, applescript,​ asm, asp, autoit, avisynth, bash, basic4gl, bf, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, cobol, cpp, cpp-qt, csharp, css, d, dcs, delphi, diff, div, dos, dot, eiffel, email, fortran, freebasic, genero, glsl, gml, gnuplot, groovy, gettext, haskell, hq9plus, html, idl, ini, inno, intercal, io, java5, java, javascript, kixtart, klonec, klonecpp, latex, lisp, locobasic, lolcode, lotusformulas,​ lotusscript,​ lscript, lsl2, lua, m68k, make, matlab, mirc, modula3, mpasm, mxml, mysql, nsis, oberon2, objc, ocaml-brief,​ ocaml, oobas, oracle8, oracle11, pascal, perl, per, php-brief, php, pic16, pixelbender,​ plsql, povray, powershell, progress, prolog, providex, python, qbasic, rails, rebol, reg, robots, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl, teraterm, text, thinbasic, tsql, typoscript, vbnet, vb, verilog, vhdl, vim, visualfoxpro,​ visualprolog,​ whitespace, winbatch, xml, xorg_conf, xpp, z80//+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 ==
  
-===== RSS/ATOM Feed Aggregation ===== +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 flashingSo 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''​.
-[[wiki:​dokuwiki]] can integrate data from external XML feedsFor parsing ​the XML feeds[[http://​simplepie.org/​|SimplePie]] ​is usedAll formats understood by SimplePie can be used in DokuWiki as well. You can influence ​the rendering ​by multiple additional space separated parameters:+
  
-^ Parameter ​ ^ Description ^ +== Trunk image ==
-| any number | will be used as maximum number items to show, defaults to 8 | +
-| reverse ​   | display the last items in the feed first | +
-| author ​    | show item authors names | +
-| date       | show item dates | +
-| description| show the item description. If [[doku>​config:​htmlok|HTML]] is disabled all tags will be stripped | +
-| //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h 12 hours). |+
  
-The refresh period defaults ​to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:​dokuwiki]] will generally try to supply a cached version of a pageobviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki:​dokuwiki]] ​to re-render the page if it is more than //refresh period// since the page was last rendered.+The LED goes from blinking red to blinking green, and then to steady green. Congratulationsyour DIR-505 just has booted and is waiting for you to ''​telnet 192.168.1.1''​ (at least it should be).
  
-**Example:**+===== Bootloader Mods ===== 
 +  - you could read about [[doc:techref:​bootloader]] in general and about [[doc:​techref:​bootloader:​uboot|Das U-Boot]] in particular.
  
-  {{rss>​http://slashdot.org/index.rss 5 author ​date 1h }}+==== 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]].
  
-{{rss>http://slashdot.org/index.rss 5 author date 1h }}+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:​
  
-===== Embedding HTML and PHP =====+  * 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]]
  
-You can embed raw HTML or PHP code into your documents by using the ''​html''​ or ''​php''​ tags like this: +===== Hardware mods ===== 
-<​code>​ +  as a beginner, you really should inform yourself about [[doc:hardware:soldering]] in general and then obtain ​some practical experience! (It's really not that hard, just go try it.) 
-<​html>​ +  - 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. ​
-This is some <span style="​color:​red;​font-size:150%;">​inline HTML</​span>​ +
-</​html>​ +
-<​HTML>​ +
-<p style="​border:2px dashed red;">​And this is some block HTML</​p>​ +
-</​HTML>​ +
-</​code>​+
  
-<​html>​ +===== Notes ===== 
-This is some <span style="​color:​red;​font-size:​150%;">​inline HTML</span> +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.
-</html> +
-<​HTML>​ +
-<p style="​border:​2px dashed red;">​And this is some block HTML</​p>​ +
-</HTML>+
  
 <​code>​ <​code>​
-<​php>​ +config interface ​'lan
-echo 'A logo generated by PHP:'; +        ​option ifname ​'eth1
-echo '<img src="' ​. $_SERVER['​PHP_SELF'​] . '?​='​ . php_logo_guid() . '"​ alt="​PHP Logo !" />';​ +        ​option proto 'dhcp'
-echo '(generated inline HTML)'+
-</​php>​ +
-<​PHP>​ +
-echo '<​table class="​inline"><​tr><​td>​The same, but inside a block level element:</​td>';​ +
-echo '<​td><​img src="'​ . $_SERVER['​PHP_SELF'​] . '?​='​ . php_logo_guid() . '"​ alt="​PHP Logo !" /></​td>';​ +
-echo '</​tr></​table>';​ +
-</​PHP>​+
 </​code>​ </​code>​
  
-<​php>​ +===== Custom OpenWrt image with LuCi integrated ​=====
-echo 'A logo generated by PHP:';​ +
-echo '<​img src="'​ . $_SERVER['​PHP_SELF'​] . '?=' . php_logo_guid() . '"​ alt="PHP Logo !" />';​ +
-echo '​(inline HTML)';​ +
-</​php>​ +
-<​PHP>​ +
-echo '<​table class="​inline"><​tr><​td>​The same, but inside a block level element:</​td>';​ +
-echo '<​td><​img src="'​ . $_SERVER['​PHP_SELF'​] . '?=' . php_logo_guid() . '"​ alt="PHP Logo !" /></​td>';​ +
-echo '</​tr></​table>';​ +
-</​PHP>​ +
- +
-**Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. +
- +
-===== Control Macros ===== +
- +
-Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: +
- +
-^ Macro           ^ Description | +
-| %%~~NOTOC~~%% ​  | If this macro is found on the page, no table of contents will be created | +
-| %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%<​php>​%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call | +
- +
-===== Syntax Plugins ===== +
- +
-DokuWiki'​s syntax can be extended by [[doku>​plugins|Plugins]]. How the installed plugins are used is described on their appropriate description pages. The following syntax plugins are available in this particular DokuWiki installation:​+
  
-~~INFO:syntaxplugins~~+http://​www.superwrt.eu/​en/​firmware/​d-link-dir-505/​
  
-{{page>​about}}+===== Tags ===== 
 +For some Help with the Tags, please have a look here: [[meta/​tags]]
  
 +{{tag>​FastEthernet 1NIC USB 64RAM 8Flash MIPS 802.11bgn Outdated_May2015}}
  
 +{{searchtags&​header&​tags&​nouser&​nodate&​table}}
meta/playground.1358701134.txt.bz2 · Last modified: 2013/01/20 17:58 (external edit)