Lab 1 Local TA Notes

Before doing much of anything in the labs, each student will need to set up his or her CIT UNIX account in a way which makes it friendly to our filerserving plan. To do this, they need to log in and run a script which we have prepared.


Instructions to the students

After briefly explaining that we're setting up the fileserver (no need to go into details), you should explicitly give the following set of instructions to the students. One possibility: write it on the marker board at the front of the lab.


Mac Lab

  1. Click on the Apple menu in the top-left corner of the screen, and scroll down to "NCSA Telnet".
  2. Select "Open Connection" from the File menu.
  3. Enter "phoenix.princeton.edu" in the "Host" field and click on the "Connect" button
  4. When the word "login:" appears, type your CIT UNIX username and hit the "Return" key.
  5. When the word "Password:" appears, type your CIT UNIX password. (If you have never ever changed your password before, it will be the same as your PAC number. Ask a TA how to change it as soon as you get a chance.)
  6. When a prompt appears that looks something like this:
    phoenix.Princeton.EDU
    type the word
    /u/cs111/setup_COS mac
    being careful to capitalize correctly. Then press return.
  7. When the script finishes running, it should print the line
    Everything worked... all ready to go! on the screen. If it does not do so, ask your TA for help.
  8. Otherwise, log out by typing "logout" and pressing Return. Then, select "Quit" from the File menu.


Windows Lab

  1. INSTRUCTIONS FOR FINDING & RUNNING TERMINAL PROGRAM
  2. When the word "login:" appears, type your CIT UNIX username and hit the "Return" key.
  3. When the word "Password:" appears, type your CIT UNIX password. (If you have never ever changed your password before, it will be the same as your PAC number. Ask a TA how to change it as soon as you get a chance.)
  4. When a prompt appears that looks something like this:
    phoenix.Princeton.EDU
    type the word
    /u/cs111/setup_COS111 win95
    being careful to capitalize correctly. Then press return.
  5. When the script finishes running, it should print the line
    Everything worked... all ready to go! on the screen. If it does not do so, ask your TA for help.
  6. Otherwise, log out by typing "logout" and pressing Return. Then, click the "X" in the top-right corner of the window.


Information about the setup script and the fileserver

Information about how the Mac lab's fileserving software works can be obtained by saying "man aufs" while logged onto phoenix (and only phoenix... the software does not run under Solaris, so they didn't install the man pages either). As indicated there, the user basically needs to have a separate directory for all their Mac docs; we set this up to be called "My Work" on the Mac side, and "COS_111_Mac" on the Unix side. Also, the script creates the required .resource and .finderinfo directories in both the COS_111_Mac directory and its parent directory. It also adds two lines to the ~/.afpvols file, one for "My Work" and one for "COS 111 Software".

If a user has used the AUFS stuff before, the script will (hopefully) not overwrite anything, but will only add the necessary files which are not present. For instance, it will not create new ~/.resource or ~/.finderinfo directories if such directories already exist.

Windows setup is a lot simpler... no, really! Basically, all the script does for Windows users is set up two symbolic links in their directory, one each for "COS 111 Applications" and "Other COS 111 Files". Some minimal checking is again done against overwriting any existing files.

If possible, please try to direct any questions towards me (dpeltier@princeton) BEFORE the first lab.

Good luck, this session will probably be the hardest one...