diff --git a/LDP/howto/docbook/HOWTO-INDEX/appsSect.sgml b/LDP/howto/docbook/HOWTO-INDEX/appsSect.sgml index 1264fd0c..916aa7e7 100644 --- a/LDP/howto/docbook/HOWTO-INDEX/appsSect.sgml +++ b/LDP/howto/docbook/HOWTO-INDEX/appsSect.sgml @@ -268,7 +268,7 @@ on an Intel Linux system. Sat-HOWTO, Sat (Satellite Technology) HOWTO -Updated: November 2001. +Updated: December 2001. Investigates "State of Art" Sat connections in a Linux environment; how to get them faster and how to share them with many clients. @@ -349,7 +349,7 @@ A guide to very quickly setup Vim color editor on Linux or Unix systems. VoIP-HOWTO, VoIP Howto -Updated: November 2001. +Updated: December 2001. Voice Over IP is a new communication means that let you telephone with Internet at almost null cost. This document covers how this is done. @@ -543,7 +543,7 @@ Mail-Queue, Linux Mail-Queue mini-HOWTO -Updated: September 1997. +Updated: December 2001. Configuration changes necessary to make sendmail deliver local mail now; while stashing remote mail in the queue until "I Say So". diff --git a/LDP/howto/docbook/HOWTO-INDEX/howtoChap.sgml b/LDP/howto/docbook/HOWTO-INDEX/howtoChap.sgml index 1ac431c2..1565251b 100644 --- a/LDP/howto/docbook/HOWTO-INDEX/howtoChap.sgml +++ b/LDP/howto/docbook/HOWTO-INDEX/howtoChap.sgml @@ -2042,7 +2042,7 @@ Unix operating systems. Sat-HOWTO, Sat (Satellite Technology) HOWTO -Updated: November 2001. +Updated: December 2001. Investigates "State of Art" Sat connections in a Linux environment; how to get them faster and how to share them with many clients. @@ -2641,7 +2641,7 @@ switch to Linux. VoIP-HOWTO, VoIP Howto -Updated: November 2001. +Updated: December 2001. Voice Over IP is a new communication means that let you telephone with Internet at almost null cost. This document covers how this is done. @@ -2722,7 +2722,7 @@ Helps users get a Winmodem working under Linux. Wireless-HOWTO, Wireless HOWTO for Linux Systems -Updated: November 2001. +Updated: December 2001. Document explains how to setup Wireless in Linux, compatibility problems, something about geographic requirements and more. diff --git a/LDP/howto/docbook/HOWTO-INDEX/hwSect.sgml b/LDP/howto/docbook/HOWTO-INDEX/hwSect.sgml index 81776b12..54ecaf71 100644 --- a/LDP/howto/docbook/HOWTO-INDEX/hwSect.sgml +++ b/LDP/howto/docbook/HOWTO-INDEX/hwSect.sgml @@ -1119,7 +1119,7 @@ a Linux box. Wireless-HOWTO, Wireless HOWTO for Linux Systems -Updated: November 2001. +Updated: December 2001. Document explains how to setup Wireless in Linux, compatibility problems, something about geographic requirements and more. diff --git a/LDP/howto/docbook/HOWTO-INDEX/miniChap.sgml b/LDP/howto/docbook/HOWTO-INDEX/miniChap.sgml index 6904dcb9..ec009ed4 100644 --- a/LDP/howto/docbook/HOWTO-INDEX/miniChap.sgml +++ b/LDP/howto/docbook/HOWTO-INDEX/miniChap.sgml @@ -876,7 +876,7 @@ Mail-Queue, Linux Mail-Queue mini-HOWTO -Updated: September 1997. +Updated: December 2001. Configuration changes necessary to make sendmail deliver local mail now; while stashing remote mail in the queue until "I Say So". diff --git a/LDP/howto/docbook/HOWTO-INDEX/networkingSect.sgml b/LDP/howto/docbook/HOWTO-INDEX/networkingSect.sgml index 94a3f795..3466f4be 100644 --- a/LDP/howto/docbook/HOWTO-INDEX/networkingSect.sgml +++ b/LDP/howto/docbook/HOWTO-INDEX/networkingSect.sgml @@ -480,7 +480,7 @@ using Samba. Wireless-HOWTO, Wireless HOWTO for Linux Systems -Updated: November 2001. +Updated: December 2001. Document explains how to setup Wireless in Linux, compatibility problems, something about geographic requirements and more. @@ -931,7 +931,7 @@ deploy a secure server. Sat-HOWTO, Sat (Satellite Technology) HOWTO -Updated: November 2001. +Updated: December 2001. Investigates "State of Art" Sat connections in a Linux environment; how to get them faster and how to share them with many clients. @@ -943,7 +943,7 @@ many clients. VoIP-HOWTO, VoIP Howto -Updated: November 2001. +Updated: December 2001. Voice Over IP is a new communication means that let you telephone with Internet at almost null cost. This document covers how this is done. diff --git a/LDP/howto/linuxdoc/VoIP-HOWTO.sgml b/LDP/howto/linuxdoc/VoIP-HOWTO.sgml index 0f91ab64..7001c9e1 100644 --- a/LDP/howto/linuxdoc/VoIP-HOWTO.sgml +++ b/LDP/howto/linuxdoc/VoIP-HOWTO.sgml @@ -9,7 +9,7 @@ VoIP Howto Roberto Arcomano berto@fatamorgana.com -v 1.4 - December 10, 2001 +v1.4, 10 December 2001 Voice Over IP is a new communication means that let you telephone with diff --git a/LDP/howto/linuxdoc/Wireless-HOWTO.sgml b/LDP/howto/linuxdoc/Wireless-HOWTO.sgml index 5d87feb7..5e5984d2 100644 --- a/LDP/howto/linuxdoc/Wireless-HOWTO.sgml +++ b/LDP/howto/linuxdoc/Wireless-HOWTO.sgml @@ -9,32 +9,28 @@ Wireless Howto Roberto Arcomano berto@fatamorgana.com -v1.4, 17 Dicembre 2001 +v1.4, 17 December 2001 -Wireless HOWTO per Systemi Linux Roberto Arcomano, berto@fatamorgana.com. - - - -Wireless è una nuova tecnologia nelle schede di rete ad alta velocità (fino - a 11 Mbps). Questo documento illustra come configurare Wireless in Linux, problemi - di compatibilità, requisiti sulla visibilità tra le antenne e altro ancora. - L'ultima versione di questo documento puo' essere trovata su +Wireless is a new technology in networking cards, with high speed rate + (up to 11 Mbps). This document explains how to setup Wireless in Linux, compatibility + problems, something about geographic requirements and more. Latest release + of this document can be found at -Introduzione +Introduction -Introduzione +Introduction

-Questo documento illustra le reti Wireless, loro configurazione e relative - problematiche. Diversamente da come accade per le reti classiche, le reti Wireless - richiedono particolari accorgimenti per funzionare. E' necessario avere un - minimo di esperienza sulle antenne, sul loro puntamento e così via. Ogni critica - (costruttiva) è la benvenuta. Un'ottima fonte é anche questa: +This document explains something about Wireless networking, how to setup + it, problems with it. Unliked wired network, Wireless requires some additional + trick to work well. You should know something about antennas, pointing it, + roaming info and so on. Feedback are welcome. You can found more interesting + help at

-Per qualunque suggerimento o critica scrivetemi su questo +For any suggestion and feedback write to my

Copyright @@ -53,188 +49,182 @@ This document is distributed in the hope that it will be useful, but WITHOUT You can get a copy of the GNU GPL

-Traduzioni +Translations

-Sei libero di tradurre questo documento, devi soltanto rispettare 2 regole: +If you want to translate this document you are free, you only have to:

-Controllare che non esista gia' un'altra versione del documento nel tuo - LDP locale +Check that another version of it doesn't already exist at your local LDP -Mantenere la sezione 'Introduzione' (che include i paragrafi 'Introduzione', - 'Copyright', 'Traduzioni', 'Ringraziamenti'). +Maintain all 'Introduction' section (including 'Introduction', 'Copyright', + 'Translations', 'Credits').

-Grazie per la traduzione. +Thank you for your translation!

-Ringraziamenti +Credits

-Ringraziamenti a per l'equipaggiamento hardware e per la sperimentazione. +Thanks to for hardware equipment and experimental opportunity.

-Grazie anche al per la pubblicazione. +Thanks to for publishing and uploading my document in a very quickly fashion.

-Conoscenze di base +Background Knowledge -Cos'é il Wireless? +What about Wireless?

-Il Wireless é una nuova tecnologia che può aiutare nella comunicazione - tra computers distanti. Si basa su schede Wireless con un TX/RX che opera sui - 2.4 GHz, mentre l'interfaccia dal lato software é di tipo Ethernet, con un - indirizzo fisico diverso per ogni scheda nel mondo. Potenze di trasmissione - tipiche sono 10-20 mW fino a 100mW (vedi standard IEEE 802.11 e FCC/CEPT licenze). +Wireless is a new technology that can help you to connect computers at + distance. It works with Wireless cards with a TX/RX inside at 2.4 GHz while + the software interface is Ethernet-like, with an hardware address different + for each card in the world. Typical transmit power is 10-20 mW till 100mW (see + standard IEEE 802.11 and FCC/CEPT licenses).

-Qual'é la massima distanza tra le schede radio? +What's the max distance between radio cards?

-Il requisito più importante, nelle comunicazioni Wireless, é la visibilità - senza ostacoli delle antenne: e' necessario "vedere" l'altra antenna (a occhio - nudo o con un binocolo) o al massimo é concesso un piccolo albero come ostacolo. - +The most important thing in Wireless communications is the line of sight + clear: you MUST SEE (with eyes or with a binocular) the antenna from the other + end or you can have (at most) a little tree between them.

-La distanza dipende dall'antenna (eventualmente amplificata): 2-300 metri - con una omnidirezionale; 1 km con direttiva; 2-3 km con omnidirezionale amplificata - (200mW); alcuni km con parabola. 50-60 km con parabola o direttiva ampificata - (alcuni Watts). +The distance depends on the antenna and (eventually amplifier) used: 2-300 + meters with a omnidirectional antenna; 1 km with a directive one; 2-3 km with + a omnidirectional amplified (200mW); some km with parabolic antenna. 50-60 + km with parabolic or directive antenna amplified (some Watts).

-Attenzione che non é sempre legale amplificare schede Wireless, in quanto - potresti violare le specifiche dell' FCC (America) o del CEPT (Europa) o quelle - del proprio stato. +Be aware that it is not always legal to amplifier Wireless cards, cause + you could violate FCC/CEPT (and also your country relative) specifics.

-Qual'e' la differenza tra schede classiche e schede Wireless? +What's the difference between wired and Wireless network?

-Le schede classiche sono molto semplici da configurare (almeno a livello - fisico). La configurazione delle reti Wireless risulta invece molto complessa - come anche la loro gestione e relativo debugging... I tipici problemi di installazione - hardware, software, debug e cosi' via diventano critici in ambiente Wireless: - +Wired networks are very simple to setup (at least at low level). Wireless + networks are very difficult to setup, to manage, to debug... Typical problem + with wired networks like hardware install, software install, debug and so on + become very critical with Wireless:

-Devi scegliere la giusta scheda Wireless: ce ne sono si svariati tipi, - di svariati rivenditori e con diversi requisiti. Se vuoi creare una piccola - rete LAN/WAN devi comprare schede Wireless compatibili IEEE 802.11 con un Access - Point. +You have to choose the right Wireless card: there are many cards from many + vendor with many requirement and specs. If you want to create a little LAN/WAN + you have to buy IEEE 802.11 compliant Wireless cards with an Access Point. + -Molte schede hanno un plug PCMCIA, quindi necessitano, come prima cosa, - l'installazione dei sorgenti pcmcia per Linux. +Many cards are PCMCIA, so you have to install pcmcia Linux source first. + -E' necessario testare le schede con 2 sistemi funzionanti e opportunamente - configurati, all'inizio vicini, poi via via sempre piu' lontani. +You have to test it with 2 running systems, first at very short distance, + then you can get far. -Dovresti testare la configurazione in ogni condizione climatica (tipicamente - pioggia). +You should test it at any weather (typically rain). -Se tutto funziona puoi essere soddisfatto e rilassarti! +Finally be happy for setting up.

-Se installi un ripetitore (macchina Linux con diverse schede Wireless e - Wired) potresti avere dei problemi editando la sua configurazione a distanza. +If you installed a repeater (Linux box that has many Wireless and wired + cards) you may have problem editing its configuration at distance!

-Cosa devo sapere per configurare una rete Wireless? +What I need to know to setup a Wireless network?

-Ci sono un certo numero di requisiti da soddisfare. +There are a number of requirement to setup a Wireless network;

-requisiti software: +software requirement:

-Conoscenze generice di reti classiche: indirizzi IP, netmask, routing... - tutto descritto dal generico NET3-4-HOWTO; +Generic network knowledge like IP address, netmask, routing... covered + by generic Linux NET3-4-HOWTO; * -Conoscenze specifiche di reti classiche: proxy arp, bridging, file system - proc, descritte nei documenti Proxy-ARP-Subnet, Bridge Mini-Howto e nei sorgenti - di Linux (2.2.x or 2.4.x) sotto Documentation/networking/ ip-sysctl.txt) +Specific network knowledge like proxy arp, bridging, proc fs, contained + in Proxy-ARP-Subnet, Bridge Mini-Howto and in Linux Kernel Source (2.2.x or + 2.4.x) under Documentation/networking/ ip-sysctl.txt) * -Conoscenze di base delle reti Wireless: concetti di modalita' di accesso - (ADHOC, INFRASTRUCTURE and ACCESS POINT), di canale, terminologia outdoor and - indoor e cosi' via: puoi trovare tutto cio' in ogni documento che tratta di - Wireless: IEEE standard 802.11, CEPT, ecc. +Wireless network knowledge like access mode (ADHOC, INFRASTRUCTURE and + ACCESS POINT), channel concept, outdoor and indoor defines and so on that you + can find in any document concerning Wireless: IEEE standard 802.11, CEPT, etc. +

-requistiti non software: +non software requirement:

-Esperienza minima di antenne, loro montaggio e puntamento +Minimal experience in antennas, physical mounting, pointing -Esperienza in installazione di schede su Pc con particolare attenzione - nell'evitare le interferenze elettromagnetiche tra 2 differenti schede Wireless - (nel caso sia richiesta l'installazione di più schede). +Pc hardware installation with particular attention to not produce interference + between different Wireless Cards (if required).

-Infine una grande fortuna! +finally a great luck! +

+

+* All Howtos needed by this document can be retrieved from

-Perché mettermi a configurare una rete Wireless e che cosa mi aspetto? +Why should I setup a Wireless network and what I expect from it?

-Perché? Perché non sei soddisfatto delle reti classiche! +Why? Because you're not satisfied of wired network!

-Con le schede Wireless puoi attraversare giardini, parchi, case (l'importante - é poter "vedere" l'altra estremità) +With Wireless cards you can go across garden, parks, houses, (but you MUST + SEE the other end!).

-I protocolli di alto livello sono gli stessi delle schede classiche: TCP/IP - over Wireless Ethernet-like ma fai molta attenzione alla condivisione risorse - di Windows, perché se usi Linux per instradare i pacchetti, non potrai vedere - gli altri computer su "Risorse di Rete", in quanto un router (ip forwarder) non - fa passare i pacchetti di broacast (vedi protocollo NetBIOS): in tal caso potresti - servirti di un server WINS (vedi documentazione di Samba). +High Level Protocol used in Wireless Cards are the same used in Ethernet + cards: TCP/IP over Wireless Ethernet-like but make attention to Windows Sharing + Application, cause if you use Linux to forward, you are warned that a ip forwarder + doesn't let pass through broadcast messages (see more on NetBIOS protocol): + in this case you should use a WINS server to support Network Browsing (see + Samba doc).

-Il sistema Wireless ti permette di creare una piccola LAN/WAN con un punto - di accesso (magari con accesso ad Internet) e dando connettività a chiunque - via etere! +Wireless let you create a little LAN/WAN with a central point of access + (maybe with Internet Access!) and give access to anyone by air!

-Immagina un paese tutto cablato via radio. +Imagine a country all cabled by radio machines.

-Immagina una rete che può interconnettere tutte gli abitanti di un paese, - far loro condividere files, suoni, video ad altissima velocità (comparabile - con quella delle reti classiche fino a 11Mbps). +Imagine a network that can connect all country people together, sharing + files, audio applications, video applications at high bandwidth (like cable + network).

-Tutto ciò può essere fatto (ed è già una realtà in alcune città) usando - schede Wireless con relativi AccessPoint e macchine Linux che fungono da ripetitori - allorché la distanza sia troppo elevata per essere coperta con un solo collegamento - (a livello IP come ad esempio un router oppure, se vuoi, a livello data-link, - con il supporto bridging per Linux , vedi o ) +All that can be done (and it's already done in some country) using Wireless + cards with Wireless Access Point and Wireless Linux Boxes that can operate + as repeater (at IP level such as router or, if you want, at data-link level, + with bridge driver, see more at or

-Quali schede Wireless vediamo in questo Howto? +What Wireless cards are covered by this howto?

-In questo Howto iniziamo con una configurazione generica (per introdurre - le reti Wireless), in seguito descrivo un esempio per ogni scheda di cui ho - esperienza diretta, con piccoli trucchi per migliorare le performance ed evitare - conflitti. +In this howto I start with a generic configuration (to introduce Wireless + networking), then I describe an example for each card I knew directly, with + some trick you can use to improve its performance.

-Lista schede Wireless: +Wireless Card list:

Proxim Symphony - -Webgear AviatorPRO 2.4 (supporto pcmcia richiesto) - +Webgear AviatorPRO 2.4 (pcmcia support needed) - Lucent Wavelan I, II, Orinoco - and @@ -243,33 +233,39 @@ Cabletron - Siemens Radio Modem (Dect) - + +RadioLan (5 GHZ) -

-Per una lista più completa vedi . +For a very more exhaustive list see .

-I Siemens Radio Modem non sono propriamente delle schede Wireless IEEE - 802.11, ma sono dei modems da collegare sulla seriale (frequenza operativa - 1800 MHz, tecnologia DECT). Vedi Appendice B. +Siemens Radio Modem is not a really 802.11 Wireless card, they are modems + that you can attach to serial and they act as modem (at 1800 MHz, so DECT technology). + Appendix B describe their use. +

+

+RadioLan cards work at 5.4GHz in a Windows 9x environment and with a RadioLan + Access Point that bridges between Wired and Wireless networks (there are no + Linux driver as I know).

-Quanto costano? +How much do they cost?

-Le suddette schede hanno un costo relativamente basso: partono da poche - centinaia di migliaia di lire fino ad arrivare ad alcuni milioni per gli Access - Point predisposti per schede 2 Wireless (Lucent, ad esempio) funzionanti come - bridge. +Wireless cards listed above are very low expansive: they start from very + few hundred of dollars up to some thousand of dollars for Access Point that + have 2 Wireless card (Lucent, for example) that can act as a bridge.

-Informazioni tecniche sul Wireless +Technical info about Wireless

-Qui di seguito riporto alcune informazioni di base necessarie per comprendere - la tecnologia Wireless +Here I report some technical info to understand basic Wireless environment. +

-Livello fisico +Physical Layer

-A livello fisico ISO/OSI possiamo avere 3 tipi di specifiche: +At first layer ISO/OSI we can have 3 kind of spec:

@@ -278,32 +274,30 @@ FHSS, Frequency Hopping Spread Spectrum DSSS, Direct Sequence Spread Spectrum -Infrarossi, che qui non vediamo. Vedi relativo Howto Linux-IR-HOWTO +Infrared connections, not covered by this howto

-Configurazioni +Configurations

-2 tipi di configurazioni: +2 types of configurations:

-AdHoc mode (anche noto come Independent mode), dove si hanno reti indipendenti - ognuna con un BSS (Basic Service Set) . Ogni stazione della rete utilizza lo - stesso BSS. +AdHoc mode (also called Independent mode), where you have independent networks + with a BSS (Basic Service Set) each one. Each station has the same BSS. -Infrastructure mode, dove un certo numero di reti (ognuna con un proprio - BSS) può comunicare con le altre tramite il proprio Access Point (uno per ogni - BSS) per creare un ESS (Extended Service Set). Vi sono anche delle funzionalità - di roaming che permettono ad una stazione di scegliere l'Access Point più vicino - cui allacciarsi. +Infrastructure mode, where a number of networks (with a BSS each one) can + communicate each other by means of an Access Point (one for each BSS) to create + a ESS (Extended Service Set). Also there is a roaming function letting a station + "attach" to the nearer Access Point.

-Adhoc mode é il metodo più semplice (ed anche il meno scalabile!) e permette - a diversi hosts di comunicare direttamente uno con l'altro. Il requisito (un - po' restrittivo) é che ogni macchina debba vedere tutte le altre perché le - cose funzionino (questo in teoria, perché in pratica questo problema può essere - risolto a livello IP! Vedi Par 5.4). +Adhoc is the simpler method (and the also the less scalable) and let many + hosts communicate each other directly. The restrictive requirement is that + all one are to be visible directly to reach a complete coverage of the network. + (at least Ideally, because this problem could be solved at IP level! For more + see Par 5.4).

@@ -318,8 +312,8 @@ Adhoc mode B - - - - - D

-In Infrastructure mode vengono utilizzati gli Access Point attraverso cui - tutte le stazioni devono connettersi per comunicare con gli altri. +In a Infrastructure environment you use the Access Point to which ALL other + hosts must connect to share the network.

@@ -333,276 +327,262 @@ Infrastructure mode C - - - | | - - - F

-A, B e C non possono vedere D,E and F, direttamente, ma possono comunicare - con loro usando lo stesso ESS. Nota: A,B and C potrebbero anche non vedersi - tra di loro, ma grazie all'Access Point comunicano lo stesso. +B and C could not see D,E and F, but they can communicate as well cause + all one are using the same ESS. Important: A,B and C could also not see each + other.

-Vengono inoltre utilizzati temini come indoor e outdoor per distinguere - le reti a corto raggio da quelle a lungo raggio o più propriamente per interni - e per esterni. +In addition there are terms like indoor and outdoor to distinguish short + area coverage from long area coverage.

-Compatibilità +Compatibility

-Bisogna tenere conto che esistono un gran numero di schede Wireless nel - mondo e non tutte possono comunicare tra di loro. -

-

-Per dialogare e' necessario che utilizzino: +Keep on mind that there are a number of Wireless cards in the world, but + not every card can communicate with every other one. For talking together the + cards have to use to:

-la stessa modalità di accesso: Adhoc o Infrastructure +same configuration mode: all Adhoc or all Infrastructure -lo stesso livello fisico: DSSS o FHSS +same physical layer: all DSSS or all FHSS -lo stesso protocollo (ad esempio Proxim utilizza il suo protocollo proprietario - OpenAir e, benché il livello fisico sia FHSS, non può comunicare con le altre - schede di tipo FHSS). +same protocol (for example Proxim has its particular proprietary protocol + OpenAir that cannot talk with other FHSS cards).

-Devo usare Adhoc o Infrastructure? +Should I use Adhoc or Infrastructure?

-E' noto che gli Access Point sono molto utili e evitano molte problematiche, - ma hanno lo svantaggio di costare non poco. In teoria, per una rete molto concentrata - conviene usare Infrastructure mode, mentre per pochi si può tranquillamente - optare per Adhoc: in effetti perché spendere soldi inutilmente per poche macchine? +Access Point are very useful and killing problem but they are expansive. + Ideally, for a more concentrated network you could use Infrastructure mode, + while for few hosts you can choose Adhoc: why to spend much money for few hosts?

-Vale comunque sempre la regola: mangi come spendi! +Anyway be aware that if you spend much money probably all works well while + spending less you could have some trouble.

-Una macchina Linux può fungere da AccessPoint? +A Linux Box cannot act as an AccessPoint?

-Ottima domanda! Sfortunatamente non sono a conoscenza di nessun driver - che permetta questa funzionalità, per nessuna scheda, quindi dobbiamo arrangiarci - con l'Adhoc mode oppure comprare AccessPoint. +Good asking! Unlucky we have no kind of software (freeware) that can do + it, so we have to arrange with Adhoc mode or buying more AccessPoints.

-Nota: se sei un esperto nel reverse engineering puoi scaricare il firmware - dell'Access Point, usare un processore compatibile, estrapolare i comandi da - dare alla scheda e riscriverti un driver Access Point per Linux. Buona fortuna! +Note: if you are expert in reverse engineering you could download an Access + Point firmware, use a processor compatible interpreter and hack the code behind + Access Point rewriting one for Linux.

-Gli strumenti +Toolbox required -Hardware +Hardware requirement

-Hai bisogno di un Linux Box (486 o, meglio, un Pentium 100+ con 16MB+ ram), - della scheda Wireless, di un antenna per i 2.4GHz (vedi Par 2.2). Ovviamente - hai bisogno di tutto ciò anche nell'altra estremità (con Win9x o WinNT se preferisci...) - in quanto dobbiamo simulare una comunicazione. +You need a Linux Box (486 or, better, a Pentium 100+ with 16MB+ ram), the + Wireless network card, an antenna (see par 2.2). You need the same on the other + end (with Win9x or WinNT, if you prefer...) cause you have to simulate a communication!

-Software +Software requirement

-Hai bisogno di: +You need:

-Sorgenti recenti del kernel di Linux (2.2.x). Vedi dopo +recent stable kernel sources (2.2.x) -Sorgenti recenti del pacchetto pcmcia (pcmcia-cs), nel caso tu abbia comprato - una scheda pcmcia. Vedi dopo +recent stable pcmcia sources (pcmcia-cs) if you bought a pcmcia card -Driver della scheda Wireless: se non ce l'hai puoi scaricarlo dal sito - dove hai preso la scheda o dal sito del costruttore. Se proprio non lo trovi - puoi provare a cercare all'indirizzo . +Wireless network driver: if you don't have it you can download it from + the vendor web site or the card manufacturer web site. If you don't find it + you can search at .

-Se non lo trovi neache qui devi convertire un driver di Windows per farlo - girare sotto Linux!! (buona fortuna!) +If you don't find even here you probably have to wait or to convert a Windows + driver to a Linux driver!! (good luck!).

-Dopodiché devi ricompilare il kernel, ricompilare i sorgenti pcmcia (se - richiesto) e finalmente compilare il driver Wireless. Tieni conto che questa - é un situazione del tutto generale, in molti casi ti basterà seguire il passo - 3 oppure i passi 1 e 3, dipende dal driver che hai. +After that, you have to recompile your kernel, recompile your pcmcia source + (if need by the Wireless card), finally recompile your Wireless driver. That + is the generic situation, maybe for some card you have to perform step 3 only + or 1 and 3, it depends on specific driver.

-Generalità sulla configurazione di una rete Wireless. +Overview on Wireless network setup. -Passi fondamentali +Fundamental steps

-Una volta che hai recuperato il materiale e hai ricompilato tutto il necessario - sei pronto per seguire i 3 passi per la configurazione di una rete Wireless. +Once you have got the needed material and you have compiled all the needed + you should do the fundamental step in a Wireless configuration:

-Configurazione di basso livello: é necessario far riconoscere al kernel - la nostra scheda Wireless (cose del tipo ioport, interrupts, dma...): devi - cercare un qualche tipo di messaggio, sui file di log, che ti confermi l'avvenuto - riconoscimento e la relativa configurazione. +Low level kernel config Let the Linux Kernel see your Wireless card (at + low level, such as ioport, interrupts, dma...): you must see some kind of kernel + message that advertise you that Wireless card has been right found and configured. + -Configurazione a livello Data-link: per ogni particolare scheda Wireless - esiste un'utility in grado di settare i tipici valori Wireless data-link. Ad - esempio Proxim Symphony utilizza "rl2cfg" mentre nelle schede pcmcia - i settaggi sono presenti nei files di configurazione del supporto pcmcia. Devi - settare tutte le tue schede Wireless in modo coerente, altrimenti non potranno - dialogare. +Data-link level setting For each particular Wireless card there is an utility + that can set typical Wireless data-link level value. For example in Proxim + Symphony the utility is called "rl2cfg" while in pcmcia cards settings + are in pcmcia config files. You have to set all your Wireless cards with coherence + to make them talk together. -Settaggi IP. A questo dovresti essere in grado di utilizzare i comandi - ifconfig e route per cambiare i settaggi IP. +Ip setting Now you should be able to use ifconfig and route capabilities + to change IP settings. -Trucchetti per migliorare le performance ed evitare conflitti. Adesso la - tua rete fondamentalmente funziona: puoi aggiustare alcuni settaggi riguardanti - proxy arp, icmp echo redirect, bridging, cambio dei canali e così via per ottimizzare - la configurazione ed evitare conflitti uccidi-banda! - -

-N.B.: passi 1, 2 e 3 corrispondono ai livelli 1, 2 and 3 dello standard - ISO/OSI, mentre il passo 4 é un addendum per risolvere alcune problematiche, - tra cui quelle generate dall'adozione della maschera 255.255.255.255. Infatti - la maschera 32 bit viola lo standard TCP/IP forzando una rete ad usare lo stesso - indirizzo per il broadcast e per l'host, mentre l'indirizzo di rete non esiste. -

-

-Qualcuno potrebbe criticare questo punto di vista, ma se seguissimo alla - lettera lo standard inizieremmo a perdere una marea di indirizzi IP (sempre - più preziosi); per ogni sottorete 2 indirizzi sono riservati (network and broadcast) - e comunque, seguendo lo standard, non si avrebbe certamente la necessaria flessibilità - sull'assegnazione di indirizzi IP alle interfacce richiesta dai sistemi Wireless - (allocazione di tipo geografica!). Per maggiori informazioni vedi Appendix - A. -

-

-Si può infine notare come il passo 2 non sia presente nelle schede Wired, - in quanto non vi sono particolari settaggi da operare. -

- -Configurazione di basso livello -

-E' il classico problema dell'amministratore del sistema: far riconoscere - al PC il proprio hardware. -

-

-Le schede Wireless sono più complesse sotto questo punto di vista, perché - molte hanno il plug Pcmcia e quindi prima di tutto é necessario "far vedere" - al kernel il proprio adattare Pcmcia, in seguito sarà possibile provare ad - installare il driver specifico per la scheda Wireless Pcmcia. -

-

- -Quindi nelle configurazioni Pcmcia é necessario: - -

- - -installare i sorgenti del kernel, scaricandoli da e scompattandoli su - /usr/src/linux (vedi comandi tar and gzip) - -installare i sorgenti per il supporto pcmcia, da e scompattarli su /usr/src/pcmcia - (vedi sempre utilities tar and gzip) - -configurare e ricompilare il kernel: leggi attentamente il README presente - nella directory del Kernel (/usr/src/linux) - -configurare e ricompilare i sorgenti pcmcia: sotto /usr/src/pcmcia usare - configure eppoi make. Assicurati che ci sia il driver che ti interessa, altrimenti - dovrai installarlo seguendo le relative istruzioni (di solito basta scompattare - con "tar zxvf driver.tgz" il driver pcmcia direttamente sotto la directory pcmcia). - Dopodiché digita "make all" per compilare. Alla fine digita "make - install". - -Dopo aver installato correttamente i drivers pcmcia potrai trovare i relativi - file di configurazione sotto la directory /etc/pcmcia . - -

- -mentre per la configurazione senza Pcmcia: - -

- - -Se il driver della tua scheda non é presente (in effetti non lo é mai!) - nel Kernel, dovrai scaricarlo, installarlo e ricompilarlo in una nuova directory. +Tricks for better performance and to a avoiding conflicts. Now your Wireless + Network is basically working: in addition you have to adjust some particular + setting like proxy-arp, icmp echo redirect, bridging, channel change and so + on to optimize your network and avoiding strange and bandwidth killing conflicts

-Una volta che conosci il nome del driver é il momento di caricarlo: nel - caso di Pcmcia ci penserà il demone relativo (attivabile tramite /etc/rc.d/init.d/pcmcia - start per le distribuzioni RedHat), mentre per le altre schede basterà dare - "modprobe module_name options". Tra le opzioni vi sono ioport, irq - e i settaggi data-link relativi al driver Wireless (vedi Par 5.3). Ad ogni - modo ci sono una serie di strumenti molto comodi per controllare il riconoscimento - a basso livello del driver: +N.B.: step 1, 2 and 3 correspond to level 1, 2 and 3 of standard ISO/OSI, + while step 4 is an addendum to solve situation generated by netmask 255.255.255.255. + In fact 32 bit netmask violates standard ISO/OSI cause the network force to + use the same address for broadcast and ip machine and the network address doesn't + exist. +

+

+Someone could criticize this point of view, but if you use the standard + ISO/OSI to configure Wireless network with you'll loss many ones configuring + subnets; for each subnet usually you discard 2 IP number (Network and broadcast) + and you cannot achieve the flexibility on IP assigning (geographically kind). + You can find more on Appendix A about this. +

+

+You could notice that step 2 is not present in Wired cards cause there's + no particular settings to do there. +

+ +Low Level Kernel Config +

+Always it's a problem for Pc administration: to let kernel (or in general) + see your hardware. +

+

+Wireless cards are more complex because many of them usually have a Pcmcia + plug, so first of all you have to let your kernel see Pcmcia adapter card, + then you can try to install specific hardware driver for your Wireless card. + +

+

+ +So, in Pcmcia config you have to: + +

+ + +install linux kernel source, from to /usr/src/linux (see tar and gzip + utilities) + +install linux pcmcia source, from to install to /usr/src/pcmcia (see tar + and gzip utilities) + +config and recompile your kernel: read file README in your linux directory + (/usr/src/linux) + +config and recompile your pcmcia source: under /usr/src/pcmcia use configure + and make. Be sure your driver is here, else your have to install it following + driver instructions (usually a tar zxvf driver.tgz under pcmcia dir is sufficient). + After type "make all" to compile. At the end type "make install". + + +After typed install you'll find some useful config files under /etc/pcmcia + . + +

+ +In non pcmcia case: + +

+ + +If your driver is present (99% not) under linux sources, you have + to install it in a directory, then to compile it. + +

+Once you know module name you have to load it: in pcmcia config you only + need to start pcmcia daemon (/etc/rc.d/init.d/pcmcia start for RedHat), for + other "modprobe module_name options". With options you'll give ioport, + irq and data-link settings (see Par 5.3) to Wireless driver. Anyway your useful + tools to know if hardware has correctly been seen by driver are:

-"tail /var/log/messages" che mostra le ultime informazioni scritte - sul log di sistema (syslog) +"tail /var/log/messages" that explains info about syslog -"dmesg" for ulteriori info sul log +"dmesg" for more info. -/proc directory: files ioports, devices, irq e sottodirectories specifiche - per il driver. +/proc dir: ioports, devices, irq files and driver specific sub-directories.

-Configurazione a livello Data-link +Data-link level setting

-Cosa significa? +What is that?

-Le reti classiche hanno bisogno solo di essere fisicamente connesse le - une con le altre e di avere i giusti settaggi TCP/IP. Al contrario le reti - Wireless networks richiedono settaggi Data-link che indicanti: +Wired networks need only to connect each other and then you'll be able + to set TCP/IP parameters. +

+

+In opposite Wireless networks need data-link settings, such as:

-A che tipo di rete Wireless appartengo? (Adhoc o Infrastructure) +What kind of Wireless network I belong to? (Adhoc or Infrastructure) -Che canale devo usare? +What channel I have to use? -A che sottorete (BSSID) appartengo e qual'é il mio ESSID? +What subnet (BSSID) I belong to, what is my ESS ID? -La mia comunicazione é protetta da qualche algoritmo crittografico? Qual'è - la chiave? +Is my communication protected by such a encryption algorithm? Length key? +

-Ci sono quindi una serie di settaggi da configurare, la ragione di ciò - deriva dall'architettura Wireless: potrebbe esserci qualcuno, nel raggio di - copertura Wireless, che potrebbe intercettare dei pacchetti e usare servizi - relativi ad un altra rete wireless solamente puntanto la propria antenna nella - giusta direzione e settando gli opportuni parametri TCP/IP. +As you see there are many settings you have to adjust, the reason come + from the architecture of Wireless network: there could be someone, in near + distance, that could see your packets, use your services only pointing his + antenna on the right direction and setting up right TCP/IP parameters.

-Inoltre più reti Wireless (magari ognuna relativa ad un piano di un edificio) - potrebbero interferire una con l'altra. +In addition there could be many Wireless subnets that could generate interference + each other.

-Ecco allora: +So here are:

-Opzioni a load-time module: "modprobe ray_cs essid='LINUX'" per - esempio o +Options at load-time module: "modprobe ray_cs essid='LINUX'" + for example or -Utilities a run-time driver: "rl2cfg eth1 master". +Utilities at run-time driver: "rl2cfg eth1 master".

-Settaggi IP + trucchetti +Ip setting

-Questo é il terzo problema che dobbiamo affrontare. Qui i problemi arrivano - quando ci si evolve verso una rete più grossa. +This is the third problem you have to face. Here situation become problematic + only when your network begin to evolve in a bigger one.

-Ricordati che la rete Wireless non ti stressa se non sei tu a stressarla! +Remember Wireless IP Networking doesn't stress you if you don't stress it!

-Una configurazione semplice +A simple configuration

- Tutti gli hosts si "vedono" + All the hosts view each other A - - - - - C \ / @@ -614,16 +594,16 @@ Una configurazione semplice

-Una configurazione come questa é molto semplice e non richiede particolari - attenzioni (almeno a livello IP): hai soltanto bisogno di assegnare un indirizzo - IP ad ogni host e una maschera generale coerente con tutte le altre macchine. +A configuration like this is very simple and don't require nothing special + (at Ip level): you only need to assign an IP address for each host and to assign + a coherent global netmask.

-Una configurazione più complessa +A more complex configuration

- A non vede B direttamente + A doesn't see B directly A <- - - - NO\ | @@ -633,73 +613,70 @@ Una configurazione pi

-In questo caso A e B possono comunicare tra loro soltanto tramite C. +Here A and B can communicate only passing through C.

-Se la rete é in infrastructure mode e C é l'Access Point allora tutto ok. - In Adhoc mode é invece designare un host per essere un "master" (so - che il termine non é molto formale, ma l'importante é capirsi!), un host che - sia cioé in grado di creare un BSS e a cui gli altri possano collegarsi specificando - il relativo BSSID. +If the network is in Infrastructure mode and C is the Access Point all + is ok. In Adhoc mode you also can design a host to "master" capability + (I know the term is not so formal!), a host that creates a BSS and to which + any other host can join that BSS.

-In questo caso la connettività globale viene raggiunta a livello IP: A - e B usando la stessa interfaccia di C, quindi se provi anche solo a fare ping - da A verso B riceverai una marea di pacchetti ICMP REDIRECT da C, con cui C - t'informa che la destinazione é già sulla rete da cui proviene la richiesta. - +Full connectivity now is reached at IP level: A and B talk to C using the + same C interface, so if you try to ping from A to B you'll receive many ICMP + REDIRECT packets from C, cause C is telling A that the destination is already + in the network from which come the request.

-Soluzione: digita "echo 0 > /proc/sys/net/ipv4/conf/ethx/send_redirects" - (dove ethx é l'interfaccia su C verso A e B) per annullare il problema. +Solution: type a "echo 0 > /proc/sys/net/ipv4/conf/ethx/send_redirects" + (where ethx is the interface on C towards A and C) to null all that.

-Un altro problema: che maschera assegnare ad A, B e C? Se si da una maschera - ad A che includa B non funziona nulla, perché A non utilizzerà C come gateway - ma farà la richiesta ARP con indirizzo MAC destinazione sconosciuto. +Another problem: what netmask I assign to A and C? If you assign a netmask + to A that include A and C nothing works because A don't use the gateway (C) + but make the ARP request with unknown destination MAC address.

-Potresti dire: uso il proxy arp! Peccato che il proxy arp serva per rispondere - al sorgente solamente nel caso in cui il destinatario appartenga ad una diversa - interfaccia rispetto al sorgente e questo non é il caso. +You could think to use proxy arp, but without effect cause proxy arp reply + to source only when the destination is in a different interface from the source: + this is not the case!!

-Conviene quindi settare la più piccola maschera possibile (Win9x permette - 255.255.255.254, WinNT invece 255.255.255.248), e devi essere sicuro che A - and B non appartengano alla stessa sottorete. +So you have to set a very little netmask (Win9x let it be 255.255.255.254, + WinNT at least 255.255.255.248), and you have to assure that hosts A and C + don't have the same net address.

-Esempi: +Examples:

-IP(A) = x.y.z.2/31, IP(B) = x.y.z.3/31. Così non va perché A chiede B nella - sua sottorete (ARP request) e C non può rispondere perché, per lui, A e B appartengono - alla stessa interfaccia (quindi niente proxy arp). +IP(A) = x.y.z.2/31, IP(B) = x.y.z.3/31. This doesn't work cause A asks + for B in its network (ARP request) and C doesn't answer cause, for it, A and + B belong to the same interface (so, no proxy arp). -IP(A) = x.y.z.1/31, IP(B)= x.y.z.2/31. Adesso si, perché A chiede a C (A - manda i suoi pacchetti a B usando l'indirizzo MAC di C) per arrivare a B. +IP(A) = x.y.z.1/31, IP(B)= x.y.z.2/31. This works cause A ask to C (send + requests to B with C MAC address) for B.

-In generale, con una maschera 255.255.255.254, il giochetto funziona tra - 2 IP che NON differiscono soltanto per l'ultimo bit. +In general with a netmask 255.255.255.254 system works with 2 IP changing + only for the final bit.

-Mi rendo conto che tutto ciò é una forzatura del TCP/IP, ma é l'unico metodo - per ottenere un elevato livello di flessibilità. +All that is a TCP/IP forcing but is the only method to obtain an high level + of flexibility.

-Nota: Usando un Access Point (rete in Infrastructure mode) non esiste più - il problema dei pacchetti ICMP REDIRECT perché il problema viene già risolto - a livello data-link (praticamente tutti gli Access Point sono dei bridge...). - Ma gli Access Points sono costosi (qualche milione o più) ed é più economico - usare un P133, 32MB Ram per forwardare i pacchetti, anche con 2 o più schede - di rete. +Note: If you use an Access Point (network in Infrastructure mode) you haven't + redirect problem, cause all is solved at data-link level (almost every Access + Point acts as a bridge...). But Access Point are expansive (about 1000 USD + or more) and it is more economic to use a P133 32MB Ram to forward, even with + 2 or more cards.

-Accesso ad Internet +Internet Access

A - - - - - C - - Internet @@ -709,31 +686,32 @@ Accesso ad Internet | / \ | / \ B - - - - - D -Ci sono una serie di possibilità: + +

+There is a number of situation: +

-C'é un unico indirizzo IP pubblico. Devi soltanto settare indirizzi IP - privati (192.168.x.y per esempio) sulla rete Wireless e abilitare, su C, il - forwarding e il masquering (NAT). A, B e D utilizzeranno C come default Gateway. +C is the only Public IP address. You only have to set private IP address + (192.168.x.y for example) for the Wireless network enabling, on C, forwarding + and masquering. A, B and D will have C as default GW. -Possiedi una maschera pubblica (classe) visibile da Internet e C é il tuo - default GW verso Internet per la tua rete. Hai bisogno, come prima, di abilitare - il forwarding su C e di settare default GW su A, B ed D facendolo puntare su - C. +You have a public netmask visible from Internet and C is your default GW + to Internet for the network. You only need to enable forwarding on C, setting + up default GW on A, B and D to point to C. -Possiedi una maschera pubblica (classe) visibile da Internet e C NON é - il tuo default GW verso Internet, Hai 2 possibili soluzioni: modificare il - tuo default GW facendolo puntare a C per la tua rete. Simmetricamente C punterà - sul tuo default GW per andare su Internet. Altrimenti potresti abilitare il - proxy arp su C (echo 1 > /proc/sys/net/ipv4/conf/ethx/proxy_arp dove ethx - é l'interfaccia verso il default GW)e settare default GW su C per puntare sul - default GW per andare su Internet. Il Proxy arp é una forzatura TCP/IP ma lavora - bene. +You have a public netmask visible from Internet and C is not the default + GW to Internet. You have 2 possible solutions: Modify your default GW to let + it point to C for your network. Symmetrically you have to let C point to default + GW to go to Internet. You could, instead, enable proxy arp feature to C (echo + 1 > /proc/sys/net/ipv4/conf/ethx/proxy_arp where ethx is the interface towards + the default GW) and set your default GW on C to point to the default GW. Proxy + arp is a TCP/IP forcing but works well.

-Reti miste: Wired e Wireless +Mixed network: Wired and Wireless

Internet @@ -751,39 +729,36 @@ Reti miste: Wired e Wireless

-Adesso C unisce 2 reti: a destra Wireless e a sinistra Wired. +Now C joins 2 networks: on the right Wireless and Wired on the left.

-In aggiunta puoi avere l'accesso ad Internet ed in totale hai bisogno di - 3 schede di rete su C. +More you have Internet Access, so in total you have 3 network cards in + C.

-Che indirizzi devi assegnare alle macchine? 2 soluzioni possibili: +What IP Address I assign to hosts? You have 2 possible solutions:

-Dividere la rete in 2 sottoreti: ad esempio 192.168.1.0/24 e 192.168.2.0/24. - Questa soluzione é molto veloce ma non é assolutamente scalabile né flessibile - (almeno in ambito Wireless), perché se utilizzi indirizzi Internet pubblici - rischi di perderne una marea. +Split up network in 2 subnets: for example 192.168.1.0/24 and 192.168.2.0/24. + This solution is quickly but is not scalable if you are using Internet IP addresses + cause you have to drop too many IPs. -Abilitare il proxy arp su C per tutte e 2 le interfacce. I parametri di - rete sono, in questo caso, gli stessi (net address and netmask) per Wireless - e Wired, ma con il proxy-arp abilitato é possbile scegliere quali indirizzi - IP sono su Wired e quali su Wireless. +Enable Proxy Arp feature to C for all 2 interfaces. Network parameters + (net address and netmask) are the same for Wireless and Wired, but with proxy-arp + enabled I can choose which IPs are on Wired and which on Wireless.

-Esaminiamo ora la soluzione 2 +Now we examine solution 2

-Ad esempio considera di avere una sottorete pubblica su Internet del tipo - x.y.z.0/24. +For example: Consider you have Internet public subnet x.y.z.0/24.

-Le interfacce sono: +Interfaces are:

@@ -796,7 +771,7 @@ ifconfig eth2 x.y.z.C netmask 255.255.255.255 (to Internet)

-Le routes statiche su eth2: +Static routes on eth2:

@@ -806,13 +781,13 @@ route add IPGW dev eth2 route add default gw IPGW

-Queste route servono per indirizzare tutto Internet verso il nostra Default - GW: come puoi notare é necessario prima dire a Linux che il router é sull'interfaccia - eth2, poi mandare la default route verso di esso. +This route stands for addressing all Internet requests to your Default + GW: as you notice, first you have to tell Linux where is the router, then let + default requesting through it.

-Routes statiche su eth0: +Static routes on eth0:

@@ -824,11 +799,11 @@ route add x.y.z.B dev eth0 route add x.y.z.D dev eth0

-Hosts A,B e D sulla rete Wired +Hosts A,B and D on the Wired Network

-Routes statiche su eth1: +Static routes on eth1:

@@ -840,430 +815,449 @@ route add x.y.z.F dev eth1 route add x.y.z.G dev eth1

-Hosts E,F e G sulla rete Wireless. +Hosts E,F and G on the Wireless Network

-Nota che la flessibilità é molto elevata, però devi settare manualmente - ogni hosts (al limite puoi destinare un micro-classe su un'interfaccia). +Note that flexibility is very high, but you have to manual set each host. +

Setup

-Qui riporto alcuni esempi (spero utili!) per configurare le schede Wireless - più diffuse. +Here I report some examples (I hope useful!) on how to configure more diffuse + and not expansive Wireless Cards.

-Informazioni generali sul Setup +General setup info

-Le schede Wireless hanno un interfaccia molto simile alle schede Wired, - quindi dovrei aggiungere, come al solito delle entries nel file /etc/conf.modules - contenenti: +Wireless cards have interface similar to any Ethernet cards, so you have + to add in /etc/conf.modules:

-"alias ethx module", dove ethx é l'intefaccia che vuoi attribuire - alla scheda Wirelss e module é il nome del modulo del kernel. +"alias ethx module", where ethx is the interface you want to + assign to your wireless card and module is name of kernel module. -"options module io=0xAAA irq=I ...", dove 0xAAA é l'indirizzo - io di base da assegnare alla scheda, I é l'IRQ e così via per gli altri parametri. +"options module io=0xAAA irq=I ...", where 0xAAA is the io base + address to assign the card, I is the IRQ and so on if there are other parameters. +

-Dopo questo potrai direttamente usare i comandi ifconfig route per configurare - i settaggi IP della tua scheda. +After this you'll be able to use ifconfig and route commands to configure + your card at IP level.

Proxim Symphony

-Tipo di rete: FHSS,solo Adhoc e con protocollo proprietario OpenAir. +Network type: FHSS, Adhoc only and with proprietary protocol OpenAir.

-Web site: dove devi scaricare la documentazione e il driver per Linux e - Win9x. +Web site: where you need to download documentation and driver for Linux + and Win9x.

-Una volta scaricato il driver: +Drivers come with source code to compile:

-usa tar per scompattare su una directory vuota +untar it in a empty directory -usa make come aiuto +type make for help. -usa make modules; make modules_install per installare il driver rlmod.o - e la relativa utility rl2cfg. +make modules; make modules_install to install the driver rlmod.o and the + utility rl2cfg. -Per lanciare il driver (after modified /etc/conf.modules: see Par.6.1.) - basta usare il comando ifconfig +to run the driver (after modified /etc/conf.modules: see Par.6.1.) you + only need to turn up the interface with ifconfig command.

-Utility rl2cfg (per l'aiuto digita man rl2cfg dopo il passo 3) ti permette - di cambiare i settaggi data-link level: +Utility rl2cfg (for help type man rl2cfg once done c step) let you change + typical data-link level settings:

-"rl2cfg dev ethx sta" per settare la scheda come station (Slave) - +"rl2cfg dev ethx sta" to set it to station (Slave) -"rl2cfg dev ethx msta" per settare la sceda come master station - (Master) +"rl2cfg dev ethx msta" to set it to master station (Master) -"rl2cfg dev ethx alt" per settare la scheda in modo automatico +"rl2cfg dev ethx alt" to set it to automatically mode

-Questo é tutto ciò di cui hai bisogno per settare la scheda. +This is all you have to know to get it properly working.

Webgear Aviator 2.4 and AviatorPro

-Tipo di rete: FHSS, solo Adhoc per Aviator 2.4 e anche Infrastructure per - AviatorPro. +Network type: FHSS, Adhoc only for Aviator 2.4 and Infrastructure for AviatorPro.

-Queste schede richiedono più lavoro perché devi compilare il supporto Pcmcia. +These cards need more for working, because you have to compile Pcmcia source + as they come with Pcmcia plug.

-Web site: . +Web site is .

-Per configurare: +To configure:

-Scarica i sorgenti pcmcia e scompattali su /usr/src/pcmcia (vedi Par 5.2) - +You have to download source pcmcia and to expand it to /usr/src/pcmcia + (see Par 5.2) -Scarica il driver da and digita "tar zxvf driver.tgz" sulla - directory /usr/src/pcmcia. +Download driver form and type "tar zxvf driver.tgz" in /usr/src/pcmcia + directory. -riconfigura il supporto pcmcia (vedi Par 5.2) +reconfig pcmcia (see Par 5.2) -Seguendo le istruzioni del driver devi aggiungere in fondo al file /etc/pcmcia/config.opts - questa entry: "source ./ray_cs.opts". +Following instructions you have to append to file /etc/pcmcia/config.opts + entry "source ./ray_cs.opts". -Nota che nel file /etc/pcmcia/ray_cs.opts c'é una linea tipo: "module - "ray_cs" opts "...". Devi modificare i settaggi a livello - data-link presenti nel campo "opts" . +Note that in /etc/pcmcia/ray_cs.opts there is a line like this: "module + "ray_cs" opts "...". Here you have to modify some settings + at data-link level present in "opts" .

-Argomenti: +Arguments:

-pc_debug=x , dove x é il livello di log. +pc_debug=x , where x is the log level. -net_type=x, x=0 per AdHoc, x=1 per Infrastructure. +net_type=x, x=0 for AdHoc, x=1 for Infrastructure. -essid=x, x é l'ESSID +essid=x, x is the ESSID

-Finalmente, per verificare la configurazione (con pc_debug>0), vedrai - dei messaggi sulla console tipo questi: "network started" nel caso - in cui stai creando una nuova rete Wireless network created e "network - joined" se ti stai collegando ad una già esistente. +Finally, to verify configuration with pc_debug > 0, you will see data-link + messages in your console like these: "network started" for a new + Wireless network created and "network joined" for a new Wireless + network joined to another one.

-Puoi controllare il file /proc/ray_cs per aiutarti: il campo BSSID ti dice - a quale sotto rete appartieni, se é nullo c'é qualcosa che non va! +Also File /proc/ray_cs can help you: flied BSSID report to which Subnet + you belong to, if it is null you can receive data from no one cards.

Lucent Wavelan I, II, Orinoco products and Cabletron

-Tipo di rete: DSSS, Adhoc e Infrastructure. +Network type: DSSS, Adhoc and Infrastructure.

-I prodotti Lucent sono molto professionali. +Lucent products are very professional ones.

-Web site: e . +Web site: and .

-Il Setup é analogo a quello delle WebGear: i passi 1,2,3 sono simili. +Setup is like WebGear-like: step 1,2,3 are similar

-Devi poi aggiungere al file /etc/pcmcia/config.opts l'entry: "module "wavelan_cs" - opts " ..."" per i modelli Lucent Wavelan I e "module and "wavelan2_cs" - opts " ..."" per i modelli Lucent Wavelan II e Orinoco. +Then you have to add to file /etc/pcmcia/config.opts: module "wavelan_cs" + opts " ..." for Lucent Wavelan I module and "wavelan2_cs" + opts " ...", for Lucent Wavelan II or Orinoco.

-Sotto la voce opts dovreai specificare: +Under opts you will specify:

-port_type=x, dove x indica Adhoc(3) o Infrastructure(1) +port_type=x, where x indicates Adhoc(3) or Infrastructure(1) -channel=x, x=canale, opzione rilevanto solo in AdHoc mode. +channel=x, x=channel, option relevant for AdHoc mode only. -transmit_rate=x, per impostare la velocità: attenzione a questo settaggio - per la compatibiltà con le schede Cabletron. +transmit_rate=x, to fix the speed rate: attention to this setting for compatibility + with Cabletron cards.

-Note: In teoria é possibile installare 2 schede Lucent su una macchina - Linux, una in Adhoc mode e l'altra in Infrastructure mode. Il problema é che - soltanto una funziona in quanto, durante il lancio dei servizi pcmcia, tutte - e 2 le schedeverranno settate con gli stessi parametri data-link (quindi entrambe - in Adhoc o in Infrastructure mode). Quello che si può fare é creare un modulo - (o un programma user) che permetta di cambiare i settaggi data_link relativi - all'access mode e al canale a run-time . +Note: Ideally, it is possible in a Linux Box to have 2 Lucent Wavelanx + cards, one in Adhoc mode and the other in Infrastructure mode. Only one of + them could properly works because, when starting pcmcia service, all 2 cards + are set with same opts value (so in Adhoc or Infrastructure mode). So we have + to create a Linux module (or maybe a user mode program) that can change data_link + parameters at run-time such as access mode and channel used in Adhoc mode! +

-La funzione del parametro canale serve ad evitare interferenze con altre - schede Wireless. +The channel parameter is usually used to avoid interference with near other + Wireless TX/RX.

-I driver Lucent possono anche essere usati per le schede Cabletron +Lucent drivers could also be used for Cabletron cards

YDI

-Tipo di Rete: DSSS, Adhoc e Infrastructure. +Network type: DSSS, Adhoc and Infrastructure.

-YDI vende schede molto professionali insieme a relative antenne, amplificatori - e altro ancora. +YDI sells very professional cards with antennas, amplifiers and more.

-Web site: +Web-site

-Per installare: +To install:

-usa tar per scompattare il driver in una directory vuota. +untar it in a empty directory. -digita make per compilare. +type make for compile. -usa make install per installare il driver am930_isa e la relativa utility - wlanctl +make install to install the driver am930_isa and the wlanctl utility

-Una volta fatto puoi scegliere se digitare i comandi a mano con "wlanctl" - o lanciare uno degli scripts "scripts/wlan" or "scripts/rc.wlan" per configurare - automaticamente la tua scheda. +Once done you can choose if type manual commands using "wlanctl" data-link + utility or run the "scripts/wlan" file or "scripts/rc.wlan" file to automatically + config your network.

-Nella configurazione a mano i principali settaggi sono: +In manual case these are major settings:

-"wlanctl scan ..." per cercare un BSS già presente. +"wlanctl scan ..." to search for BSSs already present. -"wlanctl netlist" per mostrare i BSSs trovati con il comando - "wlanctl scan ...". +"wlanctl netlist" show you what's found with "wlanctl scan + ...". -"wlanctl bsscreate ... ssid" per creare una buona rete con il - parametro ssid. +"wlanctl bsscreate ... ssid" to create a new network with ssid + parameter. -"wlanctl bssjoin bssid" per "raggiungere" la rete specificata dal - relativo bssid. +"wlanctl bssjoin bssid" to join the network identified by bssid. + -"wlanctl authen" e "wlanctl assoc" a scopo di autenticazione. +"wlanctl authen" and "wlanctl assoc" for authentication + services.

-FAQ - Frequently asked questions +More about Wireless + +A Wireless Linux distribution

-D1: Qual'é la differenze tra il BSSID e l'ESSID e quando devo esare l'ESSID? +The wireless distribution FlyingLinux started in October 1999 in the Telecommunication + Systems Lab at Teleinformatics KTH with the objective of studying the possibilty + of using MobileIPv4 and standard DHCP-based wireless access for student labs.

-R1: Il BSSID é un numero da 48 bit usato per identificare l'area ristretta - cui ci si trova corrispondente al BSS, dove tutti gli hosts dialogano direttamente - tra di loro (eventualmente con un Access Point), mentre l'ESSID é una stringa - a lunghezza variabile che permette a differenti reti BSS di dialogare fra loro - impostando un identificativo comune noto come, appuntom ESSID. ESS stà per - Extended Service Set (ESS). Esiste un solo Access Point per ogni BSS e tutti - gli AccessPoint (relativi a sottoreti diverse) dialogeranno tra loro soltanto - se avranno lo stesso ESSID. Quindi hai bisogno dell'ESSID se hai una rete già - di un certo tipo, con almeno 2 Access Points. +The result of that work was the FlyingLinux environment available for one + hundred students and teachers during the 2G1303 project course that was held + from March to May year 2000.

-D2: Quale Access Point devo comprare? +FlyingLinux is the first linux distribution oriented to mobility services. + We have taken care of the security issues including Kerberos support and OpenSSH. +

-R2: Quello che costa meno (a parità di prestazioni!): ciò che é importante - é che l'AccessPoint e le schede che stai usando utilizzino protocolli compatibili: - vedi Par 3.3 Compatibilità. +FlyingLinux is part of the Open Source movement. We have included software + that have been developed at KTH under the GPL licence.

-D3: A che serve il settaggio del canale? +You can find the Wireless Linux distribution at this .

-R3: Quando hai diversi BSS (e magari di diversi standard) potresti aver - dei problemi di interferenza: cambiando il canale opportunamente sull'AccessPoint - o sulla scheda (in caso di AdHoc mode) puoi attenuare tali disturbi. -

-

-D4: Perché non riesco ad impostare il canale su un host che funziona in - Infrastructure mode? -

-

-R4: Perché in Infrastructure mode il canale viene sempre deciso dall'Access - Point. +Mantainer: Alberto Escudero ,

-Links +Useful links -Software Free +Open software link

- +

-Links Commerciali +Commercial link

- + - + - +

-Appendix A - Netmask 255.255.255.255, proxy arp and bridging +FAQ - Frequently asked questions

-Qui vediamo alcuni vantaggi nell'utilizzare Linux per le reti Wireless. +Q1: What's the difference between BSSID and ESSID and when I need a ESSID?

-Linux permette di specificare la netmask 255.255.255.255 per un'interfaccia: - questo può aiutare in ambito Wireless perché permette, successivamente, di - assegnare un indirizzo IP verso un'interfaccia piuttosto che un'altra. Ad esempio - puoi specificare la macchina A sull'interfaccia eth0, la macchina B sull'interfaccia - eth1 e così via. +A1: BSSID is 48 bit number used to identify the BSS short area, where all + hosts talk each other (eventually with an Access Point) ESSID is a variable + length string that can let communicate different BSS are to extend it to a + Extended Service Set (ESS). There is one Access Point for each BSS and all + they talk together only if you belong to the same ESSID. Really you need ESSID + if you have a large network with at least 2 Access Points.

-Tutto ciò non ha particolary effetti collaterali. +Q2: What Access Point I have to buy?

-Inoltre puoi utilizzare le funzionalità di proxy arp tramite il file "/proc/sys/net/ipv4/conf/ethx/proxy_arp" - dove ethx é l'interfaccia desiderata. +A2: The less expansive you find: what is important is that the Access Point + and the cards you are using use the same Physical Layer Specific: all FHSS + compatible or all DSSS compatible. Attention to Proxim RangeLan2 cards that + cannot talk with other standard FHSS because they use the proprietary protocol + OpenAir.

-Se per esempio esegui il comando "echo 1 > proxy_arp/proc/sys/net/ipv4/conf/ethx/proxy_arp" - abiliterai il proxy arp per l'interfaccia ethx, mentre con "echo 0 > - proxy_arp/proc/sys/net/ipv4/conf/ethx/proxy_arp" lo disabiliterai. +Q3: What do I use the channel setting for?

-Cos'é il proxy_arp? In maniera sintetica possiamo dire che il proxy arp - é una funzionalità che ti aiuta quandi vuoi che un router linux risponda ad - una richiesta ARP (che "vede passare" su un'interfaccia) nel caso in il destinatario - é su un'altra interfaccia del router linux. +A3: When you have more network with different BSS (and with different vendors) + you could have interference problem: changing channel on Access Points or in + Adhoc mode hosts could help you avoiding this kind of problems.

-Esempio: +Q4: Why I cannot set channel on Infrastructure hosts? +

+

+A4: Because the channel is decided by the Access Point. +

+ +Appendix A - Netmask 255.255.255.255, proxy arp and bridging +

+Here we view some Linux advantages in Wireless Internetworking. +

+

+Linux let you specify a netmask like 255.255.255.255 for an interface which + can help you assign IP addresses in to any interface you want, for example + one in eth0, another in eth1 and so on... +

+

+This has not particularly side-effects. +

+

+In addition you have proxy arp setting under /proc/sys/net/ipv4/conf/ethx/proxy_arp + where ethx if your interface. +

+

+If you "echo 1 > proxy_arp" you enable proxy_arp for that + interface while with "echo 0 > proxy_arp" you disable it. +

+

+What's proxy_arp? Quickly proxy arp help you when you want a router answer + to an ARP request if the destination address is in another interface of the + linux router. +

+

+Example:

192.168.1.1 ---- 192.168.1.2 Linux router 192.168.2.2 ----192.168.2.1 -

-Per far funzionare questa rete bisogna: +To get this example working you should:

-Senza proxy-arp +Without proxy-arp

-Settare su 192.168.1.1 192.168.1.2 come gateway +In 192.168.1.1 host to set 192.168.1.2 as gateway -Settare su 192.168.2.1 192.168.2.2 come gateway +In 192.168.2.1 host to set 192.168.2.2 as gateway -pingare da una estremità all'altra con successo. +pinging with success from any edge.

-Con proxy-arp +With proxy-arp

-Su 192.168.1.1 settare 192.168.1.2 come gateway +In 192.168.1.1 host to set 192.168.1.2 as gateway -NON settare il gateway su 192.168.2.1 ma abilitare il proxy_arp sull'interfaccia - verso destra +do not set gateway for 192.168.2.1 host but enable proxy_arp for right + interface of the router. -pingare da una estremità all'altra con successo. +pinging with success from any edge

-Il proxy arp permette al router linux di rispondere quando si vede arrivare - un'ARP request dall'host 192.168.2.1: il router dice di "avere" lui stesso l'indirizzo - di destinazione 192.168.1.1. Dopodiché quando 192.168.2.1 comincia a mandare - i pacchetti ICMP (come qualunque altro pacchetto), il nostro router LInux sa - che deve mandarli all'host 192.168.1.1. +Proxy-arp in 2. case let the linux router answer when you ping from 192.168.2.1 + host, saying that it has the 192.168.1.1 host so it can answer for it. After, + when the source start sending ICMP packet, Linux router knows that it have + to redirect it to the real host 192.168.1.1

-Nelle reti Wireless il proxy arp può quindi aiutarti quando hai tanti router - Linux e non vuoi perdere il tuoi tempo a settare per ogni host le routes statiche; - permette cioé un certo grado di trasparenza. +In Wireless network proxy arp can help you if you have many Linux boxes + that acts as IP Forwarders and you wouldn't set to all hosts a number of static + route.

-Infine puoi sperimentare il bridging sotto Linux: +You also can experiment Linux bridging in Wireless network:

-Installando un kernel recente +install a recent stable kernel -scaricando le ottime utilities per il bridging da o +download good bridge utils at or

-Bridging dovrebbe essere ancora più comodo del proxy arp. +Bridging should be more simple to manage.

Appendix B - Siemens DECT Radio Modem

-Cosa sono? Questi 2 componenti non sono delle vere schede per PC ma sono - semplicamente dei modems che si attaccano alla seriale come dei normali devices - esterni. +Web Site: +

+

+What's that? These 2 components are not real PC cards but are more like + modems that you use as external device.

-Host1-seriale - RadioModem1 - - - - - RadioModem2 - seriale-Host2 +Host1-serial - RadioModem1 - - - - - RadioModem2 - serial-Host2

-Come li connetto? +How can I connect it?

-Possiamo modellare i 2 radiomodems com un cavo Null Modem: +If you see them in an abstract vision you can model them like this:

-Host1-seriale - - CAVO NULL MODEM - - seriale-Host2 +Host1-serial - - NULL MODEM CABLE - - serial-Host2

-In questo modo ci sono 2 modi possibili per sfruttarne le potenzialità: +So you'd have a connection between 2 far serials with 2 possible configurations: +

-Linux con Windows, Linux utilizza un demone che ascolta le chiamate ppp, - mentre Windows utilizza una connessione di Accesso Remoto per chiamare Linux. - +Linux with Windows, Linux has a daemon that answer to a ppp call while + Windows has a Dial up connection under Remote Access. -Linux con Linux, dove vengono simultaneamente lanciati 2 scripts che eseguono - una connessione ppp. +Linux with Linux, where you can run (on all 2 hosts) a ppp connection, + with IP addresses inverted.

-Per la modalità 1 puoi usare questo script per Linux: +For 1 you can use this simple script in Linux:

"/usr/sbin/pppd -detach lock idle 300 crtscts connect "/usr/sbin/chat @@ -1271,40 +1265,41 @@ Per la modalit disconnect "/usr/sbin/chat -v AT OK" ms-dns IPDNS"

-dove: +where:

-/dev/ttySx é la porta seriale, +/dev/ttySx is your serial port, -IPDNS é l'indirizzo IP del tuo Server DNS, +IPDNS is the IP address of your dns server, -IPLINUX é l'indirizzo IP di Linuxe IPWINDOWS quello di Windows. +IPLINUX is the Linux IP address as IPWINDOWS is the Windows IP address. +

-Tale scripts é necessario per "far credere" a Windows che sulla seriale sia - collegato un modem reale!! +The above script is need for letting Windows believe there is a modem on + the serial end!

-Su Windows devi creare una connessione in Accesso Remoto con crtscts abilitato, - velocità a 115200 e con uno stupido numero da chiamarel (richiesto da Accesso - Remoto ma assolutamente non usato). +In Windows you need to create a Dial Up connection with crtscts enabled, + speed at 115200 and with a stupid number to call (need by Remote Access but + absolutely not used).

-Con 2 macchine Linux devi soltante lanciare, per ogni macchina uno script - come questo: +With 2 Linux boxes you only have to run a very simple script like this + at each Linux side:

"/usr/sbin/pppd passive local crtscts IPLINUX1:IPLINUX2 /dev/ttySx 115200 noauth persist"

-dove dovrai invertire IPLINUX1 con IPLINUX2 sull'altra macchina. +where you'll invert IPLINUX1 with IPLINUX2 at the other edge.

-Nota che puoi anche abilitare l'autenticazione, sia con la modalità Linux-Windows - che con quella Linux-Linux. +Note that you can do authentication even Linux-Windows than in Linux-Linux + if you want.