# datagram2 # Author: Pete Broadwell, Grinnell College # Minor Adjustments for Linux made 11/29/00 by Henry M. Walker # This program coordinates the second datagraph sockets readers-writers # simulation. In this simulation, the writer (server) and reader (client) # processes are separate programs. This script first runs the server # process and then remotely executes the client processes. Also, the client # processes take the IP address of the server as a command-line argument. # Note: IP address 132.161.33.175 is for MathLAN machine dijkstra, and this # script must be run on dijkstra to establish the required server process. # For security reasons, rsh operations on MathLAN require Kerberos # authentication and must communicate using encryption. # To use kerberos, some initial work is required. See MathLAN software # documentation. # After Kerberos is set up for a user, the user must use the # /usr/bin/kinit # command to establish tickets before executing this script. dgserv& rsh -x frege /home/walker/c/sockets/dgclient "132.161.33.175" & rsh -x galton /home/walker/c/sockets/dgclient "132.161.33.175" & rsh -x hamilton /home/walker/c/sockets/dgclient "132.161.33.175" & wait