X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Fdfb-slides.git;a=blobdiff_plain;f=wlan1%2Fwlan1-content;h=818d163bf8cea1bd9551c8be142843a769bfa8f0;hp=58481395e17e39f3c0501fd97d4dc0fb881667bb;hb=56d4b0f73d20f1104a304573aac565db10446262;hpb=cd8ff70425b81f85d99f6d05650ab5aaa6bc236a diff --git a/wlan1/wlan1-content b/wlan1/wlan1-content index 5848139..818d163 100644 --- a/wlan1/wlan1-content +++ b/wlan1/wlan1-content @@ -1,10 +1,3 @@ -# T^WaveLAN -# D^Teil 1: Wireless LAN unter Linux -# A^Benedikt 'Hunz' Heinz, Frank Zirkelbach -# M^hunz@hunz.org, frank@luga.de -# E^Linuxinfotag 2003 -# L^FH-Augsburg - 1 Einfuehrung 1.1 Was ist Wireless LAN? + Drahtlose Netzwerk Technologie @@ -51,27 +44,66 @@ + APs muessen auf selbem Channel sein und die selben WEPkeys haben Bsp.: [Ethernet 1]---(AP 1) ~~~ (AP 2)---[Ethernet 2] 3 WaveLAN unter Linux - # http://www.seattlewireless.net/index.cgi/HardwareComparison 3.1 Vorraussetzungen + + Kernel + http://www.kernel.org (>=2.4.20 - nicht unbedingt pre/testing/2.5) + hier: kein PCMCIA Support im Kernel sondern pcmcia-cs + Network device support ---> + [*] Network device support + ... + Wireless LAN (non-hamradio) ---> + [*] Wireless LAN (non-hamradio) + fuer PCI Karten auch: + Hermes chipset 802.11b support (Orinoco/Prism2/Symbol) + Hermes in PLX9052 based PCI adaptor support + Prism 2.5 PCI 802.11b adaptor support + wireless_tools http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html + linux/wireless.h installen - entweder wireless.h über /usr/include/linux/wireless.h kopieren oder + entweder wireless.h ueber /usr/include/linux/wireless.h kopieren oder bei neuem kernel /usr/include/linux nach /usr/src/linux/include/linux linken - + iw* compilen - + pcmcia-cs oder Kernel Treiber + + compilen + make + sudo make install + /etc/ld.so.conf: /usr/local/lib/ (falls noetig) && ldconfig + + pcmcia-cs (hier - weil nicht im Kernel) + http://pcmcia-cs.sourceforge.net + + compilen: + make config (interaktiv) + make all && make install + + config: card Eintrag in /etc/pcmcia/config (cardctl info) + + start/stop: /etc/init.d/pcmcia start/stop 3.2 Client Setup + setzen des WEPkeys - Bsp.: iwconfig eth0 key s:123456789abcd + iwconfig eth0 key s:123456789abcd (104 Bit key benutzen, wenn supported!) + + setzen der SSID + iwconfig eth0 essid "" oder iwconfig eth0 essid any + Wireless device hochfahren - Bsp.: ifconfig eth0 192.168.1.5 up + ifconfig eth0 192.168.1.5 up 3.3 AP Setup - + hermesap - + hostap - http://hostap.epitest.fi/ - -4 Sicherheit - 4.1 WEP - 4.2 ACL - 4.3 Hidden SSID - + + Chipsatz + http://www.seattlewireless.net/index.cgi/HardwareComparison + Prism: HostAP http://hostap.epitest.fi + Lucent: HermesAP http://hunz.org/hermesap.html + + HostAP + Treiber, der IEEE 802.11 management Funktionen am Host Computer uebernimmt + + build: + cp -a hostap/driver/* ./pcmcia-cs/ + jetzt wie bei pcmcia-cs + + config: + card Eintrag in /etc/pcmcia/hostap_cs.conf (cardctl info) + iwconfig wlan0 essid "foobar" (default "test") + iwconfig wlan0 channel X (zum setzen des channels) + + HermesAP + Erweiterter Orinoco Treiber, der AP-Firmware benutzt + + build: + aus driver/orinoco-0.13b-hermesap-0.1a/ *.c *.h ins wireless dir von pcmcia-cs kopieren + pcmcia-cs wie oben compilen + + AP firmware extrahieren und laden: + im firmware dir ./hfwget.sh ausfuehren + dann firmware mit hfw/hfwload ethX firmware/T108580.hfw laden + + config: + ssid / wepkeys / channel setzen wie oben + hidden mode mit iwpriv ethX hidden 1 +#4 Sicherheit +# WaveLAN unsicher! Mehr dazu siehe Vortrag 2!