From 96c37cbe3151ddc041a3a55b66ffecf4be1b4395 Mon Sep 17 00:00:00 2001 From: Paul Philippov Date: Fri, 14 Apr 2023 12:40:01 -0400 Subject: [PATCH] Add various console terminals --- en/installation.md | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/en/installation.md b/en/installation.md index 662599f..bba47e8 100644 --- a/en/installation.md +++ b/en/installation.md @@ -109,8 +109,33 @@ or whatnot. Connect `GND` pin on your camera to `GND` pad of the adapter, connect USB connector of the adapter to a USB port on your PC, start a terminal emulator application and connect to your adapter. Set your terminal settings to -115200 bps baudrate, 8 bits, no parity, 1 stopbit, no flow control. If you use -[PuTTY](https://www.putty.org/), this is how it should look like: +115200 bps baudrate, 8 bits, no parity, 1 stopbit, no flow control. + +Here's a few command lines for various terminal programs with session logging. Pick your poison. + +#### screen +Start a sessions with +``` +screen -L -Logfile ipcam-$(date +%s).log /dev/ttyUSB0 115200 +``` +Use `Ctrl-a` followed by `\` to exit the session. + +#### minicom +Start a sessions with +``` +minicom -b 115200 -8 --capturefile=ipcam-$(date +%s).log --color=on -D /dev/ttyUSB0 +``` +Use `Ctrl-a` followed by `x` to exit the session. + +#### picocom +Start a sessions with +``` +picocom -b 115200 --databits 8 --parity n --stopbits 1 --flow n --logfile=ipcam-$(date +%s).log /dev/ttyUSB0 +``` +Use `Ctrl-a` followed by `Ctrl-x` to exit the session. + +#### PuTTY +If you opt for a GUI terminal, namely [PuTTY](https://www.putty.org/), this is how it should look like: ![PuTTY settings screen](https://user-images.githubusercontent.com/29582865/207894192-c6f66401-7715-4aa6-bee2-8343aae6c0a9.png) ![PuTTY connection screen](https://user-images.githubusercontent.com/29582865/209340268-e34a010c-d455-4343-ae83-0866f0f0af15.png)