Net Update Reference Manual

Version 991216

Dieter Deyke, DK5SG/N0PRA
deyke@hotpop.com


Table of Contents

  1. Server
  2. Client

1. Server

  1. The following external UNIX programs (supporting the specified options) have to be installed in either /bin, /usr/bin, /usr/local/bin, or /usr/contrib/bin:
  2. Add the following line to /etc/services:
    netupds 4715/tcp
    
  3. Add the following line to /etc/inetd.conf:
    netupds stream tcp nowait root /tcp/util/netupds netupds [-s sourcedir] [-n user]
    
    Options:

    -s sourcedir
    Serve files from directory sourcedir. If not specified files will be served from directory /tcp.
    -n user
    Send notification mail to user. If not specified mail will be send to root.
  4. Reconfigure inetd using the following UNIX command:
    inetd -c
    
  5. Add the following line to /tcp/net.rc:
    start tcpgate netupds
    
  6. Restart WAMPES or execute the following command in WAMPES:
    start tcpgate netupds
    

2. Client

  1. The following external UNIX programs (supporting the specified options) have to be installed in either /bin, /usr/bin, /usr/local/bin, or /usr/contrib/bin:
  2. Execute the following UNIX command:
    /tcp/util/netupdc [-s sourcedir] [-w wampesdir] [-u] [-m] server client
    
    Options:
    -s sourcedir
    Update files in directory sourcedir. If not specified files will be updated in directory /tcp.
    -w wampesdir
    Directory where WAMPES is installed. If not specified WAMPES is expected in directory /tcp. Not used when option -u is specified.
    -u
    Use Unix networking to connect to server. If not specified WAMPES will be used to connect to server.
    -m
    Do not start the make program after the update.
    server
    Hostname of the net update server. If not specified this defaults to db0sao.
    client
    Hostname of this client. If not specified this defaults to the first part (up to the first '.' character) of the client hostname (as returned by the UNIX hostname command). Please note that client may only consist of letters, digits, and the '-' character.
  3. If you wish you can execute netupdc automatically from cron by putting the command from 2.2 into your crontab. Example crontab entry:
    0 8 * * * exec /tcp/util/netupdc db0sao dk5sg