Post: {TUT} How To Flash Your Router With A Linux Based Custom Firmware
07-21-2011, 10:10 PM #1
(adsbygoogle = window.adsbygoogle || []).push({});
This is just a TUT on how to flash your ordinary router with a Linux based custom firmware. DD-WRT is the name of the firmware incase you want to do any research. DD-WRT is a Magglass1 Linux based alternative OpenSource firmware suitable for a great variety of WLAN routers and embedded systems. I will also be telling you how to install, configure, and setup a wifi repeater using the custom firmware. You can use all the extra setting the custom firmware comes with to boost your Wifi range, Download speed, Bandwith, and anything to do with your network. So lets get started!!!

Enzo

NOTE: I will keep this thread updated with more DD-WRT firmware Tuts'

What You Need

Ethernet cable & computer with Ethernet port

Router


What is DD-WRT?

DD-WRT is a Linux based alternative OpenSource firmware suitable for a great variety of WLAN routers and embedded systems. The main emphasis lies on providing the easiest possible handling while at the same time supporting a great number of functionalities within the framework of the respective hardware platform used.

How to tell if your router is compatible?

Get the model number off the label on the back of the router, and write down the MAC address. Type the first few characters of your model number into DD-WRT's router database(Link Below), and look for your model to pop up. If you get any kind of green "Yes" listed with your model, you're in the clear—even the most pared-down DD-WRT build, micro, supports the repeater function.

Router Firmware Database- You must login or register to view this content.

More info on router compatibility here- You must login or register to view this content.

Firmware Official Website- You must login or register to view this content.

How to get the firmware?

In that same router database, click on the line that relates to your router model, then grab all the files listed there. You may not end up using all of them, but once you've taken your router offline, even if it's not your main router, you'll want to have all your files available offline.

Print-out of your instructions: There's a good chance, if you've got a fairly popular router, that you'll have access to specific router model instructions on the DD-WRT wiki. You'll usually see a link on the same page as your firmware files; if not, go ahead and search the wiki. If you don't have a printer, or hate wasting paper, use a print-to-PDF tool like doPDF or the Nitro PDF Reader for Windows, or the built-in PDF functions in Mac or Linux.


{TUT} How to flash the firmware



How to install the custom firmware


Do a hard (30/30/30) reset on your router:

A "hard" reset, or a "30/30/30," means locating the reset notch on the back of your router, then inserting a pen and holding it there for a total of 90 seconds—30 seconds at first with the power on, then yank the power cord and wait another 30, then plug the power cord back in and wait 30 seconds, all while still holding the pen. It seems a bit excessive but its just to make sure the chips are fully reset

Set a static IP address on your computer:

Most DD-WRT guides want you to set your computer's IP address, the one it draws from your router, to 192.168.1.7, and set a subnet mask to 255.255.255.0. How do you do this in your computer, without the router being accessible?

Turn Your Old Router into a Range-Boosting Wi-Fi RepeaterHead to Windows' Network and Sharing Center, usually by right-clicking on your network connection icon in the system tray, or heading there through the Control Panel. In the left-hand panel, click "Change adapter settings," then right-click on your "Local Area Connection" offering and select Properties. Under the Network tab, select the "Internet Protocol Version 4 (TCP/IPv4)" and hit the Properties button. Now in the General tab, change the first radio switch button to "Use the following IP address:", then enter 192.168.1.7 in the IP Address field, and 255.255.255.0 should fill itself in under "Subnet mask." Make sure you've got the IP entered correctly—Windows can skip the "7" part if there's only a single digit in the third section—and hit OK when you're done.

Firmware Installation

Now you're going to pull off one of those "hard," or 30/30/30 power cycles—hold down reset for 30 seconds plugged in, 30 unplugged, then 30 seconds again plugged in. When you're done, wait a few seconds, open your browser (making sure your computer's still connected by cable), point it to You must login or register to view this content., and you should get a prompt for a username and password. The default for my router in this mode is "root/admin"—yours can likely be found at RouterPasswords.com, or in your own DD-WRT instructions. After entering that combo, you should see the default router screen.

In most cases, you're next going to head to the Administration section, then click the Firmware Upgrade sub-section. It's usually a simple affair: a Browse button to find the file you want to upload, and an OK/Apply button to set it in motion. From here on out, unless you have my same exact router, you'll possibly have a different set of one or two files to upload, in a very particular order—follow your own DD-WRT customized instructions. you should get a custom set of instructions with your firmware download In general, though, you'll be doing a procedure along these lines:

Get Your Custom Set Of Firmware Instructions Here- You must login or register to view this content.


  • Uploading a "prep" file that gets your router ready for a new firmware.
  • Waiting a solid five minutes—no cheating.
  • "Power cycle" the router (a simple unplug, 30-second wait, then re-plug).
  • Re-connect to 192.168.1.1, see the "Management Mode" window, then upload your (possibly customized) specific DD-WRT image and hit Apply.


After seeing this nice little "Upgrade Success" message, wait another full, honest five minutes.
You must login or register to view this content.

After a successfull installation you need to

Open a TFTP program, usually provided among your DD-WRT files, and point it at 192.168.1.1 (your router). Select your specific DD-WRT firmware (a micro build, in my case), then set the retries to 99—But! Before hitting "Upgrade," power cycle your router, wait a few seconds after re-powering, then go for it. When your TFTP app has a green light and success message, wait another full five minutes, then come on back.
Undo the static IP setup you put in place on your computer from the Network and Sharing settings. Unplug and re-plug your cable, then open a browser. If you can connect to 192.168.1.1 on your computer browser and see a setup page for DD-WRT, do a (final) 30/30/30 "hard" reset on your router, then check that you still see the DD-WRT setup. If so, you're all set up!

now when you log into your router's controll pannel it should look something like mine
You must login or register to view this content.


{Bonus TUT} Setting up the Wifi-repeater



With your computer still hooked up to the router, head into the DD-WRT setup screen. It will ask you to set a better password and username at first, so go ahead and do that—you'll probably want to set up the same admin/password as your primary router to avoid confusion.

You must login or register to view this content.

First up, click on the Wireless tab, then choose Basic Settings. Switch "Wireless Mode" to "Repeater," and the "Wireless Network Name" to the same as the main router you're going to be re-broadcasting. Don't worry about the bridged/unbridged radio buttons—they'll set themselves later. Hit the "Save" button at the very bottom, but do not hit "Apply Settings" just yet.

In the "Virtual Interfaces" section, below that main "Wireless Physical Interfaces" section you just modified, hit the "Add" button, then enter a new name for your repeater—don't use the same as your router, or else suffer the wrath of confused devices. Adding "Repeater" or "2" to the end of your main router's name is pretty sensible in most cases. If you prefer an access point that doesn't broadcast its name, save that for switching off later—while we're testing our repeater, we'll be using basic settings to make sure the connection goes through. Hit the "Save" button at the bottom again.

You must login or register to view this content.

With the main Wireless tab still selected, head to the "Wireless Security" sub-tab to the right. You'll see two interfaces again—a "Physical Interface" and a "Virtual Interface." In the "Physical Interface" section at the top, fill in the same exact security settings as your primary router—the security mode, the algorithm (TKIP or AES, generally), and the password any device would use to connect. You might need to jump back into your primary router settings to confirm these—that's fine, but do so from another device. Under the "Virtual Interface" section, set up the same exact security settings as your primary router, again. Hit the "Save" key at very bottom again and, again, avoid "Apply Settings" for the moment.

You must login or register to view this content.

Jump over to the Setup tab at the very top, then scroll down to the Network Setup section under Basic Setup. The main thing to do here is slightly alter the "Local IP Address" from what your primary router is. If you connect to your main router at 192.168.1.1, for example, set this repeater router to something like 192.168.2.1, or another number that you can remember in the second-to-last position. Hit (you guessed it!) Save.

Finally, head to the Security tab up top, and in the Firewall section, disable the "SPI Firewall," and un-check everything under the "Block WAN Requests," except "Filter Multicast." Hit "Save" at the bottom one last time. Finally, head over to Administration, double-check that you've got your administrator password written down or remembered, and hit "Apply Settings" at the very bottom. Your router will reset itself now, so give it time to do so.

You must login or register to view this content.

Unplug your computer's Ethernet cable, turn on a wireless device, and see if you can find your new repeater bridge. Connect to it, use the same password you'd use for the main router, and you should have success. If not, run through the steps and double-check your settings.
[/FONT]
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to PS3 Prodigy for this useful post:

Implicit, xRafiq-
07-21-2011, 10:39 PM #2
What exactly does it do? (Wifi repeaters)?
07-21-2011, 10:43 PM #3
Originally posted by iPWNINu View Post
What exactly does it do? (Wifi repeaters)?

The wireless repeater lets you boost your routers signal to get alot better Wifi connection but thats just one of the many features the CFW has.
07-21-2011, 10:51 PM #4
Originally posted by PS3
The wireless repeater lets you boost your routers signal to get alot better Wifi connection but thats just one of the many features the CFW has.


Oh, cool, I'll definatly look into this later Happy
07-21-2011, 10:52 PM #5
Originally posted by iPWNINu View Post
Oh, cool, I'll definatly look into this later Happy

Cool let me know how it turns out.
07-21-2011, 11:02 PM #6
Originally posted by PS3
Cool let me know how it turns out.


Alright.
Yeah, cause my router barely has any signal, and i'm inside me house xD
07-21-2011, 11:05 PM #7
Originally posted by iPWNINu View Post
Alright.
Yeah, cause my router barely has any signal, and i'm inside me house xD

Definitely try this then it will make your router better.
07-22-2011, 11:52 PM #8
Originally posted by PS3
Definitely try this then it will make your router better.


Hell yeah!
Now i just have to check if my router is compatible.
07-23-2011, 11:37 AM #9
works great man, just did it, and we got a 900MB/S download speed.

this firmware is great man =D

The following user thanked xEMINEMx for this useful post:

PS3 Prodigy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo