Network Manager gives Wifi and Ethernet same metric

Bug #1477918 reported by |mIXpRo|...('-')
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

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'.

Revision history for this message
|mIXpRo|...('-') (ssmixpro) wrote :
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.