Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 May 2001 12:54:11 -0500
From:      Jeff <jeff@kreska.org>
To:        Odhiambo Washington <wash@wananchi.com>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: Network daemons don't start after upgrade to 4.2 R
Message-ID:  <3AF832C3.83E364E4@kreska.org>
References:  <3AF7F1F7.8F301099@kreska.org> <20010508163209.C26597@everest.wananchi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I used the upgrade option from the 4.2 R cd.

Where can I get a copy of the rc scripts that 4.2 R should have installed?  It looks like some of my files were not
updated/changed????

Odhiambo Washington wrote:

> * Jeff <jeff@kreska.org> [20010508 16:18]: writing on the subject 'Network daemons don't start after upgrade to 4.2 R'
> Jeff> I upgraded from 3.4 STABLE to 4.2 release and now several network things
> Jeff> do not start up after reboot.
> Jeff>
> Jeff> I can manually bring everything up!  I looked at rc.network to see if I
> Jeff> could figure out why things aren't executing ... but no luck.
> Jeff>
> Jeff> Here is what doesn't happen
> Jeff>     1. default route doesn't get set
>
> Did you run mergemaster? I would do that and overwrite most of the rc
> files with the new one and see what happens. I had a problem like that but
> it only turned out that I was scared running mergemaster!!!
>
> Jeff>     2. sysctl -w net.inet.ip.forwarding=1
> Jeff>     3. natd doesn't get started
> Jeff>     4. named doesn't get started
> Jeff>     5. xntpd doesn't get started
> Jeff>     6. firewall script doesn't run
> Jeff>
> Jeff> ======== /etc/rc.conf ==========
> Jeff> # Enable network daemons for user convenience.
> Jeff> # -- sysinstall generated deltas -- #
> Jeff> named_flags="-c /usr/local/named/named.conf"
> Jeff> ifconfig_ed0="inet x.x.x.x  netmask 255.255.255.0"
> Jeff> ifconfig_vr0="inet 192.168.0.1 media 100baseTX netmask 255.255.255.0"
> Jeff> sendmail_enable="YES"
> Jeff> gateway_enable="YES"
> Jeff> defaultrouter="24.21.161.1"
> Jeff> sshd_enable="YES"
> Jeff> named_enable="YES"               # Run named, the DNS server (or NO).
> Jeff> named_program="named"            # path to named, if you want a
> Jeff> different one.
> Jeff> inetd_enable="YES"
> Jeff> natd_program="/sbin/natd"        # path to natd, if you want a different
> Jeff> one.
> Jeff> natd_enable="YES"                # Enable natd (if firewall_enable ==
> Jeff> YES).
> Jeff> natd_interface="ed0"           # Public interface or IPaddress to use.
> Jeff> #natd_flags="-f /etc/natd.conf"
> Jeff> hostname="isp.assigned.hostname.com"  < this was changed
> Jeff> #dhcp_running=`ps -ax |grep -q dhcpd`
> Jeff> #rc=$?
> Jeff> #if [ "${rc}" = "1" ]; then
> Jeff> #        /usr/sbin/dhcpd -cf /etc/dhcpd.conf
> Jeff> #fi
> Jeff> xntpd_enable="YES"
> Jeff> xntpd_program="xntpd"
> Jeff> xntpd_flags="-p /var/run/ntpd.pid"
> Jeff>
> Jeff> /usr/sbin/rndcontrol -s 2
> Jeff> /usr/sbin/rndcontrol -s 9
> Jeff> /usr/sbin/rndcontrol -s 10
> Jeff>
> Jeff>
> Jeff> firewall_enable="YES"            # Set to YES to enable firewall
> Jeff> functionality
> Jeff> firewall_type="simple"
> Jeff> #firewall_type="open"
> Jeff> firewall_quiet=NO
> Jeff> tcp_extensions="YES"             # Set to YES to turn on RFC1323
> Jeff> extensions.
> Jeff> ========= end rc.conf =========
> Jeff>
> Jeff>
> Jeff> To Unsubscribe: send mail to majordomo@FreeBSD.org
> Jeff> with "unsubscribe freebsd-questions" in the body of the message
>
> -Wash
>
> --
> Odhiambo Washington Wananchi Online Ltd.,
> wash@wananchi.com 1st Flr Loita Hse
> Tel: 254 2 313985 Loita Street.,
> Fax: 254 2 313922 PO Box 10286, 00100-NAIROBI,KE.
>
> Fortune's Law of the Week (this week, from Kentucky):
>         No female shall appear in a bathing suit at any airport in this
> State unless she is escorted by two officers or unless she is armed
> with a club.  The provisions of this statute shall not apply to females
> weighing less than 90 pounds nor exceeding 200 pounds, nor shall it
> apply to female horses.
>
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AF832C3.83E364E4>