<< back to Diet-Router

Requirements

You must have lib ncurses (with header files), wget, gcc, make, ld86, as86, nasm and md5sum installed to compile the Diet-Router packages.

Target creation requires your kernel to support loopback filesystems (CONFIG_BLK_DEV_LOOP) and the minix filesystem (CONFIG_MINIX_FS).

Attention should be paid to all documents in the doc/ subdirectory.

Quick install

    make
    make target

NOTE: this will work only when you do not select sshd to be run on your router. Please refer to network/admin documentation for the details on setup the admin-user appropriate.

Reconfiguration

To reconfigure your diet-router run 'make config', which will bring up the configuration dialog. If all packages are alredy compiled a package setup will be initiated.

If you need to force recompile some software you can use

     rm pkg/<package>/.build
     make

or

     ./pkg-build -f <package>

Note: I have tried to design the setup scripts to do 'smart' setup, that is (hopefully) no user configuration shoud be overwritten.

Next, if you have selected sshd for your router box, you have to setup the admin-user appropriate. If you did not already, please refer to network/admin documentation for the details.

If you wish to change any passwords you can use

./setpw all | adsl | admin | root | system | dyndns

The last step is to create a bootable device. You must be root to do this. Start the script by typing

    su -c "make target"

or

    su -c ./mktarget

That's it. Enjoy!