every process you run at boot, except the dnsmasq, is run as root (admin). check with a ps command right after the boot to check this. Your crash is probably due to another problem.
Hello together,
does somebody know how I can start a process in post-boot with root Permissions?
My Problem is, darkstat crashes after 5 minuten running.
every process you run at boot, except the dnsmasq, is run as root (admin). check with a ps command right after the boot to check this. Your crash is probably due to another problem.
Last edited by hugo; 17-02-2005 at 08:50.
You are rigth, it runs as root.
But, why does the process chrashes?
because it has not been compiled and fully tested. I think it is just a result from a make, wityh some cross compiling parameters, but no extensive testing afterward. Try tu use command line switch to see if some are working better than other. Try also to link to another interface, like br0 or eth0 to see how it goes.
It's darkstat.because it has not been compiled and fully tested. I think it is just a result from a make, wityh some cross compiling parameters, but no extensive testing afterward.
The Problem is, why does it crashes after exactly 5 Minutes?
The log says:
"lp driver: get device id"
"neg fail"
"neg fail"
What does this mean?
try ./darkstat -i ppp0
check if you have the same problem
else try ./darkstat -i br0
then ./darkstat -i eth0 if everything fails.