Du brauchst an Paketen:
pacman -Sy wpa_supplicant
Meine Netzwerk-Sachen in rc.conf
...
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
INTERFACES=(lo)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway=""
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
NET_PROFILES=(menu)
#
...
Ich nutze entweder Wlan(ath0 = madwifi Treiber bei mir) oder Ethernet (eth0).
In der rc.conf habe ich beides nicht drin, ich nutze für alle Verbindungen Netzwerk-Profile.
D.h. ich wähle über ein Menü (beim Booten oder auch zwischendurch) die gewünschte Verbindung aus, z.B. Home-LAN, Home-WLAN oder out-lan (wenn ich irgendwo in einem Netzwerk hänge und per DHCP eine Konfig für Ethernet kriege).
Die Profile sind in /etc/network-profiles. Dort gibt es eine Datei template, die dienst als Vorlage.
Meine Profile in diesem Dir:
/etc/network-profiles/home-lan
#
# Network Profile
#
DESCRIPTION="Home LAN"
# Network Settings
INTERFACE=eth0
HOSTNAME=denkbrett
# Interface Settings (use IFOPTS="dhcp" for DHCP)
IFOPTS="192.168.1.20 netmask 255.255.255.0 broadcast 192.168.1.255"
GATEWAY=192.168.1.250
# DNS Settings (optional)
DOMAIN=home.lan
DNS1=192.168.1.1
DNS2=
Das ist meine Ethernet-Verbindung mit einer statischen IP ins eigene LAN.
/etc/network-profiles/home-wlan
#
# Network Profile
#
DESCRIPTION="Home WLAN"
# Network Settings
INTERFACE=ath0
HOSTNAME=denkbrett
# Interface Settings (use IFOPTS="dhcp" for DHCP)
#IFOPTS="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
IFOPTS="dhcp"
#GATEWAY=192.168.0.1
# DNS Settings (optional)
#DOMAIN=localdomain
#DNS1=192.168.0.1
#DNS2=
# Wireless Settings (optional)
ESSID=GBW
#KEY=
#IWOPTS="mode managed essid $ESSID channel 11 key s:$KEY"
WIFI_INTERFACE=ath0 # use this if you have a special wireless interface
# that is linked to the real $INTERFACE
#WIFI_WAIT=5 # seconds to wait for the wireless card to
# associate before bringing the interface up
USEWPA="yes" # start wpa_supplicant with the profile
WPAOPTS="-D wext" # use "" for normal operation or specify additional
# options (eg, "-D ipw")
# see /etc/wpa_supplicant.conf for configuration
#AUTOWPA="yes" # automatically configure WPA
#PASSKEY="" # wpa passkey/phrase. for use with AUTOWPA
Hier müßtest du ath0 gegen eth1 tauschen.
Auch beim Treiber für wpa_supp brauchst du glaube ich ipw, also
WPAOPTS="-D ipw"
Auch deine ESSID anpassen.
Die Netz-Konfig kommt hier über DHCP (also IP, Gateway, DNS)
/etc/network-profiles/out-lan
#
# Network Profile
#
DESCRIPTION="LAN dhcp"
# Network Settings
INTERFACE=eth0
HOSTNAME=denkbrett
# Interface Settings (use IFOPTS="dhcp" for DHCP)
IFOPTS="dhcp"
Jetzt das "Herzstück", die WPA-Anmeldung:
/etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="GBW"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
psk="geheim"
}
Das war's eigentlich schon. Beim Booten kommt jetzt ein Menu, wo du das
gewünschte Profil wählen kannst.
Wenn du dich immer nur z.B. zu home-wlan verbindest, kannst du das Profil
auch fest in die rc.conf eintragen, statt der Menü-Auswahl.
NET_PROFILES=(home-wlan)
Es gibt in den Wikis noch ein paar Ips zu dem ganzen:
http://wiki.archlinux.org/index.php/Wireless_Setup#Using_the_Archlinux_Roaming_Network_Profiles
http://wiki.archlinux.org/index.php/Ndiswrapper_and_wpa_supplicant
(dort der Abschnitt zu wpa_supplicant)
Wenn ich mich per WLAN zu fremden Netzen verbinde nutze ich meist:
pacman -Sy wpa_supplicant_gui
oder
pacman -Sy wlassistant
Beides grafische Tools.
Wenn du das Startmenü noch mal brauchst, kannst du es als root starten mit:
netcfg --menu
siehe auch: netcfg --help
So, ich hoffe ich habe nichts vergessen...
Ach ja, das wlan-ng26-utils stört IMHO momentan nicht, es sollte lediglich nicht in /etc/rc.conf als DAEMON gestartet werden.