Tags:
tag this topic
create new tag
view all tags
---+!! Installation instructions for the connection with the encrypted WLAN-network "uni-ms" under gentoo Linux %TOC{title="Content"}% ---++ Introduction The following instructions will describe how with the help of the "wpa_supplicant" a connection with the encrypted WLAN-network of Muenster University ("uni-ms") can be set up. The operating system for this is the free distribution "gentoo Linux", which has become more and more popular at university. It is possible that the configuration files of other distributions are positioned differently. At the moment, gentoo supports a wireless environment, either by means of _wireless-tools_ or _wpa_supplicant_. WPA supplicant is a package, which allows you to connect to an access point with activated Wi-Fi Protected Access (WPA) – it is thus the package of our choice. Unfortunately, it does not support all WLAN drivers yet. You can find a list of all supported drivers on the WPA Supplicant homepage (http://hostap.epitest.fi/wpa_supplicant/). This instruction has been tested with the following configuration: * Kernel: 2.6.18-gentoo, x86_64 * sys-apps/baselayout-1.12.8 * net-wireless/wpa_supplicant-0.5.6 ---++ Preparations Make sure that you have activated CONFIG_PACKET in your kernel: <pre> # grep "CONFIG_PACKET" /usr/src/linux/.config CONFIG_PACKET=y ### It must say "y"! </pre> Install wpa_supplicant under gentoo with the following command: <pre> # emerge net-wireless/wpa_supplicant </pre> ---++ Configuration of the network Now the file =/etc/conf.d/net= must be configured, so that _wpa_supplicant_ is preferred over _wireless-tools_ (if both are installed, _wireless-tools_ is the standard). The file =/etc/conf.d/net= should be changed as follows: %X% Please note: Replace =eth1= by the name of your WLAN device. <pre> # wpa_supplicant over wireless-tools modules=( "wpa_supplicant" ) # It is import to tell wpa_supplicant which # driver to use, as it isn’t good at guessing. wpa_supplicant_eth1="-Dwext" </pre> The chosen driver =wext= works well with the Intel Centrino Duo-WLANChipset (ipw3945). Other commonly used drivers are: <pre> # Multiband Atheros Driver for Wi-Fi wpa_supplicant_eth1="-Dmadwifi" # Older Centrinos wpa_supplicant_eth1="-Dipw" </pre> For the configuration of other drivers, please consult README of _wpa_supplicant_. ---++ Configuration of wpa_supplicant Now you have to configure _wpa_supplicant_ yourself. The configuration file can be found under =/etc/wpa_supplicant/wpa_supplicant.conf=. The presented configuration is sufficient, but can easily be extended if necessary. Details can be found on the man page of _wpa_supplicant_. Enter your central user ID and your password for network access of the ZIV where required. <pre> # As a standard, the uni-ms network is used network={ ssid="uni-ms" key_mgmt=WPA-EAP eap=PEAP identity="YYYYYYYYYYYYYYYYYYYYYY" password="XXXXXXXXXXXXXXXXXXXXXX" priority=5 } # Fallback connection to Funk-Hoer1 network={ ssid="Funk-Hoer1" key_mgmt=NONE priority=1 } </pre> This setting connects to the new "uni-ms"-network (if available) and falls back to "Funk-Hoer1", if this is not possible. Please note that the connection to “uni-ms” no longer requires a connection with a VPN-client into the university network. Now restart your network adapter: <pre> # /etc/init.d/net.eth1 restart </pre> ---++ Dealing with errors Use the _wpa client_, a frontend to the interaction with _wpa_supplicant_: <pre> # wpa_cli -ieth1 </pre> Status outputs are issued regularly. If you enter =help=, a list of all available commands will appear. ---++ WPA_GUI For the sake of completeness, we would like to draw your attention to the fact that with the command <pre> # wpa_gui </pre> you can navigate to a graphic surface. It offers basic setting options and is thus mainly suitable for debugging purposes. -- Main.LauraOeste - 2011-05-04
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2011-05-04
-
l_5foest01
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
Українська
简体中文
簡體中文
E
dit
A
ttach
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