Installing microcom

Microcom is an open source tool developed by Pengutronix under to easily communicate to tty devices via terminal. It is licensed under GPLv2.

I went to theri github and downloaded the repository:

git clone https://github.com/pengutronix/microcom

Requirements

There are 3 tools required:

to install microcom. Microcom also depends on the readline library.

Configuration

I used the command below, since I cloned the repository and haven’t downloaded microcom from a release tarball.

autoreconf -i

After that, the configuration can begin:

./configure
make

Installation

the installation is a very typical installation using the Makefile in the programms root directory:

sudo make install

Usage

Usage for TTY devices:

microcom --speed=115200 --port=/dev/ttyS0

Usage for remote serial ports via RFC 2217

microcom --speed=115200 --telnet=somehost:port

source: pengutronix on github