Super User is a question and answer site for computer enthusiasts and power users. 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 just installed optware package on dd-wrt.

when i execute service command, it cannot be found.

What is wrong?

screenshot is attached.

---- EDIT ----- my router is asus wl-520gu

enter image description here

share|improve this question
    
Perhaps some info how exactly did you install the software? And what you think should be expected output of commands run... – bbaja42 Jun 8 '11 at 22:38

I've never run dd-wrt, but if it's linux based, service is probably in /sbin. What happens when you try /sbin/service? If that works, you need to add /sbin to your PATH.

share|improve this answer

service should just run directly upon login (just tested it myself) - that is, it is your path.

If it isn't in your path, it should be in /opt/usr/sbin

You might want to Optware, the Right Way for the install (your screenshot suggests that you haven't used their install script).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .