From owner-freebsd-questions@FreeBSD.ORG Tue Aug 3 06:54:30 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAD4016A4CE for ; Tue, 3 Aug 2004 06:54:30 +0000 (GMT) Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 672C743D5D for ; Tue, 3 Aug 2004 06:54:27 +0000 (GMT) (envelope-from marchenk@in.tum.de) Date: Tue, 03 Aug 2004 08:54:28 +0200 To: "freebsd-questions@freebsd.org" References: <410E2063.6080205@cordula.ws> From: Maksym Marchenko Content-Type: text/plain; format=flowed; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <410E2063.6080205@cordula.ws> User-Agent: Opera7.23/Win32 M2 build 3227 X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de cc: cpghost Subject: Re: Headless Install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2004 06:54:30 -0000 >> I try to install 4.10 on headless PC(without a monitor and vga output) >> So I've used my laptop as a serial console (via null modem cable). >> All was wonderfull, but after end of install procedure und reboot, >> I see with this terminal (cu -l /dev/cuaa0) all and the date for >> the login line. But not the login prompt. So I can't to log in and >> do anything. >> What have I to do, to log in this headless PC? > > Maksym, you need to start a getty process on the serial line, > by editing /etc/ttys like this: > > > console none unknown off secure > ttyv0 "/usr/libexec/getty Pc" cons25 off secure > ttyv1 "/usr/libexec/getty Pc" cons25 off secure > ttyv2 "/usr/libexec/getty Pc" cons25 off secure > ttyv3 "/usr/libexec/getty Pc" cons25 off secure > ttyv4 "/usr/libexec/getty Pc" cons25 off secure > ttyv5 "/usr/libexec/getty Pc" cons25 off secure > ttyv6 "/usr/libexec/getty Pc" cons25 off secure > ttyv7 "/usr/libexec/getty Pc" cons25 off secure > ttyd0 "/usr/libexec/getty std.9600" dialup on secure > ttyd1 "/usr/libexec/getty std.9600" dialup off secure > ttyd2 "/usr/libexec/getty std.9600" dialup off secure > ttyd3 "/usr/libexec/getty std.9600" dialup off secure > > In /stand/sysinstall (or /usr/sbin/sysinstall), you can edit > ttys. > > I'm running 5.2-CURRENT on net4801 Soekris hardware, and this > is exaclty what is needed to get login prompt on the serial > console. Thanks! It works pre[tty] good! :-) I have two more questions : Sometimes I see warning: terminal is not fully functional. So I can't edit kernel file mit ee - the text is shown "shifted" in their lines. Must I use another terminal program to help this? And what you can do with "headless" PC? Can you control this PC only in command prompt? Or (may be) you can use anything like X - twm? Thanks in advance.