Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 08:33:18 -0400
From:      Sten Daniel Soersdal <netslists@gmail.com>
To:        Aaron Siegel <aj@siegel-tech.net>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: Serial Communication: Terminals
Message-ID:  <480DDB0E.8060406@gmail.com>
In-Reply-To: <200803231122.57251.aj@siegel-tech.net>
References:  <200803231122.57251.aj@siegel-tech.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Aaron Siegel wrote:
> Hello
> 
> I am trying to set up access the serial terminal I set up on my single board 
> computer (ALIX2) running FreeBSD.  I followed the configuration provied in 
> the Terminal section of the Handbook, subsection 24.3.2.1 "Adding an Entry 
> to /etc/ttys forced init with the
>   #kill -HUP 1.
> 
> The question is; if the login prompt is to appear where would it appear? Would 
> it be one of the virtual terminals? Do I need to use cu, tip, or minicom?  
> When I use cu program 
> 	# cu -l cuad1
> I receive a message
> 	Connected
> But I do not receive a prompt.  
> 
> The getty process is running
>   # ps -axwww | grep getty
>   47126  ??  I      0:00.00 /usr/libexec/getty std.19200 ttyd1
>   47129  v0  Is+    0:00.00 /usr/libexec/getty Pc ttyv0
>   47130  v1  Is+    0:00.00 /usr/libexec/getty Pc ttyv1
>   702  v2  Is+    0:00.00 /usr/libexec/getty Pc ttyv2
>   703  v3  Is+    0:00.00 /usr/libexec/getty Pc ttyv3
>   704  v4  Is+    0:00.00 /usr/libexec/getty Pc ttyv4
>   705  v5  Is+    0:00.00 /usr/libexec/getty Pc ttyv5
>   706  v6  Is+    0:00.00 /usr/libexec/getty Pc ttyv6
>   707  v7  Is+    0:00.00 /usr/libexec/getty Pc ttyv7
> 
> My /etc/ttys file
> # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
> ttyd0   "/usr/libexec/getty std.9600"   dialup  off secure
> ttyd1   "/usr/libexec/getty std.9600"  dialup  on secure
> ttyd2   "/usr/libexec/getty std.9600"   dialup  off secure
> ttyd3   "/usr/libexec/getty std.9600"   dialup  off secure
> 
> My setting on the single board computer
> /etc/tty
> ttyd0   "/usr/libexec/getty std.9600" dialup on secure
> 
> /boot/loader.conf
> console="comconsole"
> comsonsole_speed="19200"				#This may be the problem
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/term.html
> 

TinyBIOS prior to 0.98b would not do CTS/RTS properly. Could that be 
your problem? 0.99 is available from web site.

-- 
Sten Daniel Soersdal



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