Network Manager gives Wifi and Ethernet same metric
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/NetworkMan
[main]
plugins=
dns=dnsmasq
[ifupdown]
managed=false
output of cat /etc/network/
# 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.
ProcVersionSign
Uname: Linux 3.19.0-22-generic x86_64
NonfreeKernelMo
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.
[main]
NetworkingEnab
WirelessEnable
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/freedeskto
wlan0 wifi connected /org/freedeskto
lo loopback unmanaged /org/freedeskto
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.