Department Computing Faciltiy FAQ

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?

What is my disk quota?

Where can I find the current quarter's course schedule?

How do I setup personal web pages?

Which printers can I print to?

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

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

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.

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)

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

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

SEASnet CourseWeb

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

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'.

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)

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).

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/

Orion: (UCLA library holdings)

http://catalog.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 everytime). 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 directory, 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 samples 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.