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

Most of the administrative tasks required some http service used over a web browser. Is there a way to perform adiminstrative tasks to my router through ssh? Sometimes having a GUI is not possible (especially if you have headless linux server that only has ssh as your only avenue to connect). I happen to own the wrt54g model.

share|improve this question
up vote 3 down vote accepted

You need to use third-party firmware such as Tomato or DD-WRT to enable such remote management.

I have no experience with Tomato, but remote SSH administration with DD-WRT has worked great on my Buffalo router. You're in luck; the WRT54G is one of the most supported models for many third-party firmwares.

share|improve this answer

Have you tried curl? In theory, curl should be all you need. You can also try a text-based browser such as lynx, if you don't like switching the os of the router.

share|improve this answer
    
In practice, many routers have web UIs overloaded with tables and JavaScript, making them near-unusable by anything other but modern graphical web browsers. – grawity Jun 25 '12 at 21:09
    
elinks has some javascript support. however, i do agree that full functionality is likely only available with a gui browser. but for some simple tasks such as getting a list of client ips, it is possible with curl and text browser. – johnshen64 Jun 25 '12 at 21:23

You must log in to answer this question.

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