                          netconf 0.3 for NET-2 
                     Matt Welsh <mdw@tc.cornell.edu>

** Note: This package is incomplete. I'm waiting to see how Fred decides
** to package up the NET-2 stuff before I really set this in stone. As soon
** as we have some kind of status quo, I will update these scripts, and 
** they'll be official.

This is a set of TCP/IP configuration scripts for the NET-2 suite.
Essentially they maintain the network configuration files in /etc. 
(I understand that in LINUX/Pro, these files are actually stored in /conf,
however, the files in /etc are symlinks to /conf, so it should work
anyway). These scripts maintain the file /etc/net.conf which contains
information on your network setup. This information can be used at bootup
time (by rc.net) to configure the TCP/IP interface, and also to generate
other network files (such as /etc/hosts). 

Here are the scripts:
	netsetup: interactive script to create an initial net.conf
	netconfig: [Not completed] Menu-based "sysadm"-like interface
	  to reconfigure networking on your system
	fixhost: Takes the hostname and IP address from net.conf and
	  adds or changes an appropriate line in /etc/hosts. Useful if you
	  want your IP address and hostname to appear in /etc/hosts, but
	  your IP address happens to be dynamic (e.g., for SLIP connections).
	setnetconf: Sets an entry in net.conf. 
	getnetconf: Retrieves an entry in net.conf.
	netf.sh: Shell functions included by the netconf scripts. (Well,
	  at present, only ONE shell function...)
	rc.inet1: "Smart" rc.net to get info from net.conf and configure
	  interface at bootup time. Replaces rc.inet1 from net-2.

The man page for the whole package is in netconf.8. Also included here is a 
set of network configuration files which have been changed from net-007 to 
work with these scripts. Everything should just unpack to /etc.

THINGS TO DO:
  Netconfig is not there (obviously). I'm working on it, and would like
  suggestions for a list of functions which it should implement. (Such as
  "Add entry to /etc/exports", "Set hostname", "Set domain name", and so on). 

  Netsetup doesn't deal with broadcast address and a few other things. Can
  someone please tell me if my assumptions about gateways, network address,
  netmask, and SLIP connections is correct? It seems to work for me. 

Install everything in /etc (unless you decide to have it elsewhere, of
course). These files should work okay if your config files are actually in
/conf/net (as Fred likes to put them). Just make sure that you have all
of your symlinks in /etc in the right place.

Thanks a lot,
mdw

--
Matt Welsh, mdw@tc.cornell.edu

