From owner-freebsd-sysinstall@FreeBSD.ORG Mon Aug 12 12:57:05 2013 Return-Path: Delivered-To: freebsd-sysinstall@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 E72F1638 for ; Mon, 12 Aug 2013 12:57:04 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B39C62B3B for ; Mon, 12 Aug 2013 12:57:04 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id o6so7736482oag.13 for ; Mon, 12 Aug 2013 05:56:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cQoK3XZjCVpsK2F0mckcuBGSmiawaPNZ5eTs6NRCMsU=; b=GgwFoGBU7BNGyiQHJlUxznS2g9+VM7C7WE73oL/BJDMUne80ZAeaqRmU4zCgiTcUX4 5ySX1BYKvmCfRVEcwq6LbnfWZmVm0CJHhY1gwYsCtt99zeZ/MzQKp9Bq/yEBD9hqsyw5 dJBS6Z9VrIjRKjaE5cuV7vcPAgLQGU3JUqXmA95ZAZ4/zlcBFFlNXmeJBLDgxgCIUJ7L LUEcwPLV8k91KOGfSitKxzCkVCJhbPIgFVHDSSl+ZUVu7KDZhYPlpzEajQdwBYlVqWKS mZjAbEzEZHY47CyOaEEykeaLbisOLChtP9YLWqrTICzBLdv21NmlLSRjcA1B/JOzb/5+ YJfA== X-Gm-Message-State: ALoCoQnZ8WH5hHA/GEk8pB6/M0U0CkyCKq61f1L31oMMFF3JLXhu2Ceufygmk3kMMlN0qGrQZHuf MIME-Version: 1.0 X-Received: by 10.182.204.72 with SMTP id kw8mr1423653obc.54.1376312217932; Mon, 12 Aug 2013 05:56:57 -0700 (PDT) Received: by 10.60.21.69 with HTTP; Mon, 12 Aug 2013 05:56:57 -0700 (PDT) In-Reply-To: References: Date: Mon, 12 Aug 2013 08:56:57 -0400 Message-ID: Subject: Re: Installer on serial-console-only-embedded system From: Michael Sierchio To: CeDeROM Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org, freebsd-embedded@freebsd.org, freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 12:57:05 -0000 You need to change /etc/ttys to turn off the virtual consoles and turn on a serial terminal. E.g., 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 On Mon, Aug 12, 2013 at 8:34 AM, CeDeROM wrote: > Hello :-) > > 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... > > 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 :-) > > Best regards! :-) > Tomek > > -- > 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.org"