Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[somehow solved] Networkmanager & wpa_supplicant
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
linuxreaktor
n00b
n00b


Joined: 03 Jan 2004
Posts: 41
Location: Frankfurt / Germany

PostPosted: Thu Jun 07, 2007 2:08 pm    Post subject: [somehow solved] Networkmanager & wpa_supplicant Reply with quote

Hi,

i have a problem using Networkmanager to connect to my wpa protected wlan.

If i use wpa_supplicant only, there is no problem in building up the connection

output of wpa_supplicant -c /root/wpa_supplicant/wpa_supplicant.conf -Dwext -iwlan0
Code:
Trying to associate with SSID 'very_secret'
Associated with 00:01:e3:08:15:a9
WPA: Key negotiation completed with 00:01:e3:08:15:a9 [PTK=TKIP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:01:e3:08:15:a9 completed (auth) [id=0 id_str=]
WPA: Group rekeying completed with 00:01:e3:08:15:a9 [GTK=TKIP]
WPA: Group rekeying completed with 00:01:e3:08:15:a9 [GTK=TKIP]
WPA: Group rekeying completed with 00:01:e3:08:15:a9 [GTK=TKIP]


my wpa_supplicant.conf looks like this:

Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
network={
        ssid="very_secret"
        psk="even_more_secret"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=TKIP
        group=TKIP
}


But when i use NetworkManager to connect to my wlan chosen from the wlan list, i get the following message after hanging shortly in stage 2 of 5:

Code:
nm_device_802_11_wireless_set_essid(): error setting ESSID to '' for device wlan0: Invalid argument


It looks like wpa_supplicant invoked by NM is not able to work correctly... Sometimes i get a connection, but after some minutes, connection gets lost again, error is stated above....There is no clear pattern in which way its working or not, i just try & try again (No changing in configuration files) by clicking on my network in the NMs Wlan list... after some tries, connection by NM is there...(but is lost after a while again (10-30min))

NetworkManager in it self seems to work, i can see the wlan list, unencrypted Networks work...

I am using prism54 by ndiswrapper with gentoo-sources-2.6.20-r8...

What makes my wonder, just using wpa_supplicant everything is fine, no connection loss, but i'd like to have the comfort of NMs gnome-applet...

Does anyone knows, what to do? How can I change the behavior how NM invokes wpa_supplicant?

Greetings David
Back to top
View user's profile Send private message
linuxreaktor
n00b
n00b


Joined: 03 Jan 2004
Posts: 41
Location: Frankfurt / Germany

PostPosted: Mon Jul 16, 2007 9:25 am    Post subject: Reply with quote

hi,

don´t know why, but after some time (6weeks) and some updates (incl. kernel & ndiswrapper) it seems to work somehow stable....

What exactly solved this, remains a secret...

Greetings david
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum