Introduction

Brainslayer is working hard to merge the code base of DD-WRT with the OpenWRT firmware. This means that, for the most part, OpenWRT's package management system, ipkg, is available for DD-WRT. This allows for an easy way to add features not already in the DD-WRT firmware. Since ipkg is a command line program, you will need to either Telnet or SSH into your router to run this utility. You also need the JFFS File System enabled.

Commandline Structure

Usage

usage: ipkg [options...] sub-command [arguments...]

Options

-d <dest_name> or Install, upgrade, or remove package from <dest_name>
-dest <dest_name> where <dest_name> is '''either''' a folder path '''or''' a pre-defined
path in /etc/ipkg.conf
by default, ipkg on DD-WRT supports these pre-defined names:
root /jffs
ram /tmp
-o <offline_root> Use <offline_root> as the root for offline installation.
-offline <offline_root> where <offline_root> is a path
-force-depends Make dependency checks warnings instead of errors
-force-defaults Use default options for questions asked by ipkg.
(no prompts). Note that this will not prevent
package installation scripts from prompting.

Another source of software for the wrt is here ipkg.nslu2-linux.org, most of the files in this directory works fine on DD-WRT.

Installing ipkg packages

The general steps for installing ipkg modules are as follows
-Pick a location to install to. Currently available locations are: ram (/tmp)root (the flash partition at /jffs)mmc (/mmc)smbfs (/tmp/smbshare)
Then from the command line, run the following commands:
- 'ipkg update' ....pulls latest list of package listing from the default sites.
- 'ipkg list' .....gives the list of ipkg's available
- 'ipkg -d <location> install <packagename>' ....installs the package of your choice

If the package you want is not in the list, substitute the URI of the package for the <packagename> you want to install.
Packages installed to ram will be deleted on reboot. There is more ram than flash space, however.jffs must be configured and initialized before packages can be install to root