This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| app-notes:serial-tunneling [2024/03/12 17:31] – [socat Linux tool for mapping IP addresses] gray | app-notes:serial-tunneling [2024/03/12 20:11] (current) – [On Windows] dodenhoeft | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| {{: | {{: | ||
| - | ==== PC ==== | + | ==== On Windows |
| - | * Downlad the Serial Port software | + | * Downlad |
| - | * Install the Serial to Ethernet Connector software | + | |
| * Create connection | * Create connection | ||
| * Connect serial port to remote host (Client) | * Connect serial port to remote host (Client) | ||
| - | * Serial Port e.g. COM10 | + | * Serial Port e.g. COM1 |
| * Remote IP from the router, e.g. 192.168.1.1 | * Remote IP from the router, e.g. 192.168.1.1 | ||
| * Port number 2000 | * Port number 2000 | ||
| + | Another example: | ||
| - | {{: | + | {{: |
| ===== Test ===== | ===== Test ===== | ||
| Line 30: | Line 30: | ||
| * Use Putty to connect to the COM port of the physical serial line of the PC with the same paramters | * Use Putty to connect to the COM port of the physical serial line of the PC with the same paramters | ||
| - | ===== socat Linux tool for mapping IP addresses ===== | + | ==== On Linux ==== |
| The socat tool can be used to access the serial interface tunnel via the console using TCP. | The socat tool can be used to access the serial interface tunnel via the console using TCP. | ||
| Line 37: | Line 37: | ||
| < | < | ||
| - | socat PTY, | + | ~ $ socat PTY, |
| </ | </ | ||
| Line 43: | Line 43: | ||
| < | < | ||
| - | socat STDIO, | + | ~ $ socat STDIO, |
| - | + | NB2700 login: root | |
| - | te | + | Password: |
| + | ________________________________________________________________________________ | ||
| + | NB2700 (c) 2004-2023, NetModule AG | ||
| + | ________________________________________________________________________________ | ||
| + | BusyBox v1.30.1 (2023-07-31 14:09:01 UTC) built-in shell (ash) | ||
| + | ~ $ | ||
| </ | </ | ||
| - | |||