CS. Dept. Network FAQ.




Welcome to the Computer Science Department's network FAQ (a synopsis of Frequently Asked Questions). It addresses questions regularly asked of the CS systems staff and provides a summary of useful information regarding the Department's computing facilities which is hard to find anywhere else.

In addition to this FAQ, the news-group csu.cs.systems provides announce- ments and information of interest to users of Computer Science computing facilities. Many important announcements, such as system or network down-time or newly installed facilities, are posted only in csu.cs.systems. (For instance, you might learn that the network is to be down the night before your programming assignment or research proposal is due.)

1. Getting Help

  • 1.00) Where can I find a copy of this faq file?
  • 1.01) I know almost nothing about Unix. Where do I start?
  • 1.02) Where can I find in-depth systems reference materials?
  • 1.03) How can I get help?
  • 1.04) How can I get help with lamar or holly?
  • 1.05) How can I locate a system/network administrator?
  • 2. Hours of Operation

  • 2.01) What are the systems' and network's hours of operation?
  • 2.02) What are the Computer Science laboratories' hours of operation?
  • 3. System Information

  • 3.01) What types of computers are available on the CS subnet?
  • 3.02) How do I determine which machines are not being used or have the smallest load (and hence the best performance)?
  • 3.03) Where/how should I run a resource intensive program?
  • 3.04) Where is a safe place to store my files?
  • 3.05) What are the naming conventions used on the CS subnet?
  • 3.06) What software is available?
  • 3.07) Where can I find the source code for the public domain software installed on our network?
  • 3.08) What is our policy regarding system software upgrades?
  • 3.09) How can I determine the OS version my machine is running?
  • 4. User Account Information

  • 4.01) How do I change my password?
  • 4.02) How can I change my default shell?
  • 4.03) How can I change my name in the finger information?
  • 4.04) Where can I find a set of startup (or dot) files (.login, .cshrc, .xsession, etc) which are known to work?
  • 4.05) What does each of the common startup (or dot) files do?
  • 4.06) How long may I keep my account?
  • 4.07) Is it ok to let my friends use my account?
  • 4.08) Why don't telnet or rlogin work?
  • 4.09) How can I make ssh/slogin work across dept machines without requiring a password each time?
  • 4.10) Where can I get an ssh client for my computer at home?
  • 5. File Storage, Backup, Restoration, and Transfer

  • 5.01) Is it safe to store my data on local PC hard-drives?
  • 5.02) What is the backup policy?
  • 5.03) I've accidentally deleted a file. How can I get it back?
  • 5.04) How can I download/upload files between a remote machine and a CS department Unix machine?
  • 6. Disk Usage

  • 6.01) What is the amount of disk space I'm allocated to use?
  • 6.02) How do I determine my total disk usage?
  • 6.03) How can I find my 10 largest files?
  • 6.04) How do I clean out my .netscape directory?
  • 6.05) How do I empty my Common Desktop Environment (CDE) Trash can?
  • 6.06) I have a large amount of data in my directory which I'd like to archive to tape. How do I go about doing this?
  • 7. X Windows

  • 7.01) What window managers are supported on the CS machines?
  • 7.02) Is it OK to lock my screen?
  • 7.03) How do I prevent others from displaying to or reading from my X session?
  • 7.04) How can I remotely run X-windows applications on CS department machines, from my machine at home?
  • 8. Printing

  • 8.00) How do I print?
  • 8.01) What printers are available?
  • 8.02) May I print as much output as I like?
  • 8.03) How do I print a Unix man (manual) page?
  • 8.04) How do I cancel my print job?
  • 8.05) How do I print single-sided output?
  • 8.06) How do I set my default printer on Linux?
  • 9. Dial Up, Wireless, and Remote Access

  • 9.01) How do I dial in from home?
  • 9.02) How do I connect to the CS Department's wireless network?
  • 9.03) If I'm connecting from an off-campus ISP, is there anything special I should do? ?
  • 10. Mail / News / WWW

  • 10.01) On which machine can I read my electronic mail?
  • 10.02) How do I forward my mail to a different machine? (Why doesn't my .forward work?)
  • 10.03) What is my e-mail address?
  • 10.04a) What is the newsgroup server?
  • 10.04b) What do I do when my news reader gives "Cannot Connect to News Server" or spurious "Bogus Newsgroup" messages?
  • 10.05) How do I set up a personal World Wide Web (WWW) home page?
  • 10.06) How do I configure CGI scripts to work with my home page?
  • 10.07) How do I password-protect some of my web pages?
  • 10.08) I would like to use POP3 or IMAP to read my mail. Which machines are POP/IMAP servers?
  • 10.09) I'd like to use Netscape Messenger on a PC to read my mail. How should I configure this?
  • 10.10) How do I use roaming profiles in Netscape?
  • 10.11) How to get Pine to work with IMAP?
  • 10.12) How to get Pine/Netscape to correctly display various file formats?
  • 11. Windows

  • 11.01) How do I access my Unix home directory files from a CS department Windows machine?
  • 11.02) How do I access my Unix home directory files from my Windows machine at home?
  • 11.03) How can I best defend my machine from viruses?
  • 11.04) What are spyware and adware, and how do I remove them from my Windows machine?
  • 12. Mac OS

  • 12.01) How do I access my Unix home directory files from a Macintosh?
  • 12.02) How do I configure a Macintosh to find the department printers?
  • 12.03) How do I get my Macintosh to use an SSL connection to access the department IMAP server?
  • 13. Linux

  • 13.01) How do I access the floppy drive?
  • 13.02) The previous user did not umount his/her floppy, and now I can't mount mine ! What do I do ?
  • 13.03) How do I mount my USB keychain device on a department Linux machine?
  • 14. Solaris

  • 14.01) How should I configure Calendar Manager (dtcm and cm)?

  • -------------------------------------------------------------------------------
    1.00) Where can I find a copy of this faq file?

    This file is available as ~info/faq.

    -------------------------------------------------------------------------------
    1.01) I know almost nothing about Unix. Where do I start?

    A variety of books have been published on the basics of the Unix operating system. These can be obtained from your favorite bookstore. Additionally, some instructional video tapes are available at the front desk in the CS labs, covering various aspects of the Unix operating system. Academic Computing and Network Services also offers introductory Unix seminars, at the beginning of each semester. The schedules for these are posted in the CS labs.

    -------------------------------------------------------------------------------
    1.02) Where can I find in-depth systems reference materials?

    The Unix "man" command provides access to the typical on-line Unix reference manual set on all our systems. More complete reference manual sets for most of our supported operating systems and various other technical books and manuals are available for perusal in the systems offices (rooms 312 and 313). The lab-ops also have several books and manuals available for check-out. Supplementary documents for various software packages found in /usr/local are often embedded in the source trees for the given software package. For instance, /s/parsons/f/src/local/bin/emacs contains supplementary documents for emacs. See the description below for more information on how to locate the source tree for a given public domain software product. Complete Sun Solaris documentation is available via the Web at this URL: http://docs.sun.com

    -------------------------------------------------------------------------------
    1.03) How can I get help?

    If you are having trouble understanding how to use the systems, there is a lab-op available to help in each of the third floor labs. If your troubles are due to hardware or software failures in the systems or network, you should file a trouble report at http://www.cs.colostate.edu/cgi-bin/trouble.pl. The program will prompt you for all the information required by the systems folks to solve the problem. If things are so messed up that you cannot log in or get a browser up, report the problem to a lab-op or locate a system administrator as described below.

    -------------------------------------------------------------------------------
    1.04) How can I get help with lamar or holly?

    Lamar and holly are not Computer Science machines but belong to Academic Computing and Network services. For help with problems on these machines, send e-mail to consult@lamar.colostate.edu.

    -------------------------------------------------------------------------------
    1.05) How can I locate a system/network administrator?

    The systems people are located on the third floor of the University services center, in rooms 312 and 313. You can also reach them via e-mail to sna@cs.colostate.edu, or telephone at 491-5305. Faculty may obtain the administrator's home phone numbers from the file ~info/emergency.

    -------------------------------------------------------------------------------
    2.01) What are the systems' and network's hours of operation?

    Generally, we try to keep all systems up all the time. There is no regularly scheduled down time. However, sometimes we need to take systems or even the entire network down for maintenance. We try to schedule this at non- disruptive times. Down times are announced only in the csu.cs.systems news-group. Regular reading of this group is highly recommended.

    -------------------------------------------------------------------------------
    2.02) What are the Computer Science laboratories hours of operation?

    The hours are posted at the front of the labs. The labs are closed during semester breaks, but dial-in facilities remain available.

    -------------------------------------------------------------------------------
    3.01) What types of computers are available on the CS subnet?

    A complete list of CS machines is given in the file ~info/machines. Those listed as "general" are available for general use. Others are available only to faculty and/or graduate students.

    -------------------------------------------------------------------------------
    3.02) How do I determine which machines are not being used or have the smallest load (and hence the best performance)?

    The "rup" command returns the current load average for most CS machines. For further information consult the rup(1) man page.

    -------------------------------------------------------------------------------
    3.03) Where/how should I run a resource intensive program?

    Generally speaking, such a program should be run in such a way as to minimize its impact on other users. This means initially choosing a machine with a small load as described above. Additionally, it is mandatory social etiquette that such jobs be run using a priority of 19. To reset your process priority do

    renice +19 pid

    where pid is the intensive process ID. For further information, consult the renice(1) and nice(1) man pages.

    Processes consuming unreasonable amounts of resources may be killed by the systems staff without warning.

    -------------------------------------------------------------------------------
    3.04) Where is a safe place to store my files?

    User files and home directories are shared among all department Unix systems via NFS (the Network File System protocol) and NIS (the Network Information System protocol). Put more simply, no matter which Unix machine you log into, you will find your same home directory and same set of files. User files are all located in directories of the form, /s/SERVER/DISK/CATEGORY/NAME, where

    s

    is a literal "s," a parent common to all servers,

    SERVER

    denotes the machine acting as file server for the directory,

    DISK

    denotes a unique disk partition [a-z] on the server,

    CATEGORY

    connotes the type of directory, such as "fac" for faculty, "grad" for graduate, "under" for undergraduate, or "proj" for research project,

    NAME

    is the name of the directory (the same as login name in the case of home directories).

    Directories having a CATEGORY of "nobackup," are not backed up and are available on a "use at your own risk" basis. All other categories are backed up nightly to tape.

    You can also map these directories from Windows PCs. (See section 11 below.)

    -------------------------------------------------------------------------------
    3.05) What are the naming conventions used on the CS subnet?

    Computers are named after musical composers (e.g., mozart), X-terminals after compositions (e.g., bolero), and printers after instruments (e.g., guitar).

    Internet addresses ending with "cs.colostate.edu" are all components of our subnet, for example mozart.cs.colostate.edu. The "cs.colostate.edu" suffix can usually be omitted on references local to our subnet.

    -------------------------------------------------------------------------------
    3.06) What software is available?

    A (partial) list of software packages is given in the file ~info/software. Most locally supported software is installed in the /usr/local directory on each system. One can also get an idea of what is available by browsing both this directory, and /usr/local/bin.

    -------------------------------------------------------------------------------
    3.07) Where can I find the source code for the public domain software installed on our network?

    Systems source code is generally stored in trees rooted at /s/*/*/src. Source trees for many of the utilities found in /usr/local, are found in /s/parsons/f/src/local. The subtree associated with a given utility, is often rooted at a directory having the same name as the utility. For instance, the source code for /usr/local/bin/gcc is found in /s/parsons/f/src/local/bin/gcc. For further information see the description above of the CS file system structure.

    -------------------------------------------------------------------------------
    3.08) What is our policy regarding system software upgrades?

    We try to keep up with changes in operating system, third party, and public domain software as they are released. Our policy is to support the latest releases in a timely manner. In general we support only the latest version, as we do not have the resources to support multiple older versions for compatibility sake. However, in cases where a software upgrade is predicted to cause trauma to the user community, we will run the new version concurrent to the old version for a limited time, to be announced in the csu.sys.systems news-group. All other routine upgrades are announced after the fact.

    -------------------------------------------------------------------------------
    3.09) How can I determine the OS version my machine is running?

    On most machines, use the following command: uname -a -------------------------------------------------------------------------------
    4.01) How do I change my password?

    You can change your password using the normal "passwd" command on any department linux machine. The command assists you in choosing a secure password, thereby enhancing security for everybody. The passwd command is disabled on the Sun Solaris machines, because it is not as secure as the linux version. (Also see 4.08)

    -------------------------------------------------------------------------------
    4.02) How can I change my default shell?

    Send mail to sna@cs.colostate.edu to request that your shell be changed. The change cannot be performed with chfn because of incompatibilities among various machines' implementation of the NIS protocol. The available shells are listed below:

    csh (the default) tcsh sh ksh bash
    -------------------------------------------------------------------------------
    4.03) How can I change my name in the finger information?

    Send mail to sna@cs.colostate.edu to request that your finger information be changed. The change cannot be performed with chfn because of incompatibilities among various machines' implementation of the NIS protocol.

    -------------------------------------------------------------------------------
    4.04) Where can I find a set of startup (or dot) files (.login, .cshrc, .xsession, etc) which are known to work?

    The default startup files (which are provided in the home directories of newly created accounts) may be copied from ~info/dot.files. These files provide a basic template which works in our environment, and may serve as a starting point for your own individual modifications.

    -------------------------------------------------------------------------------
    4.05) What does each of the common startup (or dot) files do?

    In general, the files in your home directory that begin with "." are used to set up parameters and miscellaneous settings before starting related utilities and functions. The following start-up files are executed or interpreted at the beginning of the sessions listed:

    .login

    -- each login or rlogin session (but not for an X session).

    .cshrc

    -- each csh invocation (including your login shell).

    .xsession

    -- each xdm (X-terminal) X session.

    .xinitrc

    -- each xinit (workstation console) X windows session.

    .mwmrc

    -- each Motif Window Manager session.

    .mailrc

    -- each /usr/bin/mail or /usr/ucb/mail session.

    .elm/elmrc

    -- each elm session.

    -------------------------------------------------------------------------------
    4.06) How long may I keep my account?

    Generally speaking, your account will remain active as long as you are either enrolled as a Computer Science major or as another major taking CS classes. Other student accounts are removed twice annually, at the beginning of the Fall and Spring semesters. E-mail will be sent to accounts about to expire, several weeks before they are disabled.

    -------------------------------------------------------------------------------
    4.07) Is it ok to let my friends use my account?

    No. Your account is for your use only. Accounts used by anyone other than the designated user may be suspended or revoked.

    -------------------------------------------------------------------------------
    4.08) Why don't telnet or rlogin work?

    telnet and rlogin are insecure. We've replaced them with ssh(1) and slogin(1).

    -------------------------------------------------------------------------------
    4.09) How can I make ssh/slogin work across CS department machines without requiring a password each time?

    Create a public/private key pair using the following commands, and leave the pass-phrase empty when ssh-keygen prompts for it:

    cd ~/.ssh
    ssh-keygen -t dsa
    cat id_dsa.pub >> authorized_keys

    WARNING: If you change your password because you think your account has been compromised, you should also run these commands again. (The attacker may have stolen your ssh keys.)

    For further information see the man page for ssh-keygen.

    -------------------------------------------------------------------------------
    4.10) Where can I get an ssh client for my computer at home?

    The following are popular FREE versions of the SSH protocol suite:

    -- Putty

    -- OpenSSH

    -------------------------------------------------------------------------------
    5.01) Is it safe to store my data on local PC hard-drives?

    No! PC hard drives should be regarded as temporary work space only. PC disks are scrubbed periodically without warning as space needs to be freed. Store your data on ZIP, floppy, or your Unix home directory.

    -------------------------------------------------------------------------------
    5.02) What is the backup policy?

    The CS Department systems group performs daily backups on all user-data stored on the three Department file-servers: bach, chopin, and parsons. Backups are performed every day in the very early hours of the morning, This means that if your data is lost on a given day, we can probably restore it to its state at midnight the day before.

    WE DO NOT BACK UP DESK-TOP SYSTEMS. With desk-top Unix systems this is not a concern, because the network is architected such that user files are automatically stored on the servers. However, Microsoft systems (PCs) put some burden of data-integrity on the user. When using a PC, it is important to take one of three steps to make sure your data is backed up:

  • 1) back it up yourself by copying it to your favorite media (ZIP, floppy, writable CD, etc),
  • 2) copy it to one of the file-servers (bach, chopin, or parsons), or
  • 3) map a network drive to your Unix home directory, and do all your work on that mapped drive (via samba file service).
  • The tape-cycle for daily backups covers approximately the most recent three months. Additionally, an end-of-semester archive is performed three times a year, at the end of each semester, for long-term file recovery.

    -------------------------------------------------------------------------------
    5.03) I've accidentally deleted a file. How can I get it back?

    Backups are normally run each morning beginning at 1:00am. If the file was not on the system at that time, we CANNOT recover the file. Recovered files will be in the state they were in at the time of last backup. To request recovery of a file, run the trouble program (http://www.cs.colostate.edu/cgi-bin/trouble.pl)) which will prompt you for all the information necessary to recover the file.

    Note, the backup/recovery service is only for recovery of files in an emergency situation. It is not to be relied on as an archival service. There is no guarantee that your files will be recoverable.

    -------------------------------------------------------------------------------
    5.04) How can I download/upload files between a remote machine and a CS department Unix machine?

    Use secure FTP, which is included with any SSH client. Either type

             sftp machine.cs.colostate.edu

    from your UNIX/Linux machine, or use the Secure File Transfer feature included with your Windows SSH client (both available free for academic use from http://www.ssh.com).

    Traditional FTP has been disabled on all except one machine on the Computer Science subnet. If you have to use FTP, then connect to

             ftp.cs.colostate.edu

    Alternatively, you can do one of the following:

    -------------------------------------------------------------------------------
    6.01) What is the amount of disk space I'm allocated to use?

    Unless a special allocation has been approved for you through a Computer Science professor, allocations are as follows:

    undergraduates: 300 Mbytes
    graduates: 500 Mbytes

    Please also note that total quota allocations exceed the size(s) of the disk(s). This means that if everybody uses their entire allocation, the disk will fill up. So please try to stay well below your personal allocation.

    You will receive daily warning messages if you exceed your allocation. Failure to remedy the situation after several days of repeated warnings will result in the suspension of your computer account.

    -------------------------------------------------------------------------------
    6.02) How do I determine my total disk usage?

    Enter the following commands:

    cd; du -sk .

    This du command returns an integer value representing the total number of blocks you are currently using in your home directory. The -k option requests output in 1024 byte blocks instead of the default of 512 byte blocks.

    cd; du -sk * .??* | sort -rn | more

    This command lists the usage for each of your subdirectories.

    Note: The .netscape directory and the Common Desktop Enviroment Trash can are often the culprits.

    -------------------------------------------------------------------------------
    6.03) How do I find my 10 largest files?

    Enter one of the following commands (you can cut and paste the command lines from your browser into your terminal window):

    if you are on a Sun machine:

             /usr/local/bin/find ~/ -printf "%k Kbytes %h/%f\n" | sort +0nr | head

    if you are on a Linux machine:

             find ~/ -printf "%k Kbytes %h/%f\n" | sort -nr | head

    This will list the 10 largest files in your home directory, in decreasing order of their size.

    -------------------------------------------------------------------------------
    6.04) How do I clean out my .netscape directory?

    Bring up netscape, go into edit/preferences/advanced/cache and reduce the disk cache size. The default is five megabytes. Two megabytes is probably a good compromise. Over time, netscape also accumulates a lot of useless stuff in other files. If your netscape directory gets excessively large, you might want to simply exit Netscape, save your bookmarks and preferences files, remove the entire .netscape directory tree, restart Netscape and move your bookmarks and preferences files back.

    There is also a button in this dialog box to clear the disk cache immediately. Click on the button and answer the questions, and the disk cache is supposed to be cleared out. Unfortunately, versions of Netscape for Unix don't work very well, so you might have to go into your .netscape/cache/* directories and remove cached files manually:

    cd ~/.netscape/cache; rm */*
    -------------------------------------------------------------------------------
    6.05) How do I empty my Common Desktop Environment (CDE) Trash can?

    Double-click on the trashcan symbol on the far right of the CDE Front Panel (at the bottom of the screen). From the 'File' menu, select 'Shred.'

    -------------------------------------------------------------------------------
    5.06) I have a large amount of data in my directory which I'd like to archive to tape. How do I go about doing this?

    See the systems folks in room 312 or 313.

    -------------------------------------------------------------------------------
    7.01) What window managers are supported on the CS machines?

    We support the vendors' primary window manager on each hardware platform. Hence, the following window managers are supported on their respective platforms:

    Solaris:

    CDE (Common Desktop Environment)

    Fedora:

    Gnome

    A variety of other window managers are also available on most machines, on a "use at your own risk" basis.

    -------------------------------------------------------------------------------
    7.02) Is it ok to lock my screen?

    Generally speaking, Computer Science Department machines are shared resources. It is Department policy that they not be locked for exclusive use for long periods of time. They may be locked for brief periods (of five minutes or so) if you are called away briefly from your work-station, for instance.

    -------------------------------------------------------------------------------
    7.03) How do I prevent others from displaying to or reading from my X session?

    Generally speaking user-based authorization -- see xauth(1) -- is more secure and preferable to host-based -- see xhost(1). Because your home directory is shared by all machines on our subnet, most of the setup for user-based authorization occurs automatically. If you are running your X session via anything other than the xinit command, you (and only you) are automatically authorized to display to your X display from an X client on any machine. No setup is required. If you are running X via xinit, you must do the following:

  • 1) Before running xinit, create .Xauthority records manually using the following commands:

  • xauth add ${HOST}/unix:0 . $KEY xauth add ${HOST}:0 . $KEY

    where ${HOST} is the name of the host on which you are running and $KEY is a difficult to guess key composed of an even number of 32 or fewer hexadecimal digits.

  • 2) run xinit using the following command:

  • xinit -- /usr/bin/X11/X -auth $HOME/.Xauthority

    -------------------------------------------------------------------------------
    7.04) How can I remotely run X-windows applications on CS department machines, from my machine at home?

    If you have an Xserver running at home you can simply configure an ssh session to tunnel the X11 protocal, and start the remote X clients from the ssh session.

    If you don't have an X server, another option is to use VNC. For information on how to run VNC, see http://www.cs.colostate.edu/~info/vnc.txt.

    -------------------------------------------------------------------------------
    8.00) How do I print?

    All printers are available via the system V command set (lp, lpstat, etc).

    To print a file, type:

    lp -d PRINTER-NAME FILE-NAME

    If you are printing a large file and it is not world readable, you may have to type this:

    lp -c -d PRINTER-NAME FILE-NAME

    The -c option allows lp to make a copy of the file.

    -------------------------------------------------------------------------------
    8.01) What printers are available?

    See http://cs.colostate.edu/~info/printers, or ~info/printers.

    -------------------------------------------------------------------------------
    8.02) May I print as much output as I like?

    In a word, no. Printer paper, toner, and maintenance represent a substantial expense to the CS Department. So far we have managed to keep this expense within bounds through voluntary conservation. There will continue to be no hard limits on printing as long as people continue not to abuse the privilege. Here are some suggestions to minimize wasted paper:

  • - Use the -h (no header page) option on lpr.

  • - Use the enscript or mp commands to list multiple pages per printed page.

  • - Do not print large voluminous manuals. Large on-line manuals should be perused on-line. Users who print exceptionally large volumes of output will be asked to pay the costs of the printing.

  • - Try not to print something unless you REALLY need a hard-copy.

  • - Do not use the printers as copy machines.

  • The soft limits for undergraduates are 35 pages per print job and 75 pages per week. These are limits of excess, not allocations. You should try to keep your printing well below these limits.

    CS Department printers are for bona fide department-related work only.

    -------------------------------------------------------------------------------
    8.03) How do I print a Unix man (manual) page?

    Use the following command on HP machines:

    nroff -man MAN-FILE | lp

    where MAN-FILE is the unformatted manual page (i.e., from a "man" vs "cat" directory). On HP machines, the manual files are typically compressed. You can uncompress the file as follows:

    cat MAN-FILE | zcat > tmpfile

    Then print the resulting tmpfile.

    On Suns using CDE, you can print man pages from the Man Page Viewer. You can find this in the Desktop_Apps folder.

    -------------------------------------------------------------------------------
    8.04) How do I cancel my print job?

    To cancel you print job, you need to check the job's status in order to get the job number.

    To check on the status of your print job, type 'lpstat '. You will get output that looks something like this:

    > lpstat guitar guitar-195 root 367 Apr 06 08:27 on guitar

    To cancel your job, type 'cancel '. To cancel the job above, one would type:

    > cancel guitar-195 request "guitar-195" cancelled

    -------------------------------------------------------------------------------
    8.05) How do I print single-sided output?

    By default, double-sided (duplex) printers use both sides of the paper. Since single-sided printing doubles our paper costs, it should only be selected when absolutely necessary. Single-sided printing may be selected as described below.

    Unix:

    Use the "-o sides=one-sided" option with the lpr command. For instance:

    > lpr -Pguitar -o sides=one-sided myfile

    Windows:

    For the printer in question, go into the "Properties/Advanced/Printing Defaults" menu and select "Flip on Short Edge" or "Flip on Long Edge."

    -------------------------------------------------------------------------------
    8.06) How do I set my default printer on Linux?

    Setting the default printer is done as follows:

    > lpoptions -d <printer_name>

    -------------------------------------------------------------------------------
    9.01) How do I dial in from home?

    Dial up service is through Academic Computing and Network Services (ACNS). Information is available via the ACNS Modems Web Page.

    Note: Initial dial-up authentication is based on your CSU EID, not your CS login.

    -------------------------------------------------------------------------------

    9.02) How do I connect to the CS Department's wireless network?

    The CS Department's wireless network is configured as part of the campus wireless network. So once your machine is configured to work on the department's wireless, it should work most anywhere on campus. For further information on setting up wireless access, consult the ACNS Wireless Web Page. For information on setting up wireless access from a Linux machine, consult the Netsec webpage, "Using the CSU VPN in Linux".

    Note: wireless authentication is based on your CSU EID, not your CS login.

    -------------------------------------------------------------------------------
    9.03) If I'm connecting from an off-campus ISP, is there anything special I should do?

    Traveling personnel and those who use outside ISPs (e.g., cable-modems, AOL, and Earthlink) for remote access can benefit from the VPN client. The VPN client will ensure a secure connection between your computer and CSU. It will also authenticate your connection to use certain on-campus services, such as SMTP. For further information, see the ACNS VPN Web Page.

    -------------------------------------------------------------------------------
    10.01) On which machine can I read my electronic mail?

    Mail addressed to you anywhere on our subnet gets routed to the department mail server, mail.cs.colostate.edu. You should configure your mailer-reader of choice to use the IMAP protocol to access your mail from this machine.

    The procedure for routing your mail to a different server is described below.

    -------------------------------------------------------------------------------
    10.2) How do I forward my mail to a different machine? (Why doesn't my .forward work?)

    Please note that mail.cs.colostate.edu is the mail server for all machines on the Computer Science subnet (*.cs.colostate.edu). Please do not attempt to direct your mail to a different CS department machine, as it may cause your mail to be lost.

    If, on the other hand, you'd like your mail to go to a remote machine outside of the Computer Science subnet, you may do so by creating a .forward file at the top-level of your home directory. To create the .forward file, log into any CS Department Unix machine (such as faure.cs.colostate.edu) and enter a command similar to the following:

             echo "JoeSixpack@aol.com" > .forward

    where "JoeSixpack@aol.com" is the new target address. Please assure that the destination address is fully qualfied.

    After setting up a .forward, test it to make sure it is working correctly. If in doubt about any of this, send your address change request to sna@cs.colostate.edu.

    -------------------------------------------------------------------------------
    10.3) What is my e-mail address?

    Your e-mail address is LOGIN@cs.colostate.edu where LOGIN is your login. On our local subnet your e-mail address may be abbreviated to simply your login.

    -------------------------------------------------------------------------------
    10.04a)What is the newsgroup server?

    The NTTP server(it is maintained by ACNS) is news.colostate.edu.

    -------------------------------------------------------------------------------
    10.04b) What do I do when my news reader gives "Cannot Connect to News Server" or spurious "Bogus Newsgroup" messages?

    The first message means the news server is not accessible for some reason. Excessive or spurious "Bogus Newsgroup" messages indicate that the spool directory on the news server is full. Usually, the best thing to do is wait a while until these conditions clear, and try again.

    The news server is maintained by ACNS, not the CS Department. Urgent problems regarding the news server should be directed to consult@lamar.colostate.edu. Problems with the news readers themselves, such as rn, trn, strn, or xrn, should be directed to sna.

    -------------------------------------------------------------------------------
    10.05) How do I set up a personal World Wide Web (WWW) home page?

    In your home directory create a subdirectory named public_html. Only files stored under that directory are accessible via the ~ operator from the Web. In your public_html directory create a file called index.html. This will be your home page, accessible via the ~ operator. For example, if user foo sets up such a file structure his home page file, ~foo/public_html/index.html, will be accessible via the URL, http://www.cs.colostate.edu/~foo. You may also store other files under your public_html directory and reference them from your home page, or directly via a WWW URL. For example, the file ~foo/public_html/bar.html will be accessible via the URL, http://www.cs.colostate.edu/~foo/bar.html.

    Your public_html directory must have permissions set to 755.
    Any html file which you want to be diplayed must have permissions set to 644.

    -------------------------------------------------------------------------------
    10.06) How do I configure CGI scripts to work with my home page?

    The department enforces security constraints on CGI scripts via the suEXEC wrapper. For further information log into a department Unix machine an read the text file ~info/cgi-suexec.

    -------------------------------------------------------------------------------
    10.07) How do I password-protect some of my web pages?

    For information on how to set up password protection for your web-pages, log onto a department Unix machine and consult the text-file, ~info/htpasswd

    -------------------------------------------------------------------------------
    10.08) I would like to use POP3 or IMAP to read my mail. Which machines are POP/IMAP servers?

    For incoming mail use mail.cs.colostate.edu

    Your outgoing SMTP server depends on the location of your mailer's internet connection. If your mailer is connected directly to the CS subnet use mail.cs.colostate.edu. If you're connected from some other location on campus, including the ACNS modem pool, then use yuma.acns.colostate.edu. If you're using an outside service-provider, consult the provider to obtain the outgoing SMTP server.

    -------------------------------------------------------------------------------
    10.09) I'd like to use Netscape Messenger on a PC to read my mail. How should I configure this?

    The configuration outlined below will store all your mail folders, including your inbox on the server where it is safe from both data-loss and other users eyes.

    In Messenger go into "Edit / Preferences / Mail & Newsgroups" and the following sub-options:

    - select "Identity" and enter your email address as "LOGIN@cs.colostate.edu", where LOGIN is your Unix login.

    - select "Mail Servers", then "Add", and enter your mail server name (as per item 10.01 above) and your Unix login. Do not select "Remember password".

    - select "Mail Servers", then "Edit" and the following sub-options:

    - select "General" and choose "IMAP Server" as your "Server_Type" and your Unix login as your "User Name". (Do not select "Remember password".)

    - select IMAP and choose "When I delete a message: Remove it immediately" and "Clean up Inbox on exit".

    - select "Advanced" and for "IMAP server directory" enter "Mail/"

    Items not specified should be left with the default values.

    -------------------------------------------------------------------------------
    10.10) How do I use roaming profiles in Netscape?

    We use ACNS's server to do this, therefore you must have an account with ACNS. If you are a student or faculty, ACNS provides this service free of charge. Go here to signup.

    Once you have an account with ACNS, follow these steps:

    1.) Go to Edit->Preferences in Netscape.

    2.) Highlight the "Roaming User" option on the left so that the cute little triangle points down.

    3.) Select "Enable Roaming Access for this Profile" at the top and enter the login name of your ACNS account for the "User Name" box at the bottom

    4.) Highlight the "Server Information" option directly under the "Roaming User" option on the left.

    5.) Select "HTTP Server" and enter the following url:

    http://roaming.colostate.edu/"LOGIN"

    where "LOGIN" is the your ACNS login

    6.) Highlight the "Item Selection" option directly under the "Server Information" option on the left.

    7.) Make sure the "History", "Java Security", and "Certificates and Private Keys" options are NOT selected. The rest of the options should be selected.

    8.) Click "OK" at the bottom of the dialog and restart Netscape

    9.) When prompted for a password after restarting Netscape, enter your ACNS account password.

    -------------------------------------------------------------------------------
    10.11) How to get Pine to work with IMAP?

    By default, Pine will use a subdirectory of your home directory to store various mail folders. This directory is usually called ~/mail. Pine can access your inbox and this directory entirely over IMAP, allowing you to read email from multiple locations transparently.

    The following steps are needed to do this:

    Also, please refer to the sample Pine config file in ~info/dot.files/.pinerc for further information.

    -------------------------------------------------------------------------------
    10.12) How to get Pine/Netscape to correctly display various file formats?

    You need a ~/.mailcap file in your home directory. This file contains lines pairing up content types with helper applications that know how to view them.

    Copy ~info/dot.files/.mailcap to your home directory. Currently, this will enable you to view Acrobat PDF files with acroread, postscript files with gv, and Word files with OpenOffice, from both Pine and from Netscape.

    Please note that you will need to do a user installation of OpenOffice before being able to view Word documents. Please refer to ~info/OpenOffice*.README for instructions on how to do this.

    -------------------------------------------------------------------------------
    11.01) How do I access my Unix home directory files from a CS department Windows machine? How about from my home PC?

    To map your Unix directory from a department Windows machine (i.e., a machine in the cs-win domain), right click on "My Computer", then select "Map network drive". Enter a path of "\\unix\LOGIN", where LOGIN is your Unix login.

    -------------------------------------------------------------------------------
    11.02) How do I access my Unix home directory files from my Windows machine at home?

    Mapping your Unix directory from home involves a little more configuration work. For further information read the unix text-file ~info/offsite-samba.

    -------------------------------------------------------------------------------
    11.03) How can I best defend my machine from viruses?

    Every Windows machine should run a virus scanner, such as Mcafee or Norton Anti-Virus, and the virus definitions should be kept up to date. Under the CSU campus site license, Norton antivirus is available free of charge to CSU students, faculty, and staff. You can pick up a copy from Room 224 Webber Hall.

    -------------------------------------------------------------------------------
    11.04) What are spyware and adware, and how do I remove them from my Windows machine?

    Spyware and Adware are applications that are installed onto a computer, often surreptitiously or as part of another useful application. Spyware tracks and reports a user's activities. Adware causes random popup adds to appear on the users system. No only are these activates annoying to users but these applications are often poorly written and so cause a wide range of other problems with the user's system.

    There are several applications that aid in the removal of both Spyware and Adware. The two applications we recommend to try first are Spybot and AdAware. These two applications cover a slightly different set of issues and so it is recommended that both be run.

    Spybot: http://www.safer-networking.org/en/download/index.html

    AdAware: http://www.lavasoftusa.com/software/adaware/

    There is a third tool that for people who are experiencing trouble with IE and have some understanding of the inner workings of windows. That is a program called HijackThis: http://www.spychecker.com/program/hijackthis.html

    Warning: If after having this tool scan your system you are unsure of what to remove, it is best not to proceed.

    -------------------------------------------------------------------------------
    12.01) How do I access my CS Department Unix home directory files from a Macintosh?

    Using the Apple Finder "Go" list, select "Connect to Server" and enter one of the following as the Server Address:

    smb://smb.cs.colostate.edu

    -or-

    afp://afp.cs.colostate.edu

    The first option uses an SMB connection (via samba). You will need to authenticate using your CS-WIN windows domain password This is probably the preferred method.

    The second option uses an AppleTalk connection (via netatalk), with your unix password. Occasionally, netatalk can become confused by obsolete or corrupted metadata. To clear out these stale metatdata files, run the script

    ~info/mac/clearMacMetaData

    in your home directory. This script may be run from any of the CS Department Linux machines.

    Updated metadata files will be created the next time you mount your CS Department Unix account from a mac through netatalk.

    -------------------------------------------------------------------------------
    12.02) How do I configure my Macintosh to find the department printers?

    The fix is a low level one. Edit /etc/cups/cupsd.conf and add the following line:

    BrowsePoll parsons.cs.colostate.edu:631

    This tells your Mac to poll the CS cups print server for a list of department printers. Those printers will show up under a "Shared Printers" option in the Mac print dialoge box.

    After setting this up, your machine will need to be configured to attach to a CS Department network connection in order to see the printers. Also, whenever connecting or reconnecting to the CS network, if you do not see the printers you may need to reboot your machine after attaching.

    -------------------------------------------------------------------------------
    12.03) How do I get my Macintosh to use an SSL connection to access the department IMAP server?

    Using Mac OS 10.3, panther, one can now easily use SSL with mail. That is the good news. The bad news, the process of getting and retaining a local certificate is somewhat involved and has at least one known major pitfall.

    To start, in the advanced settings for the IMAP account, there is a check box for SSL. Check it. Then, the next time you start email, follow the instructions here:

    http://docs.info.apple.com/article.html?artnum=25593

    And now, the big gotcha. If Mail.app is pointing to the inbox of the IMAP account whose certificate you are attempting to copy, Mail will freeze (apparently permanently). The fix is simple. Make sure to have Mail.app default to another folder, for example the inbox of a different email account. If you do this and then restart Mail.app, all will proceed smoothly and as described in the little instruction set from Apple given above.

    -------------------------------------------------------------------------------
    13.01) How do I access the floppy drive on a Linux machine?

    After physically mounting the floppy, enter the following command:

    mount /mnt/floppy

    You should then be able to find your files located under /mnt/floppy. Please don't forget to unmount when you're done:

    umount /mnt/floppy

    Removing the floppy disk without unmounting might corrupt your data files, and it will render the floppy drive un-usable for the next user.

    Note: Be sure you are no longer in the /mnt/floppy directory or you will get a "device busy" error when attempting to unmount.

    -------------------------------------------------------------------------------
    13.02) The previous user did not umount his/her floppy, and now I can't mount mine! What do I do?

    From the command line do:

             /usr/local/bin/fdumount

    This will force the floppy to be unmounted, and you will be able to mount your own.

    -------------------------------------------------------------------------------
    13.03) How do I mount my USB keychain device on a department Linux machine?

    After physically plugging in the device, it should automatically be mounted. Run the command:

    df -k

    It will list the mount point in the last column. You can browse the USB by going into /media/USB\ MEMORY.

    Please don't forget to unmount when you're done:

    Right click on the USB on your desktop and select 'Unmount Volume'

    Removing the device without unmounting might corrupt your data files, and it will render the usb port un-usable for the next user.

    Note: Be sure you are no longer in the /media/USR\ MEMORY directory or you will get a "Cannot unmount volume" error when attempting to unmount.

    Note: You may need to re-format the device on a linux machine with a FAT16 partition. Devices formatted on a windows system may not mount correctly on Linux. But devices formatted on a Linux system will work on either. For further inforamtion see the unix text file, ~info/usb-stick-format

    -------------------------------------------------------------------------------
    14.01) How should I configure Calendar Manager (dtcm and cm)?

    The Calendar Manager is designed to store its data files (your data) on whichever machine you run it on initially. If you want this data backed up, you'll need to take steps to make sure the data files are instead stored on chico:

    -------------------------------------------------------------------------------