network manager (nm-applet) does not remember network passwords

Bug #955463 reported by Robert Collins
40
This bug affects 9 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Every reconnect it asks me for my wifi password again :(.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: network-manager 0.9.2.0+git201202161854.8572ecf-0ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Thu Mar 15 09:46:00 2012
IpRoute:
 default via 192.168.1.1 dev wlan0 proto static
 10.0.3.0/24 dev lxcbr0 proto kernel scope link src 10.0.3.1
 169.254.0.0/16 dev wlan0 scope link metric 1000
 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.102 metric 2
 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
ProcEnviron:
 LANGUAGE=la_AU:tlh_GB:tlh:en
 TERM=screen
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: network-manager
UpgradeStatus: Upgraded to precise on 2012-02-07 (36 days ago)
WpaSupplicantLog:

nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 wlan0 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/42
 eth0 802-3-ethernet unmanaged /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.3.0 connected enabled enabled enabled enabled disabled

Revision history for this message
Robert Collins (lifeless) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
summary: - network manager does not remember network passwords
+ network manager (nm-applet) does not remember network passwords
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Robert,

If that isn't already checked, can you verify whether "Available to all users" is set on the connections you're interested in? It's also very relevant if it happens to any of the wireless connections.

If you see that "Available"... isn't checked, please take a snapshot of your connections in gconf (gconftool-2 -R /system/network) or whatever the directory was for this, since they were probably not migrated properly from NM 0.8 to 0.9. Then, send them to me by email after ensuring there are no passwords :)

Changed in network-manager (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Robert Collins (lifeless) wrote :

I can't bring up the 'edit connections' menu - when I select it in the panel nothing happens. So I can't check the 'available to all users' bit.

$ gconftool-2 -R /system/network
$

Changed in network-manager (Ubuntu):
status: Incomplete → New
Revision history for this message
Michael Basse (michael-alpha-unix) wrote :

try nm-connection-editor from the shell

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 955463] Re: network manager (nm-applet) does not remember network passwords

It shows:

~$ nm-connection-editor

** (nm-connection-editor:23127): WARNING **: Invalid setting Wireless
Security: Invalid wireless security

** (nm-connection-editor:23127): WARNING **: Invalid setting Wireless
Security: Invalid wireless security

--

the GUI works though. The connection in question shows up, and is
editable. 'Available to all users' is greyed out and not ticked.

I would kindof like it to be available to all users though. I thought
it was set that way in oneiric.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

It should have; but this reacts as if you had no permissions to edit the connection, which is odd. Does that connection exist under /etc/NetworkManager/system-connections? If so, could you email it to me at my @canonical.com address?

This particular issue could be due to files sticking around in your user directory, though I'm not sure what or why -- it would be useful if you could see whether the same behavior is reproducible in a guest session.

Thanks!

Changed in network-manager (Ubuntu):
status: New → Incomplete
affects: network-manager (Ubuntu) → network-manager-applet (Ubuntu)
Changed in network-manager-applet (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Robert Collins (lifeless) wrote :

$ ls -l /etc/NetworkManager/system-connections/Auto\ failte
-rw------- 1 root root 445 Apr 12 21:55 /etc/NetworkManager/system-connections/Auto failte

mailing you now

Changed in network-manager-applet (Ubuntu):
status: Incomplete → New
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

And is your user in this case indeed "robertc"? You may want to edit the connection file and remove the permission line to make that connection available to all users again.

Revision history for this message
Robert Collins (lifeless) wrote :

On Sat, Apr 14, 2012 at 1:32 AM, Mathieu Trudel-Lapierre
<email address hidden> wrote:
> And is your user in this case indeed "robertc"? You may want to edit the
> connection file and remove the permission line to make that connection
> available to all users again.

yes, I am robertc as the usercode on that machine.

I don't understand the suggestion - are you saying that I should
remove the line if I *am* robertc, or if I *am not* ?

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

You might want to try removing it. What this will change is to make that configuration file system-wide.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager-applet (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexandros (alexandros-t) wrote :

A workaround that I have just found is to remove your wireless network from nm-connections-editor and connect to it. After doing this, nm-connections-editor does not display any warnings, my wireless password appears when I try to edit my connection and the option to make it available to all users is not grayed out any more.

Revision history for this message
Heath Hunnicutt (heath-hunnicutt) wrote :

Mathieu,

> You may want to edit the connection file and remove the permission line to make that connection available to all users again.

It seems rather than investigating the root causes of the myriad bugs in nm-applet, you are providing work-arounds to users.

Who is working on the bugs?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.