nm-applet doesn't show connection/devices on startup

Bug #1027638 reported by Jessica Lambiase
64
This bug affects 13 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Nm-applet doesn't show any connection on startup, only options to enable/disable wireless/cabled network functionality, get connection infos and edit connection options, altough it is able to connect to default wireless; kinda bug #827884 replied on Ubuntu Quantal x86. Attached screenshot.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: network-manager-gnome 0.9.6.0~git201207161252.13c6db8-0ubuntu1
ProcVersionSignature: Ubuntu 3.4.0-5.11-generic 3.4.0
Uname: Linux 3.4.0-5-generic i686
ApportVersion: 2.4-0ubuntu4
Architecture: i386
Date: Sun Jul 22 16:11:23 2012
ExecutablePath: /usr/bin/nm-applet
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120606.2)
IpRoute:
 default via 192.168.1.1 dev eth1 proto static
 169.254.0.0/16 dev eth1 scope link metric 1000
 192.168.1.0/26 dev eth1 proto kernel scope link src 192.168.1.5 metric 9
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
ProcEnviron:
 PATH=(custom, no user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: network-manager-applet
UpgradeStatus: No upgrade log present (probably fresh install)
XsessionErrors: (compiz:1704): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed
nmcli-con:
 NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY DBUS-PATH
 Default_WLAN b747187f-7aed-4895-8d58-cf0c2d75f287 802-11-wireless 1342709024 gio 19 lug 2012 16:43:44 CEST yes no /org/freedesktop/NetworkManager/Settings/2
 Vodafone-10897827 6067030d-42de-41d8-8fd1-132b5ac82410 802-11-wireless 1342966304 dom 22 lug 2012 16:11:44 CEST yes no /org/freedesktop/NetworkManager/Settings/1
 Vodafone Internet Facile (old) da955c1a-d832-4556-b4c9-fec38051be3f gsm 1342630946 mer 18 lug 2012 19:02:26 CEST no no /org/freedesktop/NetworkManager/Settings/0
 Connessione via cavo 1 3f685677-a390-435b-9145-1b0ad6e87acc 802-3-ethernet 1342963904 dom 22 lug 2012 15:31:44 CEST yes no /org/freedesktop/NetworkManager/Settings/3
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH
 eth0 802-3-ethernet unavailable /org/freedesktop/NetworkManager/Devices/1
 eth1 802-11-wireless connected /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
 running 0.9.5.95 connected enabled enabled enabled enabled disabled

Revision history for this message
Jessica Lambiase (siliconjey) wrote :
description: updated
description: updated
Revision history for this message
Jessica Lambiase (siliconjey) wrote :
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
Josep Pujadas-Jubany (jpujades) wrote :

Similar problem...

Ubuntu 12.04 LTS (Precise Pangolin) up-to-date
* Tested with a netbook (32 bit) with WiFi connection
* Tested with a desktop (64 bit) with VPN connections.

After login, nm-applet doesn't show the wifi connections (on netbook) or the VPN connections (on desktop).

* For the netbook, WiFi connections appear after waiting some minutes.
* For the desktop, I need to logout and login to see the VPN submenu.

Another (obvious) solution is

sudo service network-manager stop
sudo service network-manager start

No trouble with network connections, only with nm-applet submenues.

Regards,

Josep Pujadas-Jubany

Copied from https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/1039670 (marked as dupicated).

Revision history for this message
Hrotkó Gábor (roti-al) wrote :

Restarting the nm-applet after login, works.

At this link:
http://awesome.naquadah.org/wiki/Nm-applet
the "nm-applet >= 0.9.4.1-1" section says that polkit has to be running for nm-applet to work properly.

So I had to modify the file:
/etc/xdg/autostart/nm-applet.desktop

and change this line:
Exec=nm-applet

to this (my machine is not too fast):
Exec=sh -c "sleep 30; nm-applet" &

And after the login, nm-applet appears, with the correct menus.

Maybe the order of autostart items would help, or an upstart-like start mechanism can help.

Revision history for this message
Damir Butmir (d4m1r2) wrote :

Same issue with Ubuntu 12.04 LTS x64, with a hardwired desktop. Happens about 50% of the time on startup, but I have actually recently noticed that it might be fine at startup, but appear hours later as well....Created a thread on it on ubuntuforums.org for those interested (http://ubuntuforums.org/showthread.php?p=12278500).

Every time I see it, I go to my terminal and "sudo service network-manager restart" and it fixes it....

Linux damir-ubuntu 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Josep Pujadas-Jubany (jpujades) wrote :

gksu gedit /etc/xdg/autostart/nm-applet.desktop

and changed Exec line as:

Exec=sh -c "sleep 30; nm-applet" &

worked for me. I put 10 seconds for my 64 bit wired desktop and 30 seconds for wifi netbook.

Revision history for this message
Damir Butmir (d4m1r2) wrote :

I appreciate the workarounds, but I am waiting for an official fix instead of manually adding a delay as a workaround.

My only concern is if we have narrowed down exactly what the problem is caused by and its impact, why is this bug still not assigned?

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.