summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2016-03-24 18:00:57 +0800
committerJeremy Kerr <jk@ozlabs.org>2016-04-14 14:43:02 +0800
commit7acf2465fb905f83a63743ef5da64f8f7e6e1018 (patch)
tree4c8ad813cbf82eb30b72e38941f1435ea20a1c96
parent1445857d0ad371a86af827b0dce6dfeb1e314371 (diff)
downloadopenbmc-docs-7acf2465fb905f83a63743ef5da64f8f7e6e1018.tar.gz
openbmc-docs-7acf2465fb905f83a63743ef5da64f8f7e6e1018.zip
Add console document
Add a little info about host console for the new obmc-console infrastructure Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r--README.md2
-rw-r--r--console.md43
2 files changed, 45 insertions, 0 deletions
diff --git a/README.md b/README.md
index c0bae54..bc76825 100644
--- a/README.md
+++ b/README.md
@@ -17,3 +17,5 @@ be component-specific documentation in the repository for each component.
- [rest-api.md](rest-api.md): Introduction to using the OpenBMC REST
API
+
+ - [console.md](console.md): Using the host console
diff --git a/console.md b/console.md
new file mode 100644
index 0000000..019dcff
--- /dev/null
+++ b/console.md
@@ -0,0 +1,43 @@
+OpenBMC host console support
+============================
+
+This document describes how to connect to the host UART console from an OpenBMC
+management system.
+
+The console infrastructure allows multiple shared connections to a single host
+UART. UART data from the host is output to all connections, and input from any
+connection is sent to the host.
+
+Remote console connections
+--------------------------
+
+To connect to an OpenBMC console session remotely, just ssh to your BMC on port
+2200. Use the same login credentials you would for a normal ssh session:
+
+ $ ssh -p 2200 [user]@[bmc-hostname]
+
+
+Local console connections
+-------------------------
+
+If you're already logged into an OpenBMC machine, you can start a console
+session directly, using:
+
+ $ obmc-console-client
+
+To exit from a console, type:
+
+ return ~ .
+
+Note that if you're on an ssh connection, you'll need to 'escape' the ~
+character, by entering it twice.
+
+Logging
+-------
+
+Console logs are kept in:
+
+ /var/log/obmc-console.log
+
+This log is limited in size, and will wrap after hitting that limit (currently
+set at 16kB).
OpenPOWER on IntegriCloud