summaryrefslogtreecommitdiffstats
path: root/etc/etc.mips
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2014-03-09 21:06:22 +0000
committermarcel <marcel@FreeBSD.org>2014-03-09 21:06:22 +0000
commit5325036e28f5a02667b2b4d1afcc3fea08a45642 (patch)
tree2adba1078159f234e118f813df906f2bc44b45a4 /etc/etc.mips
parentdfbf00d37480dfcc2aada89df83bfefde1b20d2b (diff)
downloadFreeBSD-src-5325036e28f5a02667b2b4d1afcc3fea08a45642.zip
FreeBSD-src-5325036e28f5a02667b2b4d1afcc3fea08a45642.tar.gz
Change the terminal type/class for enabled serial lines to 3wire. This
allows us to change the uart(4) driver to not hardcode specific line settings for the serial console. A terminal type of 3wire makes sure the console still works when no DCD signal is present, which preserves behviour. When it is known that the terminal server (or DCE in general) provides DCD, a terminal type/class of std can be used. This has the effect of being logged out when one disconnects from the console -- improving security overall. Likewise, when uart(4) does not fixate the baudrate, one can change the terminal type/class to set a specific baudrate. An operator can use this to change the console speed mid-flight, without needing a reboot. Of course it helps in this respect if and when the firmware can be configured from the OS. The above mentioned capabilities depend on uart(4) being changed, which is to happen next.
Diffstat (limited to 'etc/etc.mips')
-rw-r--r--etc/etc.mips/ttys2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/etc.mips/ttys b/etc/etc.mips/ttys
index 2fbeae5..a07cbc2 100644
--- a/etc/etc.mips/ttys
+++ b/etc/etc.mips/ttys
@@ -30,7 +30,7 @@
console none unknown off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
-ttyu0 "/usr/libexec/getty std.115200" dialup on secure
+ttyu0 "/usr/libexec/getty 3wire" vt100 on secure
ttyu1 "/usr/libexec/getty std.115200" dialup off secure
ttyu2 "/usr/libexec/getty std.115200" dialup off secure
ttyu3 "/usr/libexec/getty std.115200" dialup off secure
OpenPOWER on IntegriCloud