Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Aug 2002 12:33:20 -0400
From:      "Dan Langille" <dan@langille.org>
To:        James Housley <jim@thehousleys.net>
Cc:        hackers@freebsd.org
Subject:   Re: serial console com1 to com1 == login race condition?
Message-ID:  <3D53B690.8024.2777122C@localhost>
In-Reply-To: <3D53ED8D.1020104@Thehousleys.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9 Aug 2002 at 12:27, James Housley wrote:

> Dan Langille wrote:
> > I have two remote boxes.  My colocation hosts have strung a crossover 
> > serial cable from com1 to com1 on these boxes.  The idea is that if I 
> > paint myself into a corner on one box, I can get access to it from 
> > the other box via the serial cable.
> > 
> > But...
> > 
> > I will need to set up serial consoles on each box in advance of a 
> > problem arising.  But won't I get a race condition with each box 
> > thinking the other is trying to login?
> > 
> > [1] - my apologies to those with whom I have already discussed this 
> > issue.
> 
> One option is com1 to com2 .  It takes 2 cable, but if ttyd1 (com2) 
> doesn't have getty running then the race won't exist.

I was trying to avoid the second cable.   Mainly because a non-BSD 
person suggested the cable which is now there, and I didn't want to 
go back and say sorry, I need a second cable... Yes, it's just ego... 
Unless of course, he's forgotten that I'd have to setup the serial 
consoles in advance of a problem arising.
-- 
Dan Langille
I'm looking for a computer job:
http://www.freebsddiary.org/dan_langille.php


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D53B690.8024.2777122C>