On Tue, Apr 20, 2004 at 04:47:51PM -0300, Mariano Draghi wrote:
Hi,
I'd like to know how to setup the modemlights applet and/or ifup|ifdown scripts so an _ordinary_ user (i.e. not root) can have the traffic shown in the applet.
[ ... snip ... ]
What I would do is make ifup and ifdown SUID root. That works for me.
Sorry, It doesn't make any difference.
Please, note that I CAN start up / shutdown de interface as a normal user, the problem is that the lights don't flash, and the traffic is not shown.
[ ... snip ... ]
Thanks!
-- Mariano
First I thought that my modem lights was doing what you describe. That is the top window stays at zero most of the time.
But if you generate network traffic you will see that the register
changes giving non-zero values. For example when typing this mail the
register is at zero when I am not typing. Are you sure this is not the
behavior that you are seeing?
Yes, I'm (was) sure ;)
The problem was pritty silly: I had a wrong "device" in the advanced tab (the field above the name of the lock file). I had "modem" in it, and the correct value (in my case) is "ppp0".
Now it work perfect! Green light while I'm connected, and the traffic is shown.
-- Mariano