Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Aug 2002 12:27:57 -0400
From:      James Housley <jim@thehousleys.net>
To:        Dan Langille <dan@langille.org>
Cc:        hackers@freebsd.org
Subject:   Re: serial console com1 to com1 == login race condition?
Message-ID:  <3D53ED8D.1020104@Thehousleys.net>
References:  <3D53B3E5.5384.276CA6F0@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Jim

-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
jhousley@SimTel.Net  http://www.SimTel.Net
---------------------------------------------------------------------
A Microsoft Certified Systems Engineer is to computing what
     a McDonalds Certified Food Specialist is to fine cuisine.
       -- Jack O'Neill


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?3D53ED8D.1020104>