Registered Member
|
I dont mind those backends, just look at that:
-ntrack doesnt work reliably -networkmanager doesnt work reliably -if you disable both, solid defaults to offline. -there are many (as in tens of millions) users with a permanent connection to the internet To me, that's a good reason to change something. Even if it's just defaulting to "online" when detection is turned off. Update: I tried the modified DBUS call, it appears to have the same effect 2nd update: for clarification: when talking about init scripts, I've been talking about the net.* init scripts, not the networkmanager init script. My box has two interfaces that can be up or down individually, and different services run on both. I can do this fine with openrc, networkmanager is two steps backwards for me as it only knows "online" (all up) and "offline" (all down) and has no idea about starting/stopping services. 3rd update: wait aminute. Did you say I can just install networkmanager, but dont have to actually run it to get solid to work properly? 4th update: tried running NetworkManager with default conf. Interfaces come up, nm-online says "0" (online), but solid still says "0" (offline). Test run after solid rebuilt with Networkmanager support, a full reboot and a fresh login. |
Administrator
|
Did this build contain NTrack and NetworkManager or just NetworkManager support? If it contained just NetworkManager, and you logged out and back in, then I would advise checking the D-Bus security permissions to ensure KDE is allowed to communicate with NetworkManager.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks for all the help so far. Still haven't found anything that looks wrong.
Networkmanager policy /etc/dbus-1/system.d/NetworkManager.conf:
There are several KDE policies, but none look related. |
Administrator
|
That looks ok... if you try using qdbusviewer, are you able to retrieve information from NetworkManager over D-Bus?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I can with d-feet or qdbus, I guess that counts as well? (Update: yes qdbusviewer works) Btw,
qdbus org.kde.kded /modules/networkstatus org.kde.Solid.Networking.networks returns an empty set. |
Administrator
|
This explains why you cannot get the state to shift from 0 even after running the qdbus command.
Do you have NetworkManager support built into the NetworkStatus backend (which is part of kde-runtime)? In any case, try running this workaround (will work until you logout of the KDE desktop, may cause instability of kded4):
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Yes, networkmanager support is compiled in.
The workaround finally makes kded report network status 4, however, akonadi mail resources still randomly switch offline -___- WTH is going on here. P.S. I'm migrating to Qt 4.8.1 right now. Not sure whether that makes a difference, but well, maybe it does. It didn't. I tried to switch one of the random offliners back online manually using dbus, which did nothing on the first try. When I tried again later it crashed the whole resource, and after a restart all its configuration was gone. A strange thing: when I reconfigured it, after the next boot it would happen to a different resource (different mail account), but it got the same resource name (IMAP 15). I start to feel like an alien is manipulating my machine and laughing its **** off. Only way to fix this behavior was deleting the bogus resource 15 and creating a new one. |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]