DD-WRT Docu (IT)

From DD-WRT Wiki

Revision as of 17:36, 31 October 2005 by Maddler (Talk | contribs)
Jump to: navigation, search


Sei qua: Main Page/DD-WRT Docu (IT)


Descrizione del progetto

Lo scopo di questo wiki e` di creare una guida utente/manuale tecnico per il firmware DD-WRT.

Come ogni progetto di media-wiki, anche questo e` reso possibile dalla collaborazione all'interno della comunita`! Chiunque puo` scrivere, modificare e commentare gli articoli. Buon divertimento!

Cosa e` "DD-WRT"?

DD-WRT e` un firmware assolutamente libero per i router wireless Linksys WRT54G/GS che funzionano su una versione minimalista di Linux. Il firmare e` gestito da BrainSlayer su dd-wrt.com. La prima versione di DD-WRT era bastata su Firmware Alchemy di Sveasoft Inc, a sua volta basato sul progetto di firmware GPL oriinale di Linksys ed un buon numero di altri progetti open source. DD-WRT e` stato creato come diretta conseguenza della richiesta da parte di Sveasoft di pagare $20 per poter scaricare il proprio software. Le versioni piu` precenti di DD-WRT, attualmente la v23 e` in fase di beta, rappresentano un progetto completamente nuovo. DD-WRT offre svariate funzionalita` non presenti nel firmware originale Linksys, on nel firmware a pagamento di Sveasoft. Inoltre non utilizza codici di attivazione o tracciamento presenti nel firmware Sveasoft. Tra le altre funzionalita` non presenti nel firmware originale Linksys, DD-WRT aggounge il Kai Daemon per Kai Console Gaming network, WDS wireless bridging/repeating protocol, Autenticazione Radius per comunicazioni wireless piu` sicure, gestione avanzata del Quality of Service per l'allocazione dela banda, supporto software per l'utilizzo di SD-Card (modifica hardware).


  • Portale Hotspot (Chillispot)
  • Server PPTP VPN
  • 2-way Bandwidth Management (incl. P2P, VoIP, IM)
  • SSH Client e Server (dropbear)
  • Telnet
  • Script di Startup, Firewall e Shutdown
  • Modalita` WDS Repeater
  • Client Mode (supporta client multipli)
  • Modalita` Adhoc
  • ROuting OSPF
  • ROuting RIP2
  • Funzione Power Boost (potenza max 251mW)
  • Selezione Antenna
  • Gestione DHCP statico
  • DDNS
  • Clonazione Wireless MAC Addresses
  • VLAN
  • WPA over WDS
  • WPA/TKIP con AES
  • WPA2
  • Client Mode WPA
  • Client Isolation Mode
  • Gestione della banda QoS
  • Port Triggering
  • Port Forwarding (max. 30 record)
  • Wake-On-Lan
  • Syslog remoto
  • Statistiche Ntop remote
  • Xbox Kaid
  • SNMP.
  • Supporto IPv6
  • Stato dei client wireless e WDS con uptime e utilizzazione processore
  • Site Survey
  • Server NTP Remoto
  • 12 lingue
  • Style (GUI configurabile; v.23)
  • Supporto nuovi device (WRT54G V3, V3.1, V4 e WRT54GS V2.1, V3, V4), non e` supportato il WRT54G V5 poiche` usa un diverso sistema operativo ed ha una memoria ridotta.

Versioni disponibili per la v23

Con la v23 (Changelog)' 'il progetto e` stato suddiviso in:

Within each of these zip files are five versions:


which are a generic version for non-Linksys WRT54 devices, a WRT54G, WRT54GS, WRTGSv4, Asus WL-500G Deluxe and Siemens SE505 hardware respectively.

Please keep in mind that the v23 is an early beta at this time. If you want a "stable" Version of DD-WRT you should consider the v22-R2. Unless you are using a v4 router - only v23 runs on it.

What is Needed?

First, you should have a computer. Next, an internet connection should already be present, and the internet connection should be broadband (DSL, cable, or similar). If these conditions are met you should purchase a Linksys WRT54G/GS router. The router can be ordered directly from the internet (NewEgg, Amazon p.e.). Then, download the free DD-WRT firmware from http://www.dd-wrt.com follow the instructions under #The right way to flash your WRT54G/GS to install the firmware on your router.

The "Right Way" to Flash Your WRT54G/GS

Flashing the Firmware should be done with stable wired connection.
Flashing via wireless is inherently unstable and will likely brick your router.
You will not have/need internet access from steps 2 through 5

1) Download firmware
- Download the latest release or pre-release version HERE or go to the DD-WRT homepage at http://www.dd-wrt.com/
- Extract the archive

2) Access the Web Interface
Note for users not using the original linksys firmware: you cannot use tftp! Change your firmware to the official linksys firmware, and then continue below.
- From a PC connected to one of the 4 LAN ports on the router open a web browser and go to the IP of the router (default ip is
- You will be prompted for username and password (username is not required, default password is admin).
- Enter username and password and you should be at the Web Interface of your WRT54G/S
    if you forgot the username and password, proceed to step 3 alternate.

3) Reset to factory defaults
Alternatively, you can press and hold the reset button on the back of the router for 30 seconds. This will also clear your password.
- Click the "Administration" tab.
- Click the "Factory Defaults" sub-tab.
- Select "Yes".
- Click the "Save Settings" button.
- A new page will open, click "continue".

4) Upgrade Firmware
Do not turn off the computer, nor close the web browser, neither turn off the router during this process
- Click the "Administration" tab
- Click the "Firmware Upgrade" sub-tab.
- Click the "Browse" button and select the DD-WRT .bin file you extracted in step 1.
- The router will take a few minutes to upload the file, flash the firmware, and then reset.
- A new page will open, wait 2-5 minutes before clicking "Continue".
- If flashed successfully you will now be at the DD-WRT web interface and the Router Name will be DD-WRT.

5) Reset to factory defaults AGAIN
-Repeat step 3 above

6) Enjoy
-It is strongly advised that you enable the "Boot Wait" option under the "Administration" tab. This will help you recover in the future should you flash your router improperly.

7) ?? Uh-oh ??
-If your router fails to reboot (power light doesn't stop flashing, no web interface, etc) you will need to Recover from a Bad Flash.

The Web Interface

For information about the web interface, including a simulation, see the Web Interface page.

Linux Inside

At this time kernel 2.4.20. is used (2.4.32-rc1 in latest v23 beta version).

This means you can run additional linux programs on DD-WRT that are not included. It also means you can write your own shell scripts at the command line

Script Examples

For some examples of such scripts, see our Script Examples

Different Configure-examples / Mods

Common Configuration Guides

Some tutorials to help you complete step 4 of your firmware flash ;)
Client Mode Wireless
Firewall Builder
Using ipkg to install OpenWRT packages
Kai Console Gaming
Port Forwarding
Quality of Service (QoS)
Samba Filesystem
Separate Lan and WLan
Setting up a Transparent Proxy Server using Squid
SSH access from internet
Static DHCP
Telnet/SSH and the Command Line
Use WAN port as a normal switched port
VLan Configuration
WDS Linked router network
Wireless Bridge
Wake On Lan (WOL)
HotSpot HTTP Redirect

Common Additionally Installed Packages

More software not already in DD-WRT you might want to run on your WRT54G

Kismet Server/Drone -- using a windows box to display results
wrt54g kismet with linux server -- using a linux box to display results
Port Knocker daemon
Miau IRC Bouncer
Multi Router Traffic Grapher
No-IP.com Client
Bandwidth Log
iftop -- for ncurses-based monitoring of active connections and their bandwidth usage.

Hardware Mods

Hardware Mods are not necessarily DD-WRT specific or compatible.

Serial Port
Dual Serial Port
Temperature sensor for WRT54G 2.x and WRT54GS with DS1820

WRT54G/S Versions

The first 4 digits in the serial number (look on the box or the underside of the router) represent the hardware revision:

CDF0 = WRT54G v1.0
CDF1 = WRT54G v1.0
CDF2 = WRT54G v1.1
CDF3 = WRT54G v1.1
CDF5 = WRT54G v2.0
CDF7 = WRT54G v2.2
CDF8 = WRT54G v3.0
CDF9 = WRT54G v3.1
CDFA = WRT54G v4.0
CDFB = WRT54G v5.0

CGN0 = WRT54GS v1.0
CGN1 = WRT54GS v1.0
CGN2 = WRT54GS v1.1
CGN3 = WRT54GS v2.0
CGN4 = WRT54GS v2.1
CGN5 = WRT54GS v3.0
CGN6 = WRT54GS v4.0

See more information on the Linksys Info Autopsy page.

DD-WRT supports all versions of the WRT54G and WRT54GS hardware except for the WRT54G v5. This new router has limited ram (2/8) and runs on VxWorks and not Linux. DD-WRT does not currently support the WRT-54GX, Linksys's MiMo version router. DD-WRT is also reported to work on the WAP54G, but your mileage may vary.

WARNING: v22 isnt compatible to v4 routers. they are really different. only v23 runs onto it. You would otherwise have to 'un-brick' your router (pin 15-16 method) NOTE: Additionally the stock firmware from Linksys on the WRT54G v4 won't accept a firmware image over 3MB in size (you will get the error: "Upgrade are failed!" if you try) so you will need to flash the mini version of DD-WRT onto the router BEFORE flashing the std or voip versions. (Remember to hold reset button for 30 sec after flashing mini version.)

Feature Requests

The best way to request features is to go to the forum and post your request. The main developer (BrainSlayer) does read the forums and generally responds to requests.

Someone started a wiki page for feature requests, though, so if you'd like to try posting your request there go ahead. I wouldn't expect a response, however. I'm not sure Brainslayer reads the English side of the Wiki...:
Feature Request

I would like to help!

Very simple: Click the "edit" links, edit, save and rejoice ;)

Some Notes:

  • When editing, there is a Summary Box. Fill in a summary of the edit you are making.
  • There is also an edit tab at the top of the page to edit an entire page.
  • If you create a new page, or start work on a previously blank page, be sure to add that page to the English Index list of pages.
  • Try to place the "You are here" code at the bottom of every page. You can look at the footer of this page as an example.

Site Index

An Alphabetical Ordered Index of all DD-WRT Docu (EN) pages.

You are here: Main Page/DD-WRT Docu (EN)