Guide DD-WRT-/Flashing Firmware/Static IP/Port Forwarding - This Guide uses Buffalo WHR-G54

Status
Not open for further replies.
A couple of things before we get started....

What is DD-WRT ?

DD-WRT is a third party developed firmware released under the terms of the GPL for many 802.11g wireless routers based on a Broadcom chip reference design. For a list of supported devices, please see the Supported Devices page.

The firmware is maintained by BrainSlayer and is hosted at dd-wrt.com. The first versions of DD-WRT were based on the Alchemy Firmware from Sveasoft Inc, which is in turn based on the original GPL'd Linksys firmware and a number of other open source projects. DD-WRT was created directly from Sveasoft's software decision to start charging for their firmware, closing the door to opensource.
The Disclaimer..... I do not and will not except any responsibility if you don't pay attention or otherwise manage to hose your router... so please read everything carefully and do not skim.

There is a reset button on Buffalo routers, please look in the manual or check the website at Buffalo Technology if you don't know how to use it.

This guide is using firmware version DD-WRT v24 RC-3 (09/13/07) std

This guide is using Buffalo WHR HP G54

The DD-WRT part of this tutorial should work on any router with the DD-WRT firmware installed, the Buffalo part of this guide is specifically for the Buffalo router. (The method to flash the firmware on other routers may be similar, but not exactly the same, so please check with your manufacturers support/manual before flashing any other router.)

Part One - Flashing the Firmware

There are a number of slightly different versions of DD-WRT for Broadcom chip based routers such as Buffalo, Linksys, Dlink and board based routers. You can check to see if your device is supported here. Please make sure you download the correct firmware version for your router. This tutorial assumes you have already located this information for yourself.

YOU MUST USE A WIRED CONNECTION TO FLASH YOUR FIRMWARE. After you have flashed your firmware you can make Admin changes over a wireless connection.

Open up your favorite web browser and navigate to "http://192.168.11.1"

Enter root as User name and leave the password blank.

(If this does not work, check your manual for the correct ip address and password)

Navigate to Admin Config > Firmware Update (See image below)

whrhpg54manualv17webpdfgv3.png


Click on the browse button and select the previously downloaded DD-WRT firmware file for your router.

Cick the Firmware Update button to update firmware.

Firmware Update may take several minutes to complete. Do not power down the router until Firmware Update is finished and the diag light on the front of the router has stopped blinking.

After you have installed DD-WRT you can access the firmware at the NEW ip address of "http://192.168.1.1"

Starting with DD-WRT v23 SP1, the default username is root and the default password is admin.

Congratulations, if all is well you should now be accessing your DD-WRT firmware.

Part Two - Static IP

Although you can setup a static ip from your OS Networking connection, this guide explains how to do this via DD-WRT firmware settings.

First you will need your MAC Address.

If you know the host name of the computer - Navigate here in DD-WRT

ddwrtmacaddik7.jpg


at the bottom of the page look for the Mac Address of the computer ip you are making static.

macadddp9.jpg


or in windows.... open up a DOS/CMD window and type

Code:
ipconfig /all
and look for this.

dosmachx6.jpg


Find the host name for your computer if you don't already know it. You can find it at the top of the ipconfig Information here.

hostzy8.jpg


When you know the Mac Address and Host Name - In DD-WRT navigate to this page

ddwrtservicesok6.jpg


Look for this section - DHCP Server - Static leases

dhcprp1.jpg


Click on Add

1. In the Mac Address - put in the Mac Address you located

2. Put in the Host name of your computer you loacted

3. Choose a static IP address here.

This address must be outside the range of your automatic DHCP address range, and must be different from any other network hardware device you may have, such as a modem or VOIP device.

To check your automatic DHCPrange in DD-WRT look here.

Navigate here

autoipsf0.jpg


Check automatic DHCP address range settings here

iprangekp6.jpg


If in this case the Start address is "192.168.1.100" and there are a maximum of 50 users - Then the automatic DHCP range is "192.168.1.100 to 192.168.1.149"

So an acceptable ip address choice is 192.168.1.(0-49) or 192.168.1.(150-255)

Here is an example of mine

ppstaticnc5.jpg


YOU MUST FILL OUT ALL THE INFORMATION, OR THIS WILL NOT WORK... IF YOU LOOSE ACCESS TO YOUR ROUTER JUST USE THE RESET BUTTON ON THE ROUTER TO SET TO DEFAULTS AND TRY AGAIN.

As you can see my ip address is now static. (You can find this info under Status>Lan)

statppif9.jpg


When finished Save and then apply.

Part Three - Port Forwarding



I will cover Port forwarding NOT Port Triggering in this section.

In many programs and Gaming, and especially in P2P programs, you need to open up the ports directly to the Internet. Since the internal/private ip address is hidden behind the router (public ip address) and inaccessible to anyone trying to connect from the internet, it is necessary to forward the incoming requests on a particular port, to the correct computer and the correct port.

This is done through Port Forwarding, and in it's simplicity it does exactly what it's name implies. It forwards a port request (WAN - Internet) to the appropriate ip address/computer and port (LAN - Internal), as designated by the settings you input.

This should be used in conjunction with a Static ip address so that you can always forward to the correct ip address.

Navigate to this page

portforeej1.jpg


Click on add

portsettjl8.jpg


1. Here you can name the app or Game you are using... anything you want is ok here.

2.This should be the port you have either been automatically assigned by your app/game/p2p program or the one you have setup yourself. Check the settings for your specific app/game/p2p program

You cannot use a random changing port number in your app or game, this must be consistently the same.

3. Protocol - you should set this to both.

4. Input the static ip address you setup earlier in the guide.

5. Duuhhhh :D

Lastly save then apply

I would also suggest that you make sure that UPnP is enabled, you can find the settings here.

upnpfg7.jpg


This allows applications to automatically setup port forwarding if they are able to utilize this feature, you need to have "both" selected under Protocol in step 3. of the Port Forwarding settings.

upnpsetmv0.jpg


When you have finished this guide in it's entirety, it wouldn't do any harm to reboot the router to make sure all settings are in place.

IF YOU LOOSE ACCESS TO YOUR ROUTER JUST USE THE RESET BUTTON ON THE ROUTER TO SET TO DEFAULTS AND TRY AGAIN.

Lastly DD-WRT has a great help section/Wiki/FAQ etc.... located here
 
  • Like
Reactions: 3 people
dd-wrt sucks, its way too buggy. get tomato -->> its way much better than dd-wrt crap.

Hmmmmm sounds like you may have had difficulties with this firmware... that's a shame :( I am sorry it did not work out for you.

It works great for me and many others though.... so if you are unhappy with it, you are free to start up a tomato thread :D but please refrain from unnecessary comments or at least be intelligent and constructive in your criticism....

Thanks :bleh:
 
Thank you QuadMaster, I would love to see some info posted. Perhaps some comparisons from someone that is familiar with both :)

I am not closed off to other firmware or ideas, I just don't appreciate someone hijacking a tutorial that I worked very hard on with.....

dd-wrt sucks, its way too buggy. get tomato.... -->> its way much better than dd-wrt crap.

... I feel this statement is lacking in constructive, intelligent criticism.

I would invite you to put up some information about Tomato (on a separate thread please) and share it with TE so that people like me can find out and judge for ourselves :)
 
You totally got me wrong my friend i never said that DDWRT is bad or something.

Really appreciate your hard work.

I even wanted to Rep you but the stupid rep system here wont allow me to.

Code:
You must spread some Reputation around before giving it to PiXeLpUsHeR again.
 
You totally got me wrong my friend i never said that DDWRT is bad or something.
Thanks... I really mean it....Sorry I was not clear, I did not think that you meant that at all :D your comment was very friendly ... the only comment I was unappreciative of was the one about how it sucks and is crap.... since at the very least, there was no information to back that statement up.
I was honestly hoping that you were a little more informed about Tomato and would share your thoughts about a comparison between the 2, it would make a great review.... hint hint ;D
 
why tomato is better
1.Slick interface
2.Better stability with the wireless link ( most firmwares keep loosing/fluctuating connection) , you will see this alot with dd-wrt
3.Runs better with all the addons
4.More informative - ceck out tomato to see what i mean
5.Ability to scan for networks from the router
6.Bandwidth graphs and logs (yes stored IN the router)
7.Ability to boost the wireless signals and shows u current value ;)
8.Performs better since its really lean, hardly any load on the router ,u can google n see this, router is more responsive and runs with hardly any heat
9.Ability to reboot/reset router from the interface itself YES
10.Advanced QoS/access restriction features

FTW

Infact heres a guide to do it on buffalo routers
http://www.techenclave.com/forums/flashing-buffalo-whr-g54-with-tomato-103901.html
 
why tomato is better
1.Slick interface
2.Better stability with the wireless link ( most firmwares keep loosing/fluctuating connection) , you will see this alot with dd-wrt
3.Runs better with all the addons
4.More informative - ceck out tomato to see what i mean
5.Ability to scan for networks from the router
6.Bandwidth graphs and logs (yes stored IN the router)
7.Ability to boost the wireless signals and shows u current value
8.Performs better since its really lean, hardly any load on the router ,u can google n see this, router is more responsive and runs with hardly any heat
9.Ability to reboot/reset router from the interface itself YES
10.Advanced QoS/access restriction features

Ok so I installed Tomato just to find out what was up... and this is what I have found out so far........

1.Slick interface
I think the interface of dd-wrt is a little better, but honestly I don't really care that much about the looks of either, as I am more interested in how the firmware operates my router.

2.Better stability with the wireless link (most firmwares keep loosing/fluctuating connection) , you will see this alot with dd-wrt
Honestly... I can't answer this one yet I will have to have Tomato installed a little longer to get a real feel for this. But, I have not really had stability issues with dd-wrt

3.Runs better with all the addons
I think you are talking about the language/dictionary addons for firefox... Would this not work for any web page in firefox including dd-wrt? Not sure about this, I will have to do more research.

4.More informative - check out tomato to see what i mean
I'm afraid I absolutely cannot agree on this one, I looked arounf the Tomato site, and they do not have nearly as much info in help/wiki/faq's as dd-wrt.... or tutorials for that matter. Also in dd-wrt they have contextual help built in to the firmware pages, and a pop-up help window too... by clicking on more under the contextual help on each page. While I admit it is still a little spotty, it is there.
5.Ability to scan for networks from the router
yeah..... you can do this on dd-wrt too... at least the version I am using :)

6.Bandwidth graphs and logs (yes stored IN the router)
dd-wrt .. bandwidth graph - yes
dd-wrt ..use wallwatcher for logs.. it's better anyway

7.Ability to boost the wireless signals and shows u current value
And yes... you can also do this on dd-wrt.......

8.Performs better since its really lean, hardly any load on the router ,u can google n see this, router is more responsive and runs with hardly any heat
Yes it is leaner, if by leaner you mean less choices and less ability to change a larger base of customizations. I think there are far more options to change the way you manage your router in dd-wrt. Responsive... I don't know yet about this one.... show me some figures and comparisons that will make a difference to the way one runs their network that will be enough to warrant switching over.

9.Ability to reboot/reset router from the interface itself YES
Yes in dd-wrt w.. wireless too

10.Advanced QoS/access restriction features

Also yes in dd-wrt ... more options too.

So while I admit that Tomato can do many of the same things dd-wrt can, I do not think it has the same in depth tweaks and customizations available in dd-wrt.
I agree Tomato is a little leaner, but it really depends on what your needs are.

As to if one is better overall performance, I cannot answer that yet, but I would guess that there is not a lot of difference...

Are you confused yet... I am ;)
Bottom line........ pick which ever works best for you. :D
 
PiXeLpUsHeR said:
Hmmmmm sounds like you may have had difficulties with this firmware... that's a shame :( I am sorry it did not work out for you.
It works great for me and many others though.... so if you are unhappy with it, you are free to start up a tomato thread :D but please refrain from unnecessary comments or at least be intelligent and constructive in your criticism....
Thanks :bleh:

Hey i dint mean to crap this thread, uv made a brilliant guide for the dd-wrt users. But i just posted my thoughts on dd-wrt because i have faced quite a lot of issues with dd-wrt. I had issues like the router use to reboot on its own and my wireless network connection was very unstable. The qos was b/s compared to tomato and it lacked the simple and easy interface that has been adopted by the author of the tomato firmware. Plus viewing your bandwidth in real time is a pleasure in tomato. And to say the least the main guy behind the dd-wrt project has become very money minded after the success of the dd-wrt project. So thats the reason tomato gets my vote over dd-wrt :)
 
Status
Not open for further replies.