Bug#855910: [Pkg-utopia-maintainers] Bug#855910: network-manager: Network Manager doesn't set default gw over DHCP
Hi. I've checked the problematic configuration with current version of NM and it seems to work fine. Thank you for help. On 03/14/2017 07:31 PM, Michael Biebl wrote: Upstream committed a fix at [1] which is supposed to address this issue. Can you confirm that the patch fixes the issue if you remove the workaround from /etc/dhcp/dhclient.conf again (i.e. use the default Debian dhcp config). -- Michal Kašpar
Bug#855910: [Pkg-utopia-maintainers] Bug#855910: network-manager: Network Manager doesn't set default gw over DHCP
Hi Michal Am 26.02.2017 um 21:52 schrieb Michal Kašpar: > Hi. > Indeed, returning to 1.6.0 fixed the problem for me. I investigated the > upstream bug and it seems there is a workaround. The request gets > masked only if /etc/dhcp/dhclient.conf contains any request directive. > The default debian one does, but after commenting it out, the > NetworkManager works fine. It's not an option if there is some valid > reason to have request directive in the configuration file, but for > simple setups this might be the solution. > I've commented the upstream a bit so maybe it will be fixed there. Upstream committed a fix at [1] which is supposed to address this issue. Can you confirm that the patch fixes the issue if you remove the workaround from /etc/dhcp/dhclient.conf again (i.e. use the default Debian dhcp config). Regards, Michael [1] https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=nm-1-6=7a05d2a228cd6f65e28ff71c9052e1ca55682ce0 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#855910: network-manager: Network Manager doesn't set default gw over DHCP
Hi. Indeed, returning to 1.6.0 fixed the problem for me. I investigated the upstream bug and it seems there is a workaround. The request gets masked only if /etc/dhcp/dhclient.conf contains any request directive. The default debian one does, but after commenting it out, the NetworkManager works fine. It's not an option if there is some valid reason to have request directive in the configuration file, but for simple setups this might be the solution. I've commented the upstream a bit so maybe it will be fixed there. -- Michal Kašpar
Bug#855910: [Pkg-utopia-maintainers] Bug#855910: network-manager: Network Manager doesn't set default gw over DHCP
Hello Michal, thanks a lot for the very detailed bug report! Am 23.02.2017 um 10:12 schrieb Michal Kaspar: > Package: network-manager > Version: 1.6.2-1 > Severity: important [..] > 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 On a cursory glance, this looks like it's a result or at least related to https://bugzilla.gnome.org/show_bug.cgi?id=778430 Is the problem you are seeing a regression introduced by 1.6.2-1 or did you also encounter it with previous versions like 1.6.0-1? Since this doesn't look like a Debian specific issue, it would be great if you can inform upstream and file a bug report at https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager and report back with the bug number. Regards, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#855910: network-manager: Network Manager doesn't set default gw over DHCP
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 adduser3.115 ii dbus 1.10.16-1 ii init-system-helpers1.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 libgnutls303.5.8-3 ii libgudev-1.0-0 230-3 ii libjansson42.9-1 ii libmm-glib01.6.4-1 ii libndp01.6-1 ii libnewt0.520.52.19-1 ii libnl-3-2003.2.27-1 ii libnm0 1.6.2-1 ii libpam-systemd 232-18 ii libpolkit-agent-1-00.105-17 ii libpolkit-gobject-1-0 0.105-17 ii libreadline7 7.0-2 ii libselinux12.6-3 ii libsoup2.4-1 2.56.0-2 ii libsystemd0232-18 ii libteamdctl0 1.26-1 ii libuuid1 2.29.1-1 ii lsb-base 9.20161125 ii policykit-10.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 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 -- 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