[Pkg-utopia-maintainers] Bug#568653: network-manager: Network-Manager does not stop pppd overwriting nameserver entries

Patrick Strasser patrick.strasser at tugraz.at
Sat Feb 6 16:10:21 UTC 2010


Package: network-manager
Version: 0.7.999-2
Severity: normal


I'm running my UMTS modem with networkmanager and (happy to have it) modemmanager.
Selecting my provider settings with the help of mobile-broadband-provider-info gets all settings right exept the nameserver entries. The provider info has two nameserver entries, still nm-config-editor in the mobile broadband properties subdialo, IPv4 setting tab chooses "automatic (ppp)" instead of "automatic (ppp) adresses only". If I change this option, the nameserver input field get editable, but is empty. I would expect it to be active and aready filled with the namservers.

With the above options set correct for my provider (non-ppp DNS servers), resolv.conf is written wrong, having two nameserver entries from ppp and one from the DNS servers setting. I checked the resolvconf files, and both NewtworkManager and pppd set nameserver entries. In the resulting resolv.conf file the pppd nameserver entries come first, but as they are not valid/reachable I get horrible long resolv times due to getting through all nameserver with timeouts.
Looking at the command line of pppd:

/usr/sbin/pppd nodetach lock nodefaultroute user ppp at a1plus.at ttyUSB0 noipdefault noauth usepeerdns lcp-echo-failure 0 lcp-echo-interval 0 ipparam /org/freedesktop/NetworkManager/PPP/4 plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so

I see "usepeerdns" which is IMO wrong in this situation, as NM is already providing nameserver, and I chose to override the ppp nameservers.

Regards
Patrick

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager depends on:
ii  adduser                       3.112      add and remove users and groups
ii  dbus                          1.2.16-2   simple interprocess messaging syst
ii  dhcp3-client                  3.1.3-2    DHCP client
ii  ifupdown                      0.6.9      high level tools to configure netw
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  libdbus-1-3                   1.2.16-2   simple interprocess messaging syst
ii  libdbus-glib-1-2              0.82-2     simple interprocess messaging syst
ii  libgcrypt11                   1.4.5-1    LGPL Crypto library - runtime libr
ii  libglib2.0-0                  2.22.4-1   The GLib library of C routines
ii  libgnutls26                   2.8.5-2    the GNU TLS library - runtime libr
ii  libgudev-1.0-0                150-2      GObject-based wrapper library for 
ii  libnl1                        1.1-5      library for dealing with netlink s
ii  libnm-glib2                   0.7.999-2  network management framework (GLib
ii  libnm-util1                   0.7.999-2  network management framework (shar
ii  libpolkit-gobject-1-0         0.96-1     PolicyKit Authorization API
ii  libuuid1                      2.16.2-0   Universally Unique ID library
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  udev                          150-2      /dev/ and hotplug management daemo
ii  wpasupplicant                 0.6.9-3    client support for WPA and WPA2 (I

Versions of packages network-manager recommends:
pn  dnsmasq-base               <none>        (no description available)
ii  iptables                   1.4.6-2       administration tools for packet fi
ii  modemmanager               0.3-1         D-Bus service for managing modems
ii  network-manager-gnome      0.7.999-2     network management framework (GNOM
ii  policykit-1                0.96-1        framework for managing administrat
ii  ppp                        2.4.4rel-10.1 Point-to-Point Protocol (PPP) - da

Versions of packages network-manager suggests:
pn  avahi-autoipd                 <none>     (no description available)

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list