Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

30.08.2008, 22:02

iwl3945 - wpa_supplicant bleibt auf SCANNING stehen

Hallo zusammen,

ich habe in meinem Lenovo ThinkPad R61 eine "Intel Corporation PRO/Wireless 3945ABG Network Connection" - WLAN-Karte integriert. Diese sollte ja mit dem iwl3945-Treiber und wpa_supplicant laufen.

Zur Konfiguration:

/etc/conf.d/net (relevante Ausschnitte):

Quellcode

1
2
modules=( "wpa_supplicant" )
wpa_supplicant_wlan0="-Dwext" # For generic wireless


/etc/wpa_supplicant/wpa_supplicant.conf

Quellcode

1
2
3
4
5
6
7
8
9
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

# WLAN daheim

network={
ssid="meine_ssid"
psk="mein_wpa_key"
}


Output von /etc/init.d/net.wlan0 start:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 # /etc/init.d/net.wlan0 start
* Service net.wlan0 starting
* Starting wlan0
* Loading networking modules for wlan0
* modules: apipa arping tuntap bridge ccwgroup macchanger macnet rename wpa_supplicant essidnet iptunnel iproute2 system dhclient ip6to4
* wpa_supplicant provides wireless
* iproute2 provides interface
* dhclient provides dhcp
* Configuring wlan0 for MAC address 00:1F:3C:xx:xx:xx ... [ ok ]
* Starting wpa_supplicant on wlan0 ...
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported [ ok ]th param 5 value 0x1 -
* Starting wpa_cli on wlan0 ... [ ok ]
* Waiting for association [ ok ]
* Backgrounding ...
* WARNING: net.wlan0 has started but is inactive


Output von /var/log/messages während net.wlan0 start:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Aug 30 23:48:29 stef ADDRCONF(NETDEV_UP): wlan0: link is not ready
Aug 30 23:48:30 stef rc-scripts: Wireless radio has been killed for interface wlan0
Aug 30 23:48:30 stef rc-scripts: wpa_supplicant will launch, but not associate until
Aug 30 23:48:30 stef rc-scripts: wireles radio is re-enabled for interface wlan0
Aug 30 23:48:30 stef rc-scripts: WARNING:  net.wlan0 has started but is inactive
Aug 30 23:48:30 stef iwl3945: Error sending REPLY_RXON: time out after 500ms.
Aug 30 23:48:30 stef iwl3945: Error setting new configuration (-110).
Aug 30 23:48:31 stef iwl3945: Error sending REPLY_ADD_STA: time out after 500ms.
Aug 30 23:48:31 stef iwl3945: Error sending REPLY_RXON: time out after 500ms.
Aug 30 23:48:31 stef iwl3945: Error setting new configuration (-110).
Aug 30 23:48:31 stef wlan0: Initial auth_alg=0
Aug 30 23:48:31 stef wlan0: authenticate with AP 00:16:38:69:f5:91
Aug 30 23:48:32 stef iwl3945: Error sending REPLY_RXON: time out after 500ms.
Aug 30 23:48:32 stef iwl3945: Error setting new configuration (-110).
Aug 30 23:48:32 stef wlan0: Initial auth_alg=0
Aug 30 23:48:32 stef wlan0: authenticate with AP 00:16:38:xx:xx:xx
Aug 30 23:48:32 stef wlan0: authenticate with AP 00:16:38:xx:xx:xx
Aug 30 23:48:32 stef wlan0: authenticate with AP 00:16:38:xx:xx:xx
Aug 30 23:48:32 stef wlan0: authentication with AP 00:16:38:xx:xx:xx timed out


wpa_cli status liefert:

Quellcode

1
2
3
# wpa_cli status
Selected interface 'wlan0'
wpa_state=SCANNING


Auch wpa_gui bleibt auf "SCANNING" stehen.

Wo könnte das Problem liegen?
Danke für eure Hilfe!

Liebe Grüße,
stef

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »stef« (03.10.2008, 16:07)


2

31.08.2008, 11:12

Hi, ich hatte bis vor kurzem das selbe problem, habe dann meinen fritzbox wlan router auf wpa2 mit CCMP umgestellt (wichtig:nicht wpa +wpa2).

bei meiner /etc/wpa_supplicant/wpa_supplicant.conf noch proto=WPA2 pairwise=CCMP und group=CCMP eingestellt, schon liefs

ich hoffe dass es so auch bei dir funktioniert

3

01.09.2008, 11:30

Hallo,

danke für deine Antwort. Leider kann mein Router kein WPA2 sondern nur WPA. Es gibt für die Kiste (T-Com Sinus 1054 DSL) auch kein Firmwareupdate mehr.

Was könnte ich noch probieren?

lg Stefan

4

01.09.2008, 18:25

hi, ich hab hier kurz und bündig reingepostet, was ich gemacht hab, kannst es dir ja mal anschaun, falls es nicht anders geht.

Zu WPA: versuchs doch einfach mal mit WPA statt WPA2, vielleicht klappts

5

01.09.2008, 23:52

hallo zusammen,

inzwischen bin ich mal soweit gekommen, dass ich mit einem unverschlüsselten Netzwerk verbinden kann. Nach hinzufügen von ap_scan=2 zur wpa_supplicant.conf steht wpa_gui auch nicht mehr auf SCANNING sondern auf ASSOCIATING. Es scheint also "nur" noch ein Problem der Verschlüsselung zu sein...

lg

6

03.10.2008, 16:04

Lösung gefunden!

Nachdem ich lange, lange an meiner WLAN-Konfiguration unter Gentoo rumgebastelt habe, da er nie verbunden hat, wenn die Verbindung verschlüsselt war, habe ich jetzt Gott-sei-Dank die Lösung gefunden! :yes: :)
Meine wpa_supplicant.conf sieht nun wie folgt aus:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
#----------------------
eapol_version=1
ap_scan=3
#----------------------
# WLAN daheim
network={
ssid="meine_ssid"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="dieser_psk_geht_euch_nix_an"
}

Soweit alles klar: nur… der entscheidende Punkt war die Zeile
ap_scan=3

Diese Option habe ich in keiner Doku gefunden, aber es funktioniert!

Danke für eure Bemühungen!
lg stef