Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2002 10:17:19 -0800 (PST)
From:      "Bruce R. Montague" <brucem@mail.cruzio.com>
To:        freebsd-small@FreeBSD.ORG
Cc:        peter@skyrunner.net
Subject:   Re: disabling the request for hostname and ipaddress.
Message-ID:  <200211291817.gATIHJA00494@mail.cruzio.com>

next in thread | raw e-mail | index | archive | help

 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211291817.gATIHJA00494>