From owner-freebsd-stable@FreeBSD.ORG Mon Aug 12 13:53:19 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6ABAECE2; Mon, 12 Aug 2013 13:53:19 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 320B42F95; Mon, 12 Aug 2013 13:53:18 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id r7CDrHwM002146 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 12 Aug 2013 08:53:17 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([169.254.1.135]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.02.0309.002; Mon, 12 Aug 2013 08:53:15 -0500 From: "Teske, Devin" To: Michael Sierchio Subject: Re: Installer on serial-console-only-embedded system Thread-Topic: Installer on serial-console-only-embedded system Thread-Index: AQHOl1hFZpi0NkgvikWRgwY4FEZv0pmR2/uAgAAPu4A= Date: Mon, 12 Aug 2013 13:53:15 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7202011A07@ltcfiswmsgmb21> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="us-ascii" Content-ID: <6083EE1D6B002F47906DD74073D92626@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-08-12_03:2013-08-12,2013-08-12,1970-01-01 signatures=0 Cc: Devin Teske , "freebsd-sysinstall@freebsd.org" , freebsd-stable stable , "freebsd-embedded@freebsd.org" , CeDeROM X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 13:53:19 -0000 sysinstall had the ability to allow you to muck with /etc/ttys before reboo= ting to your installed OS. This functionality is coming back slowly. In 9.2-R you will be able to (somehow) bow out of the installation process = after it's complete (e.g., "Ctrl-C" ??) and then run bsdconfig -- invoking = the "TTYs" module, giving you a chance to change the settings before you re= boot from your newly installed system. Tighter Integration will follow in the years to come... but replacing a too= l that had a 15-year run which did _all_ of this stuff, is/was not an overn= ight project. Rather, it's a journey! --=20 Devin On Aug 12, 2013, at 5:56 AM, Michael Sierchio wrote: > You need to change /etc/ttys to turn off the virtual consoles and turn > on a serial terminal. > E.g., >=20 > ttyv0 "/usr/libexec/getty Pc" xterm off secure > # Virtual terminals > ttyv1 "/usr/libexec/getty Pc" xterm off secure > ttyv2 "/usr/libexec/getty Pc" xterm off secure > ttyv3 "/usr/libexec/getty Pc" xterm off secure > ttyv4 "/usr/libexec/getty Pc" xterm off secure > ttyv5 "/usr/libexec/getty Pc" xterm off secure > ttyv6 "/usr/libexec/getty Pc" xterm off secure > ttyv7 "/usr/libexec/getty Pc" xterm off secure > ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure > # Serial terminals > # The 'dialup' keyword identifies dialin lines to login, fingerd etc. > ttyu0 "/usr/libexec/getty std.9600" dialup on secure > ttyu1 "/usr/libexec/getty std.9600" dialup off secure > ttyu2 "/usr/libexec/getty std.9600" dialup off secure > ttyu3 "/usr/libexec/getty std.9600" dialup off secure > # Dumb console > dcons "/usr/libexec/getty std.9600" vt100 off secure >=20 > On Mon, Aug 12, 2013 at 8:34 AM, CeDeROM wrote: >> Hello :-) >>=20 >> With my friend Jacek we have tried to perform PXE installation of >> FreeBSD 9 on an i386 embedded system for one project. This required >> adding "-h" or "comconsole" to the /boot/loader.conf so the >> input-output is done with serial console port, not video console. >> However, after installation, on this embedded system with no video >> console, system seems to be configured to use videoconsole by >> default... >>=20 >> Is it possible to add this nice feature to the new installer that >> would recognise if installation is done with serial-port-console and >> then setup the installed system to work with serial-port-console by >> default not the videoconsole? We could try it out on 9.2-RC2 if >> possible :-) >>=20 >> Best regards! :-) >> Tomek >>=20 >> -- >> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info >> _______________________________________________ >> freebsd-embedded@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded >> To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.o= rg" > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.