[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

WLAN mit wpasupplicant (NetGear, Inc. WG111 WiFi (v2))



Hallo Liste,

ich verzweifel hier an einem ganz kuriosen Problem mit wpa_supplicant.

Ich verwende, wie im Betreff erwähnt, einen NetGear, Inc. WG111 WiFi
(v2) mit rtl8187. Ich habe mich allerdings dazu entschieden den
Treiber per ndiswrapper zu installieren, was auch funktioniert:

# dmesg
[...]
> usb 4-2: new high speed USB device using ehci_hcd and address 4
> usb 4-2: configuration #1 chosen from 1 choice
> usb 4-2: reset high speed USB device using ehci_hcd and address 4
> ndiswrapper: driver net111v2 (NETGEAR Inc.,12/26/2007,5.1308.1226.2007) loaded
> wlan0: ethernet device 00:18:4d:ce:2d:a7 using NDIS driver: net111v2, version: 0x1, NDIS version: 0x500, vendor: 'Realtek RTL8187 Wireless LAN USB NIC                                     ', 0846:6A00.F.conf
> wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK

Wenn ich nun wpa_supplicant manuell starte, mit
# wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/
wpa_supplicant.conf -d

und in einer zweiten Konsole
# dhclient wlan0

aufrufe, funktioniert es ohne Probleme, ich kriege eine IP vom AP und
kann problemlos surfen.
Wenn ich nun jedoch das Netzwerk über
# ifup wlan0

starten möchte, bekomme ich keine IP Adresse zugewiesen:
# ifup wlan0
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:18:4d:ce:2d:a7
Sending on   LPF/wlan0/00:18:4d:ce:2d:a7
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
[...]

# ps aux | grep wpa

zeigt mir jedoch an, dass wpa_supplicant läuft. Wenn ich nun den
Aufruf, den ps aux mir liefert, bekomme ich auch tatsächlich keine IP-
Adresse.
Wenn ich dem Aufruf von oben eine Änderung hinzufüge, dass nichts mehr
auf der Kommandozeile ausgegeben wir, also z.B.

# wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/
wpa_supplicant.conf -B

oder

# wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/
wpa_supplicant.conf -d >/dev/null

dann kriege ich per
# dhclient wlan0

keine IP-Adresse mehr, er sucht sich tot.
Jemand 'ne Idee, woran das liegen könnte?

Bin für jeden Tipp dankbar,
Christoph


Reply to: