Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2004 15:39:56 +0000
From:      Frank DiPrete <fdiprete@comcast.net>
To:        freebsd-gnome@freebsd.org
Cc:        fdiprete@comcast.net
Subject:   wheel mouse doesn't work in 2.6.1
Message-ID:  <1092584396l.1734l.0l@thurston.houselan.com>

next in thread | raw e-mail | index | archive | help

I just finished the upgrade to gnome 2.6.1 (whew) on FreeBSD 5.2.1
The mouse wheel does not work. I have tried imwheel also without =20
success.

5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0

following is my rc.conf and X config file:

**********************XF86Config***************

# File generated by xf86config.

#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining =20
a
# copy of this software and associated documentation files (the =20
"Software"),
# to deal in the Software without restriction, including without =20
limitation
# the rights to use, copy, modify, merge, publish, distribute, =20
sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be =20
included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, =20
EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF =20
MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT =20
SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER =20
LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, =20
OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN =20
THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project =20
shall
# not be used in advertising or otherwise to promote the sale, use or =20
other
# dealings in this Software without prior written authorization from =20
the
# XFree86 Project.
#

# =20
**********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# =20
**********************************************************************

# =20
**********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# =20
**********************************************************************
#
Section "Module"

# This loads the DBE extension module.

   Load        "dbe"  	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
   SubSection  "extmod"
     Option    "omit xfree86-dga"   # don't initialise the DGA =20
extension
   EndSubSection

# This loads the Type1 and FreeType font modules
   Load        "type1"
   Load        "speedo"
#    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

# =20
**********************************************************************
# Files section.  This allows default font and rgb paths to be set
# =20
**********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

   RgbPath	"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated =20
together),
# as well as specifying multiple comma-separated entries in one =20
FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or =20
other
# programs take long to start up, try moving the Type1 and Speedo =20
directory
# to the end of this list (or comment them out).
#

   FontPath   "/usr/X11R6/lib/X11/fonts/local/"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# =20
**********************************************************************
# Server flags section.
# =20
**********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# =20
**********************************************************************
# Input devices
# =20
**********************************************************************

# =20
**********************************************************************
# Core keyboard's InputDevice section
# =20
**********************************************************************

Section "InputDevice"

   Identifier	"Keyboard1"
   Driver	"Keyboard"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

   Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option	"Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for XFree86
#    Option "XkbRules"    "xfree86"
#    Option "XkbModel"    "pc101"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

   Option "XkbRules"	"xfree86"
   Option "XkbModel"	"pc104"
   Option "XkbLayout"	"us"

EndSection


# =20
**********************************************************************
# Core Pointer's InputDevice section
# =20
**********************************************************************

Section "InputDevice"

# Identifier and driver

   Identifier	"Mouse1"
   Driver	"mouse"
#    Option "Protocol"    "Auto"
#    Option "Protocol"	"PS/2"
   Option "Protocon"	"IMPS/2"
   Option "Device"      "/dev/sysmouse"
   Option "Buttons" "5"
   Option "ZAxisMapping" "4 5"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"	"256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection


# =20
**********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the XF86Config man page for a description of the options.
# =20
**********************************************************************
#
# Section "InputDevice"
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection

# =20
**********************************************************************
# Monitor section
# =20
**********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

   Identifier  "monitor0"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

   HorizSync   31.5 - 82.0

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

   VertRefresh 40-150

EndSection


# =20
**********************************************************************
# Graphics device section
# =20
**********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
   Identifier	"Standard VGA"
   VendorName	"Unknown"
   BoardName	"Unknown"

# The chipset line is optional in most cases.  It can be used to =20
override
# the driver's chipset detection, and should not normally be specified.

#    Chipset	"generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this =20
section.

   Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should =20
not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam	256

#    Clocks	25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
   Identifier  "card0"
   Driver      "i810"
   #VideoRam    32768
   # Insert Clocks lines here if appropriate
EndSection


# =20
**********************************************************************
# Screen sections
# =20
**********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen =20
section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
   Identifier  "Screen 1"
   Device      "card0"
   Monitor     "monitor0"
   DefaultDepth 24

   Subsection "Display"
       Depth       8
       Modes       "1280x1024" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       16
       Modes       "1280x1024" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       24
       Modes       "1280x1024" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
EndSection

# =20
**********************************************************************
# ServerLayout sections.
# =20
**********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
   Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and =20
right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

   Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection



**********************rc.conf******************

#!/bin/sh
#

# This is rc.conf - a file full of useful variables that you can set
# to change the default startup behavior of your system.  You should
# not edit this file!  Put any overrides into one of the =20
${rc_conf_files}
# instead and you will be able to update these defaults later without
# spamming your local configuration information.
#
# The ${rc_conf_files} files should only contain values which override
# values set in this file.  This eases the upgrade path when defaults
# are changed and new features are added.
#
# All arguments must be in double or single quotes.
#
# $FreeBSD: src/etc/defaults/rc.conf,v 1.191 2003/11/28 17:28:42 bms =20
Exp $

##############################################################
###  Important initial Boot-time options  ####################
##############################################################

rc_debug=3D"NO"		# Set to YES to enable debugging output from =20
rc.d
rc_info=3D"NO"		# Enables display of informational messages at =20
boot.
rcshutdown_timeout=3D"30" # Seconds to wait before terminating =20
rc.shutdown
swapfile=3D"NO"		# Set to name of swapfile if aux swapfile =20
desired.
apm_enable=3D"NO"		# Set to YES to enable APM BIOS functions (or =20
NO).
apmd_enable=3D"NO"	# Run apmd to handle APM event from userland.
apmd_flags=3D""		# Flags to apmd (if enabled).
devd_enable=3D"NO" 	# Run devd, to trigger programs on device tree
changes.
kldxref_enable=3D"NO"	# Build linker.hints files with kldxref(8).
kldxref_clobber=3D"NO"	# Overwrite old linker.hints at boot.
kldxref_module_path=3D""	# Override kern.module_path. A ';'-delimited =20
list.
pccard_enable=3D"NO"	# Set to YES if you want to configure PCCARD =20
devices.
pccard_mem=3D"DEFAULT"	# If pccard_enable=3DYES, this is card memory =20
address.
pccard_beep=3D"2"		# pccard beep type.
pccard_ifconfig=3D"NO"	# Specialized pccard ethernet configuration (or =20
NO).
pccardd_flags=3D"-z"	# Additional flags for pccardd.
pccard_conf=3D"/etc/defaults/pccard.conf"	# pccardd(8) config file
pccard_ether_delay=3D"5"	# Delay before trying to start dhclient in
pccard_ether
removable_interfaces=3D""	# Removable network interfaces for /etc/=20
pccard_ether.
local_startup=3D"/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup =20
script dirs.
script_name_sep=3D" "	# Change if your startup scripts' names contain =20
spaces
rc_conf_files=3D"/etc/rc.conf /etc/rc.conf.local"

# Experimental - test before enabling
gbde_autoattach_all=3D"NO" # YES automatically mounts gbde devices from =20
fstab
gbde_devices=3D"NO" 	# Devices to automatically attach (list, or =20
AUTO)

fsck_y_enable=3D"NO"	# Set to YES to do fsck -y if the initial preen =20
fails.
background_fsck=3D"YES"	# Attempt to run fsck in the background where
possible.
background_fsck_delay=3D"60" # Time to wait (seconds) before starting the =20
fsck.
netfs_types=3D"nfs:NFS smbfs:SMB portalfs:PORTAL nwfs:NWFS" # Net =20
filesystems.
extra_netfs_types=3D"NO"	# List of network extra filesystem types for =20
delayed
			# mount at startup (or NO).

##############################################################
###  Network configuration sub-section  ######################
##############################################################

### Basic network and firewall/security options: ###
hostname=3D""			# Set this!
nisdomainname=3D"NO"		# Set to NIS domain if using NIS (or =20
NO).
dhclient_program=3D"/sbin/dhclient"	# Path to dhcp client program.
dhclient_flags=3D""		# Additional flags to pass to dhcp =20
client.
background_dhclient=3D"NO"	# Start dhcp client in the background.
firewall_enable=3D"NO"		# Set to YES to enable firewall =20
functionality
firewall_script=3D"/etc/rc.firewall" # Which script to run to set up the
firewall
firewall_type=3D"UNKNOWN"		# Firewall type (see /etc/rc.firewall)
firewall_quiet=3D"NO"		# Set to YES to suppress rule display
firewall_logging=3D"NO"		# Set to YES to enable events logging
firewall_flags=3D""		# Flags passed to ipfw when type is a =20
file
ip_portrange_first=3D"NO"		# Set first dynamically allocated port
ip_portrange_last=3D"NO"		# Set last dynamically allocated port
ike_enable=3D"NO"			# Enable IKE daemon (usually racoon or
isakmpd)
ike_program=3D"/usr/local/sbin/isakmpd"	# Path to IKE daemon
ike_flags=3D""			# Additional flags for IKE daemon
ipsec_enable=3D"NO"		# Set to YES to run setkey on =20
ipsec_file
ipsec_file=3D"/etc/ipsec.conf"	# Name of config file for setkey
natd_program=3D"/sbin/natd"	# path to natd, if you want a different =20
one.
natd_enable=3D"NO"		# Enable natd (if firewall_enable =3D=3D =20
YES).
natd_interface=3D""		# Public interface or IPaddress to use.
natd_flags=3D""			# Additional flags for natd.
ipfilter_enable=3D"NO"		# Set to YES to enable ipfilter =20
functionality
ipfilter_program=3D"/sbin/ipf"	# where the ipfilter program lives
ipfilter_rules=3D"/etc/ipf.rules"	# rules definition file for ipfilter, =20
see
				# /usr/src/contrib/ipfilter/rules for =20
examples
ipfilter_flags=3D""		# additional flags for ipfilter
ipnat_enable=3D"NO"		# Set to YES to enable ipnat =20
functionality
ipnat_program=3D"/sbin/ipnat"	# where the ipnat program lives
ipnat_rules=3D"/etc/ipnat.rules"	# rules definition file for ipnat
ipnat_flags=3D""			# additional flags for ipnat
ipmon_enable=3D"NO"		# Set to YES for ipmon; needs ipfilter =20
or
ipnat
ipmon_program=3D"/sbin/ipmon"	# where the ipfilter monitor program =20
lives
ipmon_flags=3D"-Ds"		# typically "-Ds" or "-D /var/log/=20
ipflog"
ipfs_enable=3D"NO"		# Set to YES to enable saving and =20
restoring
				# of state tables at shutdown and boot
ipfs_program=3D"/sbin/ipfs"	# where the ipfs program lives
ipfs_flags=3D""			# additional flags for ipfs
tcp_extensions=3D"YES"		# Set to NO to turn off RFC1323 =20
extensions.
log_in_vain=3D"0"			# >=3D1 to log connects to ports w/o =20
listeners.
tcp_keepalive=3D"YES"		# Enable stale TCP connection timeout =20
(or NO).
# For the following option you need to have TCP_DROP_SYNFIN set in your
# kernel.  Please refer to LINT and NOTES for details.
tcp_drop_synfin=3D"NO"		# Set to YES to drop TCP packets with =20
SYN+FIN
				# NOTE: this violates the TCP =20
specification
icmp_drop_redirect=3D"NO" 	# Set to YES to ignore ICMP REDIRECT =20
packets
icmp_log_redirect=3D"NO"		# Set to YES to log ICMP REDIRECT =20
packets
network_interfaces=3D"auto"	# List of network interfaces (or =20
"auto").
cloned_interfaces=3D""		# List of cloned network interfaces to =20
create.
#cloned_interfaces=3D"gif0 gif1 gif2 gif3" # Pre-cloning GENERIC config.
ifconfig_lo0=3D"inet 127.0.0.1"	# default loopback device =20
configuration.
#ifconfig_lo0_alias0=3D"inet 127.0.0.254 netmask 0xffffffff" # Sample =20
alias
entry.
#ifconfig_ed0_ipx=3D"ipx 0x00010010"	# Sample IPX address family =20
entry.
#
# If you have any sppp(4) interfaces above, you might also want to set
# the following parameters.  Refer to spppcontrol(8) for their meaning.
sppp_interfaces=3D""		# List of sppp interfaces.
#sppp_interfaces=3D"isp0"		# example: sppp over ISDN
#spppconfig_isp0=3D"authproto=3Dchap myauthname=3Dfoo myauthsecret=3D'top =20
secret'
hisauthname=3Dsome-gw hisauthsecret=3D'another secret'"
gif_interfaces=3D"NO"		# List of GIF tunnels (or "NO").
#gif_interfaces=3D"gif0 gif1"	# Examples typically for a router.
				# Choose correct tunnel addrs.
#gifconfig_gif0=3D"10.1.1.1 10.1.2.1"	# Examples typically for a =20
router.
#gifconfig_gif1=3D"10.1.1.2 10.1.2.2"	# Examples typically for a =20
router.

# User ppp configuration.
ppp_enable=3D"NO"		# Start user-ppp (or NO).
ppp_mode=3D"auto"		# Choice of "auto", "ddial", "direct" or =20
"dedicated".
			# For details see man page for ppp(8). Default =20
is
auto.
ppp_nat=3D"YES"		# Use PPP's internal network address =20
translation or
NO.
ppp_profile=3D"papchap"	# Which profile to use from /etc/ppp/ppp.conf.
ppp_user=3D"root"		# Which user to run ppp as

### Network daemon (miscellaneous) ###
syslogd_enable=3D"YES"		# Run syslog daemon (or NO).
syslogd_program=3D"/usr/sbin/syslogd" # path to syslogd, if you want a =20
different
one.
syslogd_flags=3D"-s"		# Flags to syslogd (if enabled).
#syslogd_flags=3D"-ss"		# Syslogd flags to not bind an inet =20
socket
inetd_enable=3D"NO"		# Run the network daemon dispatcher =20
(YES/NO).
inetd_program=3D"/usr/sbin/inetd"	# path to inetd, if you want a =20
different one.
inetd_flags=3D"-wW -C 60"		# Optional flags to inetd
#
# named.  It may be possible to run named in a sandbox, man security =20
for
# details.
#
named_rcng=3D"NO"			# XXX Temporary. Enable to use new rc
				#    functionality in support of named. =20
See
				#    variables below.
named_enable=3D"NO"		# Run named, the DNS server (or NO).
named_program=3D"/usr/sbin/named"	# path to named, if you want a =20
different one.
named_flags=3D"-u bind -g bind"	# Flags for named
named_pidfile=3D"/var/run/named/pid" # Pid file
named_chrootdir=3D""		# Chroot directory (or "" not to auto-=20
chroot
it)
named_chroot_autoupdate=3D"YES"	# Automatically install/update chrooted
				# components of named. See /etc/rc.d/=20
named.
named_symlink_enable=3D"YES"	# Symlink ${named_pidfile} and /var/=20
run/ndc
				# to their chrooted counterparts.

#
# kerberos. Do not run the admin daemons on slave servers
#
kerberos5_server_enable=3D"NO"	# Run a kerberos 5 master server (or =20
NO).
kerberos5_server=3D"/usr/libexec/kdc"	# path to kerberos 5 KDC
kadmind5_server_enable=3D"NO"	# Run kadmind (or NO)
kadmind5_server=3D"/usr/libexec/kadmind"	# path to kerberos 5 admin =20
daemon
kpasswdd_server_enable=3D"NO"	# Run kpasswdd (or NO)
kpasswdd_server=3D"/usr/libexec/kpasswdd"	# path to kerberos 5 passwd =20
daemon

rwhod_enable=3D"NO"		# Run the rwho daemon (or NO).
rwhod_flags=3D""			# Flags for rwhod
rarpd_enable=3D"NO"		# Run rarpd (or NO).
rarpd_flags=3D""			# Flags to rarpd.
bootparamd_enable=3D"NO"		# Run bootparamd (or NO).
bootparamd_flags=3D""		# Flags to bootparamd
pppoed_enable=3D"NO"		# Run the PPP over Ethernet daemon.
pppoed_provider=3D"*"		# Provider and ppp(8) config file =20
entry.
pppoed_flags=3D"-P /var/run/pppoed.pid"	# Flags to pppoed (if enabled).
pppoed_interface=3D"fxp0"		# The interface that pppoed runs on.
sshd_enable=3D"NO"		# Enable sshd
sshd_program=3D"/usr/sbin/sshd"	# path to sshd, if you want a different =20
one.
sshd_flags=3D""			# Additional flags for sshd.

### Network daemon (NFS): All need rpcbind_enable=3D"YES" ###
amd_enable=3D"NO"			# Run amd service with $amd_flags (or =20
NO).
amd_flags=3D"-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map"
amd_map_program=3D"NO"		# Can be set to "ypcat -k amd.master"
nfs_client_enable=3D"NO"		# This host is an NFS client (or NO).
nfs_access_cache=3D"2"		# Client cache timeout in seconds
nfs_server_enable=3D"NO"		# This host is an NFS server (or NO).
nfs_server_flags=3D"-u -t -n 4"	# Flags to nfsd (if enabled).
mountd_enable=3D"NO"		# Run mountd (or NO).
mountd_flags=3D"-r"		# Flags to mountd (if NFS server =20
enabled).
weak_mountd_authentication=3D"NO"	# Allow non-root mount requests to be =20
served.
nfs_reserved_port_only=3D"NO"	# Provide NFS only on secure port (or =20
NO).
nfs_bufpackets=3D""		# bufspace (in packets) for client
rpc_lockd_enable=3D"NO"		# Run NFS rpc.lockd needed for client/=20
server.
rpc_statd_enable=3D"NO"		# Run NFS rpc.statd needed for client/=20
server.
rpcbind_enable=3D"NO"		# Run the portmapper service (YES/NO).
rpcbind_program=3D"/usr/sbin/rpcbind"	# path to rpcbind, if you want =20
a
different one.
rpcbind_flags=3D""		# Flags to rpcbind (if enabled).
rpc_ypupdated_enable=3D"NO"	# Run if NIS master and SecureRPC (or =20
NO).
keyserv_enable=3D"NO"		# Run the SecureRPC keyserver (or NO).
keyserv_flags=3D""		# Flags to keyserv (if enabled).

### Network Time Services options: ###
timed_enable=3D"NO"		# Run the time daemon (or NO).
timed_flags=3D""			# Flags to timed (if enabled).
ntpdate_enable=3D"NO"		# Run ntpdate to sync time on boot (or =20
NO).
ntpdate_program=3D"/usr/sbin/ntpdate"	# path to ntpdate, if you want =20
a
different one.
ntpdate_flags=3D"-b"		# Flags to ntpdate (if enabled).
ntpd_enable=3D"NO"		# Run ntpd Network Time Protocol (or =20
NO).
ntpd_program=3D"/usr/sbin/ntpd"	# path to ntpd, if you want a different =20
one.
ntpd_flags=3D"-p /var/run/ntpd.pid -f /var/db/ntpd.drift"
				# Flags to ntpd (if enabled).

# Network Information Services (NIS) options: All need =20
rpcbind_enable=3D"YES"
###
nis_client_enable=3D"NO"		# We're an NIS client (or NO).
nis_client_flags=3D""		# Flags to ypbind (if enabled).
nis_ypset_enable=3D"NO"		# Run ypset at boot time (or NO).
nis_ypset_flags=3D""		# Flags to ypset (if enabled).
nis_server_enable=3D"NO"		# We're an NIS server (or NO).
nis_server_flags=3D""		# Flags to ypserv (if enabled).
nis_ypxfrd_enable=3D"NO"		# Run rpc.ypxfrd at boot time (or NO).
nis_ypxfrd_flags=3D""		# Flags to rpc.ypxfrd (if enabled).
nis_yppasswdd_enable=3D"NO"	# Run rpc.yppasswdd at boot time (or =20
NO).
nis_yppasswdd_flags=3D""		# Flags to rpc.yppasswdd (if enabled).

### Network routing options: ###
defaultrouter=3D"NO"		# Set to default gateway (or NO).
static_routes=3D""		# Set to static route list (or leave =20
empty).
natm_static_routes=3D""		# Set to static route list for NATM (or =20
leave
empty).
gateway_enable=3D"NO"		# Set to YES if this host will be a =20
gateway.
router_enable=3D"NO"		# Set to YES to enable a routing =20
daemon.
router=3D"/sbin/routed"		# Name of routing daemon to use if =20
enabled.
router_flags=3D"-q"		# Flags for routing daemon.
mrouted_enable=3D"NO"		# Do multicast routing (see /etc/
mrouted.conf).
mrouted_flags=3D""		# Flags for multicast routing daemon.
ipxgateway_enable=3D"NO"		# Set to YES to enable IPX routing.
ipxrouted_enable=3D"NO"		# Set to YES to run the IPX routing =20
daemon.
ipxrouted_flags=3D""		# Flags for IPX routing daemon.
arpproxy_all=3D"NO"		# replaces obsolete kernel option
ARP_PROXYALL.
forward_sourceroute=3D"NO"	# do source routing (only if =20
gateway_enable is
set to "YES")
accept_sourceroute=3D"NO"		# accept source routed packets to us

### ATM interface options: ###
atm_enable=3D"NO"			# Configure ATM interfaces (or NO).
#atm_netif_hea0=3D"atm 1"		# Network interfaces for physical =20
interface.
#atm_sigmgr_hea0=3D"uni31"	# Signalling manager for physical =20
interface.
#atm_prefix_hea0=3D"ILMI"		# NSAP prefix (UNI interfaces only) (or =20
ILMI).
#atm_macaddr_hea0=3D"NO"		# Override physical MAC address (or =20
NO).
#atm_arpserver_atm0=3D"0x47.0005.80.999999.9999.9999.9999.999999999999.00" =
=20
#
ATMARP server address (or local).
#atm_scsparp_atm0=3D"NO"		# Run SCSP/ATMARP on network interface =20
(or
NO).
atm_pvcs=3D""			# Set to PVC list (or leave empty).
atm_arps=3D""			# Set to permanent ARP list (or leave =20
empty).

### ISDN interface options: (see also: /usr/share/examples/isdn) ###
isdn_enable=3D"NO"		# Enable the ISDN subsystem (or NO).
isdn_fsdev=3D"NO"			# Output device for fullscreen mode (or =20
NO for
daemon mode).
isdn_flags=3D"-dn -d0x1f9"	# Flags for isdnd
isdn_ttype=3D"cons25"		# terminal type for fullscreen mode
isdn_screenflags=3D"NO"		# screenflags for ${isdn_fsdev}
isdn_trace=3D"NO"			# Enable the ISDN trace subsystem (or =20
NO).
isdn_traceflags=3D"-f /var/tmp/isdntrace0"	# Flags for isdntrace

### Miscellaneous network options: ###
icmp_bmcastecho=3D"NO"	# respond to broadcast ping packets

### IPv6 options: ###
ipv6_enable=3D"NO"		# Set to YES to set up for IPv6.
ipv6_network_interfaces=3D"auto"	# List of network interfaces (or =20
"auto").
ipv6_defaultrouter=3D"NO"		# Set to IPv6 default gateway (or NO).
#ipv6_defaultrouter=3D"2002:c058:6301::"	# Use this for 6to4 (RFC 3068)
ipv6_static_routes=3D""		# Set to static route list (or leave =20
empty).
#ipv6_static_routes=3D"xxx"	# An example to set =20
fec0:0000:0000:0006::/64
				#  route toward loopback interface.
#ipv6_route_xxx=3D"fec0:0000:0000:0006:: -prefixlen 64 ::1"
ipv6_gateway_enable=3D"NO"	# Set to YES if this host will be a =20
gateway.
ipv6_router_enable=3D"NO"		# Set to YES to enable an IPv6 routing =20
daemon.
ipv6_router=3D"/usr/sbin/route6d"	# Name of IPv6 routing daemon.
ipv6_router_flags=3D""		# Flags to IPv6 routing daemon.
#ipv6_router_flags=3D"-l"		# Example for route6d with only IPv6 =20
site
local
				# addrs.
#ipv6_router_flags=3D"-q"		# If you want to run a routing daemon =20
on an
end
				# node, you should stop advertisement.
#ipv6_network_interfaces=3D"ed0 ep0"	# Examples for router
					# or static configuration for =20
end
node.
					# Choose correct prefix value.
#ipv6_prefix_ed0=3D"fec0:0000:0000:0001 fec0:0000:0000:0002"  # Examples =20
for
rtr.
#ipv6_prefix_ep0=3D"fec0:0000:0000:0003 fec0:0000:0000:0004"  # Examples =20
for
rtr.
#ipv6_ifconfig_ed0=3D"fec0:0:0:5::1 prefixlen 64"	# Sample manual assign =20
entry
#ipv6_ifconfig_ed0_alias0=3D"fec0:0:0:5::2 prefixlen 64" # Sample alias =20
entry.
ipv6_default_interface=3D"NO"	# Default output interface for scoped =20
addrs.
				# Now this works only for IPv6 link =20
local
				# multicast addrs.
rtsol_flags=3D""			# Flags to IPv6 router solicitation.
rtadvd_enable=3D"NO"		# Set to YES to enable an IPv6 router
				# advertisement daemon. If set to YES,
				# this router becomes a possible =20
candidate
				# IPv6 default router for local =20
subnets.
rtadvd_interfaces=3D""		# Interfaces rtadvd sends RA packets.
mroute6d_enable=3D"NO"		# Do IPv6 multicast routing.
mroute6d_program=3D"/usr/local/sbin/pim6dd"	# Name of IPv6 =20
multicast
						# routing daemon.  You =20
need to
						# install it from =20
package or
						# port.
mroute6d_flags=3D""		# Flags to IPv6 multicast routing =20
daemon.
stf_interface_ipv4addr=3D""	# Local IPv4 addr for 6to4 IPv6 over =20
IPv4
				# tunneling interface. Specify this =20
entry
				# to enable 6to4 interface.
stf_interface_ipv4plen=3D"0"	# Prefix length for 6to4 IPv4 addr,
				# to limit peer addr range. Effective =20
value
				# is 0-31.
stf_interface_ipv6_ifid=3D"0:0:0:1"	# IPv6 interface id for stf0.
				# If you like, you can set "AUTO" for =20
this.
stf_interface_ipv6_slaid=3D"0000"	# IPv6 Site Level Aggregator for stf0
ipv6_faith_prefix=3D"NO"		# Set faith prefix to enable a FAITH
				# IPv6-to-IPv4 TCP translator.  You =20
also need
				# faithd(8) setup.
ipv6_ipv4mapping=3D"NO"		# Set to "YES" to enable IPv4 mapped =20
IPv6 addr
				# communication. (like ::ffff:a.b.c.d)
ipv6_firewall_enable=3D"NO"	# Set to YES to enable IPv6 firewall
				# functionality
ipv6_firewall_script=3D"/etc/rc.firewall6" # Which script to run to set =20
up the
IPv6 firewall
ipv6_firewall_type=3D"UNKNOWN"	# IPv6 Firewall type (see /etc/=20
rc.firewall6)
ipv6_firewall_quiet=3D"NO"	# Set to YES to suppress rule display
ipv6_firewall_logging=3D"NO"	# Set to YES to enable events logging
ipv6_firewall_flags=3D""		# Flags passed to ip6fw when type is a =20
file
ipv6_ipfilter_rules=3D"/etc/ipf6.rules"	# rules definition file for =20
ipfilter,
					# see /usr/src/contrib/=20
ipfilter/rules
					# for examples

##############################################################
###  System console options  #################################
##############################################################

keymap=3D"NO"		# keymap in /usr/share/syscons/keymaps/* (or =20
NO).
keyrate=3D"NO"		# keyboard rate to: slow, normal, fast (or NO).
keybell=3D"NO" 		# See kbdcontrol(1) for options.  Use "off" to
disable.
keychange=3D"NO"		# function keys default values (or NO).
cursor=3D"NO"		# cursor type {normal|blink|destructive} (or =20
NO).
scrnmap=3D"NO"		# screen map in /usr/share/syscons/scrnmaps/* =20
(or NO).
font8x16=3D"NO"		# font 8x16 from /usr/share/syscons/fonts/* (or =20
NO).
font8x14=3D"NO"		# font 8x14 from /usr/share/syscons/fonts/* (or =20
NO).
font8x8=3D"NO"		# font 8x8 from /usr/share/syscons/fonts/* (or =20
NO).
blanktime=3D"300"		# blank time (in seconds) or "NO" to turn it =20
off.
saver=3D"NO"		# screen saver: Uses /boot/kernel/${saver}=20
_saver.ko
moused_enable=3D"YES"	# Run the mouse daemon.
moused_type=3D"auto"	# See man page for rc.conf(5) for available =20
settings.
moused_port=3D"/dev/psm0"	# Set to your mouse port.
moused_flags=3D"-z4"		# Any additional flags to moused.
mousechar_start=3D"NO"	# if 0xd0-0xd3 default range is occupied in =20
your
			# language code table, specify alternative =20
range
			# start like mousechar_start=3D3, see vidcontrol=20
(1)
allscreens_flags=3D""	# Set this vidcontrol mode for all virtual =20
screens
allscreens_kbdflags=3D""	# Set this kbdcontrol mode for all virtual =20
screens


##############################################################
###  pcvt console driver options  ############################
##############################################################

pcvt_verbose=3D"NO"	# set to YES to enable verbose configuration =20
messages
pcvt_keymap=3D"NO"	# keyboard map in /usr/share/misc/keycap.pcvt =20
(or NO).
pcvt_keydel=3D"NO"	# key repeat delay, 0-3 (250,500,750,1000 msec) =20
(or
NO).
pcvt_keyrate=3D"NO"	# keyboard repetition rate 31-0 (2-30 char/sec) =20
(or
NO).
pcvt_keyrepeat=3D"NO"	# keyboard repeat ON or OFF (or NO).
pcvt_force24=3D"NO"	# force a 24 line display (when 25 possible) =20
(or NO).
pcvt_hpext=3D"NO"		# use HP extensions (function keys labels) (or =20
NO).
pcvt_lines=3D"NO"		# lines (25, 28, 40, 50 or NO).
pcvt_blanktime=3D"NO"	# blank time (in seconds) (or NO).
pcvt_cursorh=3D"NO"	# cursor top scanline (topmost line is 0) (or =20
NO).
pcvt_cursorl=3D"NO"	# cursor low scanline (bottom line is 16) (or =20
NO).
pcvt_monohigh=3D"NO"	# set intensity to high on monochrome monitors =20
(or
NO).


##############################################################
###  Mail Transfer Agent (MTA) options  ######################
##############################################################

mta_start_script=3D"/etc/rc.sendmail"
			# Script to start your chosen MTA, called by /=20
etc/rc.
# Settings for /etc/rc.sendmail:
sendmail_enable=3D"NO"	# Run the sendmail inbound daemon (YES/NO).
sendmail_flags=3D"-L sm-mta -bd -q30m" # Flags to sendmail (as a server)
sendmail_submit_enable=3D"YES"	# Start a localhost-only MTA for mail
submission
sendmail_submit_flags=3D"-L sm-mta -bd -q30m -=20
ODaemonPortOptions=3DAddr=3Dlocalhost"
				# Flags for localhost-only MTA
sendmail_outbound_enable=3D"YES"	# Dequeue stuck mail (YES/NO).
sendmail_outbound_flags=3D"-L sm-queue -q30m" # Flags to sendmail =20
(outbound
only)
sendmail_msp_queue_enable=3D"YES"	# Dequeue stuck clientmqueue mail (YES/=20
NO).
sendmail_msp_queue_flags=3D"-L sm-msp-queue -Ac -q30m"
				# Flags for sendmail_msp_queue daemon.


##############################################################
###  Miscellaneous administrative options  ###################
##############################################################

cron_enable=3D"YES"	# Run the periodic job daemon.
cron_program=3D"/usr/sbin/cron"	# Which cron executable to run (if =20
enabled).
cron_flags=3D""		# Which options to pass to the cron daemon.
lpd_enable=3D"NO"		# Run the line printer daemon.
lpd_program=3D"/usr/sbin/lpd"	# path to lpd, if you want a different =20
one.
lpd_flags=3D""		# Flags to lpd (if enabled).
usbd_enable=3D"NO"	# Run the usbd daemon.
usbd_flags=3D""		# Flags to usbd (if enabled).
dumpdev=3D"NO"		# Device name to crashdump to (or NO).
dumpdir=3D"/var/crash"	# Directory where crash dumps are to be stored
savecore_flags=3D""	# Used if dumpdev is enabled above, and =20
present.
enable_quotas=3D"NO"	# turn on quotas on startup (or NO).
check_quotas=3D"YES"	# Check quotas on startup (or NO).
accounting_enable=3D"NO"	# Turn on process accounting (or NO).
ibcs2_enable=3D"NO"	# Ibcs2 (SCO) emulation loaded at startup (or =20
NO).
ibcs2_loaders=3D"coff"	# List of additional Ibcs2 loaders (or NO).
sysvipc_enable=3D"NO"	# Load System V IPC primitives at startup (or =20
NO).
linux_enable=3D"NO"	# Linux binary compatibility loaded at startup =20
(or
NO).
svr4_enable=3D"NO"	# SysVR4 emulation loaded at startup (or NO).
osf1_enable=3D"NO"	# Alpha OSF/1 emulation loaded at startup (or =20
NO).
clear_tmp_enable=3D"NO"	# Clear /tmp at startup.
ldconfig_insecure=3D"NO"	# Set to YES to disable ldconfig security =20
checks
ldconfig_paths=3D"/usr/lib/compat /usr/X11R6/lib /usr/local/lib"
			# shared library search paths
ldconfig_paths_aout=3D"/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/=20
local/lib/
aout"
			# a.out shared library search paths
kern_securelevel_enable=3D"NO"	# kernel security level (see init(8)),
kern_securelevel=3D"-1"	# range: -1..3 ; `-1' is the most insecure
lomac_enable=3D"NO"	# start lomac(4) security module at boot
update_motd=3D"YES"	# update version info in /etc/motd (or NO)
start_vinum=3D"NO"	# set to YES to start vinum
unaligned_print=3D"YES"	# print unaligned access warnings on the alpha =20
(or
NO).
entropy_file=3D"/entropy"	# Set to NO to disable caching entropy through
reboots.
			# /var/db/entropy is preferred if / is not =20
available.
entropy_dir=3D"/var/db/entropy" # Set to NO to disable caching entropy =20
via cron.
entropy_save_sz=3D"2048"	# Size of the entropy cache files.
entropy_save_num=3D"8"	# Number of entropy cache files to save.
harvest_interrupt=3D"YES"	# Entropy device harvests interrupt randomness
harvest_ethernet=3D"YES"	# Entropy device harvests ethernet randomness
harvest_p_to_p=3D"YES"	# Entropy device harvests point-to-point =20
randomness
dmesg_enable=3D"YES"	# Save dmesg(8) to /var/run/dmesg.boot
watchdogd_enable=3D"NO"	# Start the software watchdog daemon
devfs_rulesets=3D"/etc/defaults/devfs.rules /etc/devfs.rules" # Files =20
containing
							    # devfs(8) =20
rules.
devfs_system_ruleset=3D""	# The name of a ruleset to apply to /dev

##############################################################
### Jail Configuration #######################################
##############################################################
jail_enable=3D"NO"	# Set to NO to disable starting of any jails
jail_list=3D""		# Space separated list of names of jails
jail_set_hostname_allow=3D"YES" # Allow root user in a jail to change its
hostname
jail_socket_unixiproute_only=3D"YES" # Route only TCP/IP within a jail
jail_sysvipc_allow=3D"NO"	# Allow SystemV IPC use from within a jail
jail_stop_jailer=3D"NO"	# Only stop jailer. Requires jail_*_exec be set
			# to use sysutils/jailer port to start the =20
jail.

#
# To use rc's built-in jail infrastructure create entries for
# each jail, specified in jail_list, with the following variables.
# NOTE: replace 'example' with the jail's name.
#
#jail_example_rootdir=3D"/usr/jail/default"	# Jail's root directory
#jail_example_hostname=3D"default.domain.com"	# Jail's hostname
#jail_example_ip=3D"192.168.0.10"			# Jail's IP number
#jail_example_exec=3D"/bin/sh /etc/rc"		# command to execute in =20
jail
#jail_example_devfs_enable=3D"NO"			# mount devfs in the =20
jail
#jail_example_fdescfs_enable=3D"NO"		# mount fdescfs in the =20
jail
#jail_example_procfs_enable=3D"NO"		# mount procfs in jail
#jail_example_devfs_ruleset=3D"123"		# devfs ruleset to =20
apply to
jail

##############################################################
### Define source_rc_confs, the mechanism used by /etc/rc.* ##
### scripts to source rc_conf_files overrides safely.	    ##
##############################################################

if [ -z "${source_rc_confs_defined}" ]; then
	source_rc_confs_defined=3Dyes
	source_rc_confs () {
		local i sourced_files
		for i in ${rc_conf_files}; do
			case ${sourced_files} in
			*:$i:*)
				;;
			*)
				sourced_files=3D"${sourced_files}:$i:"
				if [ -r $i ]; then
					. $i
				fi
				;;
			esac
		done
	}
fi






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1092584396l.1734l.0l>