Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2001 16:32:09 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        Jeff <jeff@kreska.org>
Cc:        FBSD-Q <freebsd-questions@freebsd.org>
Subject:   Re: Network daemons don't start after upgrade to 4.2 R
Message-ID:  <20010508163209.C26597@everest.wananchi.com>
In-Reply-To: <3AF7F1F7.8F301099@kreska.org>;  from "Jeff" on Tue, May 08, 2001 at 08:17:44AM -0500
References:  <3AF7F1F7.8F301099@kreska.org>

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

--YiEDa0DAkWCtVeE4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* 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 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




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