Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2003 18:36:42 -0500
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "Charlie Schluting" <charlie@schluting.com>, <freebsd-current@freebsd.org>
Subject:   Re: help! 5.1 doesn't want to start my nic :)
Message-ID:  <021601c35e05$eef7cad0$11fd2fd8@westbend.net>
References:  <20030806205057.V4316@cheshire.cat.pdx.edu><20030807185734.GA25658@guylian.urgle.com><20030808025346.GA33320@chihiro.leafy.idv.tw> <20030808141627.G1226@cheshire.cat.pdx.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Charlie Schluting" <charlie@schluting.com>
> I ran /etc/rc.d/netif manually, and it said it couldn't find
> /etc/network.subr, so I copied that over manually, rebooted, and the
> interfaces still didn't start. But, if I run /etc/rc.d/netif manually,
> it starts just fine now! Yes, the file has execute permissions for all.
>
> Anyone know what's up with that? Can anyone give me the rundown on
> how/what FreeBSD does at boot time to start the network interface? Maybe
> something is supposed to be running that script, but isn't? Another
> missing script?
>
Upon boot up, FreeBSD runs the /etc/rc script.  Check that you have the
latest rc script by comparing it with the one in /usr/src/etc.

diff -u /etc/rc /usr/src/etc/rc

There should be no differences between these files.  You should also have
the following rc* files in the /etc directory:

# ls /etc/rc*
/etc/rc                 /etc/rc.firewall6       /etc/rc.sendmail
/etc/rc.subr
/etc/rc.conf            /etc/rc.firewall        /etc/rc.resume
/etc/rc.shutdown        /etc/rc.suspend

Also the /etc/rc.d directory should contain 145 scripts.

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?021601c35e05$eef7cad0$11fd2fd8>