[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
howtos:general_admin:serial_console [2013/01/06 19:13 (UTC)] – general cleanup, added reviewed flag mfillpot | howtos:general_admin:serial_console [2013/01/07 02:36 (UTC)] – Added file names to file flags mfillpot | ||
---|---|---|---|
Line 26: | Line 26: | ||
the speed setting when required. | the speed setting when required. | ||
- | < | + | < |
# Local serial lines: | # Local serial lines: | ||
s1: | s1: | ||
Line 36: | Line 36: | ||
login via the serial console. You can omit this step if you will access the | login via the serial console. You can omit this step if you will access the | ||
machine with a normal user id. | machine with a normal user id. | ||
- | < | + | < |
# These are some remote ttys, and uncommenting them might be less than fully secure: | # These are some remote ttys, and uncommenting them might be less than fully secure: | ||
ttyS0 | ttyS0 | ||
Line 44: | Line 44: | ||
===== Setup LILO boot loader ===== | ===== Setup LILO boot loader ===== | ||
Edit ''/ | Edit ''/ | ||
- | < | + | < |
serial=0, | serial=0, | ||
</ | </ | ||
Line 51: | Line 51: | ||
Add the following parameter to the kernel line: | Add the following parameter to the kernel line: | ||
- | < | + | < |
append=" | append=" | ||
</ | </ | ||
If the //append// line already exists, add the parameter as follows: | If the //append// line already exists, add the parameter as follows: | ||
- | < | + | < |
append=" | append=" | ||
</ | </ | ||
Line 64: | Line 64: | ||
To have the console on normal tty as well as serial port, adjust the | To have the console on normal tty as well as serial port, adjust the | ||
kernel line as follows: | kernel line as follows: | ||
- | < | + | < |
append=" | append=" | ||
</ | </ | ||
Line 72: | Line 72: | ||
Add lines to the general section as follows: | Add lines to the general section as follows: | ||
- | < | + | < |
serial --speed=38400 | serial --speed=38400 | ||
terminal serial | terminal serial | ||
Line 78: | Line 78: | ||
Add the following parameter to the kernel line: | Add the following parameter to the kernel line: | ||
- | < | + | < |
console=ttyS0, | console=ttyS0, | ||
</ | </ | ||
Line 84: | Line 84: | ||
The complete kernel line might look like this (substitute your root | The complete kernel line might look like this (substitute your root | ||
partition and vmlinuz file): | partition and vmlinuz file): | ||
- | < | + | < |
kernel / | kernel / | ||
</ | </ | ||
Line 90: | Line 90: | ||
To have the console on normal tty as well as serial port, adjust the | To have the console on normal tty as well as serial port, adjust the | ||
terminal and kernel lines as follows: | terminal and kernel lines as follows: | ||
- | < | + | < |
terminal --timeout=5 serial console | terminal --timeout=5 serial console | ||
</ | </ | ||
- | < | + | < |
kernel xxx console=tty0 console=ttyS0, | kernel xxx console=tty0 console=ttyS0, | ||
</ | </ |