nm-applet loses ipv4 configuration

Bug #438160 reported by Vinicius Seixas
64
This bug affects 9 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

I am trying to configure a static IP & DNS to my wireless connection but the nm-applet does not retain the config. I click the Apply button at the "Edit" page and immediately return to it and the config is at full DHCP again. Running nm-applet from the console shows these errors:

** (nm-connection-editor:2708): WARNING **: Invalid setting IPv4 Settings: addresses
** (nm-connection-editor:2708): WARNING **: ui_to_setting: IPv4 address '<none>' missing or invalid!
** (nm-connection-editor:2708): WARNING **: Invalid setting IPv4 Settings
** (nm-connection-editor:2708): WARNING **: ui_to_setting: IPv4 prefix '<none>' missing!
** (nm-connection-editor:2708): WARNING **: Invalid setting IPv4 Settings

  Some of the messages above appear repeated many times.

  More info:

$ apt-cache policy network-manager
network-manager:
  Instalado: 0.8~a~git.20090923t064445.b20cef2-0ubuntu1
  Candidato: 0.8~a~git.20090923t064445.b20cef2-0ubuntu1
  Tabela de versão:
 *** 0.8~a~git.20090923t064445.b20cef2-0ubuntu1 0
        500 http://br.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

$ lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10

ProblemType: Bug
Architecture: i386
CRDA: Error: [Errno 2] Arquivo ou diretório inexistente
Date: Mon Sep 28 10:53:25 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/nm-applet
IfupdownConfig:
 auto lo
 iface lo inet loopback
IpRoute:
 192.168.1.0/24 dev eth2 proto kernel scope link src 192.168.1.2 metric 2
 169.254.0.0/16 dev eth2 scope link metric 1000
 default via 192.168.1.1 dev eth2 proto static
NonfreeKernelModules: wl
Package: network-manager-gnome 0.8~a~git.20090923t220421.1ac8ffd-0ubuntu4
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=pt_BR.UTF-8
 LANGUAGE=pt_BR.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: network-manager-applet
Uname: Linux 2.6.31-11-generic i686

Revision history for this message
Vinicius Seixas (vipseixas) wrote :
Alexander Sack (asac)
affects: network-manager (Ubuntu) → network-manager-applet (Ubuntu)
Revision history for this message
Andrea Cimitan (cimi) wrote :

I have the same bug... Karmic

Revision history for this message
Markus Vuori (lite-deactivatedaccount) wrote :

Me too. We noticed the same issue when trying to alter IPv4 properties for VPN connection. Karmic fresh install at 2009-30-09.

PS. Could this be a regression? (Ref: bug #288693)

Revision history for this message
Markus Vuori (lite-deactivatedaccount) wrote :

I have also another Karmic alpha install which is already almost 2 months old but dist-upgraded twice a day. A few weeks ago I could create a working VPN connection with proper IPv4 settings...

...BUT I can not alter the settings any longer - settings remain as they are though I try to save changes. Luckily I don't really need to alter them. :P

If I alter the settings directly with `vim .gconf/system/networking/connections/X/ipv4/%gconf.xml` the settings manager READS and shows the altered configuration correctly but is unable to save new values.

Revision history for this message
Hulkie (hulkie2) wrote :

I have the same error on a fresh beta install of Karmic. It seems impossible to make nm take a fixed ip address. In my case this is for a fixed connection (not wireless). He forgets this setting immediately.

Revision history for this message
Alexander Sack (asac) wrote :

should be fixed in latest trunk build. please verify it here: https://edge.launchpad.net/~network-manager/+archive/trunk before it hits the archive.

Changed in network-manager-applet (Ubuntu):
status: New → Fix Committed
Revision history for this message
Carlo Marcelo Arenas Belon (carenas) wrote :

AFAIK this is the same bug reported in fedora 525819 and that was fixed with the following commit :

http://git.gnome.org/cgit/network-manager-applet/commit/?id=78b7101d570aa874cd748b0488ddeda15d7657df

Revision history for this message
oscz0r (b-rabold) wrote :

after installing latest trunk, bug seems to be fixed. thank you.

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

This bug was fixed in the package network-manager-applet - 0.8~a~git.20091002t194214.8515a07-0ubuntu1

---------------
network-manager-applet (0.8~a~git.20091002t194214.8515a07-0ubuntu1) karmic; urgency=low

  * upstream snapshot 2009-10-02 19:42:14 (GMT)
    + 8515a07e507847c4372fe8f95bddf57aea66acd5
  * fixed upstream
    - LP: #285219 - Critical warning while running nm-connection-editor
    - LP: #442988 - network manager mobile broadband does not remember username
      and password
    - LP: #439956 - Cannot set manual IP and DNS with nm-connection-editor
    - LP: #438160 - nm-applet loses ipv4 configuration
    - LP: #431265 - Network Manager can't connect to hidden wireless networks
    - LP: #443049 - MASTER nm-connection-editor crashed with SIGSEGV in get_permissions_cb
    - LP: #438374 - Failure to retain edited MTU value
    - LP: #436839 - Disconnect menu option looks like wireless network

  [ Tony Espy <email address hidden> ]
  * drop wifi toplevel_sort patch that was committed upstream
    - delete debian/patches/wifi_toplevel_ap_sort.patch
    - update debian/patches/series

  [ Alexander Sack <email address hidden> ]
  * drop preview patch that was committed upstream
    - delete debian/patches/nm08-applet-preview.patch
    - update debian/patches/series
  * require network-manager and libnm-* >= 0.8~a~git.20090930t162132
    - update debian/control
  * adjust patches to new upstream code base
    - update debian/patches/lp341684_device_sensitive_disconnect_notify.patch
  * (re-)sort wifi toplevel AP list alphabetically before adding to menu
    - add debian/patches/toplevel_sort.patch
    - update debian/patches/series
  * rebuild against latest NM after padding additions to libnm-* APIs
    - update debian/control

 -- Alexander Sack <email address hidden> Mon, 05 Oct 2009 23:45:07 +0200

Changed in network-manager-applet (Ubuntu):
status: Fix Committed → Fix Released
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.