KNemo

Network by jstamp 805 comments

Thanks for the compliments! :-) - Nov 18 2004
KNemo

Network by jstamp 805 comments

Whoops, hit the wrong link. See my answer below. - Nov 02 2004
KNemo

Network by jstamp 805 comments

Accounting and statistics (as found in du-meter for example) is on my TODO list but don't expect it in the near future.

At the moment KNemo development has paused for a while. - Nov 02 2004
KNemo

Network by jstamp 805 comments

There was already some discussion going into that direction and I agreed to put KNemo into KDE Network but then there was a reply from a guy from KDE stating something like:

'Was this already discussed on the KDE mailing lists?'

and from that point I didn't hear anything from the KDE guys.

So maybe there needs to be some discussion from KDE side but I am not involved in it and don't want to be involved in it.

If they want KNemo in CVS it's fine with me and I will maintain it there or it will stay here which is also fine for me. - Oct 28 2004
KNemo

Network by jstamp 805 comments

No, there is no such list. But you could write me a mail with your wishes. Or even better: send me a patch! :-)

I put the RX/TX thing on the TODO list but at the moment I have only little notion to work on KNemo.

So please be patient! :-) - Oct 17 2004
KNemo

Network by jstamp 805 comments

Yup! :-) - Oct 15 2004
KNemo

Network by jstamp 805 comments

Quick fix is:

Open file interfaceupdater.cpp in folder 'knemod', goto line 401 and change it from

regExp.setPattern( "Link Quality:([\\d/]*)" );

to

regExp.setPattern( "Link Quality[=:]([\\d/]*)" ); - Oct 14 2004
KNemo

Network by jstamp 805 comments

Hi,

is it also empty on the status dialog (left click on icon) or only in the tooltip?

Could you please send me the output of 'iwconfig' when you are connected with your access point. - Oct 14 2004
KNemo

Network by jstamp 805 comments

Hi Martin,

is noticed this behaviour also with KLaptopDaemon. I am not sure if there is something I can do about it, because I use the standard KDE classes for applications with systray icons and I am not aware of anything I have to take care of when KNemo gets shut down.

Any hint from a developer with more experience in this area is appreciated. - Oct 01 2004
KNemo

Network by jstamp 805 comments

Thank you very much for the positive feedback! :-) - Sep 28 2004
KNemo

Network by jstamp 805 comments

Hi ogott,

maybe you would like to try creating some better icons yourself?

As you have seen I am not an exceptionally gifted icon artist. So I agree with you that these icons aren't very nice but I don't have the skills to make better ones.

Any idle icon artist around? - Sep 24 2004
KNemo

Network by jstamp 805 comments

Hmmm, well ok. So there is only one point (#1) remaining of my 2 reasons.

Maybe it would make sense to import KNemo into KDE CVS soon. Then others would have the chance to make such changes.

Lets see if I am ready to give up control of KNemo now.

A little bit off topic... ;-) - Sep 16 2004
KNemo

Network by jstamp 805 comments

BTW, if you are looking for a lightweight KNemo, take a look at KNetworkLED:

http://www.kde-look.org/content/show.php?content=13972 - Sep 15 2004
KNemo

Network by jstamp 805 comments

I must admit, this is true.

2 things that keep me from changing to /proc/net

* there were not many people complaining about 'ifconfig' and it seems it works fine (in the sense of detecting all information without problems) for most users

* it seems that /proc/net does not deliver as many information as 'ifconfig' (for example I didn't find the number of transfered bytes) and the information is spread all around the directory while 'ifconfig' delivers it all at once - Sep 15 2004
KNemo

Network by jstamp 805 comments

Not yet. I want to get KNemo somewhere near 1.0 (meaning most features are included) and then it would be ok for me to commit to CVS.

I think it is a long way to KDE 4.0 so there should be enough time for this. - Sep 15 2004
KNemo

Network by jstamp 805 comments

You keep me busy! ;-)

I put them on the TODO list but with real low priority.

> Try to change the resizeMode of the listview (dyn. context entry list) to AllColumns

Changed it to LastColumn as I like it more. - Sep 15 2004
KNemo

Network by jstamp 805 comments

Please upgrade to Qt 3.3 or edit both ui-files (in folder kcm and knemod) and change the version in line 1 from '3.3' to '3.2'. - Sep 12 2004
The Reinhardt Icon Set

Icon Sub-Sets by leinir 85 comments

Thanks for the excellent LaptopDaemon icons! :-) - Sep 06 2004
KNemo

Network by jstamp 805 comments

What about contributing one? If you have a good idea how the icons could look like, open your prefered icon editor and do some copy&paste.

I would be happy to add them to KNemo. - Sep 05 2004
KNemo

Network by jstamp 805 comments

1) the app icon in your about dialog look ugly ;-)

I must admit, I failed to change it. I spent some time looking into the code of this but it seems that the 'About'-dialog is meant for applications and not for daemons. Which means the dialog guesses the icon from some application settings that are not available for a daemon.

Any hint is appreciated.

2) I have 2 idea to avoid those problems with ifconfig

Sure, if 1.0 is released and there is nothing else left to improve or fix I would try this suicide commando. Low level kernel hacking in KDE. ;-)

I already took a look into the code of 'ifconfig' before and found some kernel calls. Then I thought 'No, you don't want to take care of which kernel version every user has installed.'.

As Linus once said: 'Show me the source!', I say 'Show me the patch!' ;-) - Sep 04 2004
KNemo

Network by jstamp 805 comments

And no, no FAQ at the moment. Post your questions here and I will help you.

Or send me a mail. :-) - Sep 03 2004
KNemo

Network by jstamp 805 comments

> great that you got the algoritm for publishing knemo 0.2.3 at 23:23 :-)

I paid the price by getting up early in the morning... ;-)

> Are the dynamic context entries on your todo list?

Oh yes, they are. I even started coding on them... lets see what the weekend will bring.

> I saw some untranslated strings in the german translation, will you fix it, or should I look what I can do ;-)

Keep them for a friend of mine. He's mentioned as the German translator in the 'About'-dialog, so let him do the work. ;-)


> BTW: I use net-tools 1.60-r7 and there are no problems

Just checked, I have 1.60-r8 with no problem. - Sep 03 2004
KNemo

Network by jstamp 805 comments

It doesn't use /proc, it uses 'ifconfig' but the problem is the same. The ouput of 'ifconfig' on BSD seems to be completely different to the output on Linux.

Sorry that KNemo can't be used on BSD. - Sep 01 2004
KNemo

Network by jstamp 805 comments

Hi Anil,

I have some similar reports from other Gentoo users that upgraded their 'net-tools' package to version 1.60-r9 (not 100% sure about that) and since then 'ifconfig' (on which KNemo relies) doesn't show the transfered data anymore.

Downgrading to 1.60-r8 solved the problem for at least one Gentoo user.

You might want to try this.

But in any case please make sure that 'ifconfig' stills reports the amount of transfered data. If it doesn't work, KNemo won't work either. - Sep 01 2004
KNemo

Network by jstamp 805 comments

Hi,

yes this is possible. Since 0.2.3 you can assign different icon sets to each interface to distinguish between different types of interfaces (WLAN, LAN and Dialup). If you select the option "Hide icon when not connected" you will only see the icon in the system tray when the interface is actually connected, otherwise it will be hidden.

All you need additionally is a program like 'ifplugd' or 'laptop-net' that will connect and disconnect the interface whenever you plug or unplug the cable from your notebook. This is how I use KNemo and it works perfectly.

Please remember that KNemo cannot do the connection and disconnection stuff as it is only a monitor. There are no plans to change this in the future. - Sep 01 2004
KNemo

Network by jstamp 805 comments

> tho on the initial setup dialog, maybe prompting for the initial interface...

Hmm, that is exactly why I added this initial dialog. So people know that they have to add at least one interface before they see anything in the system tray.

> it initially asked me which interface [I stated eth0].

How did you 'state eth0' without clicking the 'add' button in the dialog?

> [again, I'd attribute this to layer8]..

What is 'Layer8'? Never heared of. - Aug 24 2004
KNemo

Network by jstamp 805 comments

Hmm, there should be one in the folder 'kcm' and one in the folder 'knemod'. Did you download the tar.bz2 I provide or did you download a package for your distribution? In the sources I provide there definitely are the .ui files. At least nobody beside you complained until now that they are missing.

So my suggestion is, download the tar.bz2 I provide if you didn't do so already or provide me a mail address and I will send you the 2 .ui files so you can copy them to the correct folders. - Aug 22 2004
KNemo

Network by jstamp 805 comments

Hi,

please take a look at my answer in this thread:

http://www.kde-apps.org/content/show.php?content=12956&forummode=2&forumpage=10&forumexplevel=0&forumthread=67135#c67135

Seems you accidentally posted there. - Aug 20 2004
KNemo

Network by jstamp 805 comments

Hmmm,

it seems that 'make' doesn't create the file configdlg.h from the file configdlg.ui. I wonder why the compiler doesn't complain about the missing header file though.

In other words, take a look in the folder 'kcm', there should be a file configdlg.h after you ran 'make'. If the file isn't there this is the reason why it won't compile for you.

But I have no idea why the build process doesn't create it for you. This should be done automatically.

What I can offer you is that I send you the generated file 'configdlg.h' and you store it in the 'kcm' folder. Then 'make' would work but I guess you will hit the same problem again in folder 'knemod' and with every future version of KNemo.

What you could check is, if you run './configure', look for some lines like these

checking for uic... /usr/qt/3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes

Do you have something similiar? So the key to your problem is the program 'uic' (that comes with Qt) and the question 'Why does the build process not automatically create the configdlg.h from the configdlg.ui'.

So much diagnosis from my side. - Aug 20 2004
KNemo

Network by jstamp 805 comments

> hm, why so angry?

Why not? ;-)

Don't take it personal, it was just some temporary confusion. - Aug 20 2004
KNemo

Network by jstamp 805 comments

Please post the complete output of 'make' so I can see what the problem is. - Aug 20 2004
KNemo

Network by jstamp 805 comments

Grrrrr, what about the feature list or the changelog?

* middle-clicking on an icon displays a traffic plotter that was taken
from KSysGuard (2nd click hides dialog)

* traffic plotter now also accessible through context menu - Aug 20 2004
KNemo

Network by jstamp 805 comments

Hi Marc,

indeed this would be easy to do. Just have to wait until I again have access to wireless lan... but it's on my TODO list.

Promised. :-) - Aug 16 2004
KNemo

Network by jstamp 805 comments

Hmmm... thinking about it for a while...

Ok, I can agree on this and I like it as I can get rid of the mentioned checkbox. I will add another entry to the combobox called 'Monitors' and replace 'Type:' by 'Iconset:'.

I will keep the internal type detection as PPP, LAN and WLAN show different entries in the status dialog and the tooltips.

So by default the user will get the default monitors and can change them to another iconset I he or she likes to.

Thank you for your good ideas! :-) - Aug 16 2004
KNemo

Network by jstamp 805 comments

I had the same idea but for example my wireless cards are eth1 and eth2 and with Atmel chipsets you have something like atml0 for wireless... - Aug 16 2004
KNemo

Network by jstamp 805 comments

Ah yes, the "illuminated release".

23:23 will be very hard as I released 0.2.2 on 9.00am and the line above says "Updated: 08/16/2004, 1:22".

Have to find out which secret algorithm stands behind "9.00 - 1.22". ;-) - Aug 16 2004
KNemo

Network by jstamp 805 comments

> I later figured out could eg. start Konqueror this way but thats not
> helpful -- there's plenty ways available already to do these things.

The entries are meant for people who wish to start/stop/restart/configure an interface with an external program or who wish to start something like KPPP to go online.

> And if you make only one custom menu, the second still shows up as a blank
> entry.

The next major release will allow a dynamic number of menu entries (for some people 2 slots are not enough) and will also handle this problem.

Happy that so many people like this little tool! :-) - Aug 15 2004
KNemo

Network by jstamp 805 comments

Thanks for answering the question, think this is the solution... or problem. Maybe the middle mouse button is not the best place for the graph?

Anyone any suggestions? - Aug 13 2004
KNemo

Network by jstamp 805 comments

I also wonder why it does this as I am only hiding it and showing it again. Maybe this is some kind of feature of QDialog?

Anyway, I will have a look at it. And the dynamic number of entries in the context menu you asked for is one of the next tasks on my TODO list. ;-) - Aug 13 2004
KNemo

Network by jstamp 805 comments

Hi,

I forwarded your suggestion to the Debian package maintainer. - Aug 13 2004
KNemo

Network by jstamp 805 comments

Thanks for your suggestion. Maybe I'll use the next weekend to work on this. :-) - Aug 13 2004
KNemo

Network by jstamp 805 comments

Sure, there are enough free icons to do some copy&paste. That's how I made the current ones. But still I need an idea how the icons could look like...

Anyway, I put it on my TODO list and will wait for further inspiration. :-) - Aug 04 2004
KNemo

Network by jstamp 805 comments

One one side I think that the user may be worried by too many different icons, on the other side I sometimes have the same problem to distinguish between my ppp dialup and the wireless card.

So I could make it an option.

Now the next problem would be to create icons for ppp, ethernet and wireless for the 5 states 'not connected', 'connected', 'incoming traffic', 'outgoing traffic' and 'traffic in both directions'.

Any volunteers? - Aug 01 2004
KNemo

Network by jstamp 805 comments

Then the solution would be to put

/etc/init.d/isdnutils start
isdnctrl dial ippp0

into a start script and to put

isdnctrl hangup ippp0 (not sure about this)
/etc/init.d/isdnutils stop

into a stop script and excute them from KNemo. Then you have the desired behaviour with the 'red cross'. ;-) - Jul 30 2004
KNemo

Network by jstamp 805 comments

Hi,

what does 'ifconfig ippp0' show after you executed '/etc/init.d/isdnutils stop'?
- Jul 30 2004
KNemo

Network by jstamp 805 comments

> I wish I could see if I am online or not from the icon of knemo

You can see if you are online or not. When you are offline the icon of KNemo will have a red cross in its corner to indicate that this interface is not connected. When KNemo detects that you are online (it does so by finding that the interface has an IP address assigned) the cross will vanish.

> Knemo should detect when an interface
is a dialup connection, and then change
> its icon to reflect the status of the connection.

That should not be necessary. It doesn't matter if you are monitoring a dialup interface or an ethernet interface. The rules are the same:

If the output of the command 'ifconfig interfacename' contains the words 'UP' and 'inet' the interface is detected as online and the red cross in the icon will vanish. Otherwise the interface is offline and you will see a red cross on the icon (or the icon will vanish, if you selected 'Hide icon when not connected' in the settings): - Jul 28 2004
KNemo

Network by jstamp 805 comments

Please follow the instructions here: http://www.eris23.de/knemo/INSTALL.Mandrake

If you follow these instructions KNemo will be available in the Service Manager of KDE... it is under 'KDE Components'.

Then start KNemo in the Service Manager, make sure an interface is configured in the configuration dialog and then the icon should appear in the system tray. - Jul 27 2004
KNemo

Network by jstamp 805 comments

Then you are still running 0.1.10. Open the context menu and look under "About KNemo".

It is not enough to stop KNemo in the Service Menu of KDED and start it again. You have to kill KDED and start KDED again to get the new installed KNemo. Or log out of KDE and log in again. - Jul 27 2004
KNemo

Network by jstamp 805 comments

> btw, what are the labels "Start" and "Stop" good for?

What labels exactly do you mean? - Jul 27 2004
KNemo

Network by jstamp 805 comments

This is what Sarahb523 wrote how you can trigger your ppp connection from KNemo:

To cooperate knemo with kppp open the config of you ppp0 device and enter this as start command:
kstart --skiptaskbar kppp -q -c account_name

and for stop command:
kppp -k -q

disable "hide icon when not connected"

in kppp set "dock to kicker when connected" to enabled. Now you can start/stop your ppp0 device from knemo systray icon - Jul 26 2004