Date: Mon, 24 Jan 2000 12:15:26 -0500 From: Nathan Patwardhan <nvp@colltech.com> To: Majid Ansari <majid.ansari@usa.net> Cc: freebsd-small@FreeBSD.ORG Subject: Re: Help on setting up picobsd firewall Message-ID: <20000124121526.A22856@colltech.com> In-Reply-To: <20000124170407.518.qmail@nwcst312.netaddress.usa.net> References: <20000124170407.518.qmail@nwcst312.netaddress.usa.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <picobsd_image>
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 <nvp@colltech.com>
|_ 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000124121526.A22856>
