Changes

m
no edit summary
Line 40: Line 40:  
* Open a new Terminal window, type '''ssh [email protected]''' and press "Enter". If this is your first time logging in, you might be asked to clarify whether you really want to login. In that case, just type '''yes''' and press "Enter". Then type in the router's admin password and press "Enter" to finish the login process:  
 
* Open a new Terminal window, type '''ssh [email protected]''' and press "Enter". If this is your first time logging in, you might be asked to clarify whether you really want to login. In that case, just type '''yes''' and press "Enter". Then type in the router's admin password and press "Enter" to finish the login process:  
   −
[[File:SSH linux login v3.png|border|class=tlt-border]]
+
[[File:SSH linux login v3.png]]
    
After this you should be greeted with a window such as the one depicted in the figure above.
 
After this you should be greeted with a window such as the one depicted in the figure above.
Line 58: Line 58:  
* In the next window type in the login name ''root'', press "Enter", type in the router's admin password and press "Enter" again. You should be greeted with a message such as this:
 
* In the next window type in the login name ''root'', press "Enter", type in the router's admin password and press "Enter" again. You should be greeted with a message such as this:
   −
[[File:Putty login 2 v2.PNG]]
+
[[File:Putty login v3.png|alt=]]
   −
* Newer Windows 10 editions already have a built in SSH client. see https://docs.microsoft.com/en-us/windows/terminal/tutorials/ssh
+
*Newer Windows 10 editions already have a built in SSH client. see https://docs.microsoft.com/en-us/windows/terminal/tutorials/ssh
    
----
 
----
====RSA key====
+
==== RSA key====
    
There is a possibility to use an RSA key instead of a password when logging in via SSH. This process is described '''[[SSH RSA key authentication (Windows)|here]]''' in detail.
 
There is a possibility to use an RSA key instead of a password when logging in via SSH. This process is described '''[[SSH RSA key authentication (Windows)|here]]''' in detail.
Line 72: Line 72:  
<font size="-1">
 
<font size="-1">
 
{| class="wikitable" style="border:2px solid white; background: white"
 
{| class="wikitable" style="border:2px solid white; background: white"
|+  
+
|+
| style="border:1px solid white; width: 400px" | '''Straight-through Female/Male RS232 cable''' <br> [[File:Services rs232 connector female male.PNG|300px|left]]
+
| style="border:1px solid white; width: 400px" |'''Straight-through Female/Male RS232 cable''' <br> [[File:Services rs232 connector female male.PNG|300px|left]]
| style="border:1px solid white; width: 400px" | '''Null-modem (crossed) Male/Male RS232 cable''' <br> [[File:Male male rs232 cable.jpg|230px|left]]
+
| style="border:1px solid white; width: 400px" |'''Null-modem (crossed) Male/Male RS232 cable''' <br> [[File:Male male rs232 cable.jpg|230px|left]]
| style="border:1px solid white; width: 400px" | '''USB to RS232 (Male) cable''' <br> [[File:Usb to rs232 male.png|187px|left]]
+
| style="border:1px solid white; width: 400px" |'''USB to RS232 (Male) cable''' <br> [[File:Usb to rs232 male.png|187px|left]]
 
|-
 
|-
 
|}
 
|}
Line 84: Line 84:  
===Router configuration===
 
===Router configuration===
 
----
 
----
* The configuration for the router's side is fairly simple. Just login to the router's WebUI, go to '''Services → RS232/RS485''', place a check mark next to the "Enable" field and select "Serial type: Console" (the same is true for both RS232 and RS485):
+
*The configuration for the router's side is fairly simple. Just login to the router's WebUI, go to '''Services → RS232/RS485''', place a check mark next to the "Enable" field and select "Serial type: Console" (the same is true for both RS232 and RS485):
    
[[File:Rs232 console configuration v3.png|border|class=tlt-border]]
 
[[File:Rs232 console configuration v3.png|border|class=tlt-border]]
Line 99: Line 99:  
'''update''' downloads a list of newest software packages; '''install minicom''' downloads and installs minicom.
 
'''update''' downloads a list of newest software packages; '''install minicom''' downloads and installs minicom.
 
----
 
----
* Once you've installed minicom, you can run it with the command '''sudo minicom''' from the Linux Terminal. This will open a new console window where you will need to set some things up. Press '''Ctrl + A''' at once on your keyboard, then press "Z" which will direct you to the settings menu:
+
*Once you've installed minicom, you can run it with the command '''sudo minicom''' from the Linux Terminal. This will open a new console window where you will need to set some things up. Press '''Ctrl + A''' at once on your keyboard, then press "Z" which will direct you to the settings menu:
    
[[File:Minicom settings v2.png]]
 
[[File:Minicom settings v2.png]]
 
----
 
----
* Press "O" on your keyboard. This will direct you to the main settings menu. From there you should specify the name of the serial device and the same parameters that you entered in the router's configuration. A picture with corresponding parameters is presented below:
+
*Press "O" on your keyboard. This will direct you to the main settings menu. From there you should specify the name of the serial device and the same parameters that you entered in the router's configuration. A picture with corresponding parameters is presented below:
    
[[File:Minicom settings port v2.png]]
 
[[File:Minicom settings port v2.png]]
Line 109: Line 109:  
Once done, press "Enter". In the next menu you can save these settings as defaults by selecting '''Save setup as dfl''' so that you wouldn't need to set everything up the next time you use the console.
 
Once done, press "Enter". In the next menu you can save these settings as defaults by selecting '''Save setup as dfl''' so that you wouldn't need to set everything up the next time you use the console.
 
----
 
----
* Press "Esc" on your keyboard to return to the console window and type in the login name ''root'', press "Enter", type in the router's admin password and press "Enter" again. After this, you will be able to use the RS232/RS485 console.
+
*Press "Esc" on your keyboard to return to the console window and type in the login name ''root'', press "Enter", type in the router's admin password and press "Enter" again. After this, you will be able to use the RS232/RS485 console.
    
===Windows===
 
===Windows===
Line 115: Line 115:  
To login from a Windows PC, you'll need an application for serial communication. The most common is '''PuTTY''' - free, open source SSH and Telnet client, which we'll be using for this example. You can download PuTTY from '''[https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html here]'''.
 
To login from a Windows PC, you'll need an application for serial communication. The most common is '''PuTTY''' - free, open source SSH and Telnet client, which we'll be using for this example. You can download PuTTY from '''[https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html here]'''.
 
----
 
----
* First you must find out which '''Serial line''' (or '''COM port''') your cable uses. To do so, go to Windows '''Device Manager''' (you can find it easily via the search field or in the Control Panel). Find '''Ports (COM & LPT)''' in the device list and expand that section. Locate your serial device (depends on the type of cable) and take note of its '''COM port number''' ('''COM3''' in our example):
+
*First you must find out which '''Serial line''' (or '''COM port''') your cable uses. To do so, go to Windows '''Device Manager''' (you can find it easily via the search field or in the Control Panel). Find '''Ports (COM & LPT)''' in the device list and expand that section. Locate your serial device (depends on the type of cable) and take note of its '''COM port number''' ('''COM3''' in our example):
    
[[File:Putty serial login 1 v2.PNG]]
 
[[File:Putty serial login 1 v2.PNG]]
 
----
 
----
* Launch PuTTY and select the '''Serial''' option under the "Connection type" field. Specify the COM port ('''COM3''' from our example) in the "Serial line" field  and the Baud rate from your router's configuration in the "Speed" field ('''115200''' from our example) and click "Open":  
+
*Launch PuTTY and select the '''Serial''' option under the "Connection type" field. Specify the COM port ('''COM3''' from our example) in the "Serial line" field  and the Baud rate from your router's configuration in the "Speed" field ('''115200''' from our example) and click "Open":
    
[[File:Putty serial login 2 v2.PNG]]
 
[[File:Putty serial login 2 v2.PNG]]
Line 127: Line 127:  
[[File:Putty serial login 3 v2.PNG]]
 
[[File:Putty serial login 3 v2.PNG]]
   −
==See also==
+
== See also==
   −
* [[SSH RSA key authentication (Linux)]]
+
*[[SSH RSA key authentication (Linux)]]
* [[SSH RSA key authentication (Windows)]]
+
*[[SSH RSA key authentication (Windows)]]
    
==External links==
 
==External links==
   −
* https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html - PuTTY downloads page
+
*https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html - PuTTY downloads page
    
[[Category:Control & Configuration]]
 
[[Category:Control & Configuration]]

Navigation menu