On Sun, Dec 24, 2000 at 03:52:07PM +0100, Erik Mouw wrote: > On Sat, Dec 23, 2000 at 09:46:35AM -0500, Ben Collins wrote: > > On Sat, Dec 23, 2000 at 11:43:23AM +0100, Erwan MAS wrote: > > > Hello , > > > > > > How change the default value for the linux console ? > > > > > > My current value is ttyS0. I want to change to ttyS1 . > > > > Edit /etc/inittab, and edit the line near the bottom that looks like: > > > > T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 > > > > Change it to: > > > > T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 > > > > and run: > > > > % init q > > And if you also want to have the output of the kernel console (which > might differ from the serial line with the getty) on that serial port, > you should start the kernel with the option "console=ttyS1,9600".
Or set input/output in the PROM to ttyb instead of ttya. IIRC, the kernel will pick on this automatically. -- -----------=======-=-======-=========-----------=====------------=-=------ / Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \ ` [EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] ' `---=========------=======-------------=-=-----=-===-======-------=--=---'

