Page 1 of 1

Flashing Buffalo WZR-HP-G300NH

Posted: Sat Feb 26, 2011 4:40 am
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 :( :( :(

Re: Flashing Buffalo WZR-HP-G300NH

Posted: Sat Feb 26, 2011 4:23 pm
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!

Re: Flashing Buffalo WZR-HP-G300NH

Posted: Sun Feb 27, 2011 4:32 am
by mkc2lr
For DD-WRT you have to use "root" as login if you don't log in at the web GUI.

Re: Flashing Buffalo WZR-HP-G300NH

Posted: Wed Mar 23, 2011 4:59 am
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

Re: Flashing Buffalo WZR-HP-G300NH

Posted: Wed Mar 23, 2011 6:18 am
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

Re: Flashing Buffalo WZR-HP-G300NH

Posted: Thu Mar 24, 2011 5:15 am
by ducky
Thanks Ian for your clear instructions. I'll give it a go this weekend :D

Re: Flashing Buffalo WZR-HP-G300NH

Posted: Fri Mar 25, 2011 7:24 am
by ducky
Have successfully installed Gargoyle in my WZR-HP-G300NH. Everything is working except Security LED and wireless LED not lighting up. :)

Re: Flashing Buffalo WZR-HP-G300NH

Posted: Fri Mar 25, 2011 1:08 pm
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.

Re: Flashing Buffalo WZR-HP-G300NH

Posted: Fri Mar 25, 2011 11:27 pm
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. :)

Re: Flashing Buffalo WZR-HP-G300NH

Posted: Mon Apr 18, 2011 7:46 pm
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.