DECnet and TCP/IP between Ultrices

Jeff Michaud michaud at decvax.dec.com
Thu Oct 19 07:02:34 AEST 1989


> In your /etc/rc.local start up decnet and sleep or do something else
> for a few seconds before starting 'ifconfig' so ifconfig picks up the
> aliased address. (Why is this, Fred? - not complaining a bit - just
> curious - the Ultrix Decnet is so nice to have)


# %DECnetSTART%
if [ -f /usr/bin/ncp ]; then
    echo 'Starting DECnet '                                     >/dev/console
    /usr/bin/ncp set executor state on
fi

	If you have an '&' after the ncp command, simply remove it.  rc.local
	will wait for ncp to exit, which means that when it returns it will
	of already changed the hardware address.  With the '&' (ie. background)
	rc.local keeps executing and you have yourself a race condition between
	ncp (actually nml) changing the hardware address and ifconfig being executed
	farther down in rc.local.

	Hope that helps!

/--------------------------------------------------------------\
|Jeff Michaud    michaud at decwrl.dec.com  michaud at decvax.dec.com|
|DECnet-ULTRIX   #include <standard/disclaimer.h>              |
\--------------------------------------------------------------/



More information about the Comp.unix.ultrix mailing list