NetworkManager Applet: Manual Default Gateway changes are ignored

Bug #373739 reported by Elizabeth Greene
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: network-manager-gnome

Hi.

In Ubuntu 9.04 Desktop, manual changes to the default gateway are ignored unless you also change the IP address.

Steps to reproduce.

First, use NetworkManager to specify a static Ip address.
-Right-Click the NetworkManager icon in the notification area.
-Select Edit Connections
-Select "Auto eth0"
-Click Edit
-Click the IPV4 Settings tab
-Specify an IP address, subnet mask, and default gateway.
-Click Apply

Next, try to change the default gateway
-Right-Click the NetworkManager icon in the notification area.
-Select Edit Connections
-Select "Auto eth0"
-Click Edit
-Click the IPV4 Settings tab
-Change the default gateway.
-Click Apply

Re-open the applet and you will see the default gateway has not changed in the GUI.

The workaround is to change the IP and the default gateway at the same time, apply, and then change the IP back. That is a hassle.

The bug is in nm-connection-editor. I'll see if I can find it and post a patch.

Thanks,
Ellie

elizabeth@elizabeth-laptop:~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
elizabeth@elizabeth-laptop:~$ apt-cache policy network-manager-gnome
network-manager-gnome:
  Installed: 0.7.1~rc4.1-0ubuntu2
  Candidate: 0.7.1~rc4.1-0ubuntu2
  Version table:
 *** 0.7.1~rc4.1-0ubuntu2 0
        500 http://us.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status
elizabeth@elizabeth-laptop:~$

Revision history for this message
Elizabeth Greene (nerdygirl-ellie) wrote :

This bug is only reproducible if you do not <enter> or <tab> off of the default gateway field. If you move off of the field before clicking apply then it works as expected.

it looks like connection-editor/page-ip4.c/cell_edited (...) needs to be called for the active cell when the apply button is clicked. That is probably beyond my abilities. Any takers?

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.