Re: Upgrading to ipfw2?

2002-09-26 Thread Matthew Seaman

On Thu, Sep 26, 2002 at 12:34:50AM +0200, Michael wrote:
 Could anyone explain or direct me to any procedures for upgrading to ipfw2?

Firstly, make sure you're running a system version that includes ipfw2
support.  You need to be running either 5-CURRENT or a recent version
of 4-STABLE.  If you're running 5-CURRENT then you've already got
ipfw2 and don't need to do anything more, but you'll probably be more
comfortable running 4-STABLE.

So, assuming you're all set up to rebuild the world and the kernel,
you need to:

Add 'IPFW2=TRUE' to /etc/make.conf

Add 'options  IPFW2' to your kernel configuration.

Then simply build and install a new system in the usual way
(ie. according to the instructions in /usr/src/UPDATING) and away you
go.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Upgrading to ipfw2?

2002-09-26 Thread Yonatan Bokovza

 -Original Message-
 From: Michael [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, September 26, 2002 00:35
 To: [EMAIL PROTECTED]
 Subject: Upgrading to ipfw2?
 
 
 Could anyone explain or direct me to any procedures for 
 upgrading to ipfw2?

Assuming you already have options IPFW in your kernel,
your world, kernel and sources are synced, and that you run i386:
Lines may be broken:

echo options IPFW2  /usr/src/sys/i386/conf/MYKERN
cd /usr/src/sbin/ipfw  make -DIPFW2 all  make -DIPFW2 install
cd /usr/src/lib/libalias  make -DIPFW2 all  make -DIPFW2 install
cd /usr/src  make kernel KERCONF=MYKERN

reboot.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message