FAQ -- Frequently <EM>Answered</EM> Questions

FAQ -- Frequently Answered Questions


Where can I pick up my quizzes?

If you signed the disclaimer form, and indicated a "yes" to having your quizzes left out in a semi public area, you can pick up your quizzes during normal business hours (8:00AM-4:30PM). If you didn't sign the disclaimer, or said "no", you will have to get your quiz from the lead TA.

Quizzes are located in the Cognitive Science building in room 128. Look for a basket with the COGS 3 quizzes.

Must I do the assignments in a Mac Lab?

As of this writing, the only assignment that you really must do in one of the Mac labs are the first 2. Having a Macintosh at home is not sufficient. You need to be in one of the Macintosh labs in order to access your Appleshare server space, and the other Appleshare servers called for in the first assignment.

Even though it is possible to do most of the assignments at home, the assignment instructions are written with the idea that you will be doing them in a lab (PC or Mac, depending on the assignment) on campus. Turning in the assignment from home requires some mastery of FTP or using a floppy to copy to a lab machine.

And read on...

I have a PC at home.

After the first few assignments it is possible to use a non-Macintosh for assignments. It's even possible to work at home (if you have remote access-- modem or Ethernet in your dorm room).

Due to the large number of you with your own computers, we will try to provide some details how to use your PC or Mac from home as we get further into the course. The guidelines are:

Can't Log into Appleshare via the Chooser

I keep putting my cg3xzz login and password into the Chooser to log in to my personal (or class) Appleshare server. But I keep getting a Password or username error. What's wrong?

First, make sure that you select the correct Zone in the Chooser window (lower left pane). The correct zone is: ACS-iCogSci1, and it is likely that you will have scroll the list of zones in the Chooser window in order to select it. Then select the class server: iCogSci1-netatalk. Now you should be able to log in with your cg3xzz account.

And also make sure that the "caps lock" key is not on, as both the account name and password are case sensitive.

Can't Log off Appleshare

I have been trying to log off but it keeps telling me "the shared disk" cannot be put away because items are still in use. What do I do?

There are applications open/active that are using something on your file server disk, even though they may have no windows open!

  1. Open the Application Men (icon on the far right of the menu bar).
  2. Locate the offending application, Eudora, Excel, and MS Word are the most common culprits.
  3. Select the application
  4. Select Quit in the File menu, or CMD+Q.
  5. Now you should be able to drag your Appleshare disk icon into the trash to log out.

  6. Or, just select Restart in the Special menu of the Finder.

Assignment #3 (Email)
The Evil -43 Error.

Some of you may get an error dialog regarding your Eudora Settings document. Something like:"-43 Eudora Settings unreadable." We don't know what causes this; We have never been able to reproduce it. A few (but not all) students got the error in previous terms.

Saving your Web Pages

Can I save my Cogsci 3 Web pages? Where? How?

There are several ways you can go. If you want to copy the files to your home computer, there are 2 basic methods.

    Assuming you are using Windows, and you have network connectivity with UCSD, you can copy/FTP your web files to your own home computer.

    1. Establish a network connection using your ISP. (This varies a lot from ISP to ISP, so we can't really describe it here.)
    2. Start->Programs->MSDOS_Prompt. Newer versions of windows have moved it to Start->Programs->Accessories->CMD_Prompt.
    3. In the DOS Window, type: mkdir c:\cogsci3
      This will create a new folder called cogsci3 on your main (C:) hard drive.
    4. Type: cd c:\cogsci3
      Just like UNIX, huh?
    5. Type: ftp icogsci1.ucsd.edu
    6. You will be prompted for your icogsci1 (cogsci3) login and password
    7. After you log in, you will get an "ftp>" prompt, type: cd public_html
    8. Type: binary
      to make sure the images copy okay
    9. Type: mget *
      Remember wildcards? The "*" means every file in the current folder. This will also match folder names like topic which you don't want to copy!
    10. You will be prompted for each file to copy; type "y" followed by the enter key for each file you want. But type 'n' or just the Enter key for folders that you don't want to copy.
    11. When they are all copied, type: quit
    Or you can go to a PC lab on campus with a floppy.
    1. Log into your Windows File Server. (The procedure varies depending on what windows version is running).
    2. Insert your floppy.
    3. Open the "My Computer" desktop icon and then open the floppy (A:) in "My Computer"
    4. Open your H: file server icon (on NT machines), or log into your "Class Resources" (Windows XP).
    5. Open your public_html folder
    6. Select all the files (Ctrl+A), and drag them to the window corresponding to your open A: (floppy) drive.

    To display your index.html or topic.html, use "Open Page" or "Open Document" or "Open File" in your browser instead of "Open Location", and, of course, specify c:\cogsci3\index.htm or c:\cogsci3\topic.htm for the file name.

Or you can save them in your UCSD personal account, and then you can have them displayed on the web too. Basically, you will need to do the same steps as you did for your assignments: create a web directory, change the permissions. Then copy (FTP) all your files to that directory.

Here's a brief summary; it assumes your personal account is jdoe on sdcc17, and your icogsci1 account is cg3xzz. If you already have a personal webpage, read through the instructions before you start so that you don't accidentally clobber your existing files.

  1. The easiest way to copy the files is to use Windows file sharing in a campus PC lab
  2. Log into Windows XP
  3. Then open your "Class Resources" folder and log into both your class home directory (cg3xzz) and your sdcc17 personal account.
  4. Open your cg3xzz home directory folder, select public_html (and perhaps your hw4, hw5, and hw7 folders too, though all that material should have been copied to public_html), and copy it.
  5. Open your sdcc17 home folder, and then paste. All of your public_html folder and contents should be copied over to your personal account now.
  6. To maker your files appear on the web, you'll have to chmod your public_html folder and your home folder (and perhaps all the files in your public_html folder too). See below
Or
  1. SSH to your personal account machine (say, it's sdcc17), and log in and jdoe (of course).
  2. Now you need to create a web directory. Of course, if you already have a web page (and, therefore, public_html directory), you can skip these steps.
    1. Type: mkdir public_html
    2. Type: chmod o+x ~ public_html
  3. Type: cd public_html
    1. If there are sub folders in your public_html folder (like the topic folder in Spring 2003), then also mkdir each of those.
  4. Type: ftp icogsci1, log in with your cg3xzz account and password.
  5. At the ftp> prompt, type: cd public_html
  6. At the ftp> prompt, type: binary
  7. Now copy over your .HTML document(s) and images. If you are creating a personal website for the first time, you can copy everything at once, if you wish. If you already have a personal website, you probably will want to copy only selected files, like in the next section. (In particular, you probably don't want to copy the course index.html file, since it will clobber the index.html you already have!) To copy all the files at once, using a wildcard:
    1. At the ftp> prompt, type: prompt
    2. At the ftp> prompt, type: mget * Remember wildcards? The "*" means every file in the current folder.
    3. You should now see messages about your web files being copied.
    Or you can selectively copy files, one at a time.
    1. At the ftp> prompt, type: ls
      This will give you a list of the names of your images and documents. Suppose one of the images is called eagle.gif:
    2. At the ftp> prompt, type: get eagle.gif
      to copy that one image. Repeat for each file you want. But don't try to copy the sub folders (like topic) if you have them. Again, don't get files with names you already have in your personal website, because the course files will clobber/replace those. In particular, be careful about the index.html file.
      1. If you have sub folders, type: lcd SUBFOLDER at the ftp> prompt to change into the sub folder called SUBFOLDER on your local machine (which you should have made previously).
      2. Then cd SUBFOLDER to get into the similar folder on the class machine.
      3. Then do a mget * to copy all those files
      4. When done copying all files, do a cd .. to get back to your public_html folder on the class server, and lcd .. to get back to it on your personal server.
      5. Repeat for as many sub folders as you have on the class server.
  8. At the ftp> prompt, type: quit
  9. Type: chmod o+r *
    which will make all your files "Readable" to the web software.
  10. Type: chmod o+x ~ ~/public_html
    which makes your home directory and web directory "aXessable".
  11. Try to access your files as: http://sdcc17/~jdoe or http://sdcc17/~jdoe/topic.html

Your Question not Answered?

Do you have a question that should be here? Feel free to If you would like a reply via email, make sure your Netscape email information (return address) is correct!
WML
©opyright 1995-2004 Mark R. Wallen
Last updated: Sun Sep 19 12:20:51 2004