[Pkg-utopia-maintainers] Bug#582574: network-manager ignores configured interfaces in /etc/network/interfaces

Thomas Pircher thomas at tty1.net
Fri May 21 21:57:45 UTC 2010


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

network-manager was installed on my machine during a major KDE update. Now, when the NetworkManager daemon is active, my wireless network stops working.
I can definitely confirm network-manager breaks my network configuration (see also the attached log below): if I stop the NetworkManager daemon and do "ifdown wlan0; ifup wlan0" the wireless network starts working. As soon as I re-start the NetworkManager daemon, the connection breaks again.

The simple workaround is to uninstall knm-runtime and network-manager altogether, but I guess the package should not break a working network configuration only because it got installed.


My configuration is:

thomas at grummel:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
auto eth0
iface eth0 inet static
        address 192.168.1.35
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
#       gateway 192.168.1.70
        # dns-* options are implemented by the resolvconf package, if installed


allow-hotplug wlan0
iface wlan0 inet dhcp
    wpa-ssid grappa
    wpa-psk sumpfin-sumpfin



thomas at grummel:~$ cat /etc/default/NetworkManager
cat: /etc/default/NetworkManager: No such file or directory



thomas at grummel:~$ cat /etc/NetworkManager/nm-system-settings.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false



root at grummel:~$ cat /var/log/daemon.log
May 21 22:09:34 grummel init: Switching to runlevel: 6
May 21 22:09:37 grummel chipcardd[2514]: chipcardd.c:  492: Watcher got a termination signal, will terminate child.
May 21 22:09:37 grummel chipcardd[2514]: chipcardd.c:  834: Terminating daemon.
May 21 22:09:37 grummel chipcardd[2516]: chipcardd.c:  488: Daemon got a termination signal
May 21 22:09:37 grummel chipcardd[2514]: chipcardd.c:  861: Daemon terminated, exiting.
May 21 22:09:37 grummel mysqld: 100521 22:09:37 [Note] /usr/sbin/mysqld: Normal shutdown
May 21 22:09:37 grummel mysqld: 
May 21 22:09:37 grummel mysqld: 100521 22:09:37 [Note] Event Scheduler: Purging the queue. 0 events
May 21 22:09:37 grummel mysqld: 100521 22:09:37  InnoDB: Starting shutdown...
May 21 22:09:39 grummel mysqld: 100521 22:09:39  InnoDB: Shutdown completed; log sequence number 0 44233
May 21 22:09:39 grummel mysqld: 100521 22:09:39 [Note] /usr/sbin/mysqld: Shutdown complete
May 21 22:09:39 grummel mysqld: 
May 21 22:09:39 grummel mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
May 21 22:09:40 grummel modem-manager: Caught signal 15, shutting down...
May 21 22:10:33 grummel wpa_supplicant[1833]: Failed to initiate AP scan.
May 21 22:10:33 grummel dhclient: Internet Systems Consortium DHCP Client V3.1.3
May 21 22:10:33 grummel dhclient: Copyright 2004-2009 Internet Systems Consortium.
May 21 22:10:33 grummel dhclient: All rights reserved.
May 21 22:10:33 grummel dhclient: For info, please visit https://www.isc.org/software/dhcp/
May 21 22:10:33 grummel dhclient: 
May 21 22:10:33 grummel dhclient: Listening on LPF/wlan0/00:19:5b:80:1a:86
May 21 22:10:33 grummel dhclient: Sending on   LPF/wlan0/00:19:5b:80:1a:86
May 21 22:10:33 grummel dhclient: Sending on   Socket/fallback
May 21 22:10:34 grummel dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
May 21 22:10:34 grummel wpa_supplicant[1833]: Trying to associate with 00:1c:df:9a:ef:f4 (SSID='grappa' freq=2422 MHz)
May 21 22:10:34 grummel wpa_supplicant[1833]: Associated with 00:1c:df:9a:ef:f4
May 21 22:10:35 grummel wpa_supplicant[1833]: WPA: Key negotiation completed with 00:1c:df:9a:ef:f4 [PTK=TKIP GTK=TKIP]
May 21 22:10:35 grummel wpa_supplicant[1833]: CTRL-EVENT-CONNECTED - Connection to 00:1c:df:9a:ef:f4 completed (auth) [id=0 id_str=]
May 21 22:10:37 grummel mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql
May 21 22:10:37 grummel mysqld: 100521 22:10:37 [Note] Plugin 'FEDERATED' is disabled.
May 21 22:10:37 grummel mysqld: 100521 22:10:37  InnoDB: Started; log sequence number 0 44233
May 21 22:10:38 grummel dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
May 21 22:10:38 grummel mysqld: 100521 22:10:38 [Note] Event Scheduler: Loaded 0 events
May 21 22:10:38 grummel mysqld: 100521 22:10:38 [Note] /usr/sbin/mysqld: ready for connections.
May 21 22:10:38 grummel mysqld: Version: '5.1.45-1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Debian)
May 21 22:10:38 grummel dhclient: DHCPOFFER from 192.168.2.1
May 21 22:10:38 grummel dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67
May 21 22:10:38 grummel dhclient: DHCPACK from 192.168.2.1
May 21 22:10:38 grummel dhclient: bound to 192.168.2.7 -- renewal in 266408 seconds.
May 21 22:10:38 grummel /etc/mysql/debian-start[2121]: Upgrading MySQL tables if necessary.
May 21 22:10:38 grummel /etc/mysql/debian-start[2124]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
May 21 22:10:38 grummel /etc/mysql/debian-start[2124]: Looking for 'mysql' as: /usr/bin/mysql
May 21 22:10:38 grummel /etc/mysql/debian-start[2124]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
May 21 22:10:38 grummel /etc/mysql/debian-start[2124]: This installation of MySQL is already upgraded to 5.1.45, use --force if you still need to run mysql_upgrade
May 21 22:10:38 grummel /etc/mysql/debian-start[2148]: Checking for insecure root accounts.
May 21 22:10:38 grummel /etc/mysql/debian-start[2152]: Triggering myisam-recover for all MyISAM tables
May 21 22:10:41 grummel NetworkManager: <info>  starting...
May 21 22:10:41 grummel NetworkManager: <info>  Trying to start the modem-manager...
May 21 22:10:41 grummel modem-manager: Loaded plugin Longcheer
May 21 22:10:41 grummel modem-manager: Loaded plugin Option
May 21 22:10:41 grummel modem-manager: Loaded plugin Option High-Speed
May 21 22:10:41 grummel modem-manager: Loaded plugin Nokia
May 21 22:10:41 grummel modem-manager: Loaded plugin Huawei
May 21 22:10:41 grummel modem-manager: Loaded plugin ZTE
May 21 22:10:41 grummel modem-manager: Loaded plugin MotoC
May 21 22:10:41 grummel modem-manager: Loaded plugin Generic
May 21 22:10:41 grummel modem-manager: Loaded plugin Sierra
May 21 22:10:41 grummel modem-manager: Loaded plugin Gobi
May 21 22:10:41 grummel modem-manager: Loaded plugin Ericsson MBM
May 21 22:10:41 grummel modem-manager: Loaded plugin Novatel
May 21 22:10:41 grummel modem-manager: Loaded plugin AnyData
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: init!
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: update_system_hostname
May 21 22:10:41 grummel NetworkManager:    SCPluginIfupdown: guessed connection type (eth0) = 802-3-ethernet
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:eth0, type:802-3-ethernet, id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-687ed5bae28e
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: addresses count: 1
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: No dns-nameserver configured in /etc/network/interfaces
May 21 22:10:41 grummel NetworkManager:    SCPluginIfupdown: guessed connection type (wlan0) = 802-11-wireless
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:wlan0, type:802-11-wireless, id:Ifupdown (wlan0), uuid: 5391eba4-6426-faca-338e-5828034ff9d1
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: update wireless settings (wlan0).
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: setting wpa ssid = 6
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: update wireless security settings (wlan0).
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: setting wpa security key: psk=<omitted>
May 21 22:10:41 grummel NetworkManager: nm-ifupdown-connection.c.119 - invalid connection read from /etc/network/interfaces: (2) key-mgmt
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: autoconnect
May 21 22:10:41 grummel NetworkManager:    SCPluginIfupdown: management mode: unmanaged
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.5/0000:02:00.0/net/eth0, iface: eth0)
May 21 22:10:41 grummel NetworkManager:    SCPluginIfupdown: locking wired connection setting
May 21 22:10:41 grummel NetworkManager:    Ifupdown: get unmanaged devices count: 1
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: (6966560) ... get_connections.
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: (6966560) ... get_connections (managed=false): return empty list.
May 21 22:10:41 grummel NetworkManager:    Ifupdown: get unmanaged devices count: 1
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/net/wlan0, iface: wlan0)
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/net/wlan0, iface: wlan0): no ifupdown configuration found.
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/sit0, iface: sit0)
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/sit0, iface: sit0): no ifupdown configuration found.
May 21 22:10:41 grummel NetworkManager:    SCPlugin-Ifupdown: end _init.
May 21 22:10:41 grummel NetworkManager: Loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To report bugs please use the NetworkManager mailing list.
May 21 22:10:41 grummel NetworkManager: Loaded plugin keyfile: (c) 2007 - 2008 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
May 21 22:10:41 grummel NetworkManager: <info>  WiFi enabled by radio killswitch; enabled by state file
May 21 22:10:41 grummel NetworkManager: <info>  WWAN enabled by radio killswitch; enabled by state file
May 21 22:10:41 grummel NetworkManager: <info>  (eth0): carrier is OFF
May 21 22:10:41 grummel NetworkManager: <info>  (eth0): new Ethernet device (driver: 'r8169')
May 21 22:10:41 grummel NetworkManager: <info>  (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
May 21 22:10:41 grummel NetworkManager: <info>  (wlan0): driver supports SSID scans (scan_capa 0x01).
May 21 22:10:41 grummel NetworkManager: <info>  (wlan0): new 802.11 WiFi device (driver: 'rt73usb')
May 21 22:10:41 grummel NetworkManager: <info>  (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
May 21 22:10:41 grummel NetworkManager: <info>  (wlan0): now managed
May 21 22:10:41 grummel NetworkManager: <info>  (wlan0): device state change: 1 -> 2 (reason 2)
May 21 22:10:41 grummel NetworkManager: <info>  (wlan0): preparing device.
May 21 22:10:41 grummel NetworkManager: <info>  (wlan0): deactivating device (reason: 2).
May 21 22:10:41 grummel NetworkManager: <WARN>  check_one_route(): (wlan0) error -34 returned from rtnl_route_del(): Sucess#012
May 21 22:10:41 grummel NetworkManager: supplicant_interface_acquire: assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
May 21 22:10:41 grummel NetworkManager: <info>  modem-manager is now available
May 21 22:10:41 grummel NetworkManager: <WARN>  default_adapter_cb(): bluez error getting default adapter: The name org.bluez was not provided by any .service files
May 21 22:10:41 grummel NetworkManager: <info>  Trying to start the supplicant...
May 21 22:10:41 grummel NetworkManager: <info>  (wlan0): supplicant manager state:  down -> idle
May 21 22:10:41 grummel NetworkManager: <info>  (wlan0): device state change: 2 -> 3 (reason 0)
May 21 22:10:41 grummel wpa_supplicant[1833]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:41 grummel wpa_supplicant[2574]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:41 grummel NetworkManager: <info>  (wlan0): supplicant interface state:  starting -> ready
May 21 22:10:41 grummel wpa_supplicant[2574]: Failed to initiate AP scan.
May 21 22:10:41 grummel wpa_supplicant[1833]: Failed to initiate AP scan.
May 21 22:10:41 grummel chipcardd[2594]: chipcardd.c:  738: Chipcardd v4.2.9.0stable started.
May 21 22:10:41 grummel chipcardd[2594]: chipcardd.c:  740: LibHAL supported.
May 21 22:10:42 grummel chipcardd[2597]: devicemanager.c: 3360: Changes in hardware list
May 21 22:10:42 grummel wpa_supplicant[1833]: Trying to associate with 00:1c:df:9a:ef:f4 (SSID='grappa' freq=2422 MHz)
May 21 22:10:42 grummel wpa_supplicant[1833]: Associated with 00:1c:df:9a:ef:f4
May 21 22:10:42 grummel wpa_supplicant[2574]: No network configuration found for the current AP
May 21 22:10:42 grummel wpa_supplicant[1833]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:42 grummel wpa_supplicant[2574]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:43 grummel ntpdate[2093]: can't find host 0.debian.pool.ntp.org
May 21 22:10:43 grummel ntpdate[2093]: can't find host 1.debian.pool.ntp.org
May 21 22:10:43 grummel ntpdate[2093]: can't find host 2.debian.pool.ntp.org
May 21 22:10:43 grummel ntpdate[2093]: can't find host 3.debian.pool.ntp.org
May 21 22:10:43 grummel ntpdate[2093]: no servers can be used, exiting
May 21 22:10:44 grummel wpa_supplicant[1833]: Trying to associate with 00:1c:df:9a:ef:f4 (SSID='grappa' freq=2422 MHz)
May 21 22:10:44 grummel wpa_supplicant[1833]: Associated with 00:1c:df:9a:ef:f4
May 21 22:10:44 grummel wpa_supplicant[2574]: No network configuration found for the current AP
May 21 22:10:44 grummel wpa_supplicant[1833]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:44 grummel wpa_supplicant[2574]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:45 grummel wpa_supplicant[1833]: Trying to associate with 00:1c:df:9a:ef:f4 (SSID='grappa' freq=2422 MHz)
May 21 22:10:45 grummel wpa_supplicant[1833]: Associated with 00:1c:df:9a:ef:f4
May 21 22:10:45 grummel wpa_supplicant[2574]: No network configuration found for the current AP
May 21 22:10:45 grummel wpa_supplicant[1833]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:45 grummel wpa_supplicant[2574]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:47 grummel wpa_supplicant[1833]: Trying to associate with 00:1c:df:9a:ef:f4 (SSID='grappa' freq=2422 MHz)
May 21 22:10:47 grummel wpa_supplicant[1833]: Associated with 00:1c:df:9a:ef:f4
May 21 22:10:47 grummel wpa_supplicant[2574]: No network configuration found for the current AP
May 21 22:10:47 grummel wpa_supplicant[1833]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:47 grummel wpa_supplicant[2574]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:48 grummel wpa_supplicant[1833]: Trying to associate with 00:1c:df:9a:ef:f4 (SSID='grappa' freq=2422 MHz)
May 21 22:10:48 grummel wpa_supplicant[1833]: Associated with 00:1c:df:9a:ef:f4
May 21 22:10:48 grummel wpa_supplicant[2574]: No network configuration found for the current AP
May 21 22:10:48 grummel wpa_supplicant[1833]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:48 grummel wpa_supplicant[2574]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:49 grummel wpa_supplicant[1833]: Trying to associate with 00:1c:df:9a:ef:f4 (SSID='grappa' freq=2422 MHz)
May 21 22:10:49 grummel wpa_supplicant[1833]: Associated with 00:1c:df:9a:ef:f4
May 21 22:10:49 grummel wpa_supplicant[2574]: No network configuration found for the current AP
May 21 22:10:50 grummel wpa_supplicant[2574]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
May 21 22:10:50 grummel wpa_supplicant[1833]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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.24-1   simple interprocess messaging syst
ii  dhcp3-client                  3.1.3-2    DHCP client
ii  ifupdown                      0.6.10     high level tools to configure netw
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libdbus-1-3                   1.2.24-1   simple interprocess messaging syst
ii  libdbus-glib-1-2              0.86-1     simple interprocess messaging syst
ii  libgcrypt11                   1.4.5-2    LGPL Crypto library - runtime libr
ii  libglib2.0-0                  2.24.1-1   The GLib library of C routines
ii  libgnutls26                   2.8.6-1    the GNU TLS library - runtime libr
ii  libgudev-1.0-0                154-1      GObject-based wrapper library for 
ii  libnl1                        1.1-5      library for dealing with netlink s
ii  libnm-glib2                   0.8-1      network management framework (GLib
ii  libnm-util1                   0.8-1      network management framework (shar
ii  libpolkit-gobject-1-0         0.96-2     PolicyKit Authorization API
ii  libuuid1                      2.16.2-0   Universally Unique ID library
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip
ii  udev                          154-1      /dev/ and hotplug management daemo
ii  wpasupplicant                 0.6.10-2   client support for WPA and WPA2 (I

Versions of packages network-manager recommends:
ii  dnsmasq-base          2.52-1             A small caching DNS proxy and DHCP
ii  iptables              1.4.6-2            administration tools for packet fi
ii  modemmanager          0.3-2              D-Bus service for managing modems
ii  network-manager-kde   1:0.9~svn1088283-1 KDE system tray applet for control
ii  policykit-1           0.96-2             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