From owner-freebsd-small Fri Nov 29 9:45:47 2002 Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58F3437B401 for ; Fri, 29 Nov 2002 09:45:46 -0800 (PST) Received: from mail.cruzio.com (dsl3-63-249-66-221.cruzio.com [63.249.66.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1F1E43EA9 for ; Fri, 29 Nov 2002 09:45:45 -0800 (PST) (envelope-from brucem@mail.cruzio.com) Received: (from brucem@localhost) by mail.cruzio.com (8.11.3/8.11.3) id gATIHJA00494; Fri, 29 Nov 2002 10:17:19 -0800 (PST) (envelope-from brucem) Date: Fri, 29 Nov 2002 10:17:19 -0800 (PST) From: "Bruce R. Montague" Message-Id: <200211291817.gATIHJA00494@mail.cruzio.com> To: freebsd-small@FreeBSD.ORG Subject: Re: disabling the request for hostname and ipaddress. Cc: peter@skyrunner.net Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Re: > How do you configure picobsd not to ask for a hostname and ipaddress? The contents of your running /etc are formed from the picobsd build-time contents of: /usr/src/release/picobsd/mfs_tree/etc As overridden/merged with the contents of: /usr/src/release/picobsd/floppy.tree/etc As overridden/merged with the contents of your picobsd config dir's floppy.tree/etc In the "bridge" config there is no "floppy.tree/etc" (although there is a "floppy.tree.exclude" _file_ which excludes files from the two default dirs. The default boot-time rc file is in /usr/src/release/picobsd/mfs_tree/etc/rc At the end of this "rc" script, it pulls in: /usr/src/release/picobsd/floppy.tree/etc/rc1 which invokes (executes) /usr/src/release/picobsd/floppy.tree/etc/rc.conf.defaults and then calls "set_main_interface", defined in "rc.conf.defaults". This rc.conf file is _not_ the same as for regular FreeBSD (it is much smaller). Go down toward the bottom or "rc.conf.defaults" and find routine "read_address()". This is where you are prompted for the hostname and IP address. You can customize the /etc/rc contents of your picobsd to meet your needs by adding in your config dir your own "floppy.tree/etc". See the /usr/src/release/picobsd/router and other configs (dial, etc) for examples of this. - bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message