I need to install a program on a linux router. Can this also be done on a linksys router that has ddwrt installed on it? How?
To install things on a router with DD-WRT, you must enable a few things in the router administration interface. First, enable JFFS2 on the Management tab of the Administration section. Second, enable SSHd on the Services tab of the Services section. If you need to access files from another computer, the easiest way is to share them via Windows File Sharing/SMB, and then mount it via the CIFS Automount section of the Management tab of the Administration section. You can also use SCP if you desire.
Once you've done that, you can access your router via SSH. To do so on Linux and Mac OS X, just run
Once you're on, you have access to a full Linux BusyBox shell. But, that's only half the battle. Routers don't come with x86-based processors, so you can't just copy a binary from a Linux machine and have it work. It has to be compiled for the processor included with your particular router and designed to work on BusyBox.
However, there are many packages compiled for routers, that can be installed with the package manager created by the OpenWRT project and included with DD-WRT, called
You can use the ipkg package tool from openwrt: http://www.dd-wrt.com/wiki/index.php/Ipkg