Red Hat Bugzilla – Bug 507134
[enh] communicate system connection failures better
Last modified: 2010-12-05 01:49:49 EST
I have configured a WLAN-profile, which I have enabled for all users via NetworkManager. To this point everything works fine. After a reboot, NM does not automatically connect to the configured profile. A manual connection is not possible, because the "Connect"-Button is greyed out (this connection is has a hidden SSID).
does not work for me too. It always says that there is no configuration file 'ifcfg-ifcfg-MyConnection'.
Furthermore, if the connection is simply renamed, the scripts in /etc/sysconfig/network-scripts are not getting renamed. The workaround is, that the checkbox (make connection available for all users) is deactivated, then saved, then again activated and saved again.
I get exactly the same bug with a F11 and a F12. However, I can select the connection in the applet, but NM didn't react.
Can somebody attach both their ~/.xsession-errors file and their /var/log/messages from the time this problem occurred so I can figure out whats going on? Thanks!
Created attachment 369086 [details]
Interesting part of ./xsession-errors
Created attachment 369087 [details]
Output of tail -f /var/log/messages
Here you have the logs. To resume NM seems to do an infinite loops after :
<info> (wlan0): device state change: 4 -> 5 (reason 0)
My network is protected by WPA2. But I get the same error without it.
It'll try 4 times to connect if it doesn't get any secrets or if the connection fails, then mark the connection as invalid so that it doesn't get into an infinite loop of continually retrying.
However, this could be a problem with system-settings not returning secrets correctly.
Quite strange, it seems to be fix on a Fedora 12 gold. A fix has been applied somewhere ?
There have been a few fixes for F12 in this area, yes. But the issue may still be present on Fedora 11. What do you get for:
ls -al /etc/sysconfig/network-scripts/keys-*
I'd like to see on the the Fedora 11 install whether the keys got written out successfully.
If you don't have Fedora 11 installed anymore, then I guess we can close the issue as we wont' be able to debug further.
Huh, it just "seems", quite more like an illusion, because I have the bug again (without touching anything neither update or restart)
So for the output, here you have :
-rw-------. 1 root root 20 nov. 16 22:56 /etc/sysconfig/network-scripts/keys-linksys
If you're still having the "looping" error with F12, it's probably fixed upstream by:
So Pablo, just to clarify, you're having this issue on F12 as well too, right?
Yes, I still having the issue on F12. I will try to build NM from git in order to verify if it fix the issue.
Huh, so there are a good news and a bad news.
The good is that with the NM build from master (I modify the Fedora rpm), the connection "available for all users" is able to connect to the wifi network. The bad is that the connection is taking a lot of time: more than 2 minutes for the "default" connection and NM timeout for the connection "available for all users"! So, no change at the end...
So with NM-7.997 and wpa_supplicant-0.6.8-7, I still can't connect to a protected "available for all users" connection. But some changes, if I desactivate the protection, it works ! And the log in /var/log/messages is quite different now than the previous one.
Created attachment 377026 [details]
Output of tail -f /var/log/messages
(In reply to comment #14)
> Created an attachment (id=377026) [details]
> Output of tail -f /var/log/messages
That appears to indicate that the PSK is incorrect; this could be because it is incorrect, or becuase NetworkManager is reading it incorrectly from teh system configuration files. What is the contents of your /etc/NetworkManager/nm-system-settings.conf file?
>this could be because it is incorrect
Huh, good catch ! But it's quite strange that NM doesn't prompt a dialog box in order to type the right password as a fallback.
The content of /etc/NetworkManager/nm-system-settings.conf :
System connections cannot depend on UI because they must be available before login and at system boot time. If NM was trying to bring up the connection before login, there's no way it could possibly bring up UI anyway :)
What NM could do is be better about communicating errors like this to the user so that you can go fix the problem, even if NM doesn't ask you for a password.
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '12'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 12's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 12 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.