WZR-HP-G300NH-R Fail

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Statik
Posts: 118
Joined: Mon Sep 28, 2009 9:38 am

WZR-HP-G300NH-R Fail

Post by Statik »

Hi there,
I just received my Buffalo WZR-HP-G300NH-R (Refurb) in the mail today (http://www.computers-canada.ca/store/pr ... R/Buffalo/).
I tried following the instructions from this page: http://www.gargoyle-router.com/wiki/dok ... -hp-g300nh
I plugged it in and logged into the 'User Friendly' interface. I then used the Buffalo DD-WRT firmware from their site to update the firmware to the PRO firmware. This seemed to work well.
I then continued with the instructions, only changing the firmware number to gargoyle_1.4.5-ar71xx-wzr-hp-g300nh-squashfs-sysupgrade.bin in both commands. The commands seemed to work well:

Code: Select all

==========================================================
 
 ____  ___    __        ______ _____         ____  _  _ 
 | _ \| _ \   \ \      / /  _ \_   _| __   _|___ \| || | 
 || | || ||____\ \ /\ / /| |_) || |   \ \ / / __) | || |_ 
 ||_| ||_||_____\ V  V / |  _ < | |    \ V / / __/|__   _| 
 |___/|___/      \_/\_/  |_| \_\|_|     \_/ |_____|  |_| 
 
                       DD-WRT v24-sp2
                   http://www.dd-wrt.com
 
==========================================================


BusyBox v1.13.4 (2010-08-19 15:28:04 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@DD-WRT:~# cd /tmp
root@DD-WRT:/tmp# wget http://www.gargoyle-router.com/downloads/images/ar71xx/ga
rgoyle_1.4.5-ar71xx-wzr-hp-g300nh-squashfs-sysupgrade.bin
Connecting to www.gargoyle-router.com (69.164.213.4:80)
gargoyle_1.4.5-ar71x 100% |*******************************|  5120k 00:00:00 ETA
root@DD-WRT:/tmp# mtd -e linux -r write gargoyle_1.4.5-ar71xx-wzr-hp-g300nh-squa
shfs-sysupgrade.bin linux
Unlocking linux ...
Erasing linux ...
Writing from gargoyle_1.4.5-ar71xx-wzr-hp-g300nh-squashfs-sysupgrade.bin to linux ...  [w]
Connection closed by foreign host.
However, all was not well. When the router rebooted, I had a red DIAG light which remained on. I tried reflashing through the TFTP process (with the tftp firmware) with no success. The router almost immediately goes to the red DIAG and sits there. There doesn't seem to be any LAN connection or anything else.

I am running Linux Mint 12m but I have a Windows XP machine available, if needed.

Any help appreciated.

Statik

mix
Posts: 292
Joined: Sun Feb 27, 2011 11:18 am

Re: WZR-HP-G300NH-R Fail

Post by mix »

Where did you get these directions? It seems pretty clear to me you used mtd incorrectly. There is no "linux" block devices with Atheros hardware, you should have used "firmware." You most likely bricked your router.
WRT54GL v1.1
Gargoyle 1.4.7

hnl_dk
Moderator
Posts: 408
Joined: Mon Aug 29, 2011 12:37 pm

Re: WZR-HP-G300NH-R Fail

Post by hnl_dk »

I do not know the hardware, but looking at openwrt, it looks like you may have the "new version", that is not equal to the original hardware: http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4

mix
Posts: 292
Joined: Sun Feb 27, 2011 11:18 am

Re: WZR-HP-G300NH-R Fail

Post by mix »

Even the openwrt instructions say use "linux." This is seemingly wrong too.
WRT54GL v1.1
Gargoyle 1.4.7

hnl_dk
Moderator
Posts: 408
Joined: Mon Aug 29, 2011 12:37 pm

Re: WZR-HP-G300NH-R Fail

Post by hnl_dk »

mix wrote:Even the openwrt instructions say use "linux." This is seemingly wrong too.
gargoyle itself also uses linux: http://www.gargoyle-router.com/gargoyle ... upgrade.sh
"linux" is the partition on the router, on the partition in the file.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4

mix
Posts: 292
Joined: Sun Feb 27, 2011 11:18 am

Re: WZR-HP-G300NH-R Fail

Post by mix »

What is the output of cat /proc/mtd on one of your atheros routers hnl_dk?
WRT54GL v1.1
Gargoyle 1.4.7

mix
Posts: 292
Joined: Sun Feb 27, 2011 11:18 am

Re: WZR-HP-G300NH-R Fail

Post by mix »

hnl_dk wrote:
mix wrote:Even the openwrt instructions say use "linux." This is seemingly wrong too.
gargoyle itself also uses linux: http://www.gargoyle-router.com/gargoyle ... upgrade.sh
"linux" is the partition on the router, on the partition in the file.

My guess is that when you run bin2trx, it fails on a non broadcom firmware image file. Thus the upgrade option for non broadcom routers is done using sysupgrade. Maybe this also indicates why I have never seen a trx file for non broadcom routers, only bin files for atheros. trx files are a broadcom only thing. Right?
WRT54GL v1.1
Gargoyle 1.4.7

hnl_dk
Moderator
Posts: 408
Joined: Mon Aug 29, 2011 12:37 pm

Re: WZR-HP-G300NH-R Fail

Post by hnl_dk »

mix wrote:What is the output of cat /proc/mtd on one of your atheros routers hnl_dk?

Code: Select all

mtd0: 00020000 00010000 "u-boot"
mtd1: 00140000 00010000 "kernel"
mtd2: 00690000 00010000 "rootfs"
mtd3: 001d0000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "art"
mtd5: 007d0000 00010000 "firmware"
But I do not know what "linux" may be an alias for.
But as you could see in the above file. When the upgrade script is using mtd directly, is it also using "linux" as the destination.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4

hnl_dk
Moderator
Posts: 408
Joined: Mon Aug 29, 2011 12:37 pm

Re: WZR-HP-G300NH-R Fail

Post by hnl_dk »

mix wrote:
hnl_dk wrote:
mix wrote:Even the openwrt instructions say use "linux." This is seemingly wrong too.
gargoyle itself also uses linux: http://www.gargoyle-router.com/gargoyle ... upgrade.sh
"linux" is the partition on the router, on the partition in the file.

My guess is that when you run bin2trx, it fails on a non broadcom firmware image file. Thus the upgrade option for non broadcom routers is done using sysupgrade. Maybe this also indicates why I have never seen a trx file for non broadcom routers, only bin files for atheros. trx files are a broadcom only thing. Right?
I am not sure, but it sounds right to me.
Router: TL-WR1043ND - Gargoyle 1.5.4
AP: TL-WR1043ND - Gargoyle 1.5.4

mix
Posts: 292
Joined: Sun Feb 27, 2011 11:18 am

Re: WZR-HP-G300NH-R Fail

Post by mix »

I stand by my original comments then, the poster flashed the firmware to the wrong block device. Usually you get an error message when the block device doesn't exist. I have no idea how/why mtd thinks it found the device and started to write it, other than maybe erasing a non existent device actually creates one. The openwrt wiki that was linked to contains some info about doing a tftp recovery, and how you only have a 4 second window and need to act fast to do it. This is the best bet for recovery assuming the flash memory isn't completely hosed.
WRT54GL v1.1
Gargoyle 1.4.7

Post Reply