Wlan for alternative OS-es and screen settings for multiple screens and beamers
This site came into life to support the non fontys suppported OS-es (mainly Linux and maybe BSD) in connecting to the fontys WLAN.
The following experiences have been collected
Wlan with ubuntu 7.10 at Fontys Campus Venlo
After some short experimenting I was able to connect to the fontys wlan with ubuntu feisty fawn (7.04).
Prequisites:
- a supported wlan card. Mine is an intel 3945AGB, which is supported by the wext driver in kernels > 2.6.14.
- an installed wpa_supplicant.
With the commands
wpa_supplicant -D wext -ieth1 -c /etc/wpa_supplicant/wpa_supplicant.conf
dhcpclient eth1
I got a connection and after some patience an IP address. (The fontys network is notoriously slow with supplying dhcp addresses here in Venlo)
Config file
The trick, als always, is in the config file. (No magic involved though).
The content of my config file (/etc/wpa_supplicant/wpa_supplicant.conf) which is a modified copy of the file /usr/share/doc/wpasupplicant/examples/ieee8021x.conf under ubuntu:
# IEEE 802.1X with dynamic WEP keys using EAP-PEAP/MSCHAPv2
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="fontys"
key_mgmt=IEEE8021X
eap=PEAP
phase2="auth=MSCHAPV2"
identity="user name"
password="password"
}
of course with username and password removed.
Students should use <pcn>@student.fontys.nl, staff members <pcn>@fontys.nl
Ubuntu with madwifi
Andreas Speier has added his bits:
My system is Ubuntu 7.10 on a i386 based platform.
The madwifi driver package MUST be installed (sudo apt-get install madwifi)!
sudo wpa_supplicant -D madwifi -i ath0 -c /etc/wpa_supplicant/wpa_supplicant.conf
ath0 interface is usually standard in Ubuntu distributions.
The configuration file was not changed!
Gentoo and ArchLinux
The following was sent in by Fabio Zöllner. Currently untranslated and in German only.
Mit der untenstehenden Konfiguration konnte ich mich erfolgreich mit dem Fontys Wlan verbinden,
getestet ist sie bisher auf meinem Gentoo System und dem Archlinux System von Stephan Herder.
Auf beiden Systemen wird man Authentifiziert und bekommt einen Encryption Key zugewiesen.
Anfangs hatte ich ein Problem mit der Verbindung so das nur einer von acht Access Points mir eine
Authentifizierung und einen Encryption Key gegeben hat dies lag bei mir an den bcm43xx Treibern für
meine Boardcom Wlan-Karte die noch nicht ganz ausgereift sind. wpa_supplicant hat mir hier bei fast
jedem Access Point den Fehler Association request to the driver failed" ausgegeben.
Durch das benutzen von ndiswrapper und den orginal Treibern konnte ich dies jedoch umgehen.
Anfangs hatte ich zwischenzeitig auch einmal eine Fehlerausgabe von wpa_supplicant wegen eines Problems
mit dem ioctrl device, leider kann ich mich nichtmehr an den genauen Fehler erinnern.
wpa_supplicant.conf (v0.5.7) & shellscript das ich nutze
--------------------------------------------------------------------------
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
mode=0
ssid="fontys"
scan_ssid=1
key_mgmt=IEEE8021X
eap=PEAP
identity="<snummer>@student.fontys.nl"
password="<passwort>"
phase2="auth=MSCHAPV2"
eapol_flags=3
}
The script I use to start this is:
--------------------------------------------------------------------------
wpa_supplicant -i eth1 -c /etc/wpa_supplicant/wpa_supplicant.conf -D wext -B -dd
wait 5000 #fuer das fontys netzwerk auch was mehr ;)
dhcpcd eth1 -d
--------------------------------------------------------------------------
Two screen setup with ubuntu 7.04 and one beamer screen 1024x768 plus a desktopscreen of 1920x1200
What i wanted is to have a separate screen for presentation and a local display with my own programs. for instance to show my cheaty notes.
My
Pieter van den Hombergh
Last modified: Thu Nov 15 18:43:07 CET 2007