Version: (using KDE KDE 3.4.2) Installed from: SuSE RPMs OS: Linux When I enable knemo I get kded accessing the harddisk every 5 seconds. This happens no matter whether a network-card is actually inserted or not. Since power-saving needs the harddisk to be idle for x minutes, it never kicks in, hence knemo shortens the battery-runtime for notebook users. Expected behaviour would be not to use the harddisk at all unless a new network-card is inserted (PCMCIA/USB), or knemo is (re-)started/stopped.
I heared of this before. Someman found out that this is because of 'ifconfig' which gets called every second. It seems that 'ifconfig' accesses the harddisk. The problem is that KNemo has to do this to find out if an interface went up or down. There will be no solution to this until someone writes a backend that uses /proc or some other way to get this information. And by the way also a plugin feature to change the backends on demand. Maybe NetworkManager (http://people.redhat.com/dcbw/NetworkManager/index.html) is a good alternativ for 'ifconfig'.
*** Bug 117495 has been marked as a duplicate of this bug. ***
NetworkManager seems to be a GTK2 application and we're talking about KDE things ;) Is KNemo project completely abandoned? I don't think reading and parsing /proc entries is a hard work but my C++ skills are next to void so I can't solve this problem. I think that'll be good to file a bugreport into Gentoo and Suse bugzilla's because those distributions might be a bit more concerned of KNemo unlike KDE bugzilla which has many bugs that are left unsolved for years.
Temporarily I've switched to KNetStats 1.3.
*** Bug 122769 has been marked as a duplicate of this bug. ***
Is it so hard to use "cat /proc/net/dev" (like the tool called rppppoek) instead of ifconfig route and iwconfig (I don't have the last one so it's not a problem)?
Percy wants to implement a plugin based system of polling network interfaces but as he points out he is time contstained so this feature may take a long time to implement. This is the open source world, ned123, if you'd like it now - go write a patch for that and hope it'll get merged eventually.
Percy, once you've asked what is the best way to query network interfaces in Linux - through /proc or /sys interfaces. I'm sure you should implement them both 'cause some people will run kernel 2.4.x for a very long time and if you rely only on /sys interface you will leave those people in misery.
This bug has been fixed in newly released version 0.4.3. Thank you, Percy!
*** Bug has been marked as fixed ***.
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I will be closing this bug.