From owner-freebsd-questions Tue May 8 6:34:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from everest.wananchi.com (pop.wananchi.com [62.8.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 76A5437B422 for ; Tue, 8 May 2001 06:34:08 -0700 (PDT) (envelope-from wash@wananchi.com) Received: from wash by everest.wananchi.com with local (Exim 3.22 #2) id 14x7az-000Hbl-00; Tue, 08 May 2001 16:32:09 +0300 Date: Tue, 8 May 2001 16:32:09 +0300 From: Odhiambo Washington To: Jeff Cc: FBSD-Q Subject: Re: Network daemons don't start after upgrade to 4.2 R Message-ID: <20010508163209.C26597@everest.wananchi.com> Mail-Followup-To: Odhiambo Washington , Jeff , FBSD-Q References: <3AF7F1F7.8F301099@kreska.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AF7F1F7.8F301099@kreska.org>; from "Jeff" on Tue, May 08, 2001 at 08:17:44AM -0500 X-Operating-System: FreeBSD everest.wananchi.com 4.3-STABLE FreeBSD 4.3-STABLE X-Mailer: Mutt http://www.mutt.org/ X-Location: Nairobi, KE, East Africa. X-Uptime: 4:29PM up 11 days, 6:32, 6 users, load averages: 1.27, 0.96, 0.67 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Jeff [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 thi= ngs Jeff> do not start up after reboot. Jeff>=20 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>=20 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=3D1 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>=20 Jeff> =3D=3D=3D=3D=3D=3D=3D=3D /etc/rc.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Jeff> # Enable network daemons for user convenience. Jeff> # -- sysinstall generated deltas -- # Jeff> named_flags=3D"-c /usr/local/named/named.conf" Jeff> ifconfig_ed0=3D"inet x.x.x.x netmask 255.255.255.0" Jeff> ifconfig_vr0=3D"inet 192.168.0.1 media 100baseTX netmask 255.255.255.= 0" Jeff> sendmail_enable=3D"YES" Jeff> gateway_enable=3D"YES" Jeff> defaultrouter=3D"24.21.161.1" Jeff> sshd_enable=3D"YES" Jeff> named_enable=3D"YES" # Run named, the DNS server (or NO= ). Jeff> named_program=3D"named" # path to named, if you want a Jeff> different one. Jeff> inetd_enable=3D"YES" Jeff> natd_program=3D"/sbin/natd" # path to natd, if you want a diff= erent Jeff> one. Jeff> natd_enable=3D"YES" # Enable natd (if firewall_enable = =3D=3D Jeff> YES). Jeff> natd_interface=3D"ed0" # Public interface or IPaddress to u= se. Jeff> #natd_flags=3D"-f /etc/natd.conf" Jeff> hostname=3D"isp.assigned.hostname.com" < this was changed Jeff> #dhcp_running=3D`ps -ax |grep -q dhcpd` Jeff> #rc=3D$? Jeff> #if [ "${rc}" =3D "1" ]; then Jeff> # /usr/sbin/dhcpd -cf /etc/dhcpd.conf Jeff> #fi Jeff> xntpd_enable=3D"YES" Jeff> xntpd_program=3D"xntpd" Jeff> xntpd_flags=3D"-p /var/run/ntpd.pid" Jeff>=20 Jeff> /usr/sbin/rndcontrol -s 2 Jeff> /usr/sbin/rndcontrol -s 9 Jeff> /usr/sbin/rndcontrol -s 10 Jeff>=20 Jeff>=20 Jeff> firewall_enable=3D"YES" # Set to YES to enable firewall Jeff> functionality Jeff> firewall_type=3D"simple" Jeff> #firewall_type=3D"open" Jeff> firewall_quiet=3DNO Jeff> tcp_extensions=3D"YES" # Set to YES to turn on RFC1323 Jeff> extensions. Jeff> =3D=3D=3D=3D=3D=3D=3D=3D=3D end rc.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D Jeff>=20 Jeff>=20 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. --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE69/VZn7LIsuxjem8RAk2XAJ45N35q+fEkfJFah5DUT4GG+RzupgCfSPhf k2S27QFskpDcBRGxLqY4HWc= =cwuP -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message