From owner-freebsd-small Mon Jan 24 9:15:48 2000 Delivered-To: freebsd-small@freebsd.org Received: from psasolar.colltech.com (psasolar.colltech.com [208.229.236.14]) by hub.freebsd.org (Postfix) with ESMTP id 362B01599C for ; Mon, 24 Jan 2000 09:15:37 -0800 (PST) (envelope-from nvp@colltech.com) Received: (from nvp@localhost) by psasolar.colltech.com (8.9.3/8.9.3/not) id LAA23234; Mon, 24 Jan 2000 11:15:26 -0600 (CST) Date: Mon, 24 Jan 2000 12:15:26 -0500 From: Nathan Patwardhan To: Majid Ansari Cc: freebsd-small@FreeBSD.ORG Subject: Re: Help on setting up picobsd firewall Message-ID: <20000124121526.A22856@colltech.com> References: <20000124170407.518.qmail@nwcst312.netaddress.usa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000124170407.518.qmail@nwcst312.netaddress.usa.net> Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 02, 2036 at 05:02:22AM +0200, Majid Ansari wrote: : : I think to do this I need to edit the files and next time it will boot with : these files. But Router version doesn't any editor. I copied the contents of : Dialup version to my dos hard disk and executed the editor from there. I could I think that you can use vnconfig to enable the image on a virtual filesystem then mount it. Once the image is mounted somewhere, you can copy things over to the image and/or edit files that are part of the image. You *do* have to be conscious of size (meaning: don't try to copy something to the floppy that it can't accomodate) but I think that you'll have enough room to put a simple config file. :-) Here's what I've done in the past (this is from memory; please forgive me if something is wrong or has escaped me!): 1.) mount PicoBSD floppy somewhere. 2.) Copy image from PicoBSD floppy to your HD. 3.) vnconfig -v -c /dev/vn0c 4.) mount /dev/vn0c /mnt/whatever 5.) cd /mnt/whatever 6.) Edit the files that you want or copy things over to /mnt/whatever. 7.) umount /mnt/whatever 8.) vnconfig -v -u /dev/vn0c 9.) Copy update image back to mounted floppy. 10.) Umount floppy. 11.) Boot PicoBSD floppy on your router box. Should be fine. -- _ _ |_| Collective |_| Nathan V. Patwardhan |_ technologies _| Collective Technologies, Team Yankee [] [] "The Power Of Many Minds" http://www.colltech.com -- Managing Systems and Networks -- "Boring! This is so booooring! Quit boring everyone!" -- Homer Simpson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message