When using the Network applet from System Settings, NetworkManager writes this to syslog:
<info> (eth2): device state change: prepare -> config (reason 'none') [40 50 0] <info> Activation (eth2/wireless): access point 'SQT-14490' has security, but secrets are required. <info> (eth2): device state change: config -> need-auth (reason 'none') [50 60 0] <info> Activation (eth2) Stage 2 of 5 (Device Configure) complete. <warn> No agents were available for this request. <info> (eth2): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7] <warn> Activation (eth2) failed for access point (SQT-14490) <info> Marking connection 'SQT-14490' invalid. <warn> Activation (eth2) failed. <info> (eth2): device state change: failed -> disconnected (reason 'none') [120 30 0] <info> (eth2): deactivating device (reason 'none') [0] The Network settings dies later if I leave it open: kernel: [10425.006749] gnome-control-c[10284]: segfault at aaaaaac2 ip b005ff29 sp bfcf9580 error 4 in libnetwork.so[b0054000+15000] I therefore reassign to NetworkManager, this is not limited to nm- applet. ** Package changed: network-manager-applet (Ubuntu) => network-manager (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/908516 Title: Dies connecting to wireless with ERROR:nm- utils.c:1231:nm_utils_security_valid: assertion failed: (have_ap) Status in “network-manager” package in Ubuntu: Confirmed Bug description: This is a laptop where I've previously connected to another wireless network (over a different router of the same model) successfully. Now with a different router operating in another broadband connection, when I try to connect to the wifi it provides, nm-applet disappears from indicator area. If I run it from the command-line it outputs this: jani@amilo:~$ nm-applet Gtk-Message: Failed to load module "canberra-gtk-module" ** Message: applet now removed from the notification area ** Message: No keyring secrets found for ElisaKoti48/802-11-wireless-security; asking user. ** ERROR:nm-utils.c:1231:nm_utils_security_valid: assertion failed: (have_ap) Aborted Note that it doesn't actually ask me for the key but apparently fails when trying to do so. With the previous wireless network I was in, the key *was* requested, and the file describing that connection is still in /etc/NetworkManager/system-connections/. After doing the above once, there's also a definition for the non- functioning connection in /etc/NetworkManager/system-connections/, and all subsequent tries to start nm-applet immediately end in the error and the applet vanishing. If I delete the definition it has created for this non-functioning connection, the applet does appear again, but again when I try to connect to this network, it dies and won't come back until I rm the definition file. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: network-manager-gnome 0.9.1.90-0ubuntu6 ProcVersionSignature: Ubuntu 3.2.0-6.12-generic 3.2.0-rc6 Uname: Linux 3.2.0-6-generic i686 ApportVersion: 1.90-0ubuntu1 Architecture: i386 Date: Sun Dec 25 10:11:43 2011 EcryptfsInUse: Yes IfupdownConfig: auto lo iface lo inet loopback InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012) InterestingModules: b44 IpRoute: default via 192.168.100.1 dev eth0 proto static 169.254.0.0/16 dev eth0 scope link metric 1000 192.168.100.0/24 dev eth0 proto kernel scope link src 192.168.100.12 metric 1 NetworkManager.conf: [main] plugins=ifupdown,keyfile [ifupdown] managed=false NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no SourcePackage: network-manager-applet UpgradeStatus: Upgraded to precise on 2011-12-09 (15 days ago) nmcli-con: NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH Wired connection 1 2b1c0532-9770-4a0f-b8a0-340de92c20c0 802-3-ethernet 1324800498 su 25. joulukuuta 2011 10.08.18 yes no /org/freedesktop/NetworkManager/Settings/1 Elisa-16a0 be1db15c-11f9-46df-abf1-c06be1e7c0bd 802-11-wireless 1324650234 pe 23. joulukuuta 2011 16.23.54 yes no /org/freedesktop/NetworkManager/Settings/0 ElisaKoti48 2d08fb6a-35f3-4cca-b2a1-624a62ecc720 802-11-wireless 0 never yes no /org/freedesktop/NetworkManager/Settings/4 nmcli-dev: DEVICE TYPE STATE DBUS-PATH eth0 802-3-ethernet connected /org/freedesktop/NetworkManager/Devices/0 eth1 802-11-wireless disconnected /org/freedesktop/NetworkManager/Devices/1 nmcli-nm: RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN running 0.9.3.0 connected enabled enabled enabled enabled disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/908516/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

