summaryrefslogtreecommitdiff
path: root/Hurd/SerialConsole.mdwn
diff options
context:
space:
mode:
authorTWikiGuest <web-hurd@gnu.org>2005-12-12 09:11:33 +0000
committerTWikiGuest <web-hurd@gnu.org>2005-12-12 09:11:33 +0000
commit6667957e38a3e4e9700a71723746ab9d93c3df3d (patch)
treeb9943dd486ac229251b1b935188abae4a97a27d8 /Hurd/SerialConsole.mdwn
parentcb8697ad6896c9d16636f22f43f0a32a60c98978 (diff)
none
Diffstat (limited to 'Hurd/SerialConsole.mdwn')
-rw-r--r--Hurd/SerialConsole.mdwn28
1 files changed, 28 insertions, 0 deletions
diff --git a/Hurd/SerialConsole.mdwn b/Hurd/SerialConsole.mdwn
new file mode 100644
index 00000000..e4e5324d
--- /dev/null
+++ b/Hurd/SerialConsole.mdwn
@@ -0,0 +1,28 @@
+# <a name="Grub"> Grub </a>
+
+To enable serial console support in Grub, you'll need to add a variation of the following to the top of your menu.lst:
+
+ serial --unit=0
+ terminal --timeout=2 serial console
+
+The first line enables the serial console on the first serial port (use --unit=1 to use the second). The second tells Grub to use either the serial console or the vga display on the first one on which input is sensed within two seconds of executing this command. If no input is detected, Grub defaults to the first which in this case is the serial console.
+
+# <a name="Hurd"> Hurd </a>
+
+You'll first need to create a serial port device. Change to /dev and execute the following as root:
+
+ ./MAKEDEV com0
+
+Then add the following to /etc/ttys:
+
+ com0 "/libexec/getty 9600" xterm-color on secure trusted console
+
+runttys won't automatically reread /etc/ttys. You need to send it a SIGHUP.
+
+If you are running your serial console on the second serial port, replace com0 with com1.
+
+# <a name="Using_the_Serial_Port"> Using the Serial Port </a>
+
+minicom is popular but sredird has a more integrated feel.
+
+-- [[NealWalfield]] - 12 Dec 2005