From owner-freebsd-doc Wed Jul 10 13:50:48 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 880CD37B405 for ; Wed, 10 Jul 2002 13:50:43 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7784C43E4A for ; Wed, 10 Jul 2002 13:50:42 -0700 (PDT) (envelope-from keramida@FreeBSD.org) Received: from hades.hell.gr (patr364-a18.otenet.gr [195.167.109.50]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g6AKoUHw028986; Wed, 10 Jul 2002 23:50:32 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.5/8.12.5) with ESMTP id g6AKoT9J004018; Wed, 10 Jul 2002 23:50:29 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from charon@localhost) by hades.hell.gr (8.12.5/8.12.5/Submit) id g6AKoLcd004016; Wed, 10 Jul 2002 23:50:21 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Wed, 10 Jul 2002 23:50:21 +0300 From: Giorgos Keramidas To: Szilveszter Adam Cc: Chris Pepper , 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> References: <200207030020.g630K4GZ037338@freefall.freebsd.org> <20020708183507.GE1126@fonix.adamsfamily.xx> <20020708200642.GG1126@fonix.adamsfamily.xx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020708200642.GG1126@fonix.adamsfamily.xx> X-Operating-System: FreeBSD 5.0-CURRENT i386 X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-Phone: +30-944-116520 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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