Flashing Buffalo WZR-HP-G300NH

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

Moderator: Moderators

Post Reply
tauki63
Posts: 21
Joined: Fri Jan 28, 2011 11:24 am

Flashing Buffalo WZR-HP-G300NH

Post by tauki63 »

Hi, I dont know how to SSH to this router.
I tried putty with settings Host-192.168.1.1 port 22.
The router is currently on dd wrt
when I finally be able to ssh, it appears as below

"login as:"
what should i enter here?

i tried "admin" which the router's username. then it appears :

"admin@192.168.1.1's password:"
here I cannot type anything.
I just tried entering the routers password eventhough nothing appears and this happens :(

"access denied"

please help me. I think i am stuck at a very easy point :( :( :(

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

Re: Flashing Buffalo WZR-HP-G300NH

Post by DoesItMatter »

If you setup DD-WRT on that router, it should be the user and
password that you setup when you first configured the router.

Just enter the Username and Password you entered right at the
start after flashing DD-WRT to the router.

If you cannot remember what it was - you will have to reset it
or re-flash DD-WRT and then re-configure again.

Don't forget the User/Password combo you entered in!
: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

mkc2lr
Posts: 11
Joined: Thu Feb 24, 2011 3:17 pm

Re: Flashing Buffalo WZR-HP-G300NH

Post by mkc2lr »

For DD-WRT you have to use "root" as login if you don't log in at the web GUI.

ducky
Posts: 6
Joined: Mon Oct 11, 2010 5:14 am
Location: New Zealand

Re: Flashing Buffalo WZR-HP-G300NH

Post by ducky »

Hi, I have just managed to install dd-wrt on my WZR-HP-G300NH. Where can I find instructions on how to install gargoyle from there? Any help is appreciated.

Thanks
Buffalo WZR-HP-G300NH = Gargoyle 1.3.12
ASUS WL-520GU = Tomato 1.27.8745 ND USB Ext

1an
Posts: 41
Joined: Wed Aug 11, 2010 7:18 am
Location: Australia

Re: Flashing Buffalo WZR-HP-G300NH

Post by 1an »

dd-wrt --> gargoyle see here credit to Gingernut
just need to change the part after wget to current (1.3.12) firmware

http://www.gargoyle-router.com/download ... pgrade.bin

gargoyle --> stock firmware see thread here credit DoesItMatter

some background reading on WZR-HP-G300NH with OpenWRT on which Gargoyle is based, see here

Ian
Buffalo WZR-HP-G300NH = Gargoyle 1.5.3
Linksys WRT54GL v1.2 = Gargoyle 1.3.13
SMC Barricade SMC2804WBRP-G = SMC firmware v2.08

ducky
Posts: 6
Joined: Mon Oct 11, 2010 5:14 am
Location: New Zealand

Re: Flashing Buffalo WZR-HP-G300NH

Post by ducky »

Thanks Ian for your clear instructions. I'll give it a go this weekend :D
Buffalo WZR-HP-G300NH = Gargoyle 1.3.12
ASUS WL-520GU = Tomato 1.27.8745 ND USB Ext

ducky
Posts: 6
Joined: Mon Oct 11, 2010 5:14 am
Location: New Zealand

Re: Flashing Buffalo WZR-HP-G300NH

Post by ducky »

Have successfully installed Gargoyle in my WZR-HP-G300NH. Everything is working except Security LED and wireless LED not lighting up. :)
Buffalo WZR-HP-G300NH = Gargoyle 1.3.12
ASUS WL-520GU = Tomato 1.27.8745 ND USB Ext

Trailblazer
Posts: 113
Joined: Wed Mar 09, 2011 3:12 am

Re: Flashing Buffalo WZR-HP-G300NH

Post by Trailblazer »

ducky wrote:Have successfully installed Gargoyle in my WZR-HP-G300NH. Everything is working except Security LED and wireless LED not lighting up. :)
Same thing on mine. My understanding is that those have to be programmed in the firmware, just like the buttons (reset, usb eject, etc...). I really don't care about the lights, myself.
Netgear WNDR3700V2 Gargoyle 1.10.0
TP-LINK Archer C7 v4 Gargoyle 1.12

ducky
Posts: 6
Joined: Mon Oct 11, 2010 5:14 am
Location: New Zealand

Re: Flashing Buffalo WZR-HP-G300NH

Post by ducky »

Actually, I'm very surprised how easy to flash this. I already have DD-WRT running on my Buffalo WZR-HP-G300NH and below is what I did.

- I downloaded http://www.gargoyle-router.com/download ... pgrade.bin and saved it on my PC.

- I used http://winscp.net/eng/download.php#download2 to connect to the router and just copy the bin file using binary transfer mode to /tmp folder on the router.

- Then I connect to router using putty (http://www.chiark.greenend.org.uk/~sgta ... nload.html) and navigate to /tmp folder on router and typed in the following command and that's it.

mtd -r write gargoyle_1.3.12-ar71xx-wzr-hp-g300nh-squashfs-sysupgrade.bin linux

This method suits for those who want to do it offline like I did. Just be aware that after reboot with gargoyle, the new IP will be 192.168.1.1 so if you fixed your PC with 192.168.11.x then you'll need to obtain new IP automatically to be able to connect to the router. :)
Buffalo WZR-HP-G300NH = Gargoyle 1.3.12
ASUS WL-520GU = Tomato 1.27.8745 ND USB Ext

r0ck
Posts: 9
Joined: Wed Nov 17, 2010 9:57 pm

Re: Flashing Buffalo WZR-HP-G300NH

Post by r0ck »

To get the lights working, you will need to edit a file. This is slightly involved but in no way too difficult. I'm assuming minimal experience doing this through the router's command line, so I'll be thorough in my explanation. Forgive me if this is too "dumbed down."

You will be adding a section to the /etc/config/system file. I find the editor Nano to be fairly easy to use. However, it is not installed by default. This tutorial includes the installation of Nano.

1. SSH to router and log in. ie. ssh root@192.168.1.1
Username will be root. Password is whatever you set. Password is typed blind from command line.

2. Enter following commands:
opkg update
opkg install nano
cd /etc/config
nano system


3. You have now opened the /etc/config/system file in Nano. Add the following to the bottom of this file:

config 'led'
option 'sysfs' 'wzr-hp-g300nh:orange:security'
option 'name' 'Security'
option 'trigger' 'netdev'
option 'dev' 'wlan0'
option 'mode' 'link'

config 'led'
option 'name' 'Wireless'
option 'sysfs' 'wzr-hp-g300nh:green:wireless'
option 'trigger' 'netdev'
option 'dev' 'mon.wlan0'
option 'mode' 'link tx rx'

config 'led'
option 'name' 'Router'
option 'sysfs' 'wzr-hp-g300nh:green:router'
option 'trigger' 'netdev'
option 'dev' 'eth0'
option 'mode' 'link tx rx'

4. Press Ctrl+o (this saves the file)
Press enter (confirming the filename)
Press Ctrl+x (exits nano)

5. Exit from ssh session.

6. Reboot router.

Hope this helps.

Post Reply