IPv6

Edward Glowacki glowack2@msu.edu
Mon, 23 Jul 2001 10:36:24 -0400


Quoted from Mike Szumlinski on Mon, Jul 23, 2001 at 10:17:20AM -0400:
> I somehow managed to install IPv6 support on a new install of a FreeBSD 
> box and I don't want it active...any ideas how to turn it off? I use 
> DHCP to get the IPv4 address, but I'm getting tons of error messages 
> because of IPv6 being on.
> 
> -Mike

edit /etc/rc.conf and set 

ipv6_enable="NO"

There might be some other ipv6 stuff listed in there too which you
can set to "NO" to disable.  Actually, for the ipv6 stuff, you can
actually delete those lines from rc.conf, since the default is to
NOT run ipv6.

Incidentally, /etc/rc.conf is a good file to take a look at after
a new install, and a good place to disable a bunch of stuff you
may not need, like portmap and inetd.  For a full list of stuff
you can change in /etc/rc.conf, check /etc/defaults/rc.conf.  The
defaults file is read in first, and anything in /etc/rc.conf will
override those defaults.

Here's what my /etc/rc.conf looks like (slightly rearranged and
commented for ease of understanding):

# system stuff
kern_securelevel="-1"
kern_securelevel_enable="YES"
check_quotas="NO"

# network and hostname configuration
network_interfaces="xl0 lo0"
ifconfig_xl0="inet 35.8.3.39  netmask 255.248.0.0"
defaultrouter="35.8.2.3"
hostname="hurakan.cl.msu.edu"

# network services
sshd_enable="YES"
portmap_enable="NO"
syslogd_enable="YES"
syslogd_flags="-s -s"
inetd_enable="NO"
sendmail_enable="NO"

# firewall
firewall_enable="YES"           # Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="client"          # Firewall type (see /etc/rc.firewall)
firewall_quiet="NO"             # Set to YES to suppress rule display

# console
moused_enable="YES"
keymap="us.dvorak"

# misc
linux_enable="YES"          # linux binary compatability


-- 
Edward Glowacki				glowack2@msu.edu
GLLUG Peon  				http://www.gllug.org
Imagination is the one weapon in the war against reality.
                -- Jules de Gaultier