{"id":316,"date":"2019-09-07T16:34:11","date_gmt":"2019-09-07T08:34:11","guid":{"rendered":"https:\/\/aichh.com\/?p=316"},"modified":"2019-09-07T16:34:11","modified_gmt":"2019-09-07T08:34:11","slug":"buffalo-wzr-hp-ag300h%e5%8f%98%e7%a0%96%e6%81%a2%e5%a4%8d%e3%80%81ttl%e6%8e%a5%e7%ba%bf","status":"publish","type":"post","link":"https:\/\/aichh.com\/316.html","title":{"rendered":"Buffalo WZR-HP-AG300H\u53d8\u7816\u6062\u590d\u3001TTL\u63a5\u7ebf"},"content":{"rendered":"<!--wp-compress-html--><!--wp-compress-html no compression--><ul class=\"b3-solo-list\">\n<li class=\"b3-solo-list-h3\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h3_0\">Installation using the OEM web interface<\/a><\/li>\n<li class=\"b3-solo-list-h3\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h3_1\">Installation using the TFTP method<\/a><\/li>\n<li class=\"b3-solo-list-h4\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h4_2\">Specific values you need<\/a><\/li>\n<li class=\"b3-solo-list-h4\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h4_3\">Flashing Notes<\/a><\/li>\n<li class=\"b3-solo-list-h4\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h4_4\">TFTP advice, wrong region<\/a><\/li>\n<li class=\"b3-solo-list-h3\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h3_5\">Upgrading OpenWrt<\/a><\/li>\n<li class=\"b3-solo-list-h2\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h2_6\">Basic configuration<\/a><\/li>\n<li class=\"b3-solo-list-h3\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h3_7\">Failsafe mode<\/a><\/li>\n<li class=\"b3-solo-list-h2\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h2_8\">Specific Configuration<\/a><\/li>\n<li class=\"b3-solo-list-h3\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h3_9\">LED for USB-Devices<\/a><\/li>\n<li class=\"b3-solo-list-h2\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h2_10\">Debricking<\/a><\/li>\n<li class=\"b3-solo-list-h2\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h2_11\">Hardware<\/a><\/li>\n<li class=\"b3-solo-list-h3\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h3_12\">Info<\/a><\/li>\n<li class=\"b3-solo-list-h3\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h3_13\">Flash Layout<\/a><\/li>\n<li class=\"b3-solo-list-h3\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h3_14\">Photos<\/a><\/li>\n<li class=\"b3-solo-list-h3\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h3_15\">Serial<\/a><\/li>\n<li class=\"b3-solo-list-h3\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h3_16\">Network Port Assignments<\/a><\/li>\n<li class=\"b3-solo-list-h3\"><a href=\"http:\/\/www.rainsun.me\/articles\/2015\/05\/23\/1432394858446.html#b3_solo_h3_17\">Buttons<\/a><\/li>\n<\/ul>\n<p>\u6765\u6e90OPENWRT \uff1ahttp:\/\/wiki.openwrt.org\/toh\/buffalo\/wzr-hp-ag300h<\/p>\n<p>\u5f88\u8be6\u7ec6\u7684\u4ecb\u7ecd\u4e86\u5347\u7ea7\u3001\u53d8\u7816\u6062\u590d\u65b9\u6cd5\uff0cWIN\u7cfb\u7edfTFTP\uff0cLinux TFTP\uff0cTTL\u7684\u4f7f\u7528\u6b65\u9aa4<\/p>\n<p>\u8981\u5237\u6210DD-WRT\u7684\u66ff\u6362\u76f8\u5e94\u7684\u56fa\u4ef6\u5373\u53ef<\/p>\n<p>\u53e6\uff1a\u53d8\u7816\u7684\u65e5\u7248AG300H \u7528TFTP\u4f20\u56fa\u4ef6\u65f6\u63d0\u793a\u4f20\u9001\u6210\u529f\uff0c\u4f46\u5b9e\u9645\u662f\u6ca1\u6709\u6210\u529f\u7684\uff1b\u4f20\u5b98\u65b9\u56fa\u4ef6\u4f1a\u62a5\u9519\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5\u662f\u5230DD-WRT\u4e0b\u8f7d<a href=\"http:\/\/download1.dd-wrt.com\/dd-wrtv2\/downloads\/others\/eko\/BrainSlayer-V24-preSP2\/2014\/12-22-2014-r25697\/buffalo_wzr-hp-ag300h\/buffalo_to_ddwrt_webflash-MULTI.bin\">buffalo_to_ddwrt_webflash-MULTI.bin<\/a>\u00a0\u7528TFTP\u5237\u5165\u5373\u53ef<\/p>\n<p>\u9644\u6559\u7a0b\u5907\u4efdPDF\u6587\u4ef6<\/p>\n<p>\u94fe\u63a5: http:\/\/pan.baidu.com\/s\/1pJ834V5 \u5bc6\u7801: dwxk<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u4ee5\u4e0b\u4e3a\u8282\u9009\u90e8\u5206\u91cd\u8981\u5185\u5bb9<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"installation_using_the_oem_web_interface\" class=\"sectionedit7\">Installation using the OEM web interface<\/h3>\n<div class=\"level3\">\n<p>The easiest way to install OpenWrt is by using the firmware utility of the OEM web interface:<\/p>\n<ol>\n<li class=\"level1\">\n<div class=\"li\">Connect to the WebInterface at\u00a0\u00a0<a class=\"urlextern\" title=\"http:\/\/192.168.11.1\" href=\"http:\/\/192.168.11.1\/\" rel=\"nofollow\">http:\/\/192.168.11.1<\/a>\u00a0and go to\u00a0\u00a0<em>\"Administration\"<\/em>\u00a0\u2192\u00a0\u00a0<em>\"Firmware Upgrade\"<\/em><\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Upload the OpenWrt-Image you want to install, e.g.<a class=\"urlextern\" title=\"https:\/\/downloads.openwrt.org\/barrier_breaker\/14.07\/ar71xx\/generic\/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-factory.bin\" href=\"https:\/\/downloads.openwrt.org\/barrier_breaker\/14.07\/ar71xx\/generic\/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-factory.bin\" rel=\"nofollow\">https:\/\/downloads.openwrt.org\/barrier_breaker\/14.07\/ar71xx\/generic\/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-factory.bin<\/a><\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Make your PC obtain a new IP address from OpenWrt (\u00a0<code>dhclient eth0<\/code>\u00a0or\u00a0\u00a0<code>pump -i eth0<\/code>\u00a0or\u00a0<code>ipconfig \/renew<\/code>)<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">proceed with\u00a0\u00a0<a class=\"wikilink1\" title=\"doc:howto:basic.config\" href=\"http:\/\/wiki.openwrt.org\/doc\/howto\/basic.config\">basic.config<\/a>\u00a0to complete installation<\/div>\n<\/li>\n<\/ol>\n<p><strong>NOTE:<\/strong>\u00a0It may happen, that the squashfs-factory.bin does not work for this device, if the factory image is based on\u00a0<span class=\"u\">DD-WRT<\/span>. See\u00a0<a class=\"urlextern\" title=\"https:\/\/www.mail-archive.com\/openwrt-users@lists.openwrt.org\/msg02637.html\" href=\"https:\/\/www.mail-archive.com\/openwrt-users@lists.openwrt.org\/msg02637.html\" rel=\"nofollow\">this thread<\/a>. Please update the thread with your experience or file a bug if you run into a problem. According to the user, for installation from DD-WRT the instructions on the\u00a0<a class=\"urlextern\" title=\"http:\/\/wiki.openwrt.org\/toh\/buffalo\/wzr-600dhp?s[]=wzr&amp;s[]=hp&amp;s[]=ag300h#installation.using.the.oem.web.interface\" href=\"http:\/\/wiki.openwrt.org\/toh\/buffalo\/wzr-600dhp?s[]=wzr&amp;s[]=hp&amp;s[]=ag300h#installation.using.the.oem.web.interface\" rel=\"nofollow\">WZR-600DHP<\/a>\u00a0page worked for him.<\/p>\n<\/div>\n<h3 id=\"installation_using_the_tftp_method\" class=\"sectionedit8\">Installation using the TFTP method<\/h3>\n<div class=\"level3\">\n<p>\u2192\u00a0<a class=\"wikilink1\" title=\"doc:howto:generic.flashing.tftp\" href=\"http:\/\/wiki.openwrt.org\/doc\/howto\/generic.flashing.tftp\">generic.flashing.tftp<\/a><\/p>\n<\/div>\n<h4 id=\"specific_values_you_need\">Specific values you need<\/h4>\n<div class=\"level4\">\n<div class=\"table sectionedit9\">\n<table class=\"inline\">\n<tbody>\n<tr class=\"row0\">\n<td class=\"col0\">Bootloader tftp server IPv4 address<\/td>\n<td class=\"col1\">192.168.11.1<\/td>\n<\/tr>\n<tr class=\"row1\">\n<td class=\"col0\">Bootloader MAC address (special)<\/td>\n<td class=\"col1\">02:aa:bb:cc:dd:20<\/td>\n<\/tr>\n<tr class=\"row2\">\n<td class=\"col0\">Latest firmware tftp image<\/td>\n<td class=\"col1\"><a class=\"urlextern\" title=\"http:\/\/downloads.openwrt.org\/attitude_adjustment\/12.09\/ar71xx\/generic\/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin\" href=\"http:\/\/downloads.openwrt.org\/attitude_adjustment\/12.09\/ar71xx\/generic\/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin\" rel=\"nofollow\">http:\/\/downloads.openwrt.org\/attitude_adjustment\/12.09\/ar71xx\/generic\/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin<\/a>\u00a0(<strong><code>NOTE:<\/code><\/strong>\u00a0Name must contain\u00a0<em>\"tftp\"<\/em>)<\/td>\n<\/tr>\n<tr class=\"row3\">\n<td class=\"col0\">TFTP Transfer Window<\/td>\n<td class=\"col1\">4 seconds<\/td>\n<\/tr>\n<tr class=\"row4\">\n<td class=\"col0\">TFTP Window Start<\/td>\n<td class=\"col1\">approximately 10-20 seconds after power on<\/td>\n<\/tr>\n<tr class=\"row5\">\n<td class=\"col0\">TFTP Client Required IP Address<\/td>\n<td class=\"col1\">192.168.11.2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Here is a link to the console output of the boot process, with all led's in view for reference\u00a0<a class=\"urlextern\" title=\"http:\/\/www.youtube.com\/watch?v=mAZNTKhpHig\" href=\"http:\/\/www.youtube.com\/watch?v=mAZNTKhpHig\" rel=\"nofollow\">http:\/\/www.youtube.com\/watch?v=mAZNTKhpHig<\/a><\/p>\n<\/div>\n<h4 id=\"flashing_notes\">Flashing Notes<\/h4>\n<div class=\"level4\">\n<ul>\n<li class=\"level1\">\n<div class=\"li\">The red\u00a0\u00a0<em>\"DIAG\"<\/em>-LED begins to flash rapidly when the router has received the image and is currently booting the new firmware.<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Successful flashes via tftp using Windows 7 directly plugged into the router have been done. It helps to add arp entries and disable media sensing as per the generic tftp instructions.<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Flash should have reset all settings as well. The IP address of the router should be 192.168.1.1 now since 192.168.11.1 is only for the bootloader at boot-time<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">If your router has two red flashes of the DIAG LED followed by no flash and repeats then the flash failed or the image given is corrupt. You can still recover with tftp. Start over and try again.<\/div>\n<\/li>\n<\/ul>\n<\/div>\n<h4 id=\"tftp_advice_wrong_region\">TFTP advice, wrong region<\/h4>\n<div class=\"level4\">\n<p>There are apparently several regional versions of the OEM firmware. You may have to adjust the region in u-boot first. Below is example of a successful region change and flash procedure. Source:\u00a0<a class=\"urlextern\" title=\"https:\/\/forum.openwrt.org\/viewtopic.php?pid=187714#p187714\" href=\"https:\/\/forum.openwrt.org\/viewtopic.php?pid=187714#p187714\" rel=\"nofollow\">forum article<\/a><\/p>\n<p>This is how to do it from serial console:<\/p>\n<ol>\n<li class=\"level1\">\n<div class=\"li\">Power on the router and wait until you see \"Load address\" appear shortly after the tftp message:<\/p>\n<pre class=\"code\">tftp server(receive) go, waiting:4[sec]\r\n...\r\nLoad address: 0x84000000<\/pre>\n<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Immediately press Control+c<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">After prompt apears do:<\/div>\n<ul>\n<li class=\"level2\">\n<div class=\"li\">setenv accept_open_rt_fmt 1<\/div>\n<\/li>\n<li class=\"level2\">\n<div class=\"li\">setenv region EU<\/div>\n<\/li>\n<li class=\"level2\">\n<div class=\"li\">saveenv<\/div>\n<\/li>\n<li class=\"level2\">\n<div class=\"li\">reset<\/div>\n<\/li>\n<li class=\"level2\">\n<div class=\"li\">(it reboots now)<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">After Reboot Power your Device down!<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Set Your\u00a0\u00a0<abbr title=\"Local Area Network\">LAN<\/abbr>\u00a0IP to 192.168.11.2<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">In a linux terminal use these commands<\/div>\n<ul>\n<li class=\"level2\">\n<div class=\"li\">wget -O firmware-tftp.bin \"<a class=\"urlextern\" title=\"http:\/\/downloads.openwrt.org\/attitude_adjustment\/12.09\/ar71xx\/generic\/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin\" href=\"http:\/\/downloads.openwrt.org\/attitude_adjustment\/12.09\/ar71xx\/generic\/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin\" rel=\"nofollow\">http:\/\/downloads.openwrt.org\/attitude_adjustment\/12.09\/ar71xx\/generic\/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin<\/a>\"<\/div>\n<\/li>\n<li class=\"level2\">\n<div class=\"li\">sudo ip neigh add 192.168.11.1 dev eth0 lladdr 02:aa:bb:cc:dd:20 nud permanent &lt;enter&gt;<\/div>\n<\/li>\n<li class=\"level2\">\n<div class=\"li\">tftp 192.168.11.1 &lt;enter&gt;<\/div>\n<\/li>\n<li class=\"level2\">\n<div class=\"li\">verbose &lt;enter&gt;<\/div>\n<\/li>\n<li class=\"level2\">\n<div class=\"li\">bin &lt;enter&gt;<\/div>\n<\/li>\n<li class=\"level2\">\n<div class=\"li\">&lt;powerup your device and wait 12 seconds&gt;<\/div>\n<\/li>\n<li class=\"level2\">\n<div class=\"li\">put firmware-tftp.bin &lt;enter&gt;<\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">In Windows cmd put that Line:<\/div>\n<ul>\n<li class=\"level2\">\n<div class=\"li\">arp -s 192.168.11.1 02-AA-BB-CC-DD-20<\/div>\n<\/li>\n<li class=\"level2\">\n<div class=\"li\">tftp -i 192.168.11.1 PUT wzrhpag300h-pro-v24sp2-19154.enc\u00a0\u00a0<strong>(don't hit enter, yet)<\/strong><\/div>\n<\/li>\n<\/ul>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Power on the Device and 10 Seconds after that\u00a0\u00a0<strong>hit enter in Windows CMD<\/strong>\u00a0to start the TFTP. (it tooks about ten Minutes to Complete the flash procedure)<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<h3 id=\"upgrading_openwrt\" class=\"sectionedit10\">Upgrading OpenWrt<\/h3>\n<div class=\"level3\">\n<p>\u2192\u00a0<a class=\"wikilink1\" title=\"doc:howto:generic.sysupgrade\" href=\"http:\/\/wiki.openwrt.org\/doc\/howto\/generic.sysupgrade\">generic.sysupgrade<\/a><\/p>\n<\/div>\n<h2 id=\"basic_configuration\" class=\"sectionedit11\">Basic configuration<\/h2>\n<div class=\"level2\">\n<p>\u2192\u00a0<a class=\"wikilink1\" title=\"doc:howto:basic.config\" href=\"http:\/\/wiki.openwrt.org\/doc\/howto\/basic.config\">Basic configuration<\/a>\u00a0After flashing, proceed with this.<br \/>\nSet up your Internet connection, configure wireless, configure USB port, etc.<\/p>\n<\/div>\n<h3 id=\"failsafe_mode\" class=\"sectionedit12\">Failsafe mode<\/h3>\n<div class=\"level3\">\n<p>Press the 'USB\/eject' button while the red 'DIAG' LED is blinking to enter Failsafe mode.<\/p>\n<p>\u2192\u00a0<a class=\"wikilink1\" title=\"doc:howto:generic.failsafe\" href=\"http:\/\/wiki.openwrt.org\/doc\/howto\/generic.failsafe\">generic.failsafe<\/a><\/p>\n<\/div>\n<h2 id=\"specific_configuration\" class=\"sectionedit13\">Specific Configuration<\/h2>\n<div class=\"level2\"><\/div>\n<h3 id=\"led_for_usb-devices\" class=\"sectionedit14\">LED for USB-Devices<\/h3>\n<div class=\"level3\">\n<p>If you want to trigger a LED as soon as an USB-Device is connected to your USB-Port, add this to \/etc\/config\/system:<\/p>\n<div class=\"table sectionedit15\">\n<table class=\"inline\">\n<tbody>\n<tr class=\"row0\">\n<td class=\"col0\"><code>config 'led' option 'default' '0' option 'name' 'USB' option 'sysfs' 'buffalo:red:diag' option 'trigger' 'usbdev' option 'dev' '1-1'<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>This switches on the little red circle of the DIAG-LED everytime you connect something to your USB-Port.<\/p>\n<\/div>\n<h2 id=\"debricking\" class=\"sectionedit16\">Debricking<\/h2>\n<div class=\"level2\">\n<ul>\n<li class=\"level1\">\n<div class=\"li\">It's very unlikely that you completely bricked the device, so first try the TFTP Method above. Note that a red diagnostics light blinking twice means your flash failed, but the device is ok and tftp will work (keep trying). If you still get nowhere, more drastic measures:<\/div>\n<\/li>\n<\/ul>\n<p>\u2192\u00a0<a class=\"wikilink1\" title=\"doc:howto:generic.debrick\" href=\"http:\/\/wiki.openwrt.org\/doc\/howto\/generic.debrick\">generic.debrick<\/a><\/p>\n<\/div>\n<h2 id=\"hardware\" class=\"sectionedit17\">Hardware<\/h2>\n<div class=\"level2\"><\/div>\n<h3 id=\"info\" class=\"sectionedit18\">Info<\/h3>\n<div class=\"level3\">\n<div class=\"table sectionedit19\">\n<table class=\"inline\">\n<tbody>\n<tr class=\"row0\">\n<td class=\"col0 leftalign\"><strong><a class=\"interwiki iw_wp\" title=\"http:\/\/en.wikipedia.org\/wiki\/Instruction set\" href=\"http:\/\/en.wikipedia.org\/wiki\/Instruction%20set\">Architecture<\/a>:<\/strong><\/td>\n<td class=\"col1\"><a class=\"interwiki iw_wp\" title=\"http:\/\/en.wikipedia.org\/wiki\/MIPS architecture\" href=\"http:\/\/en.wikipedia.org\/wiki\/MIPS%20architecture\">MIPS<\/a><\/td>\n<\/tr>\n<tr class=\"row1\">\n<td class=\"col0 leftalign\"><strong>Vendor:<\/strong><\/td>\n<td class=\"col1 leftalign\"><a class=\"interwiki iw_wp\" title=\"http:\/\/en.wikipedia.org\/wiki\/Qualcomm Atheros\" href=\"http:\/\/en.wikipedia.org\/wiki\/Qualcomm%20Atheros\">Qualcomm Atheros<\/a><\/td>\n<\/tr>\n<tr class=\"row2\">\n<td class=\"col0 leftalign\"><strong><a class=\"wikilink1\" title=\"doc:techref:bootloader\" href=\"http:\/\/wiki.openwrt.org\/doc\/techref\/bootloader\">Bootloader<\/a>:<\/strong><\/td>\n<td class=\"col1\">crippled\u00a0<a class=\"wikilink1\" title=\"doc:techref:bootloader:uboot\" href=\"http:\/\/wiki.openwrt.org\/doc\/techref\/bootloader\/uboot\">U-Boot<\/a><\/td>\n<\/tr>\n<tr class=\"row3\">\n<td class=\"col0 leftalign\"><strong><a class=\"wikilink1\" title=\"doc:hardware:soc\" href=\"http:\/\/wiki.openwrt.org\/doc\/hardware\/soc\">System-On-Chip<\/a>:<\/strong><\/td>\n<td class=\"col1\">AR7161 rev 2 (MIPS 24Kc V7.4)<\/td>\n<\/tr>\n<tr class=\"row4\">\n<td class=\"col0 leftalign\"><strong><a class=\"wikilink1\" title=\"doc:hardware:cpu\" href=\"http:\/\/wiki.openwrt.org\/doc\/hardware\/cpu\">CPU<\/a>\/Speed<\/strong><\/td>\n<td class=\"col1 leftalign\">24Kc V7.4 680\u00a0<abbr title=\"Megahertz\">MHz<\/abbr><\/td>\n<\/tr>\n<tr class=\"row5\">\n<td class=\"col0 leftalign\"><strong>Flash-Chip:<\/strong><\/td>\n<td class=\"col1 centeralign\">?<\/td>\n<\/tr>\n<tr class=\"row6\">\n<td class=\"col0 leftalign\"><strong>Flash size:<\/strong><\/td>\n<td class=\"col1\">32 MiB<\/td>\n<\/tr>\n<tr class=\"row7\">\n<td class=\"col0 leftalign\"><strong>RAM:<\/strong><\/td>\n<td class=\"col1 leftalign\">128 MiB<\/td>\n<\/tr>\n<tr class=\"row8\">\n<td class=\"col0 leftalign\"><strong>Wireless:<\/strong><\/td>\n<td class=\"col1\">Atheros AR9223 (2.4GHz) and AR9220 (5.0GHz) 802.11abgn<\/td>\n<\/tr>\n<tr class=\"row9\">\n<td class=\"col0 leftalign\"><strong>Ethernet:<\/strong><\/td>\n<td class=\"col1 leftalign\">AR8316<\/td>\n<\/tr>\n<tr class=\"row10\">\n<td class=\"col0 leftalign\"><strong>Internet:<\/strong><\/td>\n<td class=\"col1 leftalign\">n\/a<\/td>\n<\/tr>\n<tr class=\"row11\">\n<td class=\"col0 leftalign\"><strong>USB:<\/strong><\/td>\n<td class=\"col1 leftalign\">Yes 1 x 2.0<\/td>\n<\/tr>\n<tr class=\"row12\">\n<td class=\"col0 leftalign\"><strong>Serial:<\/strong><\/td>\n<td class=\"col1 leftalign\"><a class=\"wikilink1\" title=\"toh:buffalo:wzr-hp-ag300h \u21b5\" href=\"http:\/\/wiki.openwrt.org\/toh\/buffalo\/wzr-hp-ag300h#serial\">Yes<\/a><\/td>\n<\/tr>\n<tr class=\"row13\">\n<td class=\"col0 leftalign\"><strong>JTAG:<\/strong><\/td>\n<td class=\"col1 leftalign\"><a class=\"wikilink1\" title=\"toh:buffalo:wzr-hp-ag300h \u21b5\" href=\"http:\/\/wiki.openwrt.org\/toh\/buffalo\/wzr-hp-ag300h#jtag\">Yes<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>&nbsp;<\/p>\n<pre class=\"code\">root@OpenWrt:~# lspci -vv\r\n00:11.0 Network controller: Atheros Communications Inc. AR922X Wireless Network Adapter (rev 01)\r\n\tSubsystem: Atheros Communications Inc. Device a097\r\n\tControl: I\/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-\r\n\tStatus: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium &gt;TAbort- &lt;TAbort- &lt;MAbort- &gt;SERR- &lt;PERR- INTx-\r\n\tLatency: 168, Cache Line Size: 32 bytes\r\n\tInterrupt: pin A routed to IRQ 72\r\n\tRegion 0: Memory at 10000000 (32-bit, non-prefetchable) [size=64K]\r\n\tCapabilities: [44] &lt;chain broken&gt;\r\n\tKernel driver in use: ath9k\r\n\r\n00:12.0 Network controller: Atheros Communications Inc. AR922X Wireless Network Adapter (rev 01)\r\n\tSubsystem: Atheros Communications Inc. Device a096\r\n\tControl: I\/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-\r\n\tStatus: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium &gt;TAbort- &lt;TAbort- &lt;MAbort- &gt;SERR- &lt;PERR- INTx-\r\n\tLatency: 168, Cache Line Size: 32 bytes\r\n\tInterrupt: pin A routed to IRQ 73\r\n\tRegion 0: Memory at 10010000 (32-bit, non-prefetchable) [size=64K]\r\n\tCapabilities: [44] Power Management version 2\r\n\t\tFlags: PMEClk- DSI- D1- D2- AuxCurrent=100mA PME(D0+,D1-,D2-,D3hot+,D3cold-)\r\n\t\tStatus: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-\r\n\tKernel driver in use: ath9k<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<h3 id=\"flash_layout\" class=\"sectionedit20\">Flash Layout<\/h3>\n<div class=\"level3\">\n<p>\u2192<a class=\"wikilink1\" title=\"doc:techref:flash.layout\" href=\"http:\/\/wiki.openwrt.org\/doc\/techref\/flash.layout\">Flash.Layout<\/a>\u00a0has an example flash layout and all explanations required to understand this. Here the naked hex-values for the WZR-HP-AG300H:<\/p>\n<div class=\"table sectionedit21\">\n<table class=\"inline\">\n<tbody>\n<tr class=\"row0\">\n<td class=\"col0\"><code>root@<strong>DD-WRT<\/strong>:~# cat \/proc\/mtd dev: size erasesize name mtd0: 00050000 00010000 \"RedBoot\" mtd1: 01f80000 00010000 \"linux\" mtd2: 00b11000 00010000 \"rootfs\" mtd3: 01380000 00010000 \"ddwrt\" mtd4: 00010000 00010000 \"nvram\" mtd5: 00010000 00010000 \"FIS directory\" mtd6: 00010000 00010000 \"board_config\" mtd7: 02000000 00010000 \"fullflash\" mtd8: 00010000 00010000 \"uboot-env\"<\/code><\/td>\n<td class=\"col1\"><code>root@<strong>OpenWrt<\/strong>:~# cat \/proc\/mtd dev: size erasesize name mtd0: 01000000 00001000 \"spi0.0\" mtd1: 01000000 00001000 \"spi0.1\" mtd2: 00040000 00001000 \"u-boot\" mtd3: 00010000 00001000 \"u-boot-env\" mtd4: 00010000 00001000 \"art\" mtd5: 00100000 00001000 \"kernel\" mtd6: 01e90000 00001000 \"rootfs\" mtd7: 01d2c000 00001000 \"rootfs_data\" mtd8: 00010000 00001000 \"user_property\" mtd9: 01f90000 00001000 \"firmware\"<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3 id=\"photos\" class=\"sectionedit22\">Photos<\/h3>\n<div class=\"level3\">\n<p>Correct serial pinout:<\/p>\n<p><a class=\"media\" title=\"toh:buffalo:wzr_hp_ag300h_serial.jpg\" href=\"http:\/\/wiki.openwrt.org\/_detail\/toh\/buffalo\/wzr_hp_ag300h_serial.jpg?id=toh%3Abuffalo%3Awzr-hp-ag300h\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/album.rainsun.me\/f\/1c\/\" alt=\"\" width=\"800\" height=\"823\" alt=\"Buffalo WZR-HP-AG300H\u53d8\u7816\u6062\u590d\u3001TTL\u63a5\u7ebf \u7ecf\u9a8c\u6559\u7a0b \u7b2c1\u5f20\" title=\"Buffalo WZR-HP-AG300H\u53d8\u7816\u6062\u590d\u3001TTL\u63a5\u7ebf \u7ecf\u9a8c\u6559\u7a0b \u7b2c1\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<p>A collection of photos on how to open the case, of the PCB and the serial port can be found on<a class=\"urlextern\" title=\"https:\/\/picasaweb.google.com\/111743287730172647732\/BuffaloWZRHPAG300HHardwarePhotos\" href=\"https:\/\/picasaweb.google.com\/111743287730172647732\/BuffaloWZRHPAG300HHardwarePhotos\" rel=\"nofollow\">https:\/\/picasaweb.google.com\/111743287730172647732\/BuffaloWZRHPAG300HHardwarePhotos<\/a>\u00a0.<\/p>\n<\/div>\n<h3 id=\"serial\" class=\"sectionedit23\">Serial<\/h3>\n<div class=\"level3\">\n<p>\u2192\u00a0<a class=\"wikilink1\" title=\"doc:hardware:port.serial\" href=\"http:\/\/wiki.openwrt.org\/doc\/hardware\/port.serial\">port.serial<\/a>\u00a0general information about the serial port, serial port cable, etc.<\/p>\n<p>How to connect to the Serial Port of this specific device:<\/p>\n<ol>\n<li class=\"level1\">\n<div class=\"li\">Open case<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Locate serial port pads next to the Movie Engine switch<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Pinouts beginning from the square pad: vcc, gnd, tx, rx<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Sends at 115200 8N1 as shipped<\/div>\n<\/li>\n<li class=\"level1\">\n<div class=\"li\">Voltage is 3.3 V<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<h3 id=\"network_port_assignments\" class=\"sectionedit24\">Network Port Assignments<\/h3>\n<div class=\"level3\">\n<div class=\"table sectionedit25\">\n<table class=\"inline\">\n<tbody>\n<tr class=\"row0\">\n<td class=\"col0\"><strong>port 0<\/strong><\/td>\n<td class=\"col1\">CPU<\/td>\n<\/tr>\n<tr class=\"row1\">\n<td class=\"col0\"><strong>port 1<\/strong><\/td>\n<td class=\"col1\"><abbr title=\"Local Area Network\">LAN<\/abbr>\u00a04<\/td>\n<\/tr>\n<tr class=\"row2\">\n<td class=\"col0\"><strong>port 2<\/strong><\/td>\n<td class=\"col1\"><abbr title=\"Local Area Network\">LAN<\/abbr>\u00a03<\/td>\n<\/tr>\n<tr class=\"row3\">\n<td class=\"col0\"><strong>port 3<\/strong><\/td>\n<td class=\"col1\"><abbr title=\"Local Area Network\">LAN<\/abbr>\u00a02<\/td>\n<\/tr>\n<tr class=\"row4\">\n<td class=\"col0\"><strong>port 4<\/strong><\/td>\n<td class=\"col1\"><abbr title=\"Local Area Network\">LAN<\/abbr>\u00a01<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><a class=\"media\" title=\"toh:buffalo:wzr-hp-ag300h.png\" href=\"http:\/\/wiki.openwrt.org\/_detail\/toh\/buffalo\/wzr-hp-ag300h.png?id=toh%3Abuffalo%3Awzr-hp-ag300h\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/album.rainsun.me\/f\/1d\/\" alt=\"\" width=\"757\" height=\"247\" alt=\"Buffalo WZR-HP-AG300H\u53d8\u7816\u6062\u590d\u3001TTL\u63a5\u7ebf \u7ecf\u9a8c\u6559\u7a0b \u7b2c2\u5f20\" title=\"Buffalo WZR-HP-AG300H\u53d8\u7816\u6062\u590d\u3001TTL\u63a5\u7ebf \u7ecf\u9a8c\u6559\u7a0b \u7b2c2\u5f20-AiCHH Ideas\" ><\/a><\/p>\n<\/div>\n<h3 id=\"buttons\" class=\"sectionedit26\">Buttons<\/h3>\n<div class=\"level3\">\n<p>\u2192\u00a0<a class=\"wikilink1\" title=\"doc:howto:hardware.button\" href=\"http:\/\/wiki.openwrt.org\/doc\/howto\/hardware.button\">hardware.button<\/a>\u00a0on how to use and configure the hardware buttons.<\/p>\n<div class=\"table sectionedit27\">\n<table class=\"inline\">\n<thead>\n<tr class=\"row0\">\n<th class=\"col0\">Button<\/th>\n<th class=\"col1\">Event<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"row1\">\n<td class=\"col0\">Reset<\/td>\n<td class=\"col1\">reset\/BTN_0 (pressed, released)<\/td>\n<\/tr>\n<tr class=\"row2\">\n<td class=\"col0\">AOSS<\/td>\n<td class=\"col1\">wps\/BTN_1 (pressed, released)<\/td>\n<\/tr>\n<tr class=\"row3\">\n<td class=\"col0\">USB Eject<\/td>\n<td class=\"col1\">BTN_2 (pressed, released)<\/td>\n<\/tr>\n<tr class=\"row4\">\n<td class=\"col0\">Movie Engine (on)<\/td>\n<td class=\"col1\">BTN_3 released, BTN_4 pressed<\/td>\n<\/tr>\n<tr class=\"row5\">\n<td class=\"col0\">Movie Engine (off)<\/td>\n<td class=\"col1\">BTN_3 pressed, BTN_4 released<\/td>\n<\/tr>\n<tr class=\"row6\">\n<td class=\"col0\">Router (on)<\/td>\n<td class=\"col1\">BTN_5 released, BTN_6 released<\/td>\n<\/tr>\n<tr class=\"row7\">\n<td class=\"col0\">Router (off)<\/td>\n<td class=\"col1\">BTN_5 pressed, BTN_6 released<\/td>\n<\/tr>\n<tr class=\"row8\">\n<td class=\"col0\">Router (auto)<\/td>\n<td class=\"col1\">BTN_5 released, BTN_6 pressed<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<!--wp-compress-html no compression--><!--wp-compress-html-->","protected":false},"excerpt":{"rendered":"Installation using the OEM web interface Installation using the TFTP method Specific values you need \u00b7\u00b7\u00b7","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-316","post","type-post","status-publish","format-standard","hentry","category-jiaocheng"],"views":583,"_links":{"self":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/comments?post=316"}],"version-history":[{"count":1,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/316\/revisions"}],"predecessor-version":[{"id":317,"href":"https:\/\/aichh.com\/api\/wp\/v2\/posts\/316\/revisions\/317"}],"wp:attachment":[{"href":"https:\/\/aichh.com\/api\/wp\/v2\/media?parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/categories?post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aichh.com\/api\/wp\/v2\/tags?post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}