Lee J. Imber wrote:
> Hi All,
> 
> First off thanks for the cool project. After playing with this for a 
> few days, lots a useful ideas are jumping out at me!
> 
> 
> Here is my situation.
> 
> I have box in a colo that is on the West coast that has recently died 
> (HD). I am in NY.
> I need to get that box up asap with minimal configuration.
> 
> These are my requirements.
> 
> 1. /etc/passwd pre-configured with my accounts.
> 2. /etc/resolv.conf
> 3. ifconfig_fxp0
> 4. defaultrouter
> 5. sshd to start at boot time.
> 6. Set hostname
> 7. NTPD
> 
> I first started with 1.1 and was able to build working iso's fine  (way
> cool)
> I was able to get #3,4,5,6,7 of my list to end up on my working iso.
> I could not get a /etc/resolv.conf file to be created in the image and
> I also tried to copy a working /etc/passwd and /etc/master.passwd to
> my image and still no go.
> 
> I then tried version 2. I am currently in the "building everything"  stage
> so I have not had any experience with it yet. I do see the adduser 
> scripts in the
> extra config, but not sure how these work until I start playing.

You can find some documentation on http://wiki.freesbie.org/freesbie2.
Follow the links to have the configuration parameters explained. At the
moment you have to enable at least etcmfs to have a working image.

The customroot plugin allows you to add your own files to the image
during the build phase. All the content of freesbie2/extra/customroot/
dir will be copied to the / dir of livefs as is. For example, if you
create freesbie2/extra/customroot/etc/resolv.conf it will be copied to
/etc/resolv.conf.

To set root password you can set it the first time the way Marco said:

chroot /usr/local/freesbie-fs /usr/bin/passwd root

If you don't want to set it everytime you rebuild your iso, you can put
/usr/local/freesbie-fs/etc/passwd and
/usr/local/freesbie-fs/etc/master.passwd to
freesbie2/extra/customroot/etc/. The login db is recreated automatically
by customroot plugin.


> One other thing. Unfortunately I do not remember what the interface  is
> on my box
> on the west coast. I *think* its fxp0 but not 100%. I saw in the 
> rc.conf on the 1.1 install
> a neat script to sorta do a dhcp on all the interfaces it finds. Is  it
> possible for me
> to take advantage of the script and set the static IP for every 
> interface it finds.

Adding ifconfig_DEFAULT="DHCP" in /etc/rc.conf SHOULD work, as this is
what devd looks for if it doesn't find a specifical variable set for the
interface. Make also sure devd is starting by adding devd_enable="YES"

Remember you can also add those to freesbie2/extra/customroot/etc/rc.conf


> Once I have a working image I need to ship it to the colo where some 
> admin will just
> throw the cd in and boot the box (with my fingers crossed) :)
> 
> 
> If anyone has any pointers or a simple "howto" on configuring the above
> requirements it would be a HUGE help! I also would like to donate my
> findings and experience in either contributing some documentation, 
> hardware or $
> to help the project along.

Once you're done, you can improve our wiki documentation. If you have
some hardware to donate, just mail [EMAIL PROTECTED] If you want to
donate money, use paypal link on the site.

Bye and thanks,
Dario

-- 
Dario Freni ([EMAIL PROTECTED])
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc
-- 
FreeSBIE mailing list (http://www.freesbie.org)

Reply via email to