From owner-freebsd-config Sun Feb 18 16:32:23 2001 Delivered-To: freebsd-config@freebsd.org Received: from neptune.blitzen.net (neptune.blitzen.net [208.179.50.2]) by hub.freebsd.org (Postfix) with ESMTP id 9818137B491 for ; Sun, 18 Feb 2001 16:32:21 -0800 (PST) Received: from localhost (maillist@localhost) by neptune.blitzen.net (8.11.0/8.11.0) with ESMTP id f1J0WOM18329 for ; Sun, 18 Feb 2001 16:32:24 -0800 Date: Sun, 18 Feb 2001 16:32:24 -0800 (PST) From: Steve Lee To: freebsd-config@freebsd.org Subject: nat, ipf, ipfw Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can someone show me a link to setting this up in freebsd 4.2 This stuff is all new to me. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message From owner-freebsd-config Sun Feb 18 21:16: 2 2001 Delivered-To: freebsd-config@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id 571CA37B401 for ; Sun, 18 Feb 2001 21:15:57 -0800 (PST) Received: from [127.0.0.1] (helo=softweyr.com ident=Fools trust ident!) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14Uipe-0000OV-00; Sun, 18 Feb 2001 22:25:54 -0700 Message-ID: <3A90AE62.B1351A9@softweyr.com> Date: Sun, 18 Feb 2001 22:25:54 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Steve Lee Cc: freebsd-config@freebsd.org Subject: Re: nat, ipf, ipfw References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Steve Lee wrote: > > Can someone show me a link to setting > this up in freebsd 4.2 > > This stuff is all new to me. /usr/share/doc/handbook/firewalls.html This has nothing to do with the purpose of this mailing list. Please read the mailing list charter before posting to it. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message From owner-freebsd-config Tue Feb 20 9:20:30 2001 Delivered-To: freebsd-config@freebsd.org Received: from fox.amnesty.org (fox.amnesty.org [194.131.159.110]) by hub.freebsd.org (Postfix) with ESMTP id 4ADFF37B503 for ; Tue, 20 Feb 2001 09:20:27 -0800 (PST) (envelope-from falbu@amnesty.org) To: Jordan Hubbard Cc: freebsd-config@FreeBSD.ORG Subject: Still having problems (was: 'system' function in install.cfg ) MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: falbu@amnesty.org Date: Tue, 20 Feb 2001 17:17:15 +0000 X-MIMETrack: Serialize by Router on fox/I.S./Amnesty International(Release 5.0.5 |September 22, 2000) at 20/02/2001 17:20:51, Serialize complete at 20/02/2001 17:20:51 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, It is working now. The install.cfg contains the lines: command=/dist/script_a system However, I was wondering if there are any restrictions in terms of what can be launched. From the script that is launched by the `system` command (script_a) I am generating a second script (/tmp/script_b) and try to execute it (/bin/sh /tmp/script_b) The generation and execution of script B is done within an "until" cycle and requires input from the user. Although the whole stuff (script A which generates and runs script B) runs OK in normal circumstances, when it is launched by the `system` command it seems that it enters an infinite cycle generating and executing script B. Any ideas would be much appreciated. Thanks, Florentin Albu Client-Server Systems Manager falbu@amnesty.org _________________________________________________________ Amnesty International, International Secretariat visit us at http://www.amnesty.org Be Realistic! Plan for a Miracle! ONE click to stamp out torture. http://www.stoptorture.org Jordan Hubbard Sent by: owner-freebsd-config@FreeBSD.ORG 17/02/2001 00:33 To: floral@care4free.net cc: freebsd-config@FreeBSD.ORG Subject: Re: 'system' function in install.cfg > However, I want to execute a small script before restarting the system . > I am using the "system" function in install.cfg. For testing purposes I > was trying to launch a shell with it. > > [...] > installCommit > system /bin/sh > shutdown There's no argument passing supported with install.cfg (I know, yuck) which is why everything is done through the variable space. The system command takes the string to execute in the "command" variable. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message From owner-freebsd-config Tue Feb 20 10:33: 5 2001 Delivered-To: freebsd-config@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 8028D37B491 for ; Tue, 20 Feb 2001 10:33:03 -0800 (PST) (envelope-from jkh@winston.osd.bsdi.com) Received: from winston.osd.bsdi.com (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.2/8.11.1) with ESMTP id f1KIWaH33917; Tue, 20 Feb 2001 10:32:36 -0800 (PST) (envelope-from jkh@winston.osd.bsdi.com) To: falbu@amnesty.org Cc: freebsd-config@FreeBSD.ORG Subject: Re: Still having problems (was: 'system' function in install.cfg ) In-Reply-To: Message from falbu@amnesty.org of "Tue, 20 Feb 2001 17:17:15 GMT." Date: Tue, 20 Feb 2001 10:32:36 -0800 Message-ID: <33913.982693956@winston.osd.bsdi.com> From: Jordan Hubbard Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >From the script that is launched by the `system` command (script_a) I am > generating a second script (/tmp/script_b) and try to execute it (/bin/sh > /tmp/script_b) One, you should use /stand/sh if you're running out of the install script. Two, you shouldn't count on having any reasonable stdin or stdout - if you want to interact with the user, reopen /dev/ttyv0 and use it. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message From owner-freebsd-config Wed Feb 21 0:35:26 2001 Delivered-To: freebsd-config@freebsd.org Received: from fox.amnesty.org (fox.amnesty.org [194.131.159.110]) by hub.freebsd.org (Postfix) with ESMTP id 5FA9237B401 for ; Wed, 21 Feb 2001 00:35:21 -0800 (PST) (envelope-from falbu@amnesty.org) To: freebsd-config@freebsd.org Subject: Custom install.cfg when building boot.flp MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.6a January 17, 2001 Message-ID: From: falbu@amnesty.org Date: Wed, 21 Feb 2001 08:35:41 +0000 X-MIMETrack: Serialize by Router on fox/I.S./Amnesty International(Release 5.0.5 |September 22, 2000) at 21/02/2001 08:35:47, Serialize complete at 21/02/2001 08:35:47 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-config@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello gurus, I hope you're not too bored reading my messages about mfsroot and install.cfg ;-)) Now I have an install.cfg customized and the customized setup process is working fine when launched from the 2 floppies. However is quite slow. So I was thinking of compiling a boot.flp in order to create a bootable cd. Question: Where should I place the customized install.cfg in order to be included in the boot.flp? I was skimming over a few Makefiles in /usr/src/release and I didn't find any references to install.cfg. There is an install.cfg in /usr/src/release/sysinstall, but that's the standard one and I am not sure if by replacing it I can solve my problem. Many thanks, Florentin Albu Client-Server Systems Manager falbu@amnesty.org _________________________________________________________ Amnesty International, International Secretariat visit us at http://www.amnesty.org Be Realistic! Plan for a Miracle! ONE click to stamp out torture. http://www.stoptorture.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-config" in the body of the message