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