Tags:
view all tags
---+!! Installationsanleitung für die Verbindung mit dem verschlüsselten WLAN-Netzwerk "uni-ms" unter gentoo Linux %H% _Diese Anleitung wurde dem ZIV freundlicherweise von Thorsten Dikmann zur Verfügung gestellt._ ---++!! Inhalt %TOC% ---++ Einleitung In der folgenden Anleitung wird beschrieben, wie man mit Hilfe des "wpa_supplicant" eine Verbindung zum verschlüsselten WLAN-Netzwerk der Universität Münster ("uni-ms") herstellt. Als Betriebsystem wird die freie Distribution "gentoo Linux" eingesetzt, die sich an der Uni wachsender Beliebtheit erfreut. Bei anderen Distributionen befinden sich die Konfigurationsdateien möglicherweise an anderen Stellen. gentoo unterstützt momentan eine Wireless-Umgebung entweder durch _wireless-tools_ oder _wpa_supplicant_. WPA Supplicant ist ein Paket, welches es Ihnen erlaubt sich mit einem Access-Point mit aktiviertem Wi-Fi Protected Access (WPA) zu verbinden - und somit das Paket unserer Wahl. Leider unterstützt es derzeit noch nicht alle WLAN-Treiber. Eine Liste der bereits unterstützen Treiber finden Sie auf der WPA Supplicant Homepage (http://hostap.epitest.fi/wpa_supplicant/). Die folgende Anleitung wurde mit der folgenden Konfiguration getestet: * Kernel: 2.6.18-gentoo, x86_64 * sys-apps/baselayout-1.12.8 * net-wireless/wpa_supplicant-0.5.6 ---++ Vorbereitungen Stellen Sie sicher, dass Sie CONFIG_PACKET in ihrem Kernel aktiviert haben: <pre> # grep "CONFIG_PACKET" /usr/src/linux/.config CONFIG_PACKET=y ### Hier muss "y" stehen! </pre> Installieren Sie wpa_supplicant unter gentoo mit dem folgenden Befehl: <pre> # emerge net-wireless/wpa_supplicant </pre> ---++ Konfiguration des Netzwerkes Nun muss die Datei =/etc/conf.d/net= konfiguriert werden, so dass _wpa_supplicant_ gegenüber _wireless-tools_ bevorzugt wird (wenn beide installiert sind ist _wireless-tools_ der Standard). Die Datei =/etc/conf.d/net= sollte wie folgt geändert werden: %X% Achtung: Ersetzen Sie =eth1= durch den Namen ihres WLAN-Devices <pre> # wpa_supplicant gegenüber wireless-tools bevorzugen modules=( "wpa_supplicant" ) # Es ist wichtig, dass wir wpa_supplicant mitteilen welcher # Treiber verwendet werden soll, da es nicht sehr gut raten # kann. wpa_supplicant_eth1="-Dwext" </pre> Der ausgewählte Treiber =wext= funktioniert problemlos mit dem Intel Centrino Duo-WLANChipsatz (ipw3945). Gängige andere Treiber wären: <pre> # Multiband Atheros Driver for Wi-Fi wpa_supplicant_eth1="-Dmadwifi" # Ältere Centrinos wpa_supplicant_eth1="-Dipw" </pre> Die Konfiguration anderer Treiber entnehmen Sie bitte der README von _wpa_supplicant_. ---++ Konfiguration von wpa_supplicant Nun müssen Sie noch _wpa_supplicant_ selbst konfigurieren. Die Konfigurationsdatei findet sich unter =/etc/wpa_supplicant/wpa_supplicant.conf=. Die vorgestellte Konfiguration ist ausreichend, kann bei Bedarf jedoch umfassend erweitert werden. Details entnehmen Sie auch hier der manpage von _wpa_supplicant_. Fügen Sie an den entsprechenden Stellen ihre zentrale Nutzerkennung und ihr Netzzugangspasswort des ZIV ein. <pre> # Standartmaessig wird das uni-ms Netzwerk verwendet network={ ssid="uni-ms" key_mgmt=WPA-EAP eap=PEAP identity="YYYYYYYYYYYYYYYYYYYYYY" password="XXXXXXXXXXXXXXXXXXXXXX" priority=5 } # Fallback-Verbindung zum Funk-Hoer1 network={ ssid="Funk-Hoer1" key_mgmt=NONE priority=1 } </pre> Diese Einstellung verbindet sich wenn vorhanden mit dem neuen "uni-ms"-Netzwerk und fällt auf "Funk-Hoer1" zurück, wo dies nicht möglich ist. Beachten Sie, dass Sie sich bei einer Verbindung mit dem "uni-ms"-Netzwerk nicht mehr nötig ist, sich mit einem VPN-Client in das Uni-Netzwerk zu verbinden. Starten Sie nun ihren Netzwerkadapter neu: <pre> # /etc/init.d/net.eth1 restart </pre> ---++ Fehlerbehandlung Verwenden Sie den _wpa client_, ein Frontent zur Interaktion mit _wpa_supplicant_: <pre> # wpa_cli -ieth1 </pre> Es werden regelmäßig Statusausgaben ausgegeben. Die Eingabe von =help= listet alle zur Verfügung stehenden Befehle auf. ---++ WPA_GUI Der Vollständigkeit halber soll darauf hingewiesen werden, dass mit dem Befehl <pre> # wpa_gui </pre> eine grafische Oberfläche aufgerufen werden kann. Diese bietet rudimentäre Einstellmöglichkeiten und eignet sich deshalb vorwiegend zu Debug-Zwecken.
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r6
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r2 - 2007-07-05
-
PhilippKegel
Home
Site map
Anleitungen web
Exchange web
Main web
TWiki web
Anleitungen Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Български
Cesky
Dansk
Deutsch
English
Español
Suomi
_Français_
Italiano
日本語
한글
Nederlands
Polski
Português
Русский
Svenska
Українська
简体中文
簡體中文
Edit
Attach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding ZIVwiki?
Send feedback
Datenschutzerklärung
Impressum