Ich habe auf mein Notebook Debian 4.0 installiert.
Allerdings weiß ich nicht wie ich meinen D-Link Wireless Cardbus Adapter DWL-G650 zum Laufen bringe um ins Internet zu gelangen.
Für die Hilfe bedanke ich mich schon mal im voraus.
Linux 15.070 Themen, 107.540 Beiträge
Laut madwifi.org ist da ein Atheros Chipsatz verbaut und diese WLAN Karte soll auch funktionieren:
http://madwifi.org/wiki/Compatibility/D-Link
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
http://madwifi.org/wiki/UserDocs/Distro/Debian/MadWifi
Wenn du ein Kernelimage (von Debian fertig übersetzter Betriebsystemkern) verwendest, dann kannst du ganz einfach mit dem Modul Assistant den Madwifi Treiber installieren:
....
Installation (with module-assistant) ¶
The preferred method of installing madwifi-modules uses the module-assistant (m-a) tool to automate all of the following steps: preparing the kernel source/headers, unpacking the module tarball, compiling, building a binary-modules debian package, installing and cleaning up.
$ su
apt-get update
apt-get install madwifi-source
apt-get install madwifi-tools
m-a prepare
m-a a-i madwifi
See /usr/share/doc/madwifi-source/README.Debian for extra details. The module-assistant documentation may also be of value (man m-a).
...
Danach mußt du nur noch die Datei /etc/network/interfaces mit einem Editor bearbeiten.
Um wpa zu aktivieren mußt du das Paket wpasupplicant installieren:
Client support for WPA and WPA2 (IEEE 802.11i)
WPA and WPA2 are methods for securing wireless networks, the former
using IEEE 802.1X, and the latter using IEEE 802.11i. This software
provides key negotiation with the WPA Authenticator, and controls
association with IEEE 802.11i networks.
Unter /usr/share/doc/wpasupplicant ist ein Beispiel für die Konfiguration von wpa.
Du kannst die wpa Optionen direkt in /etc/network/interfaces eintragen oder auch in die Konfigurationsdatei /etc/wpasupplicant/wpasupplicant.conf und einen Verweis auf diese Datei in die Datei /etc/network/interfaces eintragen.
Ich kann dir ein Beispiel geben wenn du willst.
Danke KarstenW für die wichtigen Infos.
Ein Beispiel wäre nett, denn ich bin mit meinen Kenntnissen unter Debian noch nicht so weit
und bin auf Hilfe angewiesen.
Vielen Dank nochmal !
Nachdem du wpasupplicant installiert hast, kannst du ein Beispiel von /usr/share/doc/wpasupplicant/examples/ nach /etc/wpa_supplicant/ kopieren und deinen Bedingungen anpassen:
vorher
cat /usr/share/doc/wpasupplicant/examples/wpa-psk-tkip.conf
# WPA-PSK/TKIP
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="example wpa-psk network"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
psk="secret passphrase"
}
nachher:
cat /etc/wpa_supplicant/wpa_supplicant.conf
# WPA-PSK/TKIP
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="Netzwerkname"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
psk="sehr_geheimes_Netzwerkpasswort"
}
Hier ist der passende Abschnitt von der Datei /etc/network/interfaces:
(Ich habe dieser WLAN Karte eine satische Adresse gegeben. Wenn du lieber DHCP verwenden willst, mußt du static durch dhcp austauschen und kannst auch die Adressen weglassen)
# The loopback network interface
auto lo
iface lo inet loopback
allow-hotplug ath0
iface ath0 inet static
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
address 192.168.0.20
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.1
dns-search local
ath0 ist die Gerätedatei der WLAN Karte:
iwconfig
lo no wireless extensions.
eth1 no wireless extensions.
dummy0 no wireless extensions.
eth2 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11b ESSID:""
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:0 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
vmnet1 no wireless extensions.
vmnet8 no wireless extensions.
PS: Da in der Datei /etc/wpa_supplicant/wpa_supplicant.conf die Passwörter als Klartext stehen, würde ich die Dateirechte dieser Datei
ändern:
dir -l /etc/wpa_supplicant/wpa_supplicant.conf
-rw------- 1 root root 167 2007-07-19 19:45 /etc/wpa_supplicant/wpa_supplicant.conf
Dadurch können die Passwörter nur noch von root gelesen werden.
Hallo !
Danke für diese tolle Erklärung.
Ich werde mich sobald an die Arbeit machen.
sollte ich irgendwie Probleme haben werde ich mich wieder melden.
MFG Acader
