Click to See Complete Forum and Search --> : IPtraf software


DimGR
05-10-2004, 10:13 PM
i downloaded using apt-get install iptraf. I can start it using sudo iptraf from a console.
I enered it in the K menu and i get problems. At first i tried as name IPtraf and comment IPtraf but that did not work. Then for name i said IPtraf and for comment i said
/usr/sbin/su-to-root -c /usr/sbin/iptraf and that did not work either.

how can i get this to work

mdwatts
05-11-2004, 11:20 AM
Define does not work. Error messages?

sudo /usr/sbin/iptraf

??

DimGR
05-11-2004, 11:53 AM
it fails to load. It just does not open.
i even tried sudo /usr/sbin/iptraf but it did not help


i can only execute it from the cosnole

mdwatts
05-11-2004, 02:14 PM
You could try creating a script that resides in a directory in your PATH (echo $PATH) something like


#!/bin/sh

/usr/sbin/su-to-root -c /usr/sbin/iptraf


or whatever command works at the commandline. Then make it executable

chmod +x <script>

and specify the script when adding to your K menu.