Network Manager Applet has duplicate entry changing IPv4 Method

Bug #1402094 reported by Christopher M. Peñalver on 2014-12-12
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Network Manager Applet
network-manager-applet (Ubuntu)

Bug Description

1) lsb_release -rd
Description: Ubuntu Vivid Vervet (development branch)
Release: 15.04

2) apt-cache policy network-manager-gnome
  Version table:
 *** 0
        500 trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status 0
        500 trusty/main amd64 Packages

3) What is expected to happen in a new Vivid virtualbox guest is one clicks in vbox File > Preferences > Network > Host-only Networks > click plus icon to Add host-only network > IPv4 Address: > IPv4 Network Mask: > IPv6 Address: fe80:0000:0000:0000:0800:27ff:fe00:0000 > IPv6 Network Mask Length: 64 > tab DHCP Server > uncheck Enable Server > OK > highlight Vivid guest > Settings > Network > tab Adapter 1 > check Enable Network Adapter > Attached to: Host-only Adapter (leave defaults) > tab Adapter 2 > check Enable Network Adapter > Attached to: NAT (leave all other settings as default) > OK.

Start the Vivd guest and login > top right of screen secondary click Network Manager icon in the taskbar > Settings... > highlight WIred Connection 1 > Edit > tab IPv4 Settings > button Add > Address > Netmask > Gateway > Save > click on the Network Manager icon in the taskbar and there should only be one entry for each interface.

4) What happens instead is there are two entries for Wired Connection 2, one that's connected, one that's disconnected, as per the attached screenshot:

If one were to reverse the order of the adapters in vbox, one would see two entries for Wired Connection 2 in Network Connections.

This is a regression as this was not reproducible in Precise 12.04.5.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: network-manager-gnome
ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
Uname: Linux 3.16.0-25-generic x86_64
ApportVersion: 2.14.7-0ubuntu10
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Dec 12 16:39:39 2014
ExecutablePath: /usr/bin/nm-connection-editor
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2014-12-10 (2 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141209)
 default via dev eth0 proto static dev eth0 proto kernel scope link src metric 1 dev eth1 proto kernel scope link src metric 1
 eth0 no wireless extensions.

 eth1 no wireless extensions.

 lo no wireless extensions.
 PATH=(custom, no user)

SourcePackage: network-manager-applet
UpgradeStatus: No upgrade log present (probably fresh install)
 Wired connection 2 335f383e-4a02-4acc-b424-00d174797339 802-3-ethernet 1418423923 Fri 12 Dec 2014 04:38:43 PM CST yes no /org/freedesktop/NetworkManager/Settings/2
 Wired connection 1 902a26d4-64b3-460d-97c8-0bfb9a57bf3a 802-3-ethernet 1418423923 Fri 12 Dec 2014 04:38:43 PM CST yes no /org/freedesktop/NetworkManager/Settings/0
 eth1 802-3-ethernet connected /org/freedesktop/NetworkManager/Devices/1
 eth0 802-3-ethernet connected /org/freedesktop/NetworkManager/Devices/0
 running connected enabled enabled enabled enabled disabled

description: updated
summary: - Network Connections has duplicate entry changing IPv4 Method
+ Network Manager Applet has duplicate entry changing IPv4 Method
Changed in network-manager-applet:
importance: Unknown → Medium
status: Unknown → New
tags: added: regression-release
description: updated
description: updated
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:

tags: added: iso-testing
Anthony (g-anthony) wrote :

Is there any way that I can make networkmanager to assign some unique names or device derrived name instead of `Auto Ethernet` so that we can avoid the names conflict?

After I've upgraded to Ubuntu Vivid which uses systemd(though I'm not sure if it's directly related or it's just a bug / regression of network-manager) both of my mobile broadband devices get the "Auth Ethernet" name and are unable to get connected simultaneously.

I can temporarry fix it using `nmcli con add type ethernet con-name my-office ifname ens3` but I would rather like to have network-manager handle this automatically (i.e. assign a random / unique conn name).

Use case:

I have two broadband USB devices and I need to connect to both of them. The issue is that NetworkManager displays them both as `Auto Ethernet` (duplicate in the network manager applet) and when I try to connect to the second network it errors out ``(32) Connection 'Auto Ethernet' is already active on enp0s20u``.
  When I try to "edit" the connections it displays only one `Auto Ethernet` connection.

 `/etc/NetworkManager/system-connections` also lists only one `Auto Ethernet`

To post a comment you must log in.
This report contains Public information  Edit
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.