Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2010 17:26:50 +0100
From:      Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net>
To:        Marin Atanasov <dnaeon@gmail.com>
Cc:        freebsd-stable@freebsd.org, freebsd-hardware@freebsd.org
Subject:   Re: Multiple serial consoles via null modem cable
Message-ID:  <20100121162649.GP96430@acme.spoerlein.net>
In-Reply-To: <717f7a3e1001210137p7884adcbxc66a4f7fff928821@mail.gmail.com>
References:  <717f7a3e1001120714m37aada69gfaa35f0f9b17f435@mail.gmail.com> <44678539@bb.ipt.ru> <717f7a3e1001142234y1de7ae15x6853e3ddcab4add9@mail.gmail.com> <op.u6oij7dz8527sy@212-123-145-58.ip.telfort.nl> <717f7a3e1001192246o4dce4a82q57c05ff3f41b5feb@mail.gmail.com> <20100120074611.GA405@icarus.home.lan> <717f7a3e1001210137p7884adcbxc66a4f7fff928821@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21.01.2010 at 11:37:06 +0200, Marin Atanasov wrote:
> Here's what I did:
> 
> box1 COM1/ttyd0 -> box2 COM1/ttyd0 -> using null modem cable
> box1 COM2/ttyd1 -> box3 COM1/ttyd0 -> using null modem cable
> 
> On box1 I have this in /etc/ttys:
> 
> ttyd0   "/usr/libexec/getty std.9600"   vt100   on secure
> ttyd1   "/usr/libexec/getty std.9600"   vt100   on secure
> 
> Now if I want to connect to box1 from box2 or box3 through the serial
> connection it should work, right?
> But I only can connect to box1 from box2, because box2's COM port is
> connected to box1's COM1 port.

Are there actually two gettys running on the serial ports? Did you do
kill -1 1 after the changes to /etc/ttys?

On box1, what do the following commands produce

egrep "uart|sio" /var/run/dmesg.boot
pgrep -fl getty

Regards,
Uli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100121162649.GP96430>