Page 1 of 1

WZR-HP-G300NH - Gargoyle -> DD-WRT

Posted: Tue Mar 22, 2011 1:04 am
by DoesItMatter
Some people have asked about this so I tried it myself.

It involves a few steps and a few downloads.

Download #1 - OpenWRT 10.03.1-rc4

http://backfire.openwrt.org/10.03.1-rc4/ar71xx/

openwrt-ar71xx-wzr-hp-g300nh-squashfs-sysupgrade.bin

Get that image (its near the bottom)

Download #2 - Get one of the latest DD-WRT - MULTI images
for the WZR-HP-G300NH - and you have to hex-edit it.

https://forum.openwrt.org/viewtopic.php?id=26444

Information on how to edit the DD-WRT bin file so that you
remove the first 28 bytes and have these 4 bytes at the start:

27 05 19 56

---------------------------------------------------------------------

Once you have those 2 files downloaded - disconnect the
WAN cable from the router - just have a LAN hookup.

Open up the Gargoyle GUI - flash the OpenWRT 10.03.1-rc4
sysupgrade file - flash it and wait for about 5 mins

You may have to renew DHCP if you changed default settings.

After 5 mins - logon to 192.168.1.1 in a browser

Default logon is root - password is blank - login

Goto the Admin tab and choose to upgrade firmware, and now
choose the DD-WRT MULTI file that you hex-edited.

Once you upload it - it will come back with an MD5 checksum
and it will say its ready to flash - so hit ok/start and now
WAIT 10-15 minutes - LEAVE the router alone and do NOT close
the web browser - just leave the computer for 10 minutes.

After 10 minutes, close the browser and visually check the
WZR-HP-G300NH - you should see a different light pattern than
what showed under Gargoyle / OpenWRT - that's good!

Now - refresh DHCP if necessary and login via web page
to 192.168.1.1 - and you can set default user/password
for DD-WRT and start configuring - or from here, you can
flash back to the default buffalo firmware.

-----------------------------------------

viewtopic.php?f=8&t=792#p4034

Link to the other thread so that you can go from
DD-WRT -> Gargoyle / OpenWRT

Now you can go back/forth within about 20-30 minutes.

Re: WZR-HP-G300NH - Gargoyle -> DD-WRT

Posted: Tue Jul 19, 2011 3:55 pm
by DoesItMatter
Bumping the thread for visibility plus an update link:

http://backfire.openwrt.org/10.03.1-rc5/ar71xx/

Backfire RC5 is available now

Re: WZR-HP-G300NH - Gargoyle -> DD-WRT

Posted: Mon Aug 01, 2011 6:58 am
by bcmalloy
currently running a Buffalo WZR-HP-G300NH A2 A0
Firmware Version DD-WRT v24SP2-EU-US (08/19/10) std - build 14998
I just bought from the USA printed on the back it has "A2 A0" looks like new WZR-HP-G300NH are slightly different.

I have tried to install gargoyle to give it a try because it sounds awesome. when installed with tftp or the mtd method, it installs fine as does ddwrt and the official firmware unfortuantly the router will brick with no Ethernet ports registering. I can't get an ip out of it to telnet or SSH into it.

I have to tftp ddwrt or the official firmware to unbrick it wich is no problem, I tried Openwrt and same problem. So a heads up to anyone with a new WZR-HP-G300NH with A2 on the back it does not work yet.

Here's the output from dmesg | grep rtl_chip I think it's different on this updated model.

login as: root
DD-WRT v24-sp2 std (c) 2010 NewMedia-NET GmbH
Release: 08/19/10 (SVN revision: 14998)
root@192.168.1.2's password:
==========================================================

____ ___ __ ______ _____ ____ _ _
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ 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:~# dmesg | grep rtl_chip
<0>rtl_chip_type_select:RTL8366RB
<0>rtl_chip_type_select:RTL8366RB

Re: WZR-HP-G300NH - Gargoyle -> DD-WRT

Posted: Tue Dec 13, 2011 12:36 pm
by m0ckery13
Is this command done on a linux pc? on the router itself from openwrt? or can it be done in windows?

Use file wzr-hp-g300nh-dd-wrt-webupgrade-MULTI.bin, strip first 28 bytes
dd bs=1 skip-28 if=wzr-hp-g300nh-dd-wrt-webupgrade-MULTI.bin of=myfirmware.bin


I prefer Gargoyle but haven't used DD-wrt in a while and wanted to give it a whirl.

Thanks much!

Re: WZR-HP-G300NH - Gargoyle -> DD-WRT

Posted: Wed Aug 06, 2014 8:26 am
by Ysdadsdslo
Thank you for good communication.
dubli