Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2001 11:14:52 +1000
From:      "Murray Taylor" <taylorm@bytecraft.au.com>
To:        "Andrzej Bialecki" <abial@webgiro.com>, "Bruce R. Montague" <brucem@mail.cruzio.com>
Cc:        <freebsd-small@freebsd.org>
Subject:   Re: picobsd router (oinit,rc)
Message-ID:  <01c701c109a6$e351e220$2a7627cb@pc99101401.bytecraft.au.com>

next in thread | raw e-mail | index | archive | help
Hi Andrzei,

I tried a line or two in oinit.rc but got no joy...

I used

ifconfig de0 inet 10.1.2.3 netmask 255.255.255.0

Either the line was too 'complex' or I goofed somehow
in getting oinit.rc into the right place to be
executed.

More info on setting it up would be good ..

(BTW I dont have a memory shortage as I am recycling an
old desktop Pentium-S with 32Meg of ram still onboard)

cheers

Murray Taylor
Project Manager
Bytecraft Systems Pty Ltd
ph:   +61 3 9587 2555
Fax:  +61 3 9587 1614
Email: taylorm@bytecraftsystems.com
-----Original Message-----
From: Andrzej Bialecki <abial@webgiro.com>
To: Bruce R. Montague <brucem@mail.cruzio.com>
Cc: freebsd-small@freebsd.org <freebsd-small@freebsd.org>
Date: Wednesday, 11 July 2001 09:38
Subject: Re: picobsd router (oinit,rc)


>Hi guys,
>
>Please observe that the router version uses oinit, which is a combination
>of init and command-line facility (adventurous may say "shell" :-). On
>startup it reads the oinit.rc file, and that's it. The oinit.rc needs to
>contain only very basic, single commands (no globbing, pipes, subshells,
>variables etc.. just "echo" :) - the best way to use it is to just put the
>configuration command you need. You can view the built-ins by typing '?'.
>
>I kind of remember that there is also some bug in signal handling, which
>manifests itself if you do 'kill -HUP 1'.
>
>Of course, you can always opt to use the standard init, but then you will
>have to use getty in order to log-in to the system... Oinit has the
>advantage of allowing you to execute within 4-5MB physical RAM.
>
>
>On Mon, 9 Jul 2001, Bruce R. Montague wrote:
>
>>
>> re:
>> www.cse.ucsc.edu/~brucem/pico_notes.htm
>>
>>  > pico does not seem to be doing the
>>  > /etc file 'overwriting' mentioned ...
>>
>>  Sorry, my doco fault.
>>
>>  /usr/src/release/picobsd/router/floppy.tree/etc
>>
>>  has only:
>>
>>
>> #!/bin/sh
>> # $FreeBSD: src/release/picobsd/router/floppy.tree/etc/rc,v 1.5
1999/08/28 06:24:16 roger Exp $
>> ### Special setup for one floppy PICOBSD ###
>> ifconfig lo0 inet 127.0.0.1 netmask 0xffffff00
>> hostname pico
>> echo ""
>> echo ""
>> echo '+----------- PicoBSD @VER@ (ROUTER) ------------+'
>>
>> ...
>>
>>
>>  Maybe just put your config stuff in where it has
>> the above ifconfig, clean everything, and rebuild.
>>
>>
>>  Thanks for bringing that to  my attention.
>>
>>
>>  Regards,
>>
>>  - bruce
>>
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-small" in the body of the message
>>
>
>--
>
>Andrzej
>
>// ----------------------------------------------------------------
>// Andrzej Bialecki <abial@webgiro.com>, Chief System Architect
>// WebGiro AB, Sweden (http://www.webgiro.com)
>// ----------------------------------------------------------------
>// <abial@freebsd.org> FreeBSD developer (http://www.freebsd.org)
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-small" in the body of the message
>



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?01c701c109a6$e351e220$2a7627cb>