Differences

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

toh:buffalo:wzr-hp-ag300h [2012/09/15 19:48]
toh:buffalo:wzr-hp-ag300h [2014/11/18 17:35] (current)
rbeede Fixed tftp table
Line 4: Line 4:
===== Supported Versions ===== ===== Supported Versions =====
^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| v1  |  2011-02  | - | ar71xx trunk r27434 | - |+| v1  |  2011-02  | - | Attitude Adjustment - 12.09 - ar71xx | -
 +|      |          |  | Barrier Breaker - 14.07 - ar71xx |  |
===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 13: Line 14:
===== Installation ===== ===== Installation =====
-==== Flash Layout ==== 
-->[[doc:techref:Flash Layout]] has an example flash layout and all explanations required to understand this. Here the naked hex-values for the WZR-HP-AG300H: 
- 
-|''root@**DD-WRT**:~# 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" 
-''|''root@**OpenWrt**:~# 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"''| 
- 
==== Installation using the OEM web interface ==== ==== Installation using the OEM web interface ====
The easiest way to install OpenWrt is by using the firmware utility of the OEM web interface: The easiest way to install OpenWrt is by using the firmware utility of the OEM web interface:
  - Connect to the WebInterface at [[http://192.168.11.1]] and go to //"Administration"// -> //"Firmware Upgrade"//   - Connect to the WebInterface at [[http://192.168.11.1]] and go to //"Administration"// -> //"Firmware Upgrade"//
-  - Upload the OpenWrt-Image you want to install, e.g. [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-factory.bin]]+  - Upload the OpenWrt-Image you want to install 
 +    * [[http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-factory.bin]] 
 +    * [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-factory.bin]]
  - Make your PC obtain a new IP address from OpenWrt (''dhclient eth0'' or ''pump -i eth0'' or ''ipconfig /renew'')   - Make your PC obtain a new IP address from OpenWrt (''dhclient eth0'' or ''pump -i eth0'' or ''ipconfig /renew'')
  - proceed with [[doc:howto:basic.config]] to complete installation   - proceed with [[doc:howto:basic.config]] to complete installation
 +**NOTE:** It may happen, that the squashfs-factory.bin does not work for this device, if the factory image is based on __DD-WRT__. See [[https://www.mail-archive.com/openwrt-users@lists.openwrt.org/msg02637.html|this thread]]. 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 [[http://wiki.openwrt.org/toh/buffalo/wzr-600dhp?s[]=wzr&s[]=hp&s[]=ag300h#installation.using.the.oem.web.interface|WZR-600DHP]] page worked for him.
-==== OEM installation using the TFTP method ====+==== Installation using the TFTP method ====
->  [[doc:howto:generic.flashing.tftp]] ->  [[doc:howto:generic.flashing.tftp]]
Line 57: Line 34:
| Bootloader tftp server IPv4 address | 192.168.11.1 | | Bootloader tftp server IPv4 address | 192.168.11.1 |
| Bootloader MAC address (special) | 02:aa:bb:cc:dd:20 | | Bootloader MAC address (special) | 02:aa:bb:cc:dd:20 |
-| Latest firmware tftp image | [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin]] (**''NOTE:''** Name must contain //"tftp"//) |+| Latest firmware tftp image | (**''NOTE:''** Name must contain //"tftp"//) [[http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin]] |
| TFTP Transfer Window | 4 seconds | | TFTP Transfer Window | 4 seconds |
| TFTP Window Start | approximately 10-20 seconds after power on | | TFTP Window Start | approximately 10-20 seconds after power on |
Line 69: Line 46:
  * 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.   * 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.
  * 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   * 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
-  * 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.  Start over and try again.+  * 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. 
 + 
 +=== TFTP advice, wrong region === 
 + 
 +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: [[https://forum.openwrt.org/viewtopic.php?pid=187714#p187714 | forum article]] 
 + 
 +This is how to do it from serial console: 
 + 
 +  - Power on the router and wait until you see "Load address" appear shortly after the tftp message: <code>tftp server(receive) go, waiting:4[sec] 
 +... 
 +Load address: 0x84000000</code> 
 +  - Immediately press Control+c 
 +  - After prompt apears do: 
 +    * setenv accept_open_rt_fmt 1 
 +    * setenv region EU 
 +    * saveenv 
 +    * reset  
 +    * (it reboots now) 
 +  - After Reboot Power your Device down! 
 +  - Set Your LAN IP to 192.168.11.2 
 +  - In a linux terminal use these commands 
 +    * wget -O firmware-tftp.bin "http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin" 
 +    * sudo ip neigh add 192.168.11.1 dev eth0 lladdr 02:aa:bb:cc:dd:20 nud permanent <enter> 
 +    * tftp 192.168.11.1 <enter> 
 +    * verbose <enter> 
 +    * bin <enter> 
 +    * <powerup your device and wait 12 seconds> 
 +    * put firmware-tftp.bin <enter> 
 +  - In Windows cmd put that Line: 
 +    * arp -s 192.168.11.1 02-AA-BB-CC-DD-20 
 +    * tftp -i 192.168.11.1 PUT wzrhpag300h-pro-v24sp2-19154.enc  **(don't hit enter, yet)** 
 +  - Power on the Device and 10 Seconds after that **hit enter in Windows CMD** to start the TFTP. (it tooks about ten Minutes to Complete the flash procedure) 
==== Upgrading OpenWrt ==== ==== Upgrading OpenWrt ====
Line 79: Line 88:
==== Failsafe mode ==== ==== Failsafe mode ====
 +
 +Press the 'USB/eject' button while the red 'DIAG' LED is blinking to enter Failsafe mode.
 +
-> [[doc:howto:generic.failsafe]] -> [[doc:howto:generic.failsafe]]
Line 101: Line 113:
  * 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:   * 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:
-> [[doc:howto:generic.debrick]] -> [[doc:howto:generic.debrick]]
- 
Line 145: Line 156:
Kernel driver in use: ath9k Kernel driver in use: ath9k
</code> </code>
 +
 +
 +==== Flash Layout ====
 +->[[doc:techref:Flash Layout]] has an example flash layout and all explanations required to understand this. Here the naked hex-values for the WZR-HP-AG300H:
 +
 +|''root@**DD-WRT**:~# 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"
 +''|''root@**OpenWrt**:~# 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"''|
 +
 +
==== Photos ==== ==== Photos ====
Line 164: Line 205:
   
====Network Port Assignments==== ====Network Port Assignments====
- 
-FIXME - a visual diagram that details each switch port to network config port mapping as well as eth0 and eth1 would be helpful 
|**port 0**| CPU | |**port 0**| CPU |
Line 172: Line 211:
|**port 3**| LAN 2| |**port 3**| LAN 2|
|**port 4**| LAN 1| |**port 4**| LAN 1|
 +
 +{{:toh:buffalo:wzr-hp-ag300h.png|}}
==== Buttons ==== ==== Buttons ====
Line 189: Line 230:
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>GigabitEthernet 5Port 2PHY USB 802.11abgn 802.11abgn_simultan ath9k 128RAM 32Flash MIPS MIPS32 24Kc}}+{{tag>GigabitEthernet 5Port 2NIC USB 802.11abgn 802.11abgn_simultan ath9k 128RAM 32Flash MIPS MIPS32 24Kc}}

Back to top

toh/buffalo/wzr-hp-ag300h.1347731294.txt.bz2 · Last modified: 2012/09/15 19:48 (external edit)