From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 11:02:52 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 C05DF16A4CE for ; Mon, 2 Aug 2004 11:02:52 +0000 (GMT) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D61D43D60 for ; Mon, 2 Aug 2004 11:02:52 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from [192.168.254.3] (bsdbox [192.168.254.3]) by fw.farid-hajji.net (Postfix) with ESMTP id 087954AF8E; Mon, 2 Aug 2004 13:03:10 +0200 (CEST) Message-ID: <410E2063.6080205@cordula.ws> Date: Mon, 02 Aug 2004 13:07:15 +0200 From: cpghost User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040710) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maksym Marchenko References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org 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: Mon, 02 Aug 2004 11:02:52 -0000 Maksym Marchenko wrote: > Hi! > > 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. Good luck! cpghost. -- Cordula's Web. http://www.cordula.ws/