nm-connection-editor throws tons of errors

Bug #299900 reported by firebird
10
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hi all!
I have upgraded from hardy to intrepid, i saw there that the old network-admin has been replaced by nm-connection-editor, which obviously has some serious flaws:
first of all i get no network applet in the menu bar so i cannot pick a network there allthough iwlist scan shows them.
so i have to MANUALLY add a wifi connection in nm-connection-editor, after that i have the applet and in it i see all of the surrounding nets.
but then all of a sudden i can ONLY connect with the wifi connection as all of a sudden the wired connection does not recognize any nameservers anymore unless i MANUALLY add them to a completely empty /etc/resolv.conf.
i have to directly add them to /etc/resolv.conf as i get an error in nm-connection-editor when attempting to add a second nameserver that it is being executed read only.
and there is no unlock button anywhere in sight as in network-admin.
my wired connection has static settings and wifi is dhcp.

further if i execute nm-connection-editor from a shell with sudo (i was hoping to so circumvent the read only problem) i see the following errors in the shell:

** (nm-connection-editor:17762): WARNING **: No connections defined

(nm-connection-editor:17762): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

and when trying to edit the namesservers in the nm-connection-editor i get this for every single character that i type:

** (nm-connection-editor:17762): WARNING **: Invalid setting IPv4 Settings

and then after clicking ok comes a error message window stating:
updating connection failed: nm-ifupdown-connection.c.82 - updating connection not supported (read only)

i consider this to be major bugs so please be so kind and fix this asap!

thanlks in advance!

Revision history for this message
firebird (sysadmin-dk-compmath-deactivatedaccount) wrote :

has actually anybody taken notice of this?
i would be glad to see some feedback!
thanks in advance

Revision history for this message
firebird (sysadmin-dk-compmath-deactivatedaccount) wrote :

C'mon guys I really want to appeal to you to take notice of this, i am not just confused or have ruined something but I have this problem on three laptops of different brands and on two desktop computers!
Can PLEASE somebody take notice?

Revision history for this message
Dan Trevino (dantrevino) wrote :

I have not seen the same behavior.

You can add the applet to start automatically in your panel by:
1. navigate to System...Preferences...Sessions in the menu
2. Click 'Add'
3. type 'nm-applet --sm-disable' in the "Command" text box (Name and Comment can be whatever you want)
4. Click 'Add'
5. Click 'Close'

Revision history for this message
Dan Trevino (dantrevino) wrote :

 Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in network-manager:
status: New → Incomplete
Revision history for this message
firebird (sysadmin-dk-compmath-deactivatedaccount) wrote :

Dear Dan!

First of all thanks for the attempt to give useful information, unfortunately this did not help me much...
my main problem is not actually a missing nm-applet, but much more the inability to edit connection settings in system/preferences/network

this problem persists and we are talking about intrepid.
just once more to be on the save side: it does NOT occur on freshly installed systems but ONLY on systems that have been upgraded from hardy to intrepid.

but there it occurs on every single machine (of very different architectures)...

thanks for your attention, your's
firebird

Revision history for this message
firebird (sysadmin-dk-compmath-deactivatedaccount) wrote :

uh and i forgot: the non functioning name resolution due to a completely empty resolv.conf...

Revision history for this message
Artur Rona (ari-tczew) wrote :

$ lspci
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

Network-Manager doesn't support this card... I wanna add wire connection and I can't.
1st bug: Right click on nm-applet, choice modify connections, check tab wire connections, click Add - must 2xclick for open window...
2nd bug: If you wanna get allow connection for all users, button "Apply" doesn't work.

$ nm-connection-editor

(nm-connection-editor:19619): GLib-CRITICAL **: g_hash_table_foreach: assertion `hash_table != NULL' failed
** Message: nm_connection_list_new: failed to load VPN plugins: Couldn't read VPN .name files directory /etc/NetworkManager/VPN.

** (nm-connection-editor:19619): WARNING **: Invalid connection (empty)

** (nm-connection-editor:19619): WARNING **: <WARN> nma_gconf_connection_new(): No connection read from GConf at /system/networking/connections/1.

(nm-connection-editor:19619): Gtk-CRITICAL **: gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed

(nm-connection-editor:19619): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed

NETWORK MANAGER IS MEGA SHIT :D

Revision history for this message
firebird (sysadmin-dk-compmath-deactivatedaccount) wrote :

i was btw meanwhile able to "fix" this problem by setting "managed" from "false" to "true" in /etc/NetworkManager/nm-system-settings.conf
seriously wondering why this is set to "false" in the first place...

Revision history for this message
Donald Douwsma (donaldd) wrote :

I've been having similar problems after an upgrade, specifically no
wired connections can be managed in nm-configuration-editor.

I found that by removing old (stale) config information
from /etc/network/interfaces and rebooting nm-configuration-editor
seemed to work normally.

I removed all lines from /etc/network/interfaces except for the following
(you probably dont want to do this if you have a complicated config!).

  auto lo
  iface lo inet loopback

Revision history for this message
Donald Douwsma (donaldd) wrote :

Ok, it seems my last add is in error, after cleaning up my interfaces file interfaces appear
in nm-configuration-editor, but I cant edit them, previously no entries were shown under
'wired' the connections tab.

Revision history for this message
flxkid (oliver-ootbc) wrote :

I can also duplicate the exact same thing as Donald. I cleaned up my /etc/network/interfaces (completely emptied it in fact) and adjusted my nm-system-settings.conf just as Donald did (managed=true). I now have "ifupdown (eth0)" listed in nm-configuration-editor, but it is not editable. I also get the same GLib-CRITICAL error on the g_hash_table_foreach when I run the editor. I'm also an upgrade to 9.04 from 8.10 which was in turn an upgrade from 7.04.

My system has an Intel 82801 ethernet device.

Revision history for this message
Mattia Belletti (redglow) wrote :

Same error here on a karmic koala. the change in the "managed" field changes nothing (the "ifupdown" entry is always displayed and not editable/removable anyway). If I try to add a new setting, it allows me, but I must not set it as available to all users. if I do, it disappears from the list. also tried to clean the /etc/network/interfaces and it didn't work.

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

[Expired for network-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in network-manager (Ubuntu):
status: Incomplete → Expired
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.