ERROR OCURRED

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, March 21, 2011

Installing OpenWRT on WZR-HP-G300NH with DD-WRT

Posted on 11:51 PM by Unknown
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
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • No package 'lua5.1' found
    hecking for LUA51... no checking for LUA51... configure: error: Package requirements (lua5.1 >= 5.1) were not met: No package 'lua5.1...
  • X connection to localhost:10.0 broken (explicit kill or server shutdown).
    Solution:- With Xhost, you can solve this issue.
  • How to uninstall VMware Player on Fedora 19
    [root@localhost Downloads]# vmware-installer -u vmware-player All configuration information is about to be removed. Do you wish to keep your...
  • How to Add swap file in LInux
    In my exapmle i increase 512mb RAM and create 1 gb swap space for it. Not use another hdd. But i strongly recommend alwayz use HDD. create ...
  • yum setup on Redhat
    yum setup on Redhat Situation :- i insatlled Redhat 5.5, 64bit then try to install virtulization,KVM but lots of depencies error. Solution ...
  • Diffrence between Linux and Fedora
    What is Linux. Linux is the core or kernal of a free operating systems. What is Fedora Fedora is an operating systems based on the Linux ker...
  • named[3349]: the working directory is not writable
    While tail to message shows me this error.. Jan 25 16:03:44 um1udns1 named[3349]: listening on IPv4 interface lo, 127.0.0.1#53 Jan 25 16:03:...
  • Asterisk Installation on CentOS
    kindly make sure System is Fully updated. #yum update   After update reboot the machine For 64bit follow this tweak. #yum remove *.i386 #yum...
  • How to create Bridge in Linux
    In my example i am using, CentOS 6.3 64bit. Use following steps to create Bridge. Make Susre Bridge PKG is installed. # rpm -qa | grep bridg...
  • How to view content of RPM package
    Example :- Use following command to view  rpm Content of NTOP PKG [root@rk downloads]# rpm -qlp ntop5-5.0.2-2.el6.x86_64.rpm /etc/ntop /etc/...

Categories

  • Adobe
  • Players
  • Reviews
  • Windows

Blog Archive

  • ►  2013 (27)
    • ►  October (3)
    • ►  August (1)
    • ►  June (1)
    • ►  April (3)
    • ►  February (10)
    • ►  January (9)
  • ►  2012 (29)
    • ►  December (2)
    • ►  November (7)
    • ►  October (10)
    • ►  September (4)
    • ►  August (1)
    • ►  June (2)
    • ►  April (1)
    • ►  March (1)
    • ►  January (1)
  • ▼  2011 (36)
    • ►  December (3)
    • ►  November (3)
    • ►  October (1)
    • ►  September (5)
    • ►  August (4)
    • ►  May (2)
    • ►  April (4)
    • ▼  March (5)
      • DNS setup in Redhat 5.5 64bit when i try to resol...
      • RPM uninstall problem in RedHat
      • Local yum repository setup under Redhat 5.5
      • Installing OpenWRT on WZR-HP-G300NH with DD-WRT
      • Download Winamp best skins collection, Winamp tut...
    • ►  February (2)
    • ►  January (7)
  • ►  2010 (24)
    • ►  December (1)
    • ►  November (1)
    • ►  October (4)
    • ►  August (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (2)
    • ►  February (5)
    • ►  January (8)
  • ►  2009 (18)
    • ►  December (6)
    • ►  November (3)
    • ►  August (1)
    • ►  July (2)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2008 (16)
    • ►  December (1)
    • ►  October (1)
    • ►  August (1)
    • ►  July (5)
    • ►  April (2)
    • ►  February (1)
    • ►  January (5)
  • ►  2007 (4)
    • ►  July (3)
    • ►  June (1)
Powered by Blogger.

About Me

Unknown
View my complete profile