Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers 2

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
add comment

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
add comment

Your Answer

 
discard

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.