1 <?xml version='1.0' encoding='iso-8859-1'?>
3 <slides bgcolor="#222266" fgcolor="#9999ff"
4 face="../ttf/decker.ttf" size="15"
5 bullet="../img/bullet.png"
6 screen_width="1024" screen_height="768">
9 <header size="10"></header>
10 <header fgcolor="#5080FF" size="80">WaveLAN</header>
11 <header size="20"></header>
12 <header fgcolor="#5080FF" size="35">Teil 1: Wireless LAN unter Linux</header>
13 <header size="40"></header>
14 <text>Benedikt 'Hunz' Heinz, Frank Zirkelbach</text>
16 <text>email: hunz@hunz.org, frank@luga.de</text>
17 <text>event: Linuxinfotag 2003</text>
18 <text>location: FH-Augsburg</text>
22 <slide effect="slide top left, blend">
23 <header size="20" fgcolor="#22FF22">Inhalt</header>
26 <text fgcolor="#ff00cc">1 Einfuehrung</text>
27 <text > 1.1 Was ist Wireless LAN?</text>
28 <text > 1.2 WaveLAN Hardware</text>
30 <text fgcolor="#ff00cc">2 Funktionsweise </text>
31 <text > 2.1 Begriffserklaerungen</text>
32 <text > 2.2 Managed Mode</text>
33 <text > 2.3 AdHoc Mode</text>
34 <text > 2.4 WDS</text>
36 <text fgcolor="#ff00cc">3 WaveLAN unter Linux</text>
37 <text > 3.1 Vorraussetzungen</text>
38 <text > 3.2 Client Setup</text>
39 <text > 3.3 AP Setup</text>
42 <slide effect="slide top">
43 <header size="20" fgcolor="#22FF22"> 1.1 Was ist Wireless LAN?</header>
46 <listitem fgcolor="#ff00cc" size="20"> Drahtlose Netzwerk Technologie</listitem>
48 <listitem fgcolor="#ff00cc" size="20"> 2.4 GHz Bereich, 14 Channels (unterschiedl. Frequenzen)</listitem>
50 <listitem fgcolor="#ff00cc" size="20"> Übertragungsraten 1 - 54 MBit</listitem>
52 <listitem fgcolor="#ff00cc" size="20"> Reichweite 50 - 300m</listitem>
55 <slide effect="slide top left">
56 <header size="20" fgcolor="#22FF22"> 1.2 WaveLAN Hardware</header>
59 <listitem fgcolor="#ff00cc" size="20"> Accesspoint 120 - 800 Euro</listitem>
60 <text> auch als DSL-Router</text>
61 <text> siehe Punkt 5</text>
63 <listitem fgcolor="#ff00cc" size="20"> WaveLAN Karten 30 - 150 Euro</listitem>
64 <text> 22 MBit +40 Euro, 54 MBit > 100 Euro</text>
66 <listitem fgcolor="#ff00cc" size="20"> Bundles (z.B. AP, 2 Karten) billiger</listitem>
68 <listitem fgcolor="#ff00cc" size="20"> Antennen (Planar, Omnidirektional, Richt)</listitem>
69 <text> http://www.turnpoint.net/wireless/cantennahowto.html</text>
70 <text> Aber: nicht alle Karten/APs haben (gleichen) Antennenanschluss</text>
71 <text> maximale Reichweiten 2 - 20 km (nicht alles erlaubt)</text>
75 <header size="20" fgcolor="#22FF22"> 2.1 Begriffserklaerungen</header>
78 <listitem fgcolor="#ff00cc" size="20"> SSID: Netzwerkname</listitem>
80 <listitem fgcolor="#ff00cc" size="20"> WEP: Verschluesselung (RC4)</listitem>
82 <listitem size="20"> 40 (64) oder 104 (128) Bit Schluessellaenge</listitem>
84 <listitem size="20"> 4 Keys moeglich</listitem>
87 <slide effect="slide bottom left">
88 <header size="20" fgcolor="#22FF22"> 2.2 Managed Mode</header>
91 <listitem fgcolor="#ff00cc" size="20"> Dazu meldet sich jeder Client an einem AccessPoint an</listitem>
92 <text> Der AP stellt so die Verbindung zum Ethernet her</text>
93 <text> Bsp.: {Client} ~~~ (AP)---[Ethernet]</text>
95 <listitem fgcolor="#ff00cc" size="20"> Channel wird vom AP festgelegt</listitem>
97 <listitem fgcolor="#ff00cc" size="20"> Client wird auf selbe SSID wie AP konfiguriert (automat.)</listitem>
99 <listitem fgcolor="#ff00cc" size="20"> Client muss die selben WEPkeys benutzen wie AP</listitem>
101 <listitem fgcolor="#ff00cc" size="20"> An einem Ethernet koennen mehrere APs angeschlossen werden</listitem>
102 <text> Bsp.: {Client 1} ~~~ (AP 1)---[Ethernet]---(AP 2) ~~~ {Client 2}</text>
105 <slide effect="slide top, blend">
106 <header size="20" fgcolor="#22FF22"> 2.3 AdHoc Mode</header>
109 <listitem fgcolor="#ff00cc" size="20"> Nur Wireless Clients ohne AP </listitem>
111 <listitem fgcolor="#ff00cc" size="20"> daher keine Ethernetverbindung</listitem>
113 <listitem fgcolor="#ff00cc" size="20"> Clients muessen selben Channel, SSID und WEPkey haben</listitem>
114 <text> Bsp.: {Client 1} ~~~ {Client 2} ~~~ ...</text>
117 <slide effect="slide left">
118 <header size="20" fgcolor="#22FF22"> 2.4 WDS</header>
121 <listitem fgcolor="#ff00cc" size="20"> Mehrere Ethernets ohne direkte Verbindun werden durch AccessPoints verbunden</listitem>
123 <listitem fgcolor="#ff00cc" size="20"> keine Clients noetig</listitem>
125 <listitem fgcolor="#ff00cc" size="20"> APs muessen auf selbem Channel sein und die selben WEPkeys haben</listitem>
126 <text> Bsp.: [Ethernet 1]---(AP 1) ~~~ (AP 2)---[Ethernet 2]</text>
129 <slide effect="slide top left, blend">
130 <header size="20" fgcolor="#22FF22"> 3.1 Vorraussetzungen</header>
133 <listitem fgcolor="#ff00cc" size="20"> Kernel</listitem>
134 <text> http://www.kernel.org (>=2.4.20 - nicht unbedingt pre/testing/2.5)</text>
135 <text> hier: kein PCMCIA Support im Kernel sondern pcmcia-cs</text>
136 <text> Network device support ---></text>
137 <text> [*] Network device support</text>
139 <text> Wireless LAN (non-hamradio) ---></text>
140 <text> [*] Wireless LAN (non-hamradio)</text>
141 <text> fuer PCI Karten auch:</text>
142 <text> <M> Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)</text>
143 <text> <M> Hermes in PLX9052 based PCI adaptor support</text>
144 <text> <M> Prism 2.5 PCI 802.11b adaptor support</text>
146 <listitem fgcolor="#ff00cc" size="20"> wireless_tools</listitem>
147 <text> http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html</text>
149 <listitem size="20"> linux/wireless.h installen</listitem>
150 <text> entweder wireless.h ueber /usr/include/linux/wireless.h kopieren oder</text>
151 <text> bei neuem kernel /usr/include/linux nach /usr/src/linux/include/linux linken</text>
153 <listitem size="20"> compilen</listitem>
155 <text> sudo make install</text>
156 <text> /etc/ld.so.conf: /usr/local/lib/ (falls noetig) && ldconfig</text>
158 <listitem fgcolor="#ff00cc" size="20"> pcmcia-cs (hier - weil nicht im Kernel)</listitem>
159 <text> http://pcmcia-cs.sourceforge.net</text>
161 <listitem size="20"> compilen:</listitem>
162 <text> make config (interaktiv)</text>
163 <text> make all && make install</text>
165 <listitem size="20"> config: card Eintrag in /etc/pcmcia/config (cardctl info)</listitem>
167 <listitem size="20"> start/stop: /etc/init.d/pcmcia start/stop</listitem>
170 <slide effect="blend">
171 <header size="20" fgcolor="#22FF22"> 3.2 Client Setup</header>
174 <listitem fgcolor="#ff00cc" size="20"> setzen des WEPkeys</listitem>
175 <text> iwconfig eth0 key s:123456789abcd (104 Bit key benutzen, wenn supported!)</text>
177 <listitem fgcolor="#ff00cc" size="20"> setzen der SSID</listitem>
178 <text> iwconfig eth0 essid "" oder iwconfig eth0 essid any</text>
180 <listitem fgcolor="#ff00cc" size="20"> Wireless device hochfahren</listitem>
181 <text> ifconfig eth0 192.168.1.5 up</text>
184 <slide effect="slide bottom left, blend">
185 <header size="20" fgcolor="#22FF22"> 3.3 AP Setup</header>
188 <listitem fgcolor="#ff00cc" size="20"> Chipsatz</listitem>
189 <text> http://www.seattlewireless.net/index.cgi/HardwareComparison</text>
190 <text> Prism: HostAP http://hostap.epitest.fi</text>
191 <text> Lucent: HermesAP http://hunz.org/hermesap.html</text>
193 <listitem fgcolor="#ff00cc" size="20"> HostAP</listitem>
194 <text> Treiber, der IEEE 802.11 management Funktionen am Host Computer uebernimmt</text>
196 <listitem size="20"> build:</listitem>
197 <text> cp -a hostap/driver/* ./pcmcia-cs/</text>
198 <text> jetzt wie bei pcmcia-cs</text>
200 <listitem size="20"> config:</listitem>
201 <text> card Eintrag in /etc/pcmcia/hostap_cs.conf (cardctl info)</text>
202 <text> iwconfig wlan0 essid "foobar" (default "test")</text>
203 <text> iwconfig wlan0 channel X (zum setzen des channels) </text>
205 <listitem fgcolor="#ff00cc" size="20"> HermesAP</listitem>
206 <text> Erweiterter Orinoco Treiber, der AP-Firmware benutzt</text>
208 <listitem size="20"> build: </listitem>
209 <text> aus driver/orinoco-0.13b-hermesap-0.1a/ *.c *.h ins wireless dir von pcmcia-cs kopieren</text>
210 <text> pcmcia-cs wie oben compilen</text>
212 <listitem size="20"> AP firmware extrahieren und laden:</listitem>
213 <text> im firmware dir ./hfwget.sh ausfuehren</text>
214 <text> dann firmware mit hfw/hfwload ethX firmware/T108580.hfw laden</text>
216 <listitem size="20"> config:</listitem>
217 <text> ssid / wepkeys / channel setzen wie oben</text>
218 <text> hidden mode mit iwpriv ethX hidden 1</text>