Cannot set manual IP and DNS with nm-connection-editor

Bug #439956 reported by LordGiotto
76
This bug affects 18 people
Affects Status Importance Assigned to Milestone
network-manager-applet (Ubuntu)
New
Undecided
Unassigned

Bug Description

System: Ubuntu Karmic 9.10
Package Version: 0.8~a~git.20090923t220421.1ac8ffd-0ubuntu4

Expected Behaviour:
Setting IP and DNS for wlan0 connection with nm-connection manager causes a reconnection of with new settings

What happens:
If I try to set manual IP and DNS for wlan0 connection with nm-connection-editor, when i press 'Apply' the changes are not saved and IP and DNS turn back to Automatic(DHCP). So, for example, I've to set manual DNS changing /etc/resolv.conf by hand.

ProblemType: Bug
Architecture: amd64
CRDA: Error: [Errno 2] Nessun file o directory
CheckboxSubmission: 9b9cc269dc071634a2efed470b552ac1
CheckboxSystem: b1865df84255b8716d3bcc269ff410d1
Date: Thu Oct 1 14:02:33 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/nm-applet
IfupdownConfig:
 auto lo
 iface lo inet loopback
IpRoute:
 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.3 metric 2
 169.254.0.0/16 dev wlan0 scope link metric 1000
 default via 192.168.1.1 dev wlan0 proto static
Package: network-manager-gnome 0.8~a~git.20090923t220421.1ac8ffd-0ubuntu4
ProcEnviron:
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: network-manager-applet
Uname: Linux 2.6.31-11-generic x86_64

Revision history for this message
LordGiotto (lordgiotto) wrote :
Changed in network-manager-applet (Ubuntu):
status: New → Confirmed
Revision history for this message
Tony Espy (awe) wrote :

When you say "Press apply", is the button actually active?

I'm running the latest version of network-manager ( 0.8~a~git.20090930t162132.866d48b-0ubuntu1~nmt1 ) and -applet ( 0.8~a~git.20090930t162757.5fbd4b8-0ubuntu1~nmt1 ) from the daily trunk ( https://edge.launchpad.net/~network-manager/+archive/trunk ), and I see some inconsistent behavior:

1. Sometime when I select an network on the Wireless Tab, and click "Edit", the "Apply" button is insensitive ( ie. you can't click it ). This seems to apply to the network as a whole ( ie. you can't modify any of it's attributes ).

2. If on the other hand, the button is sensitive ( ie. click-able ), then I'm able to change the IP settings from DHCP to Manual and the next time I click the network, the changes were saved. Note, I haven't actually tested if they're used yet.

Revision history for this message
Andrea (andrea-bertini) wrote :

I've solved my issue for now by adding this ppa: https://edge.launchpad.net/~network-manager/+archive/trunk
This will upgrade network manager (0.8~a~git.20090930t162132.866d48b-0ubuntu1~nmt1) and network-manager-applet (0.8~a~git.20091001t060520.d45a2d0-0ubuntu1~nmt1).

Hope this helps.

Revision history for this message
VPablo (villumar) wrote :

Installing PPAs version solved for me. Please, update networkmanager to 0.8 before RC of Karmic.

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

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

Changed in network-manager-applet (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Andrea (andrea-bertini) wrote :

I've tested with cable connections and it works fine.
On the other hand with wireless connections i get the same issue that have Tony Espy, Sometimes the button isn't clickable, the password isn't stored and, finally, i can't connect.

Revision history for this message
Andrew (andrewmv) wrote :

I experience this problem when setting up a wired connection manually as described above, not just with wireless connections.

Confirmed that the 0.8~a~git.20090930t162757.5fbd4b8-0ubuntu1~nmt1 build listed above fixed the issue for me.

Revision history for this message
Craig Coleman (ubuntu-insanitarium) wrote :

Same as Andrew, nm-connection-editor was segfaulting when trying to change settings.

Andrea's linked ppa solved the issue for me as well.

Revision history for this message
LordGiotto (lordgiotto) wrote :

PPA version selved the problem :)

There is another bug, but I don't know if it depends by Network Manager or not... If I use my router as DNS address, I can't resolv IP by hostnames... For which packet can i open this bus in your opinion?

Revision history for this message
Andrew (andrewmv) wrote :

Ravic,

This sounds like a configuration issue with your router. For testing, try using the DNS information provided by your ISP or network administrator. Better yet, use the servers from http://www.opendns.org:

208.67.222.222
208.67.220.220

These are very reliable and should behave in the same way regardless or your geography, ISP, or network configuration. If you can resolve hostnames using these DNS servers, then the problem is likely your network.

Revision history for this message
LordGiotto (lordgiotto) wrote :

Andrew, thank you, infact i'm just using OpenDNS :)
But I don't think it's a problem of my network: infact with Ubuntu 9.04, Fedora 11 (and also with Fedora 12) using my router like dns server works fine...
I would open a bug, but I don't know which process fails (i've to use apport to open the bug)...

Revision history for this message
Andrea (andrea-bertini) wrote :

Alexander,
latest trunk solved the problem fome me, thanks.

Revision history for this message
VoaNerges (gotham48) wrote :

Having the same issue in Ubuntu Karmic. I hope, that will be fixed with upgrade. The way to reproduce: enter network manager editor, select wired connection, select 'Manual' in ipv4 tab, set your params, click 'Ok' and see, that nothing changed. After re-opening of nm-connection-editor there's still DHCP there. (Ubuntu Karmic beta).

Revision history for this message
VoaNerges (gotham48) wrote :

Oh, no, i still have this bug with nm-connection-editor crashing when changing connection settings.

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
Revision history for this message
Joey Stanford (joey) wrote :

I am able to reproduce this behavior in the Karmic release.

Revision history for this message
Henrique Maia (henriquemaia) wrote :

I confirm this on my machine. Can't change to manual (or any other than the default auto DHCP).

Revision history for this message
Boom K Bastic (boombastic-007) wrote :

I have the same problem on Linux Mint 8 (helena) static IP assignments do not save, if i rename Auto eth0 as manual-eth0 and give it a manual IP, the next time network-manager restarts it adds a Auto eth0 configuration ...

Changed in network-manager-applet (Ubuntu):
status: Fix Released → Confirmed
status: Confirmed → Incomplete
status: Incomplete → In Progress
Revision history for this message
Cesare Mastroianni (cece) wrote :

Sorry to bother You but I still have this problem (impossible to manual configure a wired connection) after upgrading to 9.10

I'm not able to fix it by applying the proposed PPA "ppa:network-manager/trunk" just because my machine is not able to connect to the Internet, just because of the but itself.

How to fix it? I'm only able to download something from another machine and loading it into the bugged machine by some CD-ROM or memory stick. Please, could You explain me how to this?

Regards.

Revision history for this message
Cesare Mastroianni (cece) wrote :

This bug vanished (for me at least) after upgrading to Lucid.

Thanks you all.

CM

Changed in network-manager-applet (Ubuntu):
status: In Progress → New
Revision history for this message
Jose Luis Briz (briz) wrote :

It works on Lucid, doesn't on Maverick, same machine, same eth card and network settings, but booting from different drive (Lucid / 10.10). It annoys out of the hell that you can'teven fix manually the prob. unless you remove NM

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.