FAQ(frequently asked questions)
  Questions?
Who are the staff and where are they located?
How do I setup email clients to work with the CS servers?
How can I forward my mail to a different machine?
How can I connect a computer to the department network?
Which printers can I print to?
How do I setup personal web pages?
Why can't I receive emails?
How can I dialup to the department's machines?
What do I do if one of the Suns in the GSWR gets stuck?
Does the department have a policy regarding long-lived jobs or simulations?
What is my disk quota?
How do I request an increase in my disk quota?
Can I retrieve a backup of the file(s) I just accidentally deleted?
How do I set up an X window environment?
Where can I find the current quarter's class schedule?
How do I ftp?
Where are the compilers?
Where are the on-line databases of library holdings?
What is the policy regarding the installation and upgrade of public domain software?
   
Listing of some available tools:
Setup "procmail" to redirect emails to your home directory.
   
   
  Who are the staff and where are they located?

Both hardware and software questions should be asked by sending mail to help. If you need in-person help:

Software Group:
Peter Schultze Room 3273 - x59929
Charles Fritzius Room 3413 - x59323

Hardware Lab:
Steve Sakamoto Room 3413 x52145
Pete Follett Room 3413 x52145

   
 

How do I setup email clients to work with the CS servers?

The CS email servers support both POP and IMAP. All CS email servers require the SSL protocol for incoming email (usaully found in the advanced tab). Users should use their incoming email server as their outgoing SMTP server for machines located here in the department. For machines located outside the department (yes, your home is outside the department) users MUST use their ISP's SMTP server. If you are using Bruin Online your SMTP setting is 'mail.ucla.edu' - authentication is required.

   
  How can I forward my mail to a different machine?

In your home directory create a file named ".forward".

If you want your mail forwarded ONLY to a remote location then this file should contain: "username@address"

If you want your mail sent locally AND forwarded then this file should contain: "\username, username@address"

Note - the backslash is absolutely essential! We prefer option a) since can cause your /var/mail/username file to grow and grow.

   
 

How can I connect a computer to the department network?

For wired connections users must fill out an IP address request form for each machine they want connected to the network. You will need to enter the hardware (MAC) address for the Ethernet card being used. We use DHCP to provide IP addresses for laptops, whether it is a wireless or wired connection. We will assign static IP addresses for desktop and server machines. Under no circumstances should users connect their machines to the network using borrowed or stolen IP addresses – we will catch you and there will be a penalty.

For wireless connections users need to first join the CSD wireless network and then open a web browser and authenticate using your CS username and password. There is guest access availble on the wireless network with limited ports open for security reasons.

   
 

Which printers can I print to?

Graduate students can use the following public printers:
pub1 (Model - HP9000PS) Located in 4816
pub3 (Model - HP9000PS) Located in 3286
pub5 (Model - HP5SiMX) Located in 3286

How to setup printing to public printers:
(Public Printers - available to everyone in the department)

PC's running Windows 2000 or XP:
Note: User must be logged in as administrator.

1. Download the print driver for pub1 or pub3, Windows does not have the driver for pub1 or pub3 built-in, Windows has the driver for pub5 built-in.
2. Doubleclick on the printer driver file you just downlaoded, it will unzip itself into a directory on your C drive named "lj9000Lmfp" (you will need to know this location later in the setup).
3. Get into printer setup.
4. Click on "Add Printer".
5. Click on next in the "Welcome to the Add Printer Wizard" dialog box.
6. Click on "Network Printer".
7. Click on the "Connect to a printer on the internet or on your intranet" radio button
8. Copy and paste or enter this URL: http://printer.cs.ucla.edu:631/printers/pub1 (subsitute pub3 or pub5 to use those printers).
9. When you click the "Next" button you will see a "Connect to Printer" dialog box stating that the server does not have the correct driver for this printer, click "OK" which will bring up a "Add Printer Wizard" dialog box, click the "Have Disk" button which will bring up a "Install From Disk" dialog box, click the "Browse" button which brings up a "Locate File" dialog box, now you need to browse to the "lj9000Lmfp" directory and click on the "Open" button which of course brings up another dialog box "Install From Disk" click the "OK" button, this brings up another dialog box "AddPrinter Wizard" make sure the HP laserJet 9000 PS is highlighted and click on the "OK" button.
10. The next dialog box asks whether you want this as your default printer, select yes or no and then click on the "Next" button.
11. Click on "Finish" in the next dialog box and you are done.

To setup duplex printing on pub1 or pub3: (pub5 does not support duplex printing)
1. Get properties on the printer.
2. In the HP LaserJet 9000 PS dialog box select the "Device Settings" tab.
3. Scroll down to the "Installable Options" section.
4. Click on "Duplex Unit" and select "Installed" from the drop down menu.
5. Click "OK" and you are done.

Macintosh running OS X:
Note: User must be logged in as administrator.

1. Open the Printer Setup Utility (located in the Utitilies folder).
2. Click the "Add" icon.
3. Select "IP Printing" from the top drop sown menu.
4. Choose Protocol "LPD".
5. For "Printer Address" enter printer.cs.ucla.edu.
6. For "Queue Name" enter pub1 (subsitute pub3 or pub5 to use those printers).
7. For "Printer Model" select HP from the drop down list and then from the drop down window select "HP LaserJet 9000 Series".
8. Click the "Add" button and you are done.

To setup duplex printing on pub1 or pub3: (pub5 does not support duplex printing)
1. Open the "Printer Setup Utility".
2. In the "Printer List" dialog box select (highlight) the printer you just setup.
3. Click on the "Show Info" icon which brings up a "Printer Info" dialog box.
4. Select "Installable Options" from the top drop down list.
5. Check the "Duplex Unit" checkbox and click on the "Apply Changes" button.
6. Close the "Printer Info" dialog and you done.

Linux - Fedora Core 2: (other linux distributions should be similiar)
Note: User must be logged in as administrator.

1. Under the "System Settings" menu select "Printing".
2. In the window that comes up click the icon labeled "New".
3. In the window that comes up click the button labeled "Forward".
4. For the queue name type in "pub1" (subsitute pub3 or pub5 to use those printers).
5. Click the button labeled "Forward".
6. On the "Select a queue type" drop down menu select "Networked CUPS (IPP)".
7. Under "Server" type "printer.cs.ucla.edu".
8. Under "Path" type "/printers/pub1" (subsitute pub3 or pub5 to use those printers).
9. Click the "Forward" button.
10. In the "Printer model" window under the "Select the printer manufacturer and model" drop down menu select "HP" and the correct printer model (pub1 and pub3 are Laserjet 9000, pub5 is a Laserjet 5SiMX.
11. Click the "Forward" button, click finish in the next window.

To setup duplex printing on pub1 or pub3: (pub5 does not support duplex printing)
1. In the printer configuration window select the printer you want to edit.
2. Click on the "Driver options" tab
3. Go to the "Double-Sided Printing" option and change the drop down menu from "Not capable" to "Long Edge (Standard)"
4. Click the "OK" button and you are done.

How to setup printing to suite printers:
(Suite Printers - faculty and support staff only)
PC's running Windows 2000 or XP:
Note: User must be logged in as administrator.

1. Download the HP 4250dtn driver to your desktop.
2. Doubleclick on the printer driver file you just downlaoded, it will unzip itself into a directory on your C drive named "lj4250-4350" (you will need to know this location later in the setup).
3. Download and install the HP Network Printer Wizard (accept default setup prompts).
4. Once installed open the program 'HP Install Network Printer Wizard' which is located in the 'Programs' menu which is on the 'Start' menu in Windows.
5. You should see a Welcome to the HP Network Printer Wizard dialog box - click next.
6. For connection type keep the default 'Wired' checked - click next.
7. In the 'Identify Printer' dialog box select 'Specify a printer by address' - click next.
8. In the 'Specify Printer' dialog box check 'IP Hostname' - you need to enter the DNS name for the printer you want to set up - suite printers are named by their suite number, so the 35 suite printer would be '35.cs.ucla.edu and the 47 suite printer would be '47.cs.ucla.edu' - click next.
9. In the 'Network Printer Configuration' select 'Configure network printer setting for me' - click next.
10. In the 'Driver Options' dialog box click on 'Install a driver from a printer installation disk or driver file' - click next.
11. In the 'Open' dialog box you need to browse to the folder where you unzipped the driver file in step 2 above, once there select 'hpc4x50d' and click on 'Open'.
12. In the 'Drivers from Disk' dialog box select the 'HP LaserJet 4250 PS - click next.
13. In the "Printer Name' dialog box you can name the print or take the default - click next.
14. In the 'Summary' dialog box click on the 'Install' button.
15. In the 'Complete the HP Install Network Printer Wizard' click 'Finish'.

Macintosh running OS X:
Note: User must be logged in as administrator.

1. Downlaod and install the HP Laserjet Installer. This installer file should unstuff itself, if not you will need to use unstuffit application to unstuff the installer.
2. Open Print Center / Printer Setup Utility - located in the Utilities folder.
3. Delete the old suite printer if you had one setup.

4. Choose "Add Printer" from the Printers Menu.
5. Choose a connection type - LDP/LPR, IP Printing or HP/IP Printing (depends on which version of MAC OS X you are running - all work fine).
6. Enter the IP address or DNS name for the printer you want to install - the suite printers are named by the suite they are installed in - example: 35 suite printer is named - 35.cs.ucla.edu.
7. For Printer Model select 'HP'.
8. Under Model Name select 'Hp Laserjet 4250'.
9. Select the printer and click Add.

To setup duplex printing on the suite printers:
1. Open the "Printer Setup Utility".
2. In the "Printer List" dialog box select (highlight) the printer you just setup.
3. Click on the "Show Info" icon which brings up a "Printer Info" dialog box.
4. Select "Installable Options" from the top drop down list.
5. Check the "Duplex Unit" checkbox and click on the "Apply Changes" button.
6. Close the "Printer Info" dialog and you done.

Note: The default setting for printing will be single sided printing, if you want double sided printing you will need to select it in the print dialog box - in the print dialog box click on the drop down menu labeled 'Copies & Pages' and select 'Layout'. Once you have selected 'Layout' you should see the option to turn on 'Two Sided Printing'.

   
  How do I setup a personal web page?

Create a lowercase www directory in your home directory. Place your html files in the www directory, make sure you have an index.html file. You can acces your web page with http://www.cs.ucla.edu/~username. If you want your page listed with the other graduate student web pages send email to webmaster@cs.ucla.edu. You must make sure that both your home dir and the www directory have r-x permissions for the world:

chmod o+rx $HOME
chmod o+rx $HOME/www

   
  Why can't I receive emails?

You have to login a specific host to get your mail. Execute the following command to find out which is your email server.

ypmatch your_login_name aliases

returns:
your_login_name@cheetah.cs.ucla.edu

Then "cheetah" is your email server.

   
  How can I dialup to the department's machines?

NOTE - there is no PPP support on CS modem servers and access is limited to CS hosts.

How can I dialup to the department's machines?
If you need PPP support you have to use the Campus BOL Servers. For more
information contact BruinOnline <http://www.bol.ucla.edu>. All registered UCLA students are eligible for free BOL accounts:

http://www.bol.ucla.edu/services/accounts/

For dialing into CS:
Dial 825-8919. Use 8 data bits, one stop bit, no parity. After you get connected you will get a command prompt. You do not need to enter a username or password. Type the name of the host you want to connect to and login.You will automatically be connected to the first non-busy line and should not have to try any other number.
Individual phone numbers are:
825-8919, 8920, 9001

If you have multiple login sessions you can return to the command prompt by sending a BREAK signal. You can use the command 'show sessions', to see what hosts you are connected to and 'resume' to get back to your session. You can also type the number of your session or just type <CR> to get back to your active session.
Type '?' or 'help' to see the commands that are available to you.

   
 

What do I do if one of the Workstations in the GSWR gets stuck?

In general - do NOT reboot the Suns!

First log in on another machine and rlogin onto the messed up machine. If you can't rlogin to the machine then send mail help. If you have successfully logged onto the machine then:

Kill all your X processes, if it was X that messed things up try to login again, if it still doesn't work send email to help.

   
 

Does the department have a policy regarding long-lived jobs or simulations?

Any job that will take five minutes of CPU time or more should run with lower priority using "nice" command of level +15 or higher. (higher the number lower the priority)

e.g. "nice +15 long_job" ("man nice" for details)

Under the current simulation policy, a user may run ONE such simulation. There will be no simulations permitted on servers.

If additional simulation is necessary for your research, a user can send a request to "help" to run simulation on other workstations. Unauthorized simulations will be KILLED without any notice. NO EXCEPTIONS.

You can check on the status of your simulations using "ps" ("man ps" for details).

   
 

What is my disk quota?

Graduate student accounts have a 1GB quota limit.
"/usr/sbin/quota -v username" will tell you what your current disk quota is in kilobytes. ("man quota" for details)

   
 

How do I request an increase in my disk quota?

E-mail your request to "quota". "Quotas are in megabyte increments, so the least that can be requested is an additional meg.

   
 

Can I retrieve a backup of the file(s) I just accidentally deleted?

If you accidently delete a file and want to check if that file was saved on the incremental backup disk you can run "getback". For example, user `someone' accidently removed the file `foo' from ~/bar directory:

% cd ~/bar


% getback -l

If `foo' is in the listing then it can be retrieved by executing `getback foo'. If not then send mail to help and request that the file ~/bar/foo be restored from the latest fulldump tape. (Please remember to give the complete path- name of the file(s)).

("man getback" for details)

   
 

How do I set up an X window environment?

Most of you will be using default - Common desktop window manager that came with Solaris. If you need to run your own window manager, please read on.

You need to have /opt/X11R6/bin (Solaris 2.x) or /usr/openwin/bin in your path. In your home directory you should create a file ".xinitrc". ".xinitrc" is the script used to start up X and it is invoked when you type "xinit".

A simple ".xinitrc" might contain:

xterm -display unix:0.0 -C -n console &

xterm -display unix:0.0 -ls -n local &

xrsh oahu xterm -ls -n oahu &

exec twm -display unix:0.0

which will start up three windows (or "xterms" - two local and one on the main server oahu) and the twm win- dow manager. ("man xterm" and "man twm" for details). A ".twmrc" file can be used to customize the window manager. An example ".twmrc" can be found in "/usr/local/lib/X11/twm/system.twmrc". ("man X" and "man xinit" give some introductory funda- mentals.) Important: For security reasons you should avoid using "xhost" =and= you should start xinit with the -auth option. ("man xauth" for details regarding the setup of a .Xauthority file).

   
 

Where can I find the current quarter's class web pages?

All course web pages in the School of Engineering can be found here:

SEASnet CourseWeb

   
 

How do I ftp?

So someone else can ftp your file:

Security reasons have forced us to eliminate the old "do it yourself" ftp process. If you have files that you want other people to be able to ftp then:

You need to prepare them (e.g. tar and compress, if applicable), change the permissions on the file(s) and put them in a directory that is read- able by others, and then

Send a message to or (the facility operations staff) and ask that we move the files to the ~ftp/pub directory.

So you can ftp someone else's file:

Most sites have anonymous ftp set up as follows:

"ftp sitename" or "ftp internet_address"

At the login prompt type "anonymous"

At the password prompt type your id (e.g. "username@cs.ucla.edu"). You should now be on!

"cd" to the desired directory and use "get" (or "mget") to retrieve the desired file(s).

"quit" to logoff

   
 

Where are the compilers?

http://www.cs.ucla.edu/r_share1/www/

All the Sun compilers are in /opt/SUNWspro/bin (Solaris) C, C++, Fortran GNU compilers are in /opt/local/bin directory.

   
 

Where are the on-line databases of library holdings?

Computer Science Department Technical Reports are available via WEB from:

http://www.cs.ucla.edu/csd/pubs/pubs.html

Orion: (UCLA library holdings)

http://orion2.library.ucla.edu

Melvyl: (UC library holdings - periodical listings, books, and journal citations/articles)

http://www.melvyl.ucop.edu, or telnet melvyl.ucop.edu ("/usr/local/bin/melvyl") Accessing Melvyl from the UCLA.EDU domain, you can access several specialized databases, such as INSPEC for journal citations and full text images, and "Computer Articles" for trade magazine references.

   
 

What is the policy regarding the installation and upgrade of public domain software?

Requests to install or upgrade software can be made by sending mail to help@cs.ucla.edu. Both types of requests will be evaluated by DCF staff. New software will be installed only if it is judged to be both reliable and useful for a significant fraction of the user population.

   
 

Listing of some available tools: (found in /usr/local/bin, /usr/local/bin/X11, /usr/ucb, or /bin)

***READ THE CORRESPONDING MANUAL PAGES***

Editors - vi,emacs,ee

News readers - nn, rtin, trn

Mail readers - mail, elm, pine, mush, mh

Script building tools - perl, awk, sed, grep (and grep vari- ations)

Shells - bash, csh, sh, ksh(Solaris 2.x only), tcsh

Archival tools - compress, tar, rcs, gzip, zoo

Drawing tools - gremlin, xgremlin, xpic, tgif, xfig

Graphing tools - xgraph, xvgr, gnuplot, xmaple

Text formatters - psroff, LaTeX

Previewers: ghostview, xps (PostScript) xtroff (device independent troff) xdvi (dvi files = TeX output)

Postscript utilities: /usr/local/bin/psutil psbook, psselect, pstops, psnup, epsffit

expect(*) - programmed dialogue with interactive programs (e.g. write a script to log on to melvyl's "inspec" database so you don't have to type your logon and password every time). Compilers - see question above

Assemblers - as, gas Debuggers - dbx, gdb, adb Parsing and lexical analysis - bison, yacc, lex, flex

   
 

Setup "procmail" to redirect emails to your home directory.

CSD email services are distributed across several servers and we don't NFS-mount our mail spool. One needs to login an assigned server to read email. Using "procmail" as your mail processing is one. The following steps will help you setup procmail to deliver email to your home direc- tory, so you can read mail on almost any CSD workstations. Copy /usr/local/lib/samples/procmail-forward to your home directory and rename procmail-forward to .forward

Copy /usr/local/lib/samples/procmailrc to your home directory.

Rename procmailrc to .procmailrc and edit it to suite your requirements.

Set the environment variable MAIL=$HOME/Mail/Inbox (default) or to whatever you set .procmailrc's $DEFAULT to in your .login/.profile. This step is needed so the mail readers (elm, mush etc.) can find your mailbox. Procmail is a very useful program, it can be used to create mail servers, sort your incoming mails. There are more sam- ples files in /s/local?/procmail-?.??, you are welcome to look in there and find what you need. NOTE: If your $HOME directory is not NFS-mounted on the target workstation, you will not be able to read mail.