Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 23:50:21 +0300
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        Szilveszter Adam <sziszi@bsd.hu>
Cc:        Chris Pepper <pepper@reppep.com>, freebsd-doc@FreeBSD.org
Subject:   Re: docs/39824: Various tweaks for doc/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml; corresponding comment clarification for GENERIC
Message-ID:  <20020710205021.GB2739@hades.hell.gr>
In-Reply-To: <20020708200642.GG1126@fonix.adamsfamily.xx>
References:  <200207030020.g630K4GZ037338@freefall.freebsd.org> <a05200101b94e93ff99e7@[64.81.19.109]> <20020708183507.GE1126@fonix.adamsfamily.xx> <a05200116b94f91461122@[129.85.219.160]> <20020708200642.GG1126@fonix.adamsfamily.xx>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-07-08 22:06 +0000, Szilveszter Adam wrote:
> On Mon, Jul 08, 2002 at 03:00:59PM -0400, Chris Pepper wrote:
> > 	Yep, that's you. I looked in there, added USB modules, and
> > made my system un-bootable for a while, so I'm not ready to take
> > on an explanation of how to load modules.
>
> I'm sorry to hear that you experienced problems. However, that's how
> it is supposed to work in theory, but in practice not everything may
> have been groovy.
>
> > 	Does the ipfw stuff in /etc/defaults/rc.conf depend on
> > manually adding ipfw to /boot/loader.conf to work? I've been
> > looking for info on loading modules, but it's pretty sparse.
>
> AFAIK, ipfw can be made to work in this way too. Some modules even
> should be able to load themselves on-demand before they are first
> needed, but I do not know what are these. (One tip: do not expect
> this method to work with the msdosfs module and a floppy)

The /etc/rc.* scripts will load the ipfw module if support for IPFW
does not exist in the kernel, by the time the scripts run.  Look at
lines 309-326 of /etc/rc.network.  In my CURRENT installation these
lines read:

   309		# Initialize IP filtering using ipfw
   310		#
   311		if /sbin/ipfw -q flush > /dev/null 2>&1; then
   312			firewall_in_kernel=1
   313		else
   314			firewall_in_kernel=0
   315		fi
   31
   317		case ${firewall_enable} in
   318		[Yy][Ee][Ss])
   319			if [ "${firewall_in_kernel}" -eq 0 ] && kldload ipfw; then
   320				firewall_in_kernel=1
   321				echo 'Kernel firewall module loaded'
   322			elif [ "${firewall_in_kernel}" -eq 0 ]; then
   323				echo 'Warning: firewall kernel module failed to load'
   324			fi
   325			;;
   326		esac

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020710205021.GB2739>