Difference between revisions of "Modwrt on Command Line"

From lechacal
Jump to: navigation, search
(Created page with " =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 t...")
 
 
(One intermediate revision by one user not shown)
Line 15: Line 15:
 
=Stop/Start the modwrt service=
 
=Stop/Start the modwrt service=
  
Modwrt is a service running as deamon. It can be stopped and started with the commands below.
+
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 stop
  
 
  /etc/init.d/modwrt start
 
  /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.

Latest revision as of 12:23, 13 August 2019


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.