Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jul 2009 08:55:22 +1000
From:      Danny Carroll <fbsd@dannysplace.net>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Strange startup behaviour.
Message-ID:  <4A4D3ADA.50601@dannysplace.net>
In-Reply-To: <20090702110159.8a175688.wmoran@potentialtech.com>
References:  <4A4CC4F1.6080303@dannysplace.net> <20090702110159.8a175688.wmoran@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Moran wrote:
> Probably good to attach your rc.conf file, as that's the most likely thing
> that's wrong, given the information you provided.
> 

That would surprise me.   The thing that looked strange to me was that
there was a heap of files in /etc/rc.d/ that look like they had not been
accessed since the last shutdown of the machine.

Here is my rc.conf

named_enable="YES"
gateway_enable="YES"
hostname="nas.lan"
keymap="us.iso"
sshd_enable="YES"
zfs_enable="YES"

openntpd_enable="YES"

natd_enable="YES"
natd_interface="tun0"
natd_flags="-f /etc/natd.conf"

apache2_enable="YES"
apache2_profiles="default backuppc"
apache2_default_configfile="/usr/local/etc/apache2/httpd.conf"
apache2_backuppc_configfile="/usr/local/etc/apache2/httpd-backuppc.conf"

inetd_enable="YES"

nmbd_enable="YES"
smbd_enable="YES"

winbindd_enable="NO"
backuppc_enable="YES"

rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_enable="YES"
mountd_flags="-n -r"

nut_enable="YES"
nut_upslog_enable="YES"
nut_upsmon_enable="YES"

firewall_enable="YES"
firewall_logging="YES"
firewall_type="custom"
firewall_script="/etc/firewall.rules"

racoon_enable="NO"

pf_enable="NO"                 # Enable PF (load module if required)
pf_rules="/etc/pf.conf"         # rules definition file for pf
pf_flags=""                     # additional flags for pfctl startup
pflog_enable="NO"              # start pflogd(8)
pflog_logfile="/var/log/pflog"  # where pflogd should store the logfile
pflog_flags=""                  # additional flags for pflogd startup

ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"

#For Office subnet
ifconfig_fxp0="inet 172.21.5.118 netmask 255.255.255.248"
#Lan subnet
ifconfig_em0="inet 192.168.10.21 netmask 255.255.255.0 media 1000baseTX
mediaopt full-duplex"
#Media subnet
ifconfig_em1="inet 192.168.1.1 netmask 255.255.255.0 media 100baseTX
mediaopt full-duplex"
# Wireless lan subnet
ifconfig_ath0="inet 192.168.2.1 netmask 255.255.255.0 ssid WIFI wepmode
on weptxkey 1 wepkey 1:0xSomeKeyThatIsPrivate channel 4 mode 11g
mediaopt hostap"
# For the internet PPP0E link
ifconfig_fxp1="inet 10.0.0.2 netmask 255.255.255.0 media 100baseTX
mediaopt full-duplex"

syslogd_flags="-a 172.21.5.0/24:* -a 192.168.10.0/24:*"

smartd_enable="YES"
doorman_enable="YES"
pureftpd_enable="YES"

dhcpd_enable="YES"                          # dhcpd enabled?
dhcpd_flags="-q"                            # command option(s)
dhcpd_conf="/usr/local/etc/dhcpd.conf"      # configuration file
dhcpd_ifaces="ath0 em0 em1"                 # ethernet interface(s)
dhcpd_withumask="022"                       # file creation mask

mysql_enable="YES"
asterisk_enable="YES"







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