Date: Sun, 23 Mar 2008 11:22:57 -0600 From: Aaron Siegel <aj@siegel-tech.net> To: freebsd-embedded@freebsd.org Subject: Serial Communication: Terminals Message-ID: <200803231122.57251.aj@siegel-tech.net>
next in thread | raw e-mail | index | archive | help
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 I am going to change the /boot/loader.conf, and hope the terminal login appears. Thank you Aaron
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803231122.57251.aj>