########################################################################################## MISC-10: KDE: Cannot use interface after clicking 'Disconnect' in Network manager applet ########################################################################################## Issue Type: Bug ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Fixed (2015-07-24 15:07:00) Project: Miscellaneous (MISC) Reported By: btasker Assigned To: btasker Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== Edited IPv6 settings for 'Wired Connection' to enabled dhcpv6. Address was acquired but system was trying to route ipv6 via dev _lo_. To try and make sure routes got refreshed, clicked 'Disconnect' in the Network manager tray applet, click 'Connect' then didn't do anything. Rebooted and the interface doesn't even appear in the tray applet at all now. Can see it in the NM settings and all looks fine. Tried removing the ethernet cable and then reconnecting, got -- BEGIN SNIPPET -- Jul 24 14:34:09 milleniumfalcon NetworkManager[1612]: Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889) -- END SNIPPET -- Bringing up manually works -- BEGIN SNIPPET -- root@milleniumfalcon:~# ifconfig eth0 up root@milleniumfalcon:~# dhclient eth0 -- END SNIPPET -- So should at least be able to use some google-fu ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2015-07-24 14:54:39 btasker ----------------------------------------------------------------------------------------- The title of the bug linked in Dmesg is _"Offline Mode" feature fails to detect proper online state for networks that are managed outside of network manager_ don't think it's related Looking in the syslog -- BEGIN SNIPPET -- Jul 24 14:34:04 milleniumfalcon avahi-daemon[1497]: Network interface enumeration completed. Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: NetworkManager (version 0.9.8.8) is starting... Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: Read config file /etc/NetworkManager/NetworkManager.conf Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: WEXT support is enabled Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: VPN: loaded org.freedesktop.NetworkManager.pptp Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPlugin-Ifupdown: init! Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPlugin-Ifupdown: update_system_hostname Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: interface-parser: parsing file /etc/network/interfaces Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: interface-parser: finished parsing file /etc/network/interfaces Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPluginIfupdown: guessed connection type (eth0) = 802-3-ethernet Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:eth0, type:802-3-ethernet, id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-687ed5bae28e Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPlugin-Ifupdown: adding eth0 to connections Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPlugin-Ifupdown: adding iface eth0 to eni_ifaces Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPluginIfupdown: management mode: unmanaged Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/net/eth0, iface: eth0) Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPluginIfupdown: locking wired connection setting Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo) Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found. Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPlugin-Ifupdown: end _init. Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list. Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc. To report bugs please use the NetworkManager mailing list. Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: Ifupdown: get unmanaged devices count: 1 Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPlugin-Ifupdown: (164882320) ... get_connections. Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: SCPlugin-Ifupdown: (164882320) ... get_connections (managed=false): return empty list. Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: keyfile: parsing Wired connection 1 ... Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: keyfile: read connection 'Wired connection 1' Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: Ifupdown: get unmanaged devices count: 1 Jul 24 14:34:05 milleniumfalcon NetworkManager[1612]: monitoring kernel firmware directory '/lib/firmware'. Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: WiFi enabled by radio killswitch; disabled by state file Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: WWAN enabled by radio killswitch; disabled by state file Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: WiMAX enabled by radio killswitch; enabled by state file Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: Networking is enabled by state file Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: failed to allocate link cache: (-12) Object not found Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: (eth0): carrier is OFF Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: (eth0): new Ethernet device (driver: 'tg3' ifindex: 2) Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: (eth0): exported as /org/freedesktop/NetworkManager/Devices/0 Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring... Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring... Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: urfkill disappeared from the bus Jul 24 14:34:06 milleniumfalcon NetworkManager[1612]: ModemManager available in the bus Jul 24 14:34:06 milleniumfalcon kernel: [ 34.536067] type=1400 audit(1437744846.181:17): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1743 comm="apparmor_parser" Jul 24 14:34:06 milleniumfalcon kernel: [ 34.536761] type=1400 audit(1437744846.181:19): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1743 comm="apparmor_parser" Jul 24 14:34:09 milleniumfalcon NetworkManager[1612]: Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889) Jul 24 14:34:09 milleniumfalcon NetworkManager[1612]: Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889) Jul 24 14:34:09 milleniumfalcon NetworkManager[1612]: NetworkManager state is now CONNECTED_GLOBAL Jul 24 14:34:09 milleniumfalcon NetworkManager[1612]: Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889) Jul 24 14:34:16 milleniumfalcon NetworkManager[1612]: WiFi hardware radio set disabled -- END SNIPPET -- Looks to me like clicking Disconnect lead to NM deciding it wasn't to manage the device anymore. As there isn't actually anything for that device in /etc/network/interfaces it doesn't get brought up unless NM opts to do so ----------------------------------------------------------------------------------------- 2015-07-24 14:59:50 btasker ----------------------------------------------------------------------------------------- Hmmm -- BEGIN SNIPPET -- root@milleniumfalcon:~# cat /etc/NetworkManager/NetworkManager.conf [main] plugins=ifupdown,keyfile #dns=dnsmasq no-auto-default=00:1A:A0:CF:87:18, [ifupdown] managed=false -- END SNIPPET -- Commented out the no-auto-default line and restarted network-manager -- BEGIN SNIPPET -- root@milleniumfalcon:~# service network-manager restart -- END SNIPPET -- Got my connection back. Not sure that no-auto-default should have broken things though. I also can't seem to replicate the original break, so may not be fixed ----------------------------------------------------------------------------------------- 2015-07-24 15:07:00 ----------------------------------------------------------------------------------------- btasker changed status from 'Open' to 'Resolved' ----------------------------------------------------------------------------------------- 2015-07-24 15:07:00 ----------------------------------------------------------------------------------------- btasker added 'Fixed' to resolution ----------------------------------------------------------------------------------------- 2015-07-24 15:07:04 ----------------------------------------------------------------------------------------- btasker changed status from 'Resolved' to 'Closed'