Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 1997 10:33:49 +0200 (MET DST)
From:      Josef Belkovics <belkovic@albert.osu.cz>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: Kernel Configs
Message-ID:  <Pine.BSF.3.95q.970527100520.377B-100000@albert.osu.cz>
In-Reply-To: <Pine.BSF.3.91.970527141341.14689j-100000@panda.hilink.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 May 1997, Daniel O'Callaghan wrote:
> 
> On Mon, 26 May 1997, Mark Murdock wrote:
> 
> > Would anyone running their FreeBSD machine as an internet gateway be willing
> > to send me their kernel configuration so that I may look over it?  I have
> > configured mine, but am unsure that I have taken everything into consideration,
> > such as maxusers, pseudo-devices, etc.  I would like some samples for
> > comparison.
> 
> It all depends on what sort of internet gateway you mean.  If you mean a 
> dialup terminal server, that's different from an ethernet<->sync router.
> 
> Tell us what you are after and you'll get more informative feedback.

My campus is connected to internet via microwave (?) line. So I don't use
in attachment config async/sync ports/cards. With gated I haven't any
problem with forwarding of packets. Daily I have 5,000,000 packets on this
machine (albert.osu.cz, P5, 66MHz); at least 60% are from stupid novell. I
think, that fbsd 2.2.1 has two serious bugs: nfs (?), ipx (forwarding) on
net with other frames than only 802_II and, maybe, vm in case of large (>
10Mb)  files. Attachment config is "common" for 5 machines (386, 486, P5). 

###########################################################################
machine		"i386"
cpu		"I586_CPU"
ident		"JPB"
maxusers	10
config		kernel	root on sd0 

options		DDB			#Kernel debugger
options		DDB_UNATTENDED		#Recover from a panic
#ptions		DIAGNOSTIC		#Extra sanity checking

#ptions		MATH_EMULATE		#Support for x87 emulation
options		"COMPAT_43"		#Compatible with BSD 4.3
options		FFS			#Berkeley Fast Filesystem
options		PROCFS			#Process filesystem
options		"NSWAPDEV=1"		#Allow this many swap-devices
options		QUOTA			#Enable disk quotas
options		FAILSAFE		#Functionality over speed
options		"EISA_SLOTS=12"		#12 EISA slots are probed
options		"SCSI_DELAY=5"		#Waiting for devices to settle
#ptions		"SCSI_2_DEF"		#Ask a device to run as SCSI-II if can
#ptions		AHC_TAGENABLE		#To enable tagged queueing
#ptions		AHC_SCBPAGING_ENABLE	#To enable SCB paging
#ptions		AHC_ALLOW_MEMIO		#To enable memory mapped i/o
options		UCONSOLE		#Allow users to grab the console
options		"MAXCONS=4"		#Number of virtual consoles
options		INET			#InterNETworking
#ptions		GATEWAY			#InterNETwork gateway
#ptions		MROUTING		#Multicast routing
#ptions		IPX			#IPX/SPX
#ptions		IPXPRINTFS=0		#IPX/SPX debugging
#ptions		IPX_ERRPRINTFS=0	#IPX/SPX    -"-
options		"AUTO_EOI_1"		#Automatic EOI for the master 8259A
options		"AUTO_EOI_2"		#Automatic EOI for the slave 8259A
#ptions		DUMMY_NOPS		#Disables extra delays for some bus opsoptions		"MAXCONS=5"		#Number of virtual consoles		
options		SYSVSHM			#Enable for share memory
options		SYSVSEM			#Enable for semaphores
options		SYSVMSG			#Enable for messaging

controller	isa0
controller	eisa0
controller	pci0

device		sc0	at isa? port "IO_KBD"	tty irq  1	 vector scintr
#evice		sio1	at isa? port "IO_COM2"	tty irq  3	 vector siointr
#evice		sio0	at isa? port "IO_COM1"	tty irq  4	 vector siointr
#evice		mse0	at isa? port 0x23c	tty irq  5	 vector mseintr
controller	fdc0	at isa? port "IO_FD1"	bio irq  6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
#evice		lpt0	at isa? port?		tty irq  7	 vector lptintr
device		ep0	at isa? port 0x300	net irq  7	 vector epintr
#evice		ep0	at isa? port 0x300	net irq 10	 vector epintr
device		ep1	at isa? port 0x310	net irq 10	 vector epintr
device		ep2	at isa? port 0x320	net irq 11	 vector epintr
device		ep3	at isa? port 0x330	net irq 12	 vector epintr
device		npx0	at isa? port "IO_NPX"	    irq 13	 vector npxintr
#ontroller	wdc0	at isa? port "IO_WD1"	bio irq 14	 vector wdintr
#isk		wd0	at wdc0 drive 0
#ontroller	ahc0	at isa?			bio irq  ?	 vector ahcintr
controller	ahc0
controller	scbus0
#evice		cd0
device		sd0
#ontroller	scbus0	at ahc0   bus0
#ontroller	scbus1	at ahc0   bus1
#evice		cd0	at scbus1 target 0
#isk		sd0	at scbus0 target 0
#isk		sd1	at scbus0 target 1

pseudo-device	loop			#Network loopback
pseudo-device	ether			#Generic ethernet
pseudo-device	gzip			#Exec gzipped a.out's
pseudo-device	log			#Kernel syslog interface
#seudo-device	vn			#Vnode driver (turns file into device)
#seudo-device	sl		 1	#Serial line ip
#seudo-device	ppp		 1	#Point-to-point protocol
#seudo-device	tun		 1	#Tunel driver (user process ppp)
pseudo-device	pty		16	#Pseudo ttys
pseudo-device	bpfilter	 4	#Berkeley packet filter
#############################################################################

Josef Belkovics, Ostrava University




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970527100520.377B-100000>