4fa8130b291dc7eb8e5a4d17e3668af1682eb8dc
[lectures/dfb-slides.git] / wlan1 / wlan1.xml
1 <?xml version='1.0' encoding='iso-8859-1'?>
2
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">
7
8 <slide effect="none">
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>
15 <text/>
16 <text>email: hunz@hunz.org, frank@luga.de</text>
17 <text>event: Linuxinfotag 2003</text>
18 <text>location: FH-Augsburg</text>
19 </slide>
20
21
22 <slide effect="slide top left, blend">
23 <header size="20" fgcolor="#22FF22">Inhalt</header>
24 <text></text>
25 <text></text>
26 <text fgcolor="#ff00cc">1 Einfuehrung</text>
27 <text > 1.1 Was ist Wireless LAN?</text>
28 <text > 1.2 WaveLAN Hardware</text>
29 <text></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>
35 <text></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>
40 </slide>
41
42 <slide>
43 <header size="20" fgcolor="#22FF22"> 1.1 Was ist Wireless LAN?</header>
44 <text></text>
45 <text></text>
46 <listitem fgcolor="#ff00cc" size="20">   Drahtlose Netzwerk Technologie</listitem>
47 <text></text>
48 <listitem fgcolor="#ff00cc" size="20">   2.4 GHz Bereich, 14 Channels (unterschiedl. Frequenzen)</listitem>
49 <text></text>
50 <listitem fgcolor="#ff00cc" size="20">   Übertragungsraten 1 - 54 MBit</listitem>
51 <text></text>
52 <listitem fgcolor="#ff00cc" size="20">   Reichweite 50 - 300m</listitem>
53 </slide>
54
55 <slide effect="slide left, blend">
56 <header size="20" fgcolor="#22FF22"> 1.2 WaveLAN Hardware</header>
57 <text></text>
58 <text></text>
59 <listitem fgcolor="#ff00cc" size="20">   Accesspoint 120 - 800 Euro</listitem>
60 <text>    auch als DSL-Router</text>
61 <text>    siehe Punkt 5</text>
62 <text></text>
63 <listitem fgcolor="#ff00cc" size="20">   WaveLAN Karten 30 - 150 Euro</listitem>
64 <text>    22 MBit +40 Euro, 54 MBit &gt; 100 Euro</text>
65 <text></text>
66 <listitem fgcolor="#ff00cc" size="20">   Bundles (z.B. AP, 2 Karten) billiger</listitem>
67 <text></text>
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>
72 <text>    </text>
73 </slide>
74
75 <slide effect="slide top right, blend">
76 <header size="20" fgcolor="#22FF22"> 2.1 Begriffserklaerungen</header>
77 <text></text>
78 <text></text>
79 <listitem fgcolor="#ff00cc" size="20">   SSID: Netzwerkname</listitem>
80 <text></text>
81 <listitem fgcolor="#ff00cc" size="20">   WEP: Verschluesselung (RC4)</listitem>
82 <text></text>
83 <listitem size="20">    40 (64) oder 104 (128) Bit Schluessellaenge</listitem>
84 <text></text>
85 <listitem size="20">    4 Keys moeglich</listitem>
86 </slide>
87
88 <slide effect="slide bottom, blend">
89 <header size="20" fgcolor="#22FF22"> 2.2 Managed Mode</header>
90 <text></text>
91 <text></text>
92 <listitem fgcolor="#ff00cc" size="20">   Dazu meldet sich jeder Client an einem AccessPoint an</listitem>
93 <text>    Der AP stellt so die Verbindung zum Ethernet her</text>
94 <text>    Bsp.: {Client} ~~~ (AP)---[Ethernet]</text>
95 <text></text>
96 <listitem fgcolor="#ff00cc" size="20">   Channel wird vom AP festgelegt</listitem>
97 <text></text>
98 <listitem fgcolor="#ff00cc" size="20">   Client wird auf selbe SSID wie AP konfiguriert (automat.)</listitem>
99 <text></text>
100 <listitem fgcolor="#ff00cc" size="20">   Client muss die selben WEPkeys benutzen wie AP</listitem>
101 <text></text>
102 <listitem fgcolor="#ff00cc" size="20">   An einem Ethernet koennen mehrere APs angeschlossen werden</listitem>
103 <text>  </text>
104 <text>    Bsp.: {Client 1} ~~~ (AP 1)---[Ethernet]---(AP 2) ~~~ {Client 2}</text>
105 </slide>
106
107 <slide effect="slide top">
108 <header size="20" fgcolor="#22FF22"> 2.3 AdHoc Mode</header>
109 <text></text>
110 <text></text>
111 <listitem fgcolor="#ff00cc" size="20">   Nur Wireless Clients ohne AP </listitem>
112 <text></text>
113 <listitem fgcolor="#ff00cc" size="20">   daher keine Ethernetverbindung</listitem>
114 <text></text>
115 <listitem fgcolor="#ff00cc" size="20">   Clients muessen selben Channel, SSID und WEPkey haben</listitem>
116 <text>    Bsp.: {Client 1} ~~~ {Client 2} ~~~ ...</text>
117 <text>  </text>
118 </slide>
119
120 <slide effect="slide bottom left">
121 <header size="20" fgcolor="#22FF22"> 2.4 WDS</header>
122 <text></text>
123 <text></text>
124 <listitem fgcolor="#ff00cc" size="20">   Mehrere Ethernets ohne direkte Verbindun werden durch AccessPoints verbunden</listitem>
125 <text></text>
126 <listitem fgcolor="#ff00cc" size="20">   keine Clients noetig</listitem>
127 <text></text>
128 <listitem fgcolor="#ff00cc" size="20">   APs muessen auf selbem Channel sein und die selben WEPkeys haben</listitem>
129 <text>    Bsp.: [Ethernet 1]---(AP 1) ~~~ (AP 2)---[Ethernet 2]</text>
130 </slide>
131
132 <slide effect="slide top, blend">
133 <header size="20" fgcolor="#22FF22"> 3.1 Vorraussetzungen</header>
134 <text></text>
135 <text></text>
136 <listitem fgcolor="#ff00cc" size="20">   Kernel</listitem>
137 <text>    http://www.kernel.org (&gt;=2.4.20 - nicht unbedingt pre/testing/2.5)</text>
138 <text>    hier: kein PCMCIA Support im Kernel sondern pcmcia-cs</text>
139 <text>     Network device support  ---&gt;</text>
140 <text>      [*] Network device support</text>
141 <text>      ...</text>
142 <text>      Wireless LAN (non-hamradio)  ---&gt;</text>
143 <text>       [*] Wireless LAN (non-hamradio)</text>
144 <text>    fuer PCI Karten auch:</text>
145 <text>     &lt;M&gt;   Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)</text>
146 <text>     &lt;M&gt;     Hermes in PLX9052 based PCI adaptor support</text>
147 <text>     &lt;M&gt;     Prism 2.5 PCI 802.11b adaptor support</text>
148 <text></text>
149 <listitem fgcolor="#ff00cc" size="20">   wireless_tools</listitem>
150 <text>    http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html</text>
151 <text></text>
152 <listitem size="20">    linux/wireless.h installen</listitem>
153 <text>     entweder wireless.h ueber /usr/include/linux/wireless.h kopieren oder</text>
154 <text>     bei neuem kernel /usr/include/linux nach /usr/src/linux/include/linux linken</text>
155 <text></text>
156 <listitem size="20">    compilen</listitem>
157 <text>     make</text>
158 <text>     sudo make install</text>
159 <text>     /etc/ld.so.conf: /usr/local/lib/ (falls noetig) &amp;&amp; ldconfig</text>
160 <text></text>
161 <listitem fgcolor="#ff00cc" size="20">   pcmcia-cs (hier - weil nicht im Kernel)</listitem>
162 <text>    http://pcmcia-cs.sourceforge.net</text>
163 <text></text>
164 <listitem size="20">    compilen:</listitem>
165 <text>     make config (interaktiv)</text>
166 <text>     make all &amp;&amp; make install</text>
167 <text></text>
168 <listitem size="20">    config: card Eintrag in /etc/pcmcia/config (cardctl info)</listitem>
169 <text></text>
170 <listitem size="20">    start/stop: /etc/init.d/pcmcia start/stop</listitem>
171 </slide>
172
173 <slide effect="slide top, blend">
174 <header size="20" fgcolor="#22FF22"> 3.2 Client Setup</header>
175 <text></text>
176 <text></text>
177 <listitem fgcolor="#ff00cc" size="20">   setzen des WEPkeys</listitem>
178 <text>    iwconfig eth0 key s:123456789abcd (104 Bit key benutzen, wenn supported!)</text>
179 <text></text>
180 <listitem fgcolor="#ff00cc" size="20">   setzen der SSID</listitem>
181 <text>    iwconfig eth0 essid "" oder iwconfig eth0 essid any</text>
182 <text></text>
183 <listitem fgcolor="#ff00cc" size="20">   Wireless device hochfahren</listitem>
184 <text>    ifconfig eth0 192.168.1.5 up</text>
185 </slide>
186
187 <slide effect="slide left, blend">
188 <header size="20" fgcolor="#22FF22"> 3.3 AP Setup</header>
189 <text></text>
190 <text></text>
191 <listitem fgcolor="#ff00cc" size="20">   Chipsatz</listitem>
192 <text>    http://www.seattlewireless.net/index.cgi/HardwareComparison</text>
193 <text>    Prism: HostAP http://hostap.epitest.fi</text>
194 <text>    Lucent: HermesAP http://hunz.org/hermesap.html</text>
195 <text></text>
196 <listitem fgcolor="#ff00cc" size="20">   HostAP</listitem>
197 <text>    Treiber, der IEEE 802.11 management Funktionen am Host Computer uebernimmt</text>
198 <text></text>
199 <listitem size="20">    build:</listitem>
200 <text>     cp -a hostap/driver/* ./pcmcia-cs/</text>
201 <text>     jetzt wie bei pcmcia-cs</text>
202 <text></text>
203 <listitem size="20">    config:</listitem>
204 <text>     card Eintrag in /etc/pcmcia/hostap_cs.conf (cardctl info)</text>
205 <text>     iwconfig wlan0 essid "foobar" (default "test")</text>
206 <text>     iwconfig wlan0 channel X (zum setzen des channels) </text>
207 <text></text>
208 <listitem fgcolor="#ff00cc" size="20">   HermesAP</listitem>
209 <text>    Erweiterter Orinoco Treiber, der AP-Firmware benutzt</text>
210 <text></text>
211 <listitem size="20">    build: </listitem>
212 <text>     aus driver/orinoco-0.13b-hermesap-0.1a/ *.c *.h ins wireless dir von pcmcia-cs kopieren</text>
213 <text>     pcmcia-cs wie oben compilen</text>
214 <text></text>
215 <listitem size="20">    AP firmware extrahieren und laden:</listitem>
216 <text>     im firmware dir ./hfwget.sh ausfuehren</text>
217 <text>     dann firmware mit hfw/hfwload ethX firmware/T108580.hfw laden</text>
218 <text></text>
219 <listitem size="20">    config:</listitem>
220 <text>     ssid / wepkeys / channel setzen wie oben</text>
221 <text>     hidden mode mit iwpriv ethX hidden 1</text>
222 <text></text>
223 <text></text>
224 </slide>
225
226 </slides>