touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #87484
[Bug 1444162] Re: IPv6 default route present on ccmni0, even though no address assigned
This causes a problem on QtNetwork nm plugin.
The QtNetwork implementation goes throught the connection list and
returns the first connection that is set as default for for ipv4 or ipv6
as you can see on this code [1][2].
Since the gsm connection is always the default for ipv6 it will return
the gsm connection as default connection even if you are connected over
wifi.
[1] http://paste.ubuntu.com/11812336/
[2] http://paste.ubuntu.com/11812429/
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1444162
Title:
IPv6 default route present on ccmni0, even though no address assigned
Status in network-manager package in Ubuntu:
Confirmed
Bug description:
$ system-image-cli -i
current build number: 171
device name: m75
channel: ubuntu-touch/vivid-proposed
last update: 2015-04-14 22:23:10
version version: 171
Upon boot, my v6 routes include a default via ccmni0:
$ ip -6 route
fe80::/64 dev wlan0 proto kernel metric 256
default dev ccmni0 proto static metric 1024
Even though there's no v6 address on the device:
$ ip -6 addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
10: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
inet6 fe80::3abc:1aff:fe18:b68b/64 scope link
valid_lft forever preferred_lft forever
This means that hosts that have v6 addresses are tried to be reached via v6, which obviously fails:
> 29% [Connecting to ports.ubuntu.com (2001:67c:1360:8001::18)]
Toggling GSM data loses the default route:
$ ip -6 route
fe80::/64 dev wlan0 proto kernel metric 256
And the connection succeeds via v4.
Attached find a set of logs from network-test-session.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: network-manager 0.9.10.0-4ubuntu13
Uname: Linux 3.10.35+ armv7l
ApportVersion: 2.17-0ubuntu2
Architecture: armhf
CRDA: Error: [Errno 2] No such file or directory: 'iw'
Date: Tue Apr 14 23:45:11 2015
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
InstallationDate: Installed on 2015-04-14 (0 days ago)
InstallationMedia: Ubuntu Vivid Vervet (development branch) - armhf (20150414-020204)
IpRoute:
default via 10.2.0.254 dev wlan0 proto static metric 1024
10.0.0.0/8 via 10.2.0.1 dev wlan0 proto dhcp metric 10
10.2.0.0/24 dev wlan0 proto kernel scope link src 10.2.0.66
NetworkManager.state:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
PciNetwork:
SourcePackage: network-manager
SystemImageInfo:
current build number: 171
device name: m75
channel: ubuntu-touch/vivid-proposed
last update: 2015-04-14 22:23:10
version version: 171
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.dbus.1.system.d.org.freedesktop.NetworkManager.conf: 2015-04-14T04:33:56
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/1444162/+subscriptions
References