Summary: | Knetworkmanager can not "able networking" | ||
---|---|---|---|
Product: | knetworkmanager | Reporter: | Atle Olsson <lol_to_hell> |
Component: | general | Assignee: | Will Stephenson <wstephenson> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | b.brachaczek, naught101, psychonaut, rdieter, zorael |
Priority: | NOR | ||
Version: | 0.9 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Atle Olsson
2010-01-16 21:12:01 UTC
I ended up getting this. Unsure as to what could have disabled networking in NetworkManager, but something did. This is on a Kubuntu 10.04 Lucid machine, running KDE 4.4. knetworkmanager version 1:0.9~svn1075616-0ubuntu1. Upon logging in a few days ago, the KNetworkManager context menu just had a greyed out entry saying "Network Management is disabled", and mouseovering the tray icon spawned a pop up saying "Unmanaged". Much as the reporter mentions, the solution I finally found (a few days later) was to install GNOME's nm-applet, start it, right click its tray icon and hit "Enable networking". I just had to get networking to work first in order to download it, which put me in a catch 22 (needed networking to enable networking). There really should be an equavilent menu option in KNetworkManager, or at least in the System Settings KCM module. How to reproduce (skip steps 1-4 if you or [eg] an update script manually disabled networking in NetworkManager): 1. Install nm-applet (network-manager-gnome in ubuntu repos) 2. killall knetworkmanager 3. Start nm-applet, disable networking 4. killall nm-applet, uninstall it, clean package archive 5. Start knetworkmanager 6. Sticky situation! Agree, a disable/enable networking option à la gnome nm-applet is a vital feature, especially since knetworkmanager in Ubuntu Lucid doesn't appear to automatically enable NetworkManager... I can confirm that lack of this feature can be very problematic, especially when someone hits this bug: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/291062 (it's not Ubuntu specific, I've hit it on Gentoo using NetworkManager-0.7.2). confirmed. Probably the main problem is that currently KDE doesn't recognize ASLEEP State for NetworkManager (Solid::Control::NetworkManager::status() returns Solid::Networking::Unknown - Solid::Networking::Asleep should be defined and recognized properly). Or I'm wrong and it is recognized in a different way. Second thing is that a proper "Enable networking" checkbox should (or not?) be added to the tray icon's popup menu. I see there is already something like that in the NMPopup code for Plasma (I don't know if it works as the applet crashes plasma immediately after adding it). As a workaround, we could just enable networking* unconditionally somewhere where it'd be able to be called not only at startup (I did it in KNetworkManagerTrayIcon::fillPopup() and this 1 additional line of code solved the problem for me). * by calling Solid::Control::NetworkManager::setNetworkingEnabled(true); See one possible implementation (with patches) in bug #238325 This issue appears to be a duplicate of Bug 232531. let's consolodate on bug #238325 , that implementation has been accepted and imported already. *** This bug has been marked as a duplicate of bug 238325 *** |