Debian 4.0 Etch ------Madwifi Installation ------
Kernel : 2.6.18-4-k7 mit wpasupplicant 0.5.5-2 für WPA-PSK Verschlüsselung
WLAN PCI-Karte ALLNET ALL0281 [ CPU AMD Athlon XP 1800+]
Du brauchst die passenden linuxheaders
Code:
aptitude install apt-get install linux-headers-$(uname -r)
oder:
# apt-get install linux-headers-`uname -r`
Vor dem apt-get dist-upgrade unbedingt die /etc/apt/sources.list anpassen:
Meine /etc/apt/sources.list
# Etch = Stable
deb http://ftp.de.debian.org/debian etch contrib main non-free
deb-src http://ftp.de.debian.org/debian etch contrib main non-free
# debian-security
deb http://ftp.de.debian.org/debian-security etch/updates main contrib non-free
deb-src http://ftp.de.debian.org/debian-security etch/updates main contrib non-free
Danach :
# apt-get install wireless-tools ( wenn nicht schon vorhanden)
# apt-get dist-upgrade (unbedingt notwendig)
Nutzte den Debian-Way
Code:
module-assistant prepare
module-assistant auto-install madwifi-source
(nur ein Auszug...)
# module-assistant auto-install madwifi-source
Entpacke madwifi-tools (aus .../madwifi-tools_0.9.2+dfsg-1_i386.deb) ...
Richte madwifi-tools ein (0.9.2+dfsg-1) ...
Richte madwifi-modules-2.6.18-4-k7 ein (0.9.2+r1842.20061207-2+2.6.18.dfsg.1-12etch2) ...
Und siehe da !
~$ lsmod|grep ath
ath_pci 83616 0
ath_rate_sample 13440 1 ath_pci
wlan 175740 4 wlan_scan_sta,ath_pci,ath_rate_sample
ath_hal 192080 3 ath_pci,ath_rate_sample
oder :
~$ apt-cache search madwifi
madwifi-tools - tools for the Multiband Atheros Driver for WiFi
hostapd - user space IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
madwifi-doc - documentation for the Multiband Atheros Driver for WiFi
madwifi-source - source for the Multiband Atheros Driver for WiFi
madwifi-modules-2.6.18-4-k7 - modules for the Multiband Atheros Driver for WiFi (kernel 2.6.18-4-k7)
Anpassung der Files /etc/network/interfaces und /etc/wpa_supplicant/wpa_supplicant.conf
/etc/network/interfaces
## My WLAN for Madwifi ##
iface ath0 inet dhcp
wpa-driver madwifi
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wpa-ssid WLAN
auto ath0
iface lo inet loopback
/etc/wpa_supplicant/wpa_supplicant.conf
## My wpa_supplicant.conf ##
## Debian 4.0 Etch Kernel 2.6.18-4-k7 (wpasupplicant 0.5.5-2)##
## Madwifi Atheros Driver ##
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
network={
ssid="WLAN"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP CCMP
psk=xxxx-geheim---
}
P.S zu
wpa_supplicant.conf
In /usr/share/doc/wpasupplicant/examples/ befindet die File
wpa_supplicant.conf.template die als wpa_supplicant.conf nach
/etc/wpa_supplicant/ zu kopieren ist.
Den PSK-WPA Schlüssel habe ich mit :
$ wpa_passphrase WLAN geheim erstellt und in die /etc/wpa_supplicant/wpa_supplicant.conf
eingefügt.