Modwrt on Command Line

From lechacal
Jump to: navigation, search


Accessing the shell prompt

If not password has been set in the web interface the shell prompt can be accessed using telnet.

telnet modwrt

Otherwise use ssh to get to the prompt

ssh root@modwrt

telnet and ssh tool are available using Putty if not on a *nix computer.

Stop/Start the modwrt service

Modwrt is a service running as deamon. It can be stopped and started using the commands below.

/etc/init.d/modwrt stop
/etc/init.d/modwrt start

Run modwrt in debug

First of all stop the modwrt service as shown above. Then run

modwrt

All connection information will printed on the terminal.