jaja
[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 effect="slide top">
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 top left">
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 </slide>
73
74 <slide>
75 <header size="20" fgcolor="#22FF22"> 2.1 Begriffserklaerungen</header>
76 <text></text>
77 <text></text>
78 <listitem fgcolor="#ff00cc" size="20">   SSID: Netzwerkname</listitem>
79 <text></text>
80 <listitem fgcolor="#ff00cc" size="20">   WEP: Verschluesselung (RC4)</listitem>
81 <text></text>
82 <listitem size="20">    40 (64) oder 104 (128) Bit Schluessellaenge</listitem>
83 <text></text>
84 <listitem size="20">    4 Keys moeglich</listitem>
85 </slide>
86
87 <slide effect="slide bottom left">
88 <header size="20" fgcolor="#22FF22"> 2.2 Managed Mode</header>
89 <text></text>
90 <text></text>
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>
94 <text></text>
95 <listitem fgcolor="#ff00cc" size="20">   Channel wird vom AP festgelegt</listitem>
96 <text></text>
97 <listitem fgcolor="#ff00cc" size="20">   Client wird auf selbe SSID wie AP konfiguriert (automat.)</listitem>
98 <text></text>
99 <listitem fgcolor="#ff00cc" size="20">   Client muss die selben WEPkeys benutzen wie AP</listitem>
100 <text></text>
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>
103 </slide>
104
105 <slide effect="slide top, blend">
106 <header size="20" fgcolor="#22FF22"> 2.3 AdHoc Mode</header>
107 <text></text>
108 <text></text>
109 <listitem fgcolor="#ff00cc" size="20">   Nur Wireless Clients ohne AP </listitem>
110 <text></text>
111 <listitem fgcolor="#ff00cc" size="20">   daher keine Ethernetverbindung</listitem>
112 <text></text>
113 <listitem fgcolor="#ff00cc" size="20">   Clients muessen selben Channel, SSID und WEPkey haben</listitem>
114 <text>    Bsp.: {Client 1} ~~~ {Client 2} ~~~ ...</text>
115 </slide>
116
117 <slide effect="slide left">
118 <header size="20" fgcolor="#22FF22"> 2.4 WDS</header>
119 <text></text>
120 <text></text>
121 <listitem fgcolor="#ff00cc" size="20">   Mehrere Ethernets ohne direkte Verbindun werden durch AccessPoints verbunden</listitem>
122 <text></text>
123 <listitem fgcolor="#ff00cc" size="20">   keine Clients noetig</listitem>
124 <text></text>
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>
127 </slide>
128
129 <slide effect="slide top left, blend">
130 <header size="20" fgcolor="#22FF22"> 3.1 Vorraussetzungen</header>
131 <text></text>
132 <text></text>
133 <listitem fgcolor="#ff00cc" size="20">   Kernel</listitem>
134 <text>    http://www.kernel.org (&gt;=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  ---&gt;</text>
137 <text>      [*] Network device support</text>
138 <text>      ...</text>
139 <text>      Wireless LAN (non-hamradio)  ---&gt;</text>
140 <text>       [*] Wireless LAN (non-hamradio)</text>
141 <text>    fuer PCI Karten auch:</text>
142 <text>     &lt;M&gt;   Hermes chipset 802.11b support (Orinoco/Prism2/Symbol)</text>
143 <text>     &lt;M&gt;     Hermes in PLX9052 based PCI adaptor support</text>
144 <text>     &lt;M&gt;     Prism 2.5 PCI 802.11b adaptor support</text>
145 <text></text>
146 <listitem fgcolor="#ff00cc" size="20">   wireless_tools</listitem>
147 <text>    http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html</text>
148 <text></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>
152 <text></text>
153 <listitem size="20">    compilen</listitem>
154 <text>     make</text>
155 <text>     sudo make install</text>
156 <text>     /etc/ld.so.conf: /usr/local/lib/ (falls noetig) &amp;&amp; ldconfig</text>
157 <text></text>
158 <listitem fgcolor="#ff00cc" size="20">   pcmcia-cs (hier - weil nicht im Kernel)</listitem>
159 <text>    http://pcmcia-cs.sourceforge.net</text>
160 <text></text>
161 <listitem size="20">    compilen:</listitem>
162 <text>     make config (interaktiv)</text>
163 <text>     make all &amp;&amp; make install</text>
164 <text></text>
165 <listitem size="20">    config: card Eintrag in /etc/pcmcia/config (cardctl info)</listitem>
166 <text></text>
167 <listitem size="20">    start/stop: /etc/init.d/pcmcia start/stop</listitem>
168 </slide>
169
170 <slide effect="blend">
171 <header size="20" fgcolor="#22FF22"> 3.2 Client Setup</header>
172 <text></text>
173 <text></text>
174 <listitem fgcolor="#ff00cc" size="20">   setzen des WEPkeys</listitem>
175 <text>    iwconfig eth0 key s:123456789abcd (104 Bit key benutzen, wenn supported!)</text>
176 <text></text>
177 <listitem fgcolor="#ff00cc" size="20">   setzen der SSID</listitem>
178 <text>    iwconfig eth0 essid "" oder iwconfig eth0 essid any</text>
179 <text></text>
180 <listitem fgcolor="#ff00cc" size="20">   Wireless device hochfahren</listitem>
181 <text>    ifconfig eth0 192.168.1.5 up</text>
182 </slide>
183
184 <slide effect="slide bottom left, blend">
185 <header size="20" fgcolor="#22FF22"> 3.3 AP Setup</header>
186 <text></text>
187 <text></text>
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>
192 <text></text>
193 <listitem fgcolor="#ff00cc" size="20">   HostAP</listitem>
194 <text>    Treiber, der IEEE 802.11 management Funktionen am Host Computer uebernimmt</text>
195 <text></text>
196 <listitem size="20">    build:</listitem>
197 <text>     cp -a hostap/driver/* ./pcmcia-cs/</text>
198 <text>     jetzt wie bei pcmcia-cs</text>
199 <text></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>
204 <text></text>
205 <listitem fgcolor="#ff00cc" size="20">   HermesAP</listitem>
206 <text>    Erweiterter Orinoco Treiber, der AP-Firmware benutzt</text>
207 <text></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>
211 <text></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>
215 <text></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>
219 <text></text>
220 <text></text>
221 </slide>
222
223 </slides>