DD-WRT Docu (IT)

From DD-WRT Wiki

Revision as of 12:33, 17 November 2005 by Maddler (Talk | contribs)
Jump to: navigation, search

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


Contents


TRADUZIONE IN CORSO!!!

La traduzione della documentazione in italiano e` ancora in corso, e` pertanto possibile che siano presenti imprecisioni o parti incomplete. Se vuoi puoi provvedere tu stesso alla modifica o inviare una mail a maddler@dd-wrt-it.net. Grazie per la collaborazione.

Collaborare alla traduzione

Nello spirito del Wiki e dell'Open Source chiunque puo` collaborare a questo lavoro (collettivo). Se vuoi unirti al gruppo, sarai il benvenuto!

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).

Funzionalita`

  • 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:

dd-wrt.v23_type.bin
dd-wrt.v23_type_wrt54g.bin
dd-wrt.v23_type_wrt54gs.bin
dd-wrt.v23_type_wrt54gsv4.bin
dd-wrt.v23_type_asus.trx

ovvero: una versione generica per periferiche non-Linksys WRT54, e rispettivamente le versioni per WRT54G, WRT54GS, WRTGSv4, Asus WL-500G Deluxe e Siemens SE505.

Ricorda che la v23 e` ancora nelle prime fasi di beta. Se desideri una versione "stabile" dovresti prendere in considerazione v22-R2. A meno che la versione del tuo router non sia la v4, in questo caso solo la versione v23 puo` essere utilizzata".

Cosa serve?

Prima di tutto, dovresti avere un computer. Quindi, una connessione ad internet gia` funzionante. La connessioen dovrebbe essere a banda larga (ADSL, cavo, o similare). Se queste condizioni sono soddisfatte puoi valutare l'acquisto di un router WRT54G/GS. {nota per la traduzione: aggiungere valutazione su versioni del router?}. Il router non dovrebbe essere difficile da acquistare online. A questo punto, puoi scaricare il firmware "libero" DD-WRT da www.dd-wrt.com e segui le istruzioni disponibili su #The right way to flash your WRT54G/GS per installare il firmware sul router.

La "giusta strada" per sparafleshare il tuo WRT54G/GS

E` vivamente consigliato che tutte le operazioni di Flashing vengano effettuate utilizzando una connessione vica cavo stabile.
Effettuare l'upgrade via wireless, che potrebbe essere meno stabile, potrebbe causare il brick* del router

{nota per la traduzione: trovare un equivalente per "bricking"? mattonare non suona benissimo}
Per i punti da 2 a 5 non sara` disponibile/necessaria la connessione ad Internet

1) Download firmware
- Scarica l'ultima versione del firmware da qua oppure vai alla home page del progetto http://www.dd-wrt.com/
- Estrai i file presenti nell'archivio

2) Accedi all'interfaccia web
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 192.168.1.1).
- 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) Effettua il reset delle impostazioni di "fabbrica"
In alternativa e` possibile tenere premuto il tasto di reset, sul retro del router, per 30 secondo. Questa operazione ripristinera` anche la password (user: admin / pass: admin).
- Clicca sulla categoria "Administration".
- Clicca sulla sottocategoria "Factory Defaults".
- Selezionare "Yes".
- Clicca sul bottone "Save Settings".
- Si aprira` una nuova pagina, cliccare su "continue".

4) Aggiornamento del Firmware
Non spegnere il computer, ne` chiudere il browser web e non spegnere il router durante l'operazione
- Clicca sulla categoria "Administration"
- Clicca sulla sottocategoria "Firmware Upgrade".
- Cliccare sul bottone "Sfoglia" (nota: il testo sul bottone potrebbe variare a seconda del browser) e selezionare il file.bin del firmware DD-WRT estratto nel passo 1.
- Il router potrebbe impiegare alcuni minuti per effettuare l'upload del file, flashare il firmware e quindi effettuare il reset.
- Una nuova pagina si aprira`, aspettare dai 2 ai 5 minuti prima di cliccare su "Continue".
- Se l'opreazione e` andata a buon fine vi troverete davanti l'interfaccia web di DD-WRT, i nome assegnato automaticamente al router sara` DD-WRT.

5) Effettuare il reset delle impostazioni di "fabbrica"
-Seguire i passi descritti al punto 3

6) Divertiti!
-E` vivamente consigliato abilitare l'opzione "Boot Wait" nella categoria "Administration". Tale opzione vi aiutera` in futuro in caso le operazioni di flash del firmware dovesse non andare a buon fine.

7) ?? Uh-oh ??
-Se il tuo router non dovesse ripartire (il LED di alimentazione continua a lampeggiare, impossibile accedere all'interfaccia web, ecc.) sara` necessario Recover from a Bad Flash.

Interfaccia web

Per informazioni relative all'interfaccia web, compresa una simulazione, vai alla pagina Web Interface.

Linux Inside

Attualmente, per DD-WRT v22, viene utilizzato il Kernel 2.4.20. Nelle versioni v23 beta viene invece attualmente utilizzato il Kernel 2.4.32-rc3 At this time kernel 2.4.20. is used (2.4.32-rc2 in latest v23 beta version).

Questo significa che e` possibile utilizzare programmi Linux non inclusi nella distribuzione ufficiale. E` inoltre possibile utilizzare script di shell in modalita` command line

Script di esempio

Per alcuni esempi di scripting guarda Script Examples

Different Configure-examples / Mods

Common Configuration Guides

Some tutorials to help you complete step 4 of your firmware flash ;)
Chillispot
Client Mode Wireless
DNSMasq_as_DHCP_server
Firewall
Firewall Builder
Using ipkg to install OpenWRT packages
IPv6
Kai Console Gaming
Port Forwarding
Quality of Service (QoS)
Samba Filesystem
Separate Lan and WLan
Setting up a Transparent Proxy Server using Squid
SNMP
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
NoCatSplash

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
OpenSwan
OpenVPN
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
SD-Card
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 LinksysInfo 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)