Date: Mon, 12 Oct 1998 23:03:45 +0200 (CEST) From: Andrzej Bialecki <abial@nask.pl> To: Chris Johnson <cjohnson@palomine.net> Cc: freebsd-small@FreeBSD.ORG Subject: Re: Router version 0.41/rc.conf Message-ID: <Pine.BSF.4.02A.9810122251570.19515-100000@korin.warman.org.pl> In-Reply-To: <19981012105425.A26620@palomine.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12 Oct 1998, Chris Johnson wrote: > I've just started playing with the router version of PicoBSD 0.41. The whole > startup procedure has me a little perplexed. There are a bunch of rc files, > rc.conf, rc.firewall, rc.network, etc., but none of them ever seems to be > sourced during startup. oinit.rc seems to run, which sources rc, but that's it. > The loopback interface gets configured in rc, but since nothing ever runs > rc.network my ethernet interface never gets configured. Yeah, my fault... :-( At the moment the proper configuration procedure for the "router" version is best described in the sources for oinit, because this is the crucial point where the incompatibility lurks... Basically, you should just manually put needed config commands into oinit.rc (or "source-in" with the '.' (dot) command some other file). But BEWARE!!: any command you put there must not block, i.e. if it would block you have to end it with an ampersand '&'. Also, the oinit's parser is very picky - don't use any unnecessary characters... > I've tried to add some of the "normal" rc.conf stuff to rc, but the result was > always a hung system, so I suspect that there are things I don't understand > about the way startup is supposed to work here. I could just manually run > everything from rc, but that doesn't seem right--somehow the other rc files > should be brought into the process. Yes, you're right - when I have some time I'm going to improve the parser a bit, and prepare the right rc.* files - the ones you got in floppy.tree/etc/rc.* are mostly useless with oinit. OTOH, you don't have to use oinit - you can use normal init(8) and add getty+login+shell to your crunch.conf. Then all the rc.files will work as expected. I'm almost done with porting some additional small utilities, such as a mini-shell and mini-editor - they should improve this situation a bit... Andrzej Bialecki -------------------- ++-------++ ------------------------------------- <abial@nask.pl> ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- 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?Pine.BSF.4.02A.9810122251570.19515-100000>