← Back to team overview

desktop-packages team mailing list archive

[Bug 1477918] [NEW] Network Manager gives Wifi and Ethernet same metric

 

Public bug reported:

When the laptop is connected to the house's network using Wifi and Ethernet at the same time I don't get network connection .
But each one works alone meaning if i manually disable one of them i get network access . 
As i found out the Network Manager gives eth0 and wlan0 same metric . 
These are outputs that helps , all under default ubuntu 15.04 configurations .

Output of route -n when both (eth0 and wlan0) are enabled :

    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         10.100.102.1    0.0.0.0         UG    1024   0        0 eth0
    10.100.102.0    0.0.0.0         255.255.255.0   U     0      0        0 wlan0
    10.100.102.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0


Output of route -n when only ethernet is enabled :  

    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         10.100.102.1    0.0.0.0         UG    1024   0        0 eth0
    10.100.102.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0


One more thing if i disconnect from wifi then reconnect again (i get network access), i get this route -n output :   

    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         10.100.102.1    0.0.0.0         UG    1024   0        0 eth0
    10.100.102.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
    10.100.102.0    0.0.0.0         255.255.255.0   U     0      0        0 wlan0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0


output of cat /etc/NetworkManager/NetworkManager.conf :  

    [main]
    plugins=ifupdown,keyfile,ofono
    dns=dnsmasq

    [ifupdown]
    managed=false

output of cat /etc/network/interfaces:

    # interfaces(5) file used by ifup(8) and ifdown(8)
    auto lo
    iface lo inet loopback

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: network-manager 0.9.10.0-4ubuntu15.1
ProcVersionSignature: Ubuntu 3.19.0-22.22-generic 3.19.8-ckt1
Uname: Linux 3.19.0-22-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CRDA:
 country EU: DFS-UNSET
 	(2402 - 2482 @ 40), (N/A, 20), (N/A)
 	(5170 - 5250 @ 40), (N/A, 20), (N/A)
 	(5250 - 5330 @ 40), (N/A, 20), (0 ms), DFS
 	(5490 - 5710 @ 40), (N/A, 27), (0 ms), DFS
CurrentDesktop: Unity
Date: Fri Jul 24 12:53:46 2015
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2015-03-26 (119 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
IpRoute:
 default via 10.100.102.1 dev eth0  proto static  metric 1024 
 10.100.102.0/24 dev eth0  proto kernel  scope link  src 10.100.102.2 
 10.100.102.0/24 dev wlan0  proto kernel  scope link  src 10.100.102.5 
 169.254.0.0/16 dev wlan0  proto static  scope link  metric 1000
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
 DEVICE  TYPE      STATE      DBUS-PATH                                  CONNECTION          CON-UUID                              CON-PATH                                            
 eth0    ethernet  connected  /org/freedesktop/NetworkManager/Devices/1  Wired connection 1  f5b8c506-2c0a-4370-9b21-3f877ecbd7a6  /org/freedesktop/NetworkManager/ActiveConnection/12 
 wlan0   wifi      connected  /org/freedesktop/NetworkManager/Devices/2  Hamody              915afaa9-09cb-4035-bb77-9c0f04211ce1  /org/freedesktop/NetworkManager/ActiveConnection/13 
 lo      loopback  unmanaged  /org/freedesktop/NetworkManager/Devices/0  --                  --                                    --
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1477918

Title:
  Network Manager gives Wifi and Ethernet same metric

Status in network-manager package in Ubuntu:
  New

Bug description:
  When the laptop is connected to the house's network using Wifi and Ethernet at the same time I don't get network connection .
  But each one works alone meaning if i manually disable one of them i get network access . 
  As i found out the Network Manager gives eth0 and wlan0 same metric . 
  These are outputs that helps , all under default ubuntu 15.04 configurations .

  Output of route -n when both (eth0 and wlan0) are enabled :

      Kernel IP routing table
      Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
      0.0.0.0         10.100.102.1    0.0.0.0         UG    1024   0        0 eth0
      10.100.102.0    0.0.0.0         255.255.255.0   U     0      0        0 wlan0
      10.100.102.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
      169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0

  
  Output of route -n when only ethernet is enabled :  

      Kernel IP routing table
      Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
      0.0.0.0         10.100.102.1    0.0.0.0         UG    1024   0        0 eth0
      10.100.102.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0

  
  One more thing if i disconnect from wifi then reconnect again (i get network access), i get this route -n output :   

      Kernel IP routing table
      Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
      0.0.0.0         10.100.102.1    0.0.0.0         UG    1024   0        0 eth0
      10.100.102.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
      10.100.102.0    0.0.0.0         255.255.255.0   U     0      0        0 wlan0
      169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0

  
  output of cat /etc/NetworkManager/NetworkManager.conf :  

      [main]
      plugins=ifupdown,keyfile,ofono
      dns=dnsmasq

      [ifupdown]
      managed=false

  output of cat /etc/network/interfaces:

      # interfaces(5) file used by ifup(8) and ifdown(8)
      auto lo
      iface lo inet loopback

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: network-manager 0.9.10.0-4ubuntu15.1
  ProcVersionSignature: Ubuntu 3.19.0-22.22-generic 3.19.8-ckt1
  Uname: Linux 3.19.0-22-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CRDA:
   country EU: DFS-UNSET
   	(2402 - 2482 @ 40), (N/A, 20), (N/A)
   	(5170 - 5250 @ 40), (N/A, 20), (N/A)
   	(5250 - 5330 @ 40), (N/A, 20), (0 ms), DFS
   	(5490 - 5710 @ 40), (N/A, 27), (0 ms), DFS
  CurrentDesktop: Unity
  Date: Fri Jul 24 12:53:46 2015
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2015-03-26 (119 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
  IpRoute:
   default via 10.100.102.1 dev eth0  proto static  metric 1024 
   10.100.102.0/24 dev eth0  proto kernel  scope link  src 10.100.102.2 
   10.100.102.0/24 dev wlan0  proto kernel  scope link  src 10.100.102.5 
   169.254.0.0/16 dev wlan0  proto static  scope link  metric 1000
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-dev:
   DEVICE  TYPE      STATE      DBUS-PATH                                  CONNECTION          CON-UUID                              CON-PATH                                            
   eth0    ethernet  connected  /org/freedesktop/NetworkManager/Devices/1  Wired connection 1  f5b8c506-2c0a-4370-9b21-3f877ecbd7a6  /org/freedesktop/NetworkManager/ActiveConnection/12 
   wlan0   wifi      connected  /org/freedesktop/NetworkManager/Devices/2  Hamody              915afaa9-09cb-4035-bb77-9c0f04211ce1  /org/freedesktop/NetworkManager/ActiveConnection/13 
   lo      loopback  unmanaged  /org/freedesktop/NetworkManager/Devices/0  --                  --                                    --
  nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1477918/+subscriptions