[Pkg-utopia-maintainers] Bug#855910: network-manager: Network Manager doesn't set default gw over DHCP

Michal Kaspar michal at kaspar.in
Thu Feb 23 09:12:13 UTC 2017


Package: network-manager
Version: 1.6.2-1
Severity: important

Dear Maintainer,
Network Manager stopped setting up default route over wlan interface
(can't check wired connection at the moment). I've lloked into the
problem and it seems the reason for this behaviour is incorrect
dhclient-wlanX.conf being generated. The generated file looks like:
# Created by NetworkManager
# Merged from /etc/dhcp/dhclient.conf

# Configuration file for /sbin/dhclient.
...
#
option rfc3442-classless-static-routes code 121 = array of unsigned
integer 8;
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
...
# This part is added by NM
send host-name "XYZ"; # added by NetworkManager

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
option ms-classless-static-routes code 249 = array of unsigned integer 8;
option wpad code 252 = string;

request; # override dhclient defaults
also request subnet-mask;
also request broadcast-address;
also request interface-mtu;
also request domain-name-servers;
also request rfc3442-classless-static-routes;
also request ms-classless-static-routes;
also request static-routes;
also request wpad;
also request ntp-servers;

So it seems it strips the line with default request options from
/etc/dhcp/dhclient.conf and even overrides them anyway and misses
request for routers option, which would set the default gw. It does this
for different connections. None of them has "Use only for resources on
this network" checked and ipv4 section in
/etc/NetworkManager/system-connections/connection contains only
[ipv4]
dns-search=
method=auto

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (650, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager depends on:
ii  adduser                3.115
ii  dbus                   1.10.16-1
ii  init-system-helpers    1.47
ii  libaudit1              1:2.6.7-1
ii  libbluetooth3          5.43-1
ii  libc6                  2.24-9
ii  libglib2.0-0           2.50.3-1
ii  libgnutls30            3.5.8-3
ii  libgudev-1.0-0         230-3
ii  libjansson4            2.9-1
ii  libmm-glib0            1.6.4-1
ii  libndp0                1.6-1
ii  libnewt0.52            0.52.19-1
ii  libnl-3-200            3.2.27-1
ii  libnm0                 1.6.2-1
ii  libpam-systemd         232-18
ii  libpolkit-agent-1-0    0.105-17
ii  libpolkit-gobject-1-0  0.105-17
ii  libreadline7           7.0-2
ii  libselinux1            2.6-3
ii  libsoup2.4-1           2.56.0-2
ii  libsystemd0            232-18
ii  libteamdctl0           1.26-1
ii  libuuid1               2.29.1-1
ii  lsb-base               9.20161125
ii  policykit-1            0.105-17
ii  udev                   232-18
ii  wpasupplicant          2.6-3

Versions of packages network-manager recommends:
ii  crda             3.18-1
pn  dnsmasq-base     <none>
ii  iptables         1.6.0+snapshot20161117-5
ii  iputils-arping   3:20161105-1
ii  isc-dhcp-client  4.3.5-3
ii  modemmanager     1.6.4-1
ii  ppp              2.4.7-1+4

Versions of packages network-manager suggests:
pn  libteam-utils  <none>

-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed:
[main]
plugins=ifupdown,keyfile
no-auto-default=00:1F:16:10:F3:7B,
[ifupdown]
managed=false


-- no debconf information



More information about the Pkg-utopia-maintainers mailing list