How would I administer my linksys router through ssh?

1

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.

Chad Harrison

Posted 2012-06-25T20:54:09.083

Reputation: 5 759

Answers

3

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.

Hyppy

Posted 2012-06-25T20:54:09.083

Reputation: 3 636

0

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.

johnshen64

Posted 2012-06-25T20:54:09.083

Reputation: 4 399

In practice, many routers have web UIs overloaded with tables and JavaScript, making them near-unusable by anything other but modern graphical web browsers. – user1686 – 2012-06-25T21:09:37.490

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 – 2012-06-25T21:23:38.033