After many tries with tftp ..finally decided with DD-WRT.
So here are the steps which i follow.
Go this this link and download new firware specifically for this router &can be flashed from the GUI
http://dd-wrt.com/site/support/router-database
and download buffalo_to_ddwrt_webflash-MULTI.bin approx size 13MB
After that open firefox to launch 192.168.11.1 web based Interface (default ip address for Buffalo WZR-HP-G300NH) to update firware.
default login root without any password.
After that go under Setup here you can see update firmware option upload here the download firware and apply..it takes 5-10 min to finish upload.
Now change your system ip 192.168.11.** to 192.168.1.** , after that you must able to reach 192.168.1.1
Now open GUI interfacae with 192.168.1.1 and set root password here and enable telnet Session.
Once telnet session open, go to command prompt and telent 192.168.1.1 like this
[raman@inf1sysadm1 ~]$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
DD-WRT v24-sp2 std (c) 2010 NewMedia-NET GmbH
Release: 08/07/10 (SVN revision: 14896)
DD-WRT login: root
Password:
==========================================================
____ ___ __ ______ _____ ____ _ _
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _|
|___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_|
DD-WRT v24-sp2
http://www.dd-wrt.com
==========================================================
BusyBox v1.13.4 (2010-08-07 02:52:32 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
root@DD-WRT:~#
After that make sure Internet working on your router, enable WAN setting.
root@DD-WRT:~# ping yahoo.com
PING yahoo.com (69.147.125.65): 56 data bytes
64 bytes from 69.147.125.65: seq=0 ttl=45 time=274.427 ms
Now change dir to tmp and download new firmware
root@DD-WRT:/tmp# wget http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/
openwrt-ar71xx-wzr-hp-g300nh-jffs2-tftp.bin
Connecting to downloads.openwrt.org (78.24.191.177:80)
openwrt-ar71xx-wzr-h 100% |*******************************| 4736k 00:00:00 ETA
root@DD-WRT:/tmp#
After that run below command, to convert ***.bin to .trx to use with mtd.
root@DD-WRT:/tmp# dd if=/tmp/openwrt-ar71xx-wzr-hp-g300nh-jffs2-tftp.bin of=firmware.trx bs=32 skip=1
151552+0 records in
151552+0 records out
Run mtd utility to writes the given file to flash.
root@DD-WRT:/tmp# mtd -r write firmware.trx linux
Unlocking linux ...
Writing from firmware.trx to linux ... [w]
Connection closed by foreign host.
Then wait for router reboot it takes 5-10 min .once done you able to browse new interface with 192.168.1.1
Imp :-
[raman@inf1sysadm1 ~]$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
here use passwd command to set new password after that telent disable and ssh enable.
After that ssh to router
[raman@inf1sysadm1 ~]$ ssh 192.168.1.1 -l root
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
RSA key fingerprint is c2:7f:d8:06:91:df:6b:19:4b:4b:07:75:97:0d:4f:42.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts.
root@192.168.1.1's password:
root@OpenWrt:/etc/config#
Some command which run
root@OpenWrt:/tmp/opkg-lists# opkg update
root@OpenWrt:/tmp/opkg-lists# opkg install openswan
you can use web interface as well 192.168.1.1
useful link:-
http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h#problem.with.japanese.version.locked.u-boot
http://dd-wrt.com/wiki/index.php/Buffalo_WZR-HP-G300NH
Monday, March 21, 2011
Installing OpenWRT on WZR-HP-G300NH with DD-WRT
Posted on 11:51 PM by Unknown
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment