1 |
Sebastien Arnaud wrote: |
2 |
> On the same topic, does anybody know how to setup in Gentoo a console |
3 |
> access through one of our serial COM ports ? |
4 |
|
5 |
Here are my notes on doing this with grub. Sets you up with a 38400bps, |
6 |
8-n-1 connection on serial0. |
7 |
|
8 |
add to /etc/inittab, under the TERMINALS section: |
9 |
s0:2345:respawn:/sbin/agetty ttyS0 38400 vt100 |
10 |
|
11 |
make grub.conf look like this: |
12 |
default 0 |
13 |
timeout 10 |
14 |
serial --unit=0 --speed=38400 --word=8 --parity=no --stop=1 |
15 |
terminal --timeout=10 serial |
16 |
|
17 |
title=Gentoo Linux 2.6.3 |
18 |
root (hd0,0) |
19 |
kernel /boot/bzImage-2.6.3 root=/dev/sda3 console=ttyS0,38400n8 |
20 |
devfs=mount |
21 |
|
22 |
and add to /etc/securetty: |
23 |
tts/0 |