* debugging network manager association failure?
@ 2007-03-27 19:26 Johannes Berg
2007-03-28 14:52 ` Dan Williams
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2007-03-27 19:26 UTC (permalink / raw)
To: Dan Williams; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 723 bytes --]
Hi,
Usually I simply use wpa_supplicant itself when testing but for some
reason I decided to use nm today... and it failed.
My nm is 0.6.4 and wpa_supplicant 0.6.0. When I use wpa_supplicant with
a config file like this:
--- %< ---
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="berg"
priority=1
key_mgmt=WPA-PSK
psk="stuffhere"
pairwise=CCMP
group=CCMP TKIP
}
--- >% ---
it works perfectly. But with nm it doesn't do anything at all, stracing
it yields that it thinks it's getting authentication timeouts with
00:...:00. Any idea what could be causing this? Is this a bug in
mac80211?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: debugging network manager association failure?
2007-03-27 19:26 debugging network manager association failure? Johannes Berg
@ 2007-03-28 14:52 ` Dan Williams
2007-03-28 16:32 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Dan Williams @ 2007-03-28 14:52 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless
On Tue, 2007-03-27 at 21:26 +0200, Johannes Berg wrote:
> Hi,
>
> Usually I simply use wpa_supplicant itself when testing but for some
> reason I decided to use nm today... and it failed.
>
> My nm is 0.6.4 and wpa_supplicant 0.6.0. When I use wpa_supplicant with
> a config file like this:
> --- %< ---
> ctrl_interface=/var/run/wpa_supplicant
> eapol_version=1
> ap_scan=1
> fast_reauth=1
> network={
> ssid="berg"
> priority=1
> key_mgmt=WPA-PSK
> psk="stuffhere"
> pairwise=CCMP
> group=CCMP TKIP
> }
> --- >% ---
>
> it works perfectly. But with nm it doesn't do anything at all, stracing
> it yields that it thinks it's getting authentication timeouts with
> 00:...:00. Any idea what could be causing this? Is this a bug in
> mac80211?
There's been weird errors with wpa_supplicant that I can't quite wrap my
head around. There are two cases:
1) NM can't connect to wpa_supplicant's control socket sometimes; this
is fixed by using the D-Bus interface
2) The _same_ settings sent to wpa_supplicant via NM, and those same
settings in the config file, produce different results. I've compared
the settings of quite a few cases of this and found no appreciable
differences, but still NM fails to associate. I was kind of hoping this
would all go away with the switch to the D-Bus interface in 0.7, because
the socket-based control interface has been so much of a hassle. But it
probably needs to be fixed for the 0.6.x branch.
Could you possibly get some driver traces of what happens in the driver
for plain wpa_supplicant and then with NM+wpa_supplicant? If the config
that NM is sending to wpa_supplicant is the same, then the only thing I
can think of is some randomly different driver state or interaction
between the 3 unrelated to the specific config info that's causing
associations to fail.
Dan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: debugging network manager association failure?
2007-03-28 14:52 ` Dan Williams
@ 2007-03-28 16:32 ` Johannes Berg
0 siblings, 0 replies; 3+ messages in thread
From: Johannes Berg @ 2007-03-28 16:32 UTC (permalink / raw)
To: Dan Williams; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]
On Wed, 2007-03-28 at 10:52 -0400, Dan Williams wrote:
> There's been weird errors with wpa_supplicant that I can't quite wrap my
> head around. There are two cases:
>
> 1) NM can't connect to wpa_supplicant's control socket sometimes; this
> is fixed by using the D-Bus interface
I'm pretty sure it is connected, looking at the strace I see some things
sent to a socket.
> 2) The _same_ settings sent to wpa_supplicant via NM, and those same
> settings in the config file, produce different results. I've compared
> the settings of quite a few cases of this and found no appreciable
> differences, but still NM fails to associate. I was kind of hoping this
> would all go away with the switch to the D-Bus interface in 0.7, because
> the socket-based control interface has been so much of a hassle. But it
> probably needs to be fixed for the 0.6.x branch.
Strange stuff.
> Could you possibly get some driver traces of what happens in the driver
> for plain wpa_supplicant and then with NM+wpa_supplicant? If the config
> that NM is sending to wpa_supplicant is the same, then the only thing I
> can think of is some randomly different driver state or interaction
> between the 3 unrelated to the specific config info that's causing
> associations to fail.
What exactly would you want? A printk in all the ioctl handlers in
mac80211 that shows all the parameters set?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-28 16:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27 19:26 debugging network manager association failure? Johannes Berg
2007-03-28 14:52 ` Dan Williams
2007-03-28 16:32 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).