[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 02882) Re: TAHI test with serial line connection
- To: <usagi-users@xxxxxxxxxxxxxx>
- Subject: (usagi-users 02882) Re: TAHI test with serial line connection
- From: "Yang Hsiung" <yhsiung@xxxxxxxxx>
- Date: Thu, 1 Apr 2004 15:59:37 -0800
- Importance: Normal
- In-reply-to: <406C7F8D.3020706@hp.com>
- Reply-to: usagi-users@xxxxxxxxxxxxxx
Thanks for the valuable info. Since I'm using Redhat 7.3, I have slightly
setup than yours to make it work (on Linux system only).
1. In /etc/inittab, add
T0:2345:respawn:/sbin/agetty -L 9600 ttyS0 vt100
2. In grub.conf, add
"console=tty0 console=ttyS0,9600n8"
3. Reboot the system
Now, if I issue "cu -l /dev/ttyS0" on another Linux system, I can get login
prompt.
However, if I issue "cu -l /dev/cuaa0" on FreeBSD system, I got the
following
error messages:
cu: open (dev/cuaa0): Permission denied
cu: /dev/cuaa0: Line in use
I have no idea why I was getting this error.
Any idea?
Yang
-----Original Message-----
From: Brian Haley [mailto:Brian.Haley@xxxxxx]
Sent: Thursday, April 01, 2004 12:46 PM
To: usagi-users@xxxxxxxxxxxxxx
Subject: (usagi-users 02881) Re: TAHI test with serial line connection
I did this recently on Debian and Red Hat, I think it was as simple as:
1. edit /etc/inittab and un-comment (or add) a line like this:
T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
2. add ttyS0 to /etc/securetty
3. reload inittab with 'init q'
If when you originally installed you booted with 'console=ttyS0,9600n8'
I think it will actually set this all up for you. You can always add
this to your bootup with lilo/grub/etc. depending on which you use.
-Brian
Yang Hsiung wrote:
> Hi,
>
> I'm setting up the TAHI conformance test environment
> by connecting freeBSD (TN) and Linux (NUT) via a
> null modem cable as described in TAHI document.
>
> Since TAHI document uses freeBSD as an example to configure
> the /etc/ttys by adding the following line to the /etc/ttys
> file for NUT:
>
> cuaa0 "/usr/libexec/getty std.9600" unknown on secure
>
>
> Can anyone kindly share your knowledge on how to
> configure the equivalent thing on Linux side so that I can
> "cu -l /dev/cuaa0" from TN side?
>
> Thanks in advance.
>
> Yang
>
>