Need help with Buffalo wzr-hp-g300nh

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

Moderator: Moderators

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Need help with Buffalo wzr-hp-g300nh

Post by DoesItMatter »

The TFTP failures are 2-part

1) possibly missing TFTP window (which is only 2-3 seconds)
on Windows Vista & Windows 7 - LOT less likely on Win XP / Linux

2) Magic Number header on the firmware file
If the wrong bytes at the start of the binary, the TFTP flashing
won't work - the Uboot doesn't recognize it and usually complains
about a 'Bad Magic Number'

So - 1 or both of those can cause the TFTP failures

the 1 bonus thing about this router - if its a bad flash, it always
sits in TFTP recovery - this router is HIGHLY recoverable and
very very hard to brick it.

At the worst, you'll have to hookup a serial console to recover.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

ruriruri
Posts: 61
Joined: Mon Jun 14, 2010 10:42 am

Re: Need help with Buffalo wzr-hp-g300nh

Post by ruriruri »

I have given up on tftp. Can someone please make a gargoyle bin file that can upgrade through the G300NH stock GUI? Something like DDWRT webflash.

Or instructions on how to remove the header.

junc
Posts: 13
Joined: Tue Aug 31, 2010 3:34 am

Re: Need help with Buffalo wzr-hp-g300nh

Post by junc »

Hi ruriruri, could u explain it to me how did u flash from dd-wrt to gargoyle via tftp why is it doesn't work? thanks

cheers

ruriruri
Posts: 61
Joined: Mon Jun 14, 2010 10:42 am

Re: Need help with Buffalo wzr-hp-g300nh

Post by ruriruri »

I followed the the instruction on http://wiki.openwrt.org/inbox/buffalo/wzr-hp-g300h tried windows xp and ubuntu liveCD. I used a hub and lowered SiS NIC to 100mbps. I tried dos command lines, draytek firwamre upgrade utility, tftp2.exe. I tried to push tftp through from 2-20 seconds after power-on.

Timesout everytime.

I only have 1 pc, untlike others who succeeded own multiple devices to tried.

Editing a header shouldn't be that hard and it will be easier to switch between gargoyle and stock firmware in future. I just need to learn how to do it.

ruriruri
Posts: 61
Joined: Mon Jun 14, 2010 10:42 am

Re: Need help with Buffalo wzr-hp-g300nh

Post by ruriruri »

I flashed to DDWRT. Going to try installing from DDWRT with the special version of FON flash.

Need to confirm the 2 files I use with FON flash.
gargoyle_1.3.5-ar71xx-root.squashfs-4k (there are 2 which one do I use?)
gargoyle_1.3.5-ar71xx-vmlinux.lzma

Are those 2 files correct?

junc
Posts: 13
Joined: Tue Aug 31, 2010 3:34 am

Re: Need help with Buffalo wzr-hp-g300nh

Post by junc »

Hi, sounds like you've got all the information but no luck flashed the router. I reckoned just only matter of timing to flash it. Give this below for size in your end and see if works...

1.Get this firmware http://www.gargoyle-router.com/download ... s-tftp.bin
2.Power on the router.
3.Connect the computer and router into your 100mbps switch hub.
4.Set the router IP address (192.168.11.1) and the computer (192.168.11.2)
5.Ping the router continuesly ( ping 192.168.11.1 -t -l 1 )
6.Add static arp entry command to the router.
7.Make sure disabled the winxp firewall.
8.Get ready TFTP command on other cmd window - tftp -i 192.168.11.1 PUT gargoyle_1.3.5-ar71xx-wzr-hp-g300nh-squashfs-tftp.bin
8.Unplug the power of the router
9.Have a look the cmd ping window (its got request timed out then hardware error messages...)
9.Power back on the router
10.And after you see a (2) request timed out under cmd ping window then hit ENTER the other side TFTP cmd window and see what happen if successfully transferred
11.If not, give it a try (3) request timed out or try (4) request timed out.
12.It should work and mine worked on (3) request timed out. Its just only matter of timing i think...
13.If successfully transferred, wait until they all solid green lights and that's the time change the network set back to automatic to obtain an ip address of 192.168.1.1.
14.Open the browser with the ip address of 192.168.1.1 and that's it!
15.If doesn't work in your end...i dont know what's the other issues but works fine on me and see how u go...Goodluck!
Attachments
tftp.JPG
tftp.JPG (8.88 KiB) Viewed 11611 times

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Need help with Buffalo wzr-hp-g300nh

Post by DoesItMatter »

ruriruri wrote:I flashed to DDWRT. Going to try installing from DDWRT with the special version of FON flash.

Need to confirm the 2 files I use with FON flash.
gargoyle_1.3.5-ar71xx-root.squashfs-4k (there are 2 which one do I use?)
gargoyle_1.3.5-ar71xx-vmlinux.lzma

Are those 2 files correct?
Fon Flash won't work on the WZR-HP-G300NH

Fon Flash is looking for a Redboot environment

WZR-HP-G300NH uses UBoot environment - won't work.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

SirReal
Posts: 2
Joined: Sun Sep 19, 2010 9:43 pm

Re: Need help with Buffalo wzr-hp-g300nh

Post by SirReal »

Hi, I installed Gargoyle on my WZR-HP-G300NH from DD-WRT to openWrt, then to Gargoyle. I used this method to get to openWrt:

Code: Select all

# cd /tmp
# wget http://downloads.openwrt.org/backfire/10.03.1-rc3/ar71xx/openwrt-ar71xx-wzr-hp-g300nh-jffs2-tftp.bin
# dd if=openwrt-ar71xx-wzr-hp-g300nh-jffs2-tftp.bin of=firmware.trx bs=32 skip=1
# mtd -r write firmware.trx linux
Then once I installed openWrt, I was able to install Gargoyle from the webupdate in openWrt.

Everything seems to be working fine so far. Thanks goto Joe Wein for the instructions on installing openWrt.

SirReal

ruriruri
Posts: 61
Joined: Mon Jun 14, 2010 10:42 am

Re: Need help with Buffalo wzr-hp-g300nh

Post by ruriruri »

Thanks junc, I followed some of your instructions and worked well. Still can't get the timing right in cmd though... >_<

I used http://www.shadowsoftware.net/shadowgam ... /tftp2.exe set to 30 time retry and then powered on the router and worked straight away. (pure luck!)

Does anyone have problem adding L7 protocols in QoS? It's a shame my L7 is not working, because the QoS is the reason I use Gargoyle.

edit: I thought the tftp push had errors so I have tried update the 1.3.5 firmware again, still can't add L7.

junc
Posts: 13
Joined: Tue Aug 31, 2010 3:34 am

Re: Need help with Buffalo wzr-hp-g300nh

Post by junc »

Thanks guys! me...either i cant add L7 protocol...

Has anyone knows what exact bin file from gargoyle back to dd-wrt?

Cheers

Post Reply