commit | 91dde14ecf15ccc5ea8d7e2e19e2fb4426686a00 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Wed Feb 12 22:46:27 2020 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Tue Feb 25 09:48:08 2020 +1030 |
tree | 72ff49242c2ccf66bae6f1cc22b5e8653fc6ac20 | |
parent | 6ed0e4e7f96ee39c29e5aae352afb31ac9bd36e0 [diff] |
console-server: Choose tty device from a configuration file If the tty device is not specified on the command-line, search the configuration file before failing. This enables mapping a socket name to a device name via the filesystem. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I18a9cf53d2af4641554ed87020ab97bfe7609563
Note: In addition to a toolchain and autoconf tools, this requires autotools-archive
to be installed.
To build this project, run the following shell commands:
./bootstrap.sh ./configure ${CONFIGURE_FLAGS} make
To fully clean the repository, run:
./bootstrap.sh clean
Running the server requires a serial port (e.g. /dev/ttyS0):
touch obmc-console.conf ./obmc-console-server --config obmc-console.conf ttyS0
To connect to the server, simply run the client:
./obmc-console-client
To disconnect the client, use the standard ~.
combination.