Commit Graph

51 Commits

Author SHA1 Message Date
lukem
8f59ce8e35 include rc.subr and use appropriately 1998-01-26 12:02:43 +00:00
veego
16cc8254d4 Move ipnat from /etc/netstart to /etc/rc after /usr is mounted. 1998-01-24 19:12:54 +00:00
christos
0a66272517 PR/3638: David Brownlee: Add /etc/ipnat.conf functionality. 1997-12-20 20:11:53 +00:00
mrg
dae7a8ed1d - remove additional `adding interface aliases:' message.
- add `ppp_peers' support, which will run `pppd call <peer>' for each
  peer listed in the ppp_peers file that also has a /etc/ppp/peers/<peer>
  configuration file.
1997-11-17 17:45:28 +00:00
lukem
332ce4e67a highlight that a configured lo0 is necessary for sane network operation 1997-09-26 07:44:07 +00:00
mikel
8806d2a16f update $net_interfaces comment to reference $auto_ifconfig 1997-09-08 02:43:26 +00:00
mycroft
be208d150c Hard-code the loopback address; it never changes, and we do *not* want to be
doing name lookups here (by default, at least).
1997-09-07 09:47:31 +00:00
veego
61cf6ecccc s/rc.func/rc.subr/ 1997-08-29 10:09:38 +00:00
cjs
c3b0e18db8 Split rc.conf variables for starting programs into two: an on/off
switch and a set of flags. Get rid of DEFAULT flags entirely. Print
warnings if on/off switches are not set, or are set incorrectly.
Add a shell function to simplify this on/off switch testing.
1997-08-29 02:24:04 +00:00
mycroft
39709ef236 Don't require the host name to be set here. 1997-08-28 18:18:17 +00:00
lukem
edbafa0300 4.4BSD has the ability to automagially add a route to localhost from
an interface to first time its address is referenced.  Therefore:
* configure lo0 before all other interfaces (rather than afterwards).
* don't explicitly add a route from `hostname` to localhost
1997-08-04 06:09:49 +00:00
phil
779c94c7af Allow routes to be flushed in netstart (rc.conf option, default YES).
PR 3228.
1997-07-22 18:41:08 +00:00
cjs
4112a161ec Back out last commit; bug was fixed in 1.37, but differently. 1997-05-22 21:41:09 +00:00
cjs
ab82fdc6b5 The interface setup loop was adding every interface in ifconfig -l
to $configured_interfaces because it never checked to see if if it
actually configured that interface. For this reason it was setting
$configured_lo0 as well, so that never got configured, causing all
sorts of problems.
1997-05-22 21:29:49 +00:00
lukem
c7acdd0732 Change interface config test so that the loop is always continued
if the interface wasn't configured, so that $configured_lo0 and
$configured_interfaces won't get incorrectly set if $net_interfaces ==
DEFAULT. From enami tsugutomo <enami@ba2.so-net.or.jp> in [misc/3635]
1997-05-17 14:12:24 +00:00
lukem
1b063db228 wrap $configured_lo0 in quotes, so that it doesn't barf if it's not set.
noticed by Thorsten Frueauf <frueauf@ira.uka.de> in [misc/3620]
1997-05-15 02:09:27 +00:00
lukem
c20c8f0d8d fix up minor typos in comments 1997-05-12 23:40:50 +00:00
lukem
1775d86183 * add support for $hostname, $domainname, $defaultroute and $ifaliases_XXX
* only configure lo0 if not configured by the "configure interface" loop
1997-05-12 11:26:10 +00:00
scottr
a35572dc38 Source rc.conf to pick up network-related configuration variables. 1997-04-29 04:55:05 +00:00
perry
680e326705 Change the way interfaces are configured on startup.
We no longer do /etc/hostname.* files, we do /etc/ifconfig.* files
instead, which contain lines each of which is fed to
ifconfig in turn. A new variable, net_interfaces, controls which
interfaces get brought up, by default, ifconfig -l is used to find a list.
1997-04-01 19:36:17 +00:00
veego
640697a2be Flush old filter rules and enable ipf again after the fix for
src/sys/netinet/ip_fil.c revision1.7
1997-03-30 19:08:14 +00:00
mycroft
40202c2514 Minor cleanup. 1997-03-10 09:34:59 +00:00
mikel
ef538c3176 cleanup Lite-1 merge 1997-02-15 10:02:07 +00:00
mrg
b4891ddaae don't need -E to ipf. 1997-01-28 06:33:36 +00:00
mrg
3b98afb4c5 move start-time configuration from netstart, rc, rc.local into
the new /etc/rc.conf.  this also includes the following changes:

	netstart:  ifaliases now includes a netmask, to ensure
		   aliases work.

	rc/rc.local:  make _everything_ based on configuration
	in rc.conf.  also move things around such that DNS and
	YP are started early enough that other daemons needing
	their services also exist.  move ldconfig from rc.local
	here, and also make it use /etc/ld.so.conf if it exists.
	run /etc/rc.lkm if it exists, a boot time.
1997-01-05 12:01:54 +00:00
mrg
c82951e68c add inetd_flags, mostly from <jbernard@tater.Mines.EDU> in pr#2987 1996-12-04 12:55:33 +00:00
mrg
b0119cdb4c add dhcpd startup; disabled by default 1996-10-03 07:11:35 +00:00
thorpej
2dfaa56a79 Change how the YP daemons are started. Previously, ypbind was always
started if the directory /var/yp exists.  Now, ypbind, ypserv, and
rpc.yppasswdd are started like other daemons; there are flags variables
for these programs.  To disable them, set the variables to "NO", otherwise,
their contents are passed as flags.
1996-08-09 10:29:44 +00:00
thorpej
8f1fa9720d Add $mrouted_flags to netstart and use it in rc to start mrouted in a manner
similar (well, identical, really) to how $routed_flags is used to start
routed.
1995-12-30 01:30:03 +00:00
perry
6b1e4cda29 Closed out my own PR 1365 -- this change adds support in /etc/netstart
for an /etc/ifaliases file that contains lists of additional IP
addresses to be configured on each interface.
1995-12-17 18:31:09 +00:00
thorpej
f82fcbac80 New-style RCS ids. 1995-10-08 18:11:40 +00:00
thorpej
040975e646 Conditionally start rbootd like rarpd and rpc.bootparamd, and disable
it by default.
1995-09-02 17:30:41 +00:00
mycroft
97388e6c43 Create an empty mountdtab after removing it, to avoid getting a warning
from mountd on startup.  Change $name_server to $named_flags.
1994-09-16 23:38:01 +00:00
cgd
5492e0603c buy back Bill Sommerfeld's hack to allow netstart to run
ifconfig with extra args, but w/o broadcast arg.
1994-06-30 08:17:11 +00:00
cgd
d924dda779 fix from Bob Kemp <rsk@ecs.soton.ac.uk> for when there are no enet addrs 1994-04-10 00:28:31 +00:00
cgd
e0ade9fbf5 slight change to the way AMD is invoked, to make it sensible for most uses 1994-03-14 04:14:13 +00:00
mycroft
ed3483e8c2 Add bootparamd gunk. 1994-01-10 16:57:24 +00:00
mycroft
59af92f761 Add rarpd gunk. 1994-01-10 16:43:06 +00:00
deraadt
af4aec082d amd is not enabled by default 1994-01-05 06:32:13 +00:00
deraadt
61b54a3379 initialize rpc services in proper order 1993-12-16 04:02:23 +00:00
cgd
79f6d92119 disable sendmail in distribution; better to do nothing in this case
than possibly do something *really*, *really* wrong.
1993-11-07 10:42:45 +00:00
cgd
90a52de601 (1) clean up lots (rename fooflags -> foo_flags, etc.)
(2) implement suggestion made by Garrett Wollman of "sendmail flags"
	to set flags passed to sendmail and/or turn it off
(3) document origins of variables
1993-11-07 10:36:48 +00:00
mycroft
d0518625c1 Use set --' when looking for hostname.*' files, so we don't lose if none
are present.
1993-09-06 02:27:42 +00:00
brezak
70f813217a Don't start rwalld - now started by inetd. 1993-06-11 00:39:31 +00:00
glass
f5b725b323 fixes for nfs_client, nfs_server division. 1993-04-10 20:15:30 +00:00
cgd
a44f7c9216 make rwalld default to on... 1993-04-10 11:28:16 +00:00
cgd
724dd15fc3 updated for addition of rwalld 1993-04-04 18:59:11 +00:00
deraadt
ee5154db71 learn to type theo.. spelling error, whoops 1993-04-02 13:15:31 +00:00
deraadt
7b31763f5c automagically set the domainname using /etc/defaultdomainname, an
start ypbind if it exists  and should be running. (future's so bright,
gotta wear shades..)
1993-04-02 13:11:42 +00:00
cgd
80e5f01ba4 added better interface configuration, comments, and support
for better hostname and gateway configuration.
1993-04-02 07:59:12 +00:00