Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a small router without a keyboard and mouse, and I'd like to have it display network statistics using "jnettop" whenever the machine is booted up. How can I get the machine to display this information without requiring logging in and launching the application? The application jnettop requires root (I think) -- is this secure? If not, is there a better way to do this?

Thank you.

share|improve this question
up vote 3 down vote accepted

Assuming your router is running a Unix variant, like Linux or BSD, you can set up auto-login on tty1 and have the login script run jnettop (or anything else). The details of setting up auto-login depend on the startup scripts used by your distribution, but take a look at the discussion of setting up a MythTV front-end for ideas:

If this isn't clear I will try to flesh it out a bit, but hopefully it gets you started.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.