From owner-freebsd-small Tue Jul 10 18:12:46 2001 Delivered-To: freebsd-small@freebsd.org Received: from wombat.bytecraft.au.com (wombat.bytecraft.au.com [203.39.118.3]) by hub.freebsd.org (Postfix) with ESMTP id F395B37B405 for ; Tue, 10 Jul 2001 18:12:38 -0700 (PDT) (envelope-from taylorm@bytecraft.au.com) Received: from pc99101401.bytecraft.au.com (unknown [203.39.118.42]) by wombat.bytecraft.au.com (Postfix) with SMTP id 7204C3E9F; Wed, 11 Jul 2001 11:12:37 +1000 (EST) Message-ID: <01c701c109a6$e351e220$2a7627cb@pc99101401.bytecraft.au.com> Reply-To: "Murray Taylor" From: "Murray Taylor" To: "Andrzej Bialecki" , "Bruce R. Montague" Cc: Subject: Re: picobsd router (oinit,rc) Date: Wed, 11 Jul 2001 11:14:52 +1000 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 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 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 To: Bruce R. Montague Cc: 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 , Chief System Architect >// WebGiro AB, Sweden (http://www.webgiro.com) >// ---------------------------------------------------------------- >// 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