Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2005 14:13:59 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: serial ttys broken?
Message-ID:  <20050920211359.GA22676@ns1.xcllnt.net>
In-Reply-To: <20050920172635.GA2811@ip.net.ua>
References:  <20050920110023.GA468@ip.net.ua> <6136.1127217196@critter.freebsd.dk> <dgp681$o48$1@sea.gmane.org> <20050920153044.GC468@ip.net.ua> <1127230793.30479.24.camel@buffy.york.ac.uk> <20050920172635.GA2811@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 20, 2005 at 08:26:36PM +0300, Ruslan Ermilov wrote:
> > 
> > In my experience, you need to use:
> > 
> > cuad0   "/usr/libexec/getty std.9600"   dialup  on secure
> > and not
> > ttyd0   "/usr/libexec/getty std.9600"   dialup  on secure
> > 
> > in /etc/ttys to get a console on the serial port if you are not using -h
> > in /boot.config.  I'm pretty sure it's been like this for a long time.
> > 
> > What line have you got in /etc/ttys?
> > 
> I've come to the same conclusion after also trying uart(4) instead
> of sio(4).

Don't forget that DCD does not have to be asserted when the
serial line is used as serial console. When the serial line
is not used as serial console, DCD must be asserted. This
is not always the case with null-modem cables.
Change std.9600 to 3wire.9600 and don't use cua*. Use tty*.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net



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