Jump to content

FAQ: Difference between revisions

38 bytes added ,  17 November 2021
no edit summary
No edit summary
No edit summary
Line 107: Line 107:
<span style="color: #0054A6;"><font size="5"><u>How can I restar RUT/TRB device's particular service via SSH?</u></font></span>
<span style="color: #0054A6;"><font size="5"><u>How can I restar RUT/TRB device's particular service via SSH?</u></font></span>


*On the RUT/TRB devices, it is available to restart a particular service by executing command in the router's Secure Socket Shell (SSH). SSH is a network protocol that gives users, particularly system administrators, a secure way to access the device.
*On the RUT/TRB devices, it is available to restart a particular service by executing command in the router's Secure Socket Shell (SSH).  
To see how a particular service is named please type '''ls /etc/init.d''' command in SSH.
*SSH s a network protocol that gives users, particularly system administrators, a secure way to access the device.
As you can see in the example this command list files that are located on '''init.d''' directory
*To see how a particular service is named please type '''ls /etc/init.d''' command in SSH.
 
*Here is the example of listed files that are located on '''init.d''' directory
For example in order to restart OpenVPN service you have to specify directory location and add command "'''restart'''".
[[File:Example1.png|thumb|left|ls command]]
Example: '''/etc/init.d/openvpn restart'''
*For example in order to restart OpenVPN service you have to specify directory location and add command "'''restart'''".
After you execute this command your service is immediately restarted. Also, you can use '''start/stop''' commands which accordingly start or stop service.
*Example: '''/etc/init.d/openvpn restart'''
Example: '''/etc/init.d/firewall stop'''
*After you execute this command your service is immediately restarted. Also, you can use '''start/stop''' commands which accordingly start or stop service.
[[File:Start-stop command.png|thumb]]
*Example: '''/etc/init.d/firewall stop'''
[[File:Start-stop command.png|thumb|left|]]
*Link to the instruction of how to use Command Line Interfaces: [[Command_Line_Interfaces]]
*Link to the instruction of how to use Command Line Interfaces: [[Command_Line_Interfaces]]
*Link to the instruction of UCI command usage: [[UCI_command_usage]]
*Link to the instruction of UCI command usage: [[UCI_command_usage]]