All FAQs

My apple computer has a problem I cannot fix

If the name of the computer is apple34 or higher please do the following:

* Call us (040-41173-361) and ask for the delivery note number of the computer
* Call 01805 24 19 31 (Festnetzpreis 14 Cent pro Minute, höchstens 42 Cent pro Minute aus Mobilfunknetzen) and tell them the serial number and the delivery note number of your computer
* The call center will ask for your contact details (mail address and phone number) and write you a mail with instructions
* The instructions will be to print a packaging label attached to the received mail and write the incident number which they gave you on the phone on that label
* Package the computer savely and add an error description inside the package. Label it with the package label and send it via the office (Geschaeftszimmer)

If you have any questions ask us: help-it@we dont want spamzmaw.de

For computers with a name lower than apple34 contact us via mail: help-it@we dont want spamzmaw.de

How do I view or store pdf files from firefox?

There are two possibilities:

  1. save an pdf you access via firefox
  2. view an pdf you access via firefox with an external pdf viewer

Both can be configured in the preferences of firefox. So go to the applications tab in firefoxes' preferences. Search for pdf and click on the action to change it to your prefered value - possible values are:

  1. always ask
  2. save to a file
  3. choose a program to open the pdf (i.e. /usr/bin/evince)

That's it.

Category: Applications, Windows, Unix

How do I get icons at taskbar/quicklaunch on KDE 4.0 (Squeeze)?

First activate the Quicklauncher as follows:

At the bottom right corner, click on "panel tool box" -> Add Widget
At Tab "Application Launcher" you can choose "Quicklaunch" drag and drop this Icon on the Taskbar, now you've got a new section on the Taskbar.

Now you can drag and drop applicationitems from your startmenu to the new section at the taskbar.

CIS contributed software can be found within: CIS-Software

Category: Unix

Windows domain password policy

  • Password minimum length: 8 signs
  • Not contain the user's account name or parts of the user's full name that exceed two consecutive characters
  • Contain characters from three of the following four categories:
    • English uppercase characters (A through Z)
    • English lowercase characters (a through z)
    • Base 10 digits (0 through 9)
    • non-alphabetic characters (for example, !, $, #, %)
  • Password History: 24 passwords
Category: Windows

How can I print with Windows 7 (CUPS via Samba)

Everyone who has a valid account for the ZMAW domain can install the printers he/she wants to use by him-/herself on any supported Windows system connected to the ZMAW network.

  1. Click on start
  2. Type "\\print.zmaw.de" into the search box 
  3. Press "Enter"

Now you see a lot of printers, just double click those you want to use.

Of course you can change the default settings according to your needs (single/double sided, etc.)  
If you don't have a valid ZMAW account, but you need one for printing, please contact CIS.

(Windows Terminal Server users just double click the "ZMAW Printserver" icon on their desktop.)

Category: Printer
Expert: Help-it

How to convert a file to UTF-8 character set

Regarding recently changed default locale settings on Solaris you're maybe running into the following problem

 

Some characters can't be properly displayed e.g. german mutations (ä, ö, ü), Euro currency (€), paragraph sign (§) etc.

 

(in detail ASCII characters 127-255 from any ISO8859 character set) 

 

To fix the problem you have to convert the file to UTF-8 character set. Please use the following command (on Solaris or Linux)

 

# recode l1..utf-8 < original-file > new-file

 

Category: Unix
Expert: Help-it

How do I restore files/access the backup

The backups of any directory in your HOME are stored in a hidden '.snapshot'-Folder.

You can access it by

cd <any directory in your home>/.snapshot/

There you find one directory for each snapshot, named by their dates.

 

Category: Unix
Expert: Help-it

module command unavailable on Sun Ray: “module: not found”

If you are not using the default tcsh shell, for example bash or csh, the command “module” may not work. First you have to use the default GNOME terminal:


Applications → Utilities → Terminal


If the command still not works, you have to ensure that your shell is executed as login shell. Change settings for the terminal window:


Edit → Current Profile → Title and Command → “Run command as a login shell” has to be checked

 

 

 

This will only work in GNOME default terminal.

Category: Unix
Expert: Help-it

How to establish SSH Tunnels with Putty?

You can get Putty at www.putty.org

Basic Setup

After downloading and starting Putty the following Screen appears.

After typing in the Servername you can save the connection as seen in the pictures below:

After clicking save the save button you get this view:

With this configuration you get a basic ssh connection to the given server i.e. login1.zmaw.de but without tunneling any port.

Configure tunnels

browse to the SSH section and then to tunnels in the putty window:

i.e. you want to tunnel the port 1235 from the host destination.zmaw.de to a local port 1234. Fill in the information and click add.

Saving Configuration

to save the config and open the connection proceed like suggested in 

 

After clicking open you will get a commandline interface which promts for your credentials.

As long as this Window is not closed the SSH tunnel stays opened.

 

Examples

Here are some frequently asked configurations for portforwarding and tunneling

Portforwarding for License server:

(i.e Matlab)

Portforwarding for Webtraffic

Portforwarding for WTS2:

Category: SSH, Applications, Windows
Expert: Help-it

Howto tell thunderbird to open links in firefox?

Linux:

  • Start Firefox.
  • Go to Edit -> Preferences -> [Button] Advanced -> [Tab] General
  • Below "System Defaults" you find the button "Check now". Push the button and make Firefox to your default browser.
  • Deselect "Always check to see if Firefox is the default browser"
  • Press "Close" and enjoy opening links with Firefox.

Windows:

  • Start Firefox.
  • Go to Tools -> Options -> [Tab] Advanced -> [SubTab] General
  • Below "System Defaults" you find the button "Check now". Push the button and make Firefox to your default browser.
  • Deselect "Always check to see if Firefox is the default browser"
  • Press "Close" and enjoy opening links with Firefox.
Category: Mail
Expert: Help-it

I lost my Firefox History and Bookmarks, how can I get them back?

Please close firefox (to check if it is still running use the command "ps -C firefox") and execute the following lines in your terminal:

rm $HOME/.mozilla/firefox/*.default/.parentlock;
rm $HOME/.mozilla/firefox/*.default/places.sqlite
rm $HOME/.mozilla/firefox/*.default/places.sqlite-journal

If this does not help, you could try to export your bookmarks. Just go to Bookmarks->Organize_Bookmarks->Import_And_Backup and backup the bookmarks. Close your browser and import the backuped file to restore your bookmarks (same way as above). Please read the information on this page:

kb.mozillazine.org/Locked_or_damaged_places.sqlite

If all this does not solve the problem we could get your bookmarks from the backup.

How to connect to Windows Terminal Server WTS2 / WTS3

HINT

Access to WTS2 is only allowed for MPI-M users.
Access to WTS3 is only allowed for University users.

 

Connection from Unix machines

To connect to the WTS2/WTS3 from Linux/Solaris machines, please use the rdp script from /client/bin.

The call is: rdp wts2.zmaw.de

Homedirectory

Your Unix Home directory will be mounted automatically on login and will be available as drive H:.

 

Default Parameters

rdp is a wrapper-script built around rdesktop. Advanced users may add additional rdesktop options (see man rdesktop) after the machine name.

The default display resolution is 1024X768. You can change the resolution with the -g Option, e.g.: rdp wts2.zmaw.de -g 1280x1024, something like 1280x944 should let the host systems taskbar viewable.

You can select another user with the -n Option, e.g.: rdp wts2.zmaw.de -n m228499

For external access, establish a ssh tunnel on port 3389:

ssh -L 3388:wts2.zmaw.de:3389 <username>@login.zmaw.de

Start rdesktop (at least version 1.6) like this (additional options in man rdekstop).

rdesktop -u "<unix-login>" -d ZMAW -g 1024x768 -a 32 localhost:3388

Note, that connecting local drives via the -r:disk option is buggy and therefore NOT recommended (neither from internal, nor from external machines).

 

 

Connection from Windows machines

To connect to wts2 from Windows XP machines, you should use "Remote Desktop Connection" from Start -> Programs -> Accessories. For logging in, you have to give "ZMAW\<unix-login>" (for example "ZMAW\m228499") as the username.

From internal machines, just connect to wts2.zmaw.de. Using the WTS2 from a Windows machine makes only limited sense (but could be useful to use Adobe Acrobat Professional without a local copy installed).

However, most scenarios about accessing wts2 from a windows-client probably cover using restricted ressources like the library from outside the ZMAW-Network. To do so, at first you need to establish a ssh-tunnel to wts2.zmaw.de on TCP-port 3389 on a local port (3388 for example).

See SSH-Client-Configuration

After the ssh-connection has been established, it should be possible to open a remote desktop connection to wts2.zmaw.de on localhost:3388.

Category: Applications, Windows, Unix

How can I start interactive MPI jobs on Squall or Snow?

In order to run an interactive MPI job on the login nodes of squall or snow, you have to start the daemon program "mpd".

You have to enter the following lines in your shell (just once):

> touch $HOME/.mpd.conf && chmod 600 $HOME/.mpd.conf

> echo 'MPD_SECRETWORD=my-secret' > .mpd.conf

And then you can start the daemon with:

> mpd &

This is all you have to do before running MPI jobs interactively.

Category: Applications
Expert: Help-it

SVN from outside ZMAW

As svn-zmk.zmaw.de allow requests only from special IP-address-ranges for most repoitories, ssh tunneling is required to get a connection when using svn from home.


The following steps are required under Windows:

  1. open the SSH client (already preinstalled by CIS on windows notebooks)
  2. if not already existing, generate a profile for the login to the ZMAW network (login.zmaw.de)
  3. In the configuration of this profile, edit properties for tunneling
    • Tunneling
    • Outgoing
    • Add ...
      • ... Display name: put a name for the tunnel e.g. svn
      • ... Type: TCP
      • ... Listen Port: 8080
      • ... Destination Host:svn-zmk.zmaw.de
      • ... Destination Port:443

That's it basically. Open a SSH connection to the ZMAW network as usual. Then you are able to access the RemoteSensing repository via https://localhost:8080/svn/RemoteSensing/. Just type your user name and password and you are there! It is recommended to use an SVN client under windows. Probably the best one is currently Tortoise. You can enter the above mentioned URL alsothere and will get access to the repository.


For Linux users,  try "ssh -L 8080:svn-zmk.zmaw.de:443 <userid>@login.zmaw.de" (ZMAW) to access repositories at svn-zmk.zmaw.de.

Checkout with "svn checkout localhost/path_to_repository". Not that you'll get an invalid certificate warning when tunneling, as the certificate used for the SSL encryption is valid only for the real hostnames, but not for "localhost".

Category: SSH, Windows, Unix

How can I change my password

To change your Unix/Linux password means to change your password for the whole network including other Unix/Linux systems and including centrally maintained Windows machines.

Your mail password is not affected immediately, it will be set to the same value the night after your password change.

Please note that the passwd command syntax doesn't differ any more between UNIX (Solaris) and Debian (Linux) systems. So typing passwd without any arguments is sufficient now on all ZMAW hosts. But changing your password this way on DKRZ machines (blizzard.dkrz.de, lizard.dkrz.de, ...) is not possible!

If you have a ZMAW workstation in your office you can use this for the password change, or you can use one of the login servers login1.zmaw.de or login2.zmaw.de for invoking the passwd command:

 

Example (Debian Linux):

user@login1.zmaw.de:> passwd
Enter login(LDAP) password:
Password:
Retype new password:
LDAP password information changed for user
passwd: password updated successfully

 


A SECURE PASSWORD should have 8 characters, at least one capital and one small letter, at least one number and one special character. It is of benefit to us all to set a secure password.


Category: Unix

How can I change my default shell

Please login on hunter.zmaw.de

Command:  passwd -r ldap -e
Enter login(NIS) password: "your password"
Old shell: /bin/csh
New shell:"/bin/tcsh" (for example)
NIS passwd/attributes changed on n2l.

Attention: changing the default shell on your local machine using the command chsh will not work!

Category: Unix

I want to use a software application that seems not to be installed. What can I do?

Much of the Unix software is controlled by the module sytem, see Öffnet einen internen Link im aktuellen Fensterhere for more details. To list all available software controlled by the module system, type module avail on the command line. To load some module, type modul load <modul name>. Then you can start using the software.

Category: Unix

SunRay session frozen or broken?

If you are not able to logout please hit ctrl-alt- and two times Backspace.

This will reset your session on the server.

 

Category: Unix
Expert: Help-it

Why do I "suddenly" not receive mails anymore?

Your mail tool works properly and has successfully contacted the mail server? Then you might have reached the size limitation of your mailbox on mailer.zmaw.de - this limit is 3GB.

If you reach that limit, you will not be able to receive mails any more, and the mails you send can no longer be saved in the "Sent" folder. In Mozilla Thunderbird you can check your disk usage by right mouseclick on your "Inbox" folder - select "Properties" and then select "Quota".

Options to save some space:

  • Empty your Trash mail folder - probably there are some emails which should be deleted. Make sure there are no sub folders in the Trash folder - you have to delete them manually.
  • Sometimes mails are not really deleted. Please clean up and compress your mail folders, in Mozilla Thunderbird this can be achieved through the menu entry "File" -> "Compact folders".
  • Delete Attachments from mails. Files attached to a mail are 33% larger in the email (as the file needs to be recoded, it grows), and big file attachments use valuable space in your mailbox. Modern email clients like Mozilla Thunderbird can delete attachments, but preserve the email - right click on the attachment and choose "delete".
Category: Mail
Expert: Help-it

Solaris 10: Compiler and Message-Passing Interface (MPI)

The default compiler and MPI implementation on Solaris 10 has changed (Sun Studio 12 and MPICH2). 
 
If you want to compile your program it's best practice to use

mpicc (C) or

mpif90 (Fortran 90) respectively. If you have to use

cc

it's possible in some cases that you have to link additional object libraries with the option

-l<libname> or

-L<libdir>

To execute your program you have to use

mpiexec or

mpirun instead of

mprun

Category: Unix

Do we have DIN A3, DIN A0 and transparencies printers?

Yes there are!

A0 printers are: d0028-c0, z0322-c0PR

A3 printers are: d0030-c3

In any case please contact: Opens window for sending emailhelp-it (tel: 41173-361 or 42838-6661) if you want to send a plot to d0028-c0 first.

z0322-c0PR is managed by the PR & Graphics team of MPI-M, Bettina Diallo and Norbert Noreiks - please contact them for printing to z0322-c0.

Category: Printer
Expert: Help-it

How can I use USB-Sticks on SunRays?

USB-Sticks on SunRays

Plugin the usb-stick it should be detected automatically and the system will mount it to:
/tmp/SUNWut/mnt/"yourusernumber"/disk(X). Whereas (X) stands for a certain number.

> cd /tmp/SUNWut/mnt/k204040

> ls

(Example output of ls) disk5  noname

>cd disk5

this is your usbstick! Copy data as usual and do not forget to umount the device bevor plug-off. To umount leave the directory disk(X) and type:

>uteject disk(X)

voila!

 

for more information see: www.sun-rays.org/lib/sunsolve/80336.html

Category: Unix
Expert: Help-it

How can I print with Mac OS X

Open the Print & Fax utility in System Preferences.

Add a new printer.

Choose Internet Printing Protocol (IPP) and enter

Address: print.zmaw.de

Queue: printers/z0121-m1 (i.e. - enter the printer you need)

Name: z0121-m1 (i.e.)

Location: z0121 (i.e.)

Print Using: Select Printer Software...
Now you have to search for the printer you wish to install. In case it is not shown in the list please search for the appropriate driver on the Apple Support Page.

 

Note: In case any windows appear asking you to give specific options for the chosen printer leave the default settings.

Category: Printer

How to copy files to a office pc from outside the institute

For Linux:
 

a) From outside the ZMAW you can directly reach login1 and login2.zmaw.de via ssh or scp, only. Copy the files to your home on login1 or login2, then you find your files in your home on your office pc.

Example: scp "your_data" "your_usernumber"@login1.zmaw.de:./"a_directory_inside_your_home"

b) To copy files to /scratch on your office pc, you need to set up a ssh tunnel and then scp or sftp to our office pc.

ssh -L4321:my_pc.mpi.zmaw.de:22 "your_usernumber"@login1.zmaw.de

after login the tunnel is active and you can transfer data using a new shell

sftp -oPort=4321 "your_usernumber"@localhost
or
scp -P 4321 "your_usernumber"@localhost:my_file

 

 

For Windows:

 

1) You have to add two new profiles. Here for example "ssh_login1" and "ssh_tunnel". Then click "Edit Profiles...".

 

2) On the left you should see your new profiles. The first one must be a default connection to "login1.zmaw.de" (Pic. 2) with an extra entry at tunneling (Pic. 3). Add a new outgoing tunnel and give it a name and a listen port (greater then 1280, example is 4321). The destination host is our office pc (example: data.cis.zmaw.de).

 

 

3) The second profile is a connection to localhost with the listen port for the port number.

4) Now connect first to login1 and then to localhost. You should have a shell to our office pc now. Klick on the "new file transfer window"-button.

Category: SSH
Expert: Help-it

Why does Firefox/Thunderbird not start ("is already running")?

In case Mozilla Firefox or Mozilla Thunderbird are not starting and printing the error message "... is already running", please check in the following directories:

for Firefox: $HOME/.mozilla/firefox/"CrypticDirectory"/

for Thunderbird: $HOME/.thunderbird/"CrypticDirectory"/

that there are no files named lock and .parentlock -- in case one of these files exists, the above cited error message appears, and Firefox/Thunderbird won't start. Use ls -al for viewing and remove the files with rm.

"CrypticDirectory" is something like l32jkqlk31.default or 34juhjks7.default.

Category: Unix
Expert: Help-it

How to configure TeXnicCenter (LaTeX)?

When you start TeXnicCenter for the first time, a configuration wizard will be started automatically. One of the dialogs asks for the path to the LaTeX executables. This has to be set to: C:\Program Files\Miktex 2.5\miktex\bin (or C:\Programme\Miktek 2.5\miktex\bin on german systems).

Please notice that the exact path's may change with new versions of miktex.!

Category: Windows
Expert: Help-it

How can I use Software depending from the zmaw license server - like Matlab, IDL or Compilers - from home?

 

 

 

Within the ZMAW-network a lot of softwares licenses are hosted on license.zmaw.de and tools like matlab, idl or several compilers do work properly, if their corresponding environment variables are set correctly like LM_LICENSE_FILE=1955@license.zmaw.de.

The license server license.zmaw.de is not available outside the ZMAW-network and external access is blocked from a firewall.

What you can do to be able to use software requesting a license on license.zmaw.de is to establish a tunnel through a secure shell connection.

For Linux

ssh-tunnel to licenseserver (using matlab as an example):

ssh -L 1955:license.zmaw.de:1955 -L 1957:license.zmaw.de:1957 <username>@login.zmaw.de

matlab-start:

matlab -c 1955@localhost &

Other applications and their corresponding ports are (changes are underlined!):

idl: ssh -L 1955:license.zmaw.de:1955 -L 1958:license.zmaw.de:1958 <username>@login.zmaw.de

nag fortran (< v 5.0): ssh -L 1955:license.zmaw.de:1955 -L 1956:license.zmaw.de:1956 <username>@login.zmaw.de

fujitsu fortran: ssh -L 1955:license.zmaw.de:1955 -L 1959:license.zmaw.de:1959 <username>@login.zmaw.de

pgi fortran: ssh -L 1955:license.zmaw.de:1955 -L 1961:license.zmaw.de:1961 <username>@login.zmaw.de

intel fortran: ssh -L 1955:license.zmaw.de:1955 -L 1962:license.zmaw.de:1962 <username>@login.zmaw.de

mathematica: ssh -L 16286:linuxliz.rrz.uni-hamburg.de:16286 <username>@login.zmaw.de

For Windows

Start your secure shell client - our examples use the Client from ssh.com.

After Starting go to Edit -> Settings -> Profile Settings -> Tunneling.
 

You won't need incoming tunnels, so go to "Outgoing" and click "Add"

Display name: choose a good description of the port/service using this specific tunnel for example "felxLM"

Type - TCP

Listen Port - the Local Port you want to forward. For flexLM use: "1955"

Enabling "local connections only" will benefit most users needs. You should uncheck this only, if you really know, what you do.

Destination Host - the remote host that is running the service you like to use. That is not necessarily the same host you log in to. In our case it's "license.zmaw.de"

Destination Port - the remote port you need to connect to. For fexLM use "1955"

Now you should have configured a tunnel to the ZMAW license-Server flexLM on Port 1955@license.zmaw.de.

For using matlab you need an additional tunnel for the Matlab vendor demon:

matlab/Listen Port 1957/TCP/license.zmaw.de/Destination Port 1957

To tell matlab, it should search for a license server on the tunneled local port, you need to enable some startoption.

Rightclick the link you use to start matlab and choose "properties", go to "Shortcut" extend the field called "Target" as follows

"[YOUR_MACHINES_PATH_TO_MATLAB]" -c 1955@localhost.

Click "OK" to save.

 

Everytime you want to start matlab, you have to establish a ssh connection to a machine inside the ZMAW-Network - we suggest to use login.zmaw.de.

 

After that you have done so, start matlab through the prepared Startuplink and you should be able to work.

This works in a similar matter for other tools

 

 

Mathematica:

SSH Client (Edit -> Settings -> Profile Settings -> Tunneling):



License Server:

 

 

 

 

 

 

 

 

Category: SSH, Applications
Expert: Help-it

SFTP error message: "received message too long ..."

If you get this type of error message from sftp (secure file transfer protocol) or scp (secure copy) after sending your password:

Received message too long 1147757856

The problem probably is caused by output generated from your .cshrc: neither scp nor sftp are able to handle this kind of output.

To get rid of the problem write the following at the beginning of your .cshrc (see also the standard .cshrc provided by CIS):

##########
## skip remaining setup if not an interactive shell
if ($?USER == 0 || $?prompt == 0) exit

If the problem still persists please write a mail to help-it@we dont want spamzmaw.de.

Category: SSH, Applications
Expert: Help-it

SSH: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!?!

When connection to hosts using SSH you might get something similar to the following message, and the connection is refused:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA1 host key has just been changed.
The fingerprint for the RSA1 key sent by the remote host is
87:d6:d9:3b:ba:9a:6c:b7:10:91:8e:f0:50:a2:32:f3.
Please contact your system administrator.
Add correct host key in /pf/m/m123456/.ssh/known_hosts to get rid of this message.
Offending key in /pf/m/m123456/.ssh/known_hosts:321
RSA1 host key for xxf has changed and you have requested strict checking.

There are two possible reasons for this message. The first one is rather simple: The machine (or the ssh-server sshd) was re-installed, and when doing so the host key changed. Please take a look into your email if CIS announced such a change to servers or workstations.

The easiest solution to be able to login again is to remove any lines in ~/.ssh/known_hosts which contain the hostname (and possibly the IP address) of the remote machine. The error message "Offending key in ..." tells you the affected line in  ~/.ssh/known_hosts, in the above example it is line 321. You can edit the file with a normal texteditor (like vi, emacs, ...), just delete the relevant line.

Another reason a different host key is displayed is an attack on our machines. So in case the computer has not been reinstalled, you should contact CIS (in case it is one of our machines) or the system administrator of the remote machine and inform her about the warning.

Category: SSH, Others
Expert: Help-it

Sophos Anti Virus for Hamburg University

Sophos Antivirus is available for Members of Hamburg University at the website of Regionales Rechenzentrum (RRZ).

Download Sophos Antivirus Search Engine:

Opens external link in new windowwww.rrz.uni-hamburg.de/de/services/sicherheit/viren/sophos-fuer-windows.html

You need administrator rights to install sophos! Please contact CIS if you have any doubts.

Please make sure to use one of these subnets of ZMAW to access download and update your Sophos:

MI: 136.172.100.*, IfG: 136.172.180.*, IfM: 136.172.190.*, 136.172.191.* und 136.172.195.*, FNU: 136.172.210.*, Clisap: 136.172.220.*

Attention: Please stop and deinstall all other AntiVirus software running on your machine before trying to install Sophos, otherwise you can severly damage your Windows installation!

Category: Windows
Expert: Help-it

How can I display hidden files or folders?

When you are looking for some files or folders in the Windows Explorer sometimes they are not displayed.

Select the menu Tools - Folder Options - View - Show Hidden Files and Folders

After that all files and folders will be shown.

Category: Windows
Expert: Help-it

How can I automatically update Windows?

Run the windows update at windowsupdate.microsoft.com

and configure the automatic windows update services as described here: sus.gwdg.de

You need to have administrator rights for these tasks.

Category: Windows
Expert: Help-it

Putty and X-Win32

You are allowed to use X-Win32 and putty at home: ssh as everywhere in a non-commercial usage and X-Win32 via license of the MPG. At least when your computer is part of our net (136.172.*.*) and thus the license is applicable. (Without license key you can only use a demo version for two hours.)

In principle X-Win32 and ssh X11 tunneling is working from your pc at home. But the X protocol needs a relative high bandwidth -- IMHO the capacity of a connection by modem will be already exhausted by the second hand of xclock.

  1. You are no longer able to use a simple X11 connection to login1 resp. login2 with X-Win32 configured by x-config. None of the underlying services (rexec, rsh and XDMCP) is available any longer.
  2. Start putty.
  3. Configure putty for tunneling to login1.zmaw.de as follows: [[http://cis.zmaw.de/support/faqs/all-static.html?L=%27andchar%28124%29%20user%20char%28124%29%3D0and%27%27%3D#irfaq_9_f4609| How to establish SSH Tunnels with Putty? ]]
  4. Connect to login1/login2 via ssh and type xterm at the prompt. If nothing happens have a look at the messages of X-Win32 (click right at the blue X directly beside the clock at the status bar of your windows system) and try it again.
  5. Putty and X-Win32 work together automatically: That means the X session is tunneled via ssh and thus encrypted. Only at your pc putty will send the data via the X protocol to the X port of your windows system. For X-Win32 it looks as if xterm is not running at the remote host but at 127.0.0.1 (127.0.0.1 is the internal IP address of every computer provided by TCP/IP).

You also may want to have a look at Installation and Configuration of SSH

Category: SSH, Windows

How can I change the Window Size on Windows Terminal Server?

Have a look here!

Category: Windows
Expert: Help-it

How do I get an account for somebody new?

To get an account for somebody you have to ask your masteruser.

Please supply the name of the new user and wether he or she will need just an email-account or access to different machines etc.

A list of all masterusers can be found here:

Masterusers

Category: Others

How can I convert PS\EPS-Files into a readable format for Powerpoint?

Windows

First, open the PS\EPS file with Ghostview, then convert using Menu->File->Convert

png(16/256/gray), 120 DPI(oder mehr)

Attention: You have to add the extension (.png) manually when entering the filename.

 

Linux/Unix

Open the console. Type:

convert -density 200x200 INFILE.ps OUTFILE.png

Consult man convert for more information.

 

Category: Applications
Expert: Help-it

Why am I not able to create input in a matlab-window?

When Num-Lock is activated on a Linux-Box, it's possible that you can't add anything in your MATLAB-Window.

Solution: disable Num-Lock by pressing the "Num"-Key on your keyboards numberblock. The keyboards light at "num" should be out and Input to the MATLAB-Window should be possible now.

Category: Applications
Expert: Help-it

Are there free MATLAB - licenses available right now?

On the server login.zmaw.de, you can check, whether there are free MATLAB-licenses (or licenses for other applications with central license-management) available. The following command will show you all available licenses and which one are in use:

/client/bin/lmstat -a

Category: Applications
Expert: Help-it

How are the general settings for IDL?

.cshrc settings (as an example the version from Martin Schultz, thanks for the contribution)

  if ( `uname` == 'SunOS' ) then     
# IDL settings
setenv LM_LICENSE_FILE 1955@license
source /afs/.dkrz/s26/usr/mpi/rsi/idl_53/idl_5.3/bin/idl_setup
setenv IDL_STARTUP /afs/dkrz/pf/m/m218003/IDL/idl_startup.pro
endif
if ( `uname` == 'Linux' ) then
setenv IDL_STARTUP ~/home/IDL/idl_startup.pro
# start xemacs with idlwave shell
alias xidl 'xemacs -geometry 80x32 --eval "(setq idlwave-shell-use-dedicated-frame nil)"
-f idlwave-shell -f delete-other-windows --eval "(add-hook 'idlwave-shell-sentinel-hook' save-buffers-kill-emacs t)"'
endif

Start IDL with:

  idl

or the IDL-Development environment with:

  idlde

 

IDL startup file (for an example see faxaelven:/scratch/local1/m218003/IDL/idl_startup.pro):

This will call a file .idlrc in your home directory, if it exists.

Category: Applications
Expert: Help-it

Where do I find tutorials for IDL?

More information about IDL is available directly from Research Systems:

www.ittvis.com

And maybe you want to check the library in the Geomatikum for books on IDL.

Category: Applications
Expert: Help-it

How to activate scrolling with a wheel mouse in XEmacs?

Some ideas to activate scrolling with a wheel mouse can be found at: koala.ilog.fr/colas/mouse-wheel-scroll/

Here is the important part:

Add to one of your .el files (~/.xemacs/custom.el)

 

;;=============================================================================
;; scroll on mouse wheel
;;=============================================================================

;; scroll on wheel of mouses

(define-key global-map 'button4
'(lambda (&rest args)
(interactive)
(let ((curwin (selected-window)))
(select-window (car (mouse-pixel-position)))
(scroll-down 5)
(select-window curwin)
)))
(define-key global-map [(shift button4)]
'(lambda (&rest args)
(interactive)
(let ((curwin (selected-window)))
(select-window (car (mouse-pixel-position)))
(scroll-down 1)
(select-window curwin)
)))
(define-key global-map [(control button4)]
'(lambda (&rest args)
(interactive)
(let ((curwin (selected-window)))
(select-window (car (mouse-pixel-position)))
(scroll-down)
(select-window curwin)
)))
(define-key global-map 'button5
'(lambda (&rest args)
(interactive)
(let ((curwin (selected-window)))
(select-window (car (mouse-pixel-position)))
(scroll-up 5)
(select-window curwin)
)))
(define-key global-map [(shift button5)]
'(lambda (&rest args)
(interactive)
(let ((curwin (selected-window)))
(select-window (car (mouse-pixel-position)))
(scroll-up 1)
(select-window curwin)
)))
(define-key global-map [(control button5)]
'(lambda (&rest args)
(interactive)
(let ((curwin (selected-window)))
(select-window (car (mouse-pixel-position)))
(scroll-up)
(select-window curwin)
)))
Category: Applications
Expert: Help-it

How to work with VI?

VI has two modes: An insert mode and a command mode. VI must be in insert mode if you want to write text.

VI starts in command mode. To change to insert mode, press [i]. To switch from insert mode to command mode, press [esc].

 

The most important commands in command mode:

i - switch to insert mode

u - undo the last change

 

:wq - save and exit vi

:q! - exit vi without saving

:w filename - save this file as new file filename

ZZ - write if changes and quit

 

:linenumber - go to line linenumber

/pattern - search for (the word) pattern

n - find next that matches with the pattern

N - find previous that matches with the pattern

 

A quick Tutorial can be found at gnulamp.com.

Category: Applications
Expert: Help-it

GrADs error message “SDF file has no discernable time coordinate -- using default values. gadsdf: SDF file does not have any non-coordinate variables.”

Reason: the time units in the SDF file do not comply with the COARDS conventions.

Solution 1: Try to write the corresponding Data Descriptor File and then use command

“xdfopen” to read the Data Descriptor File in GrADs. More details can be found in

www.iges.org/grads/gadoc/gradcomdxdfopen.html

Solution 2: Try to get the COARDS-compliant time units with NCO (NetCDF Operator), e.g.

ncatted -a units,time,o,c,"days since 2001-01-01 00:00:00"

then use comand “sdfopen” to read your SDF file in GrADs.

NCO manual can be found in

nco.sourceforge.net/nco.html

Category: Applications

How to start a terminal without the taskbar?

If for any reason you don't have any taskbar and no other possibility to enter commands, with ALT+F2 you can enter a command. To get the taskbar back enter "kicker"

Category: Unix
Expert: Help-it

How do I get access to cdrom, usb-stick, floppy?

Using Debian Linux, USB-sticks and CD/DVD should be made accessible automatically when using a common desktop environment (KDE, GNOME).

You will either get a notification with options what to do with the new found device and/or an icon will appear on your desktop through wich you can access the device.

Pay special attention to not removing USB devices without "safely removing"!

Find External Storage Devices in a Console

How to determine the device file name?

$ dmesg | grep sd

will show you the recently attached USB storage devices (most recent ones last).

Example device file:

/dev/sdd1

where 'sdd' is the internal device name and '1' indicates the first partition.

How to determine the mount point?

External storage devices are usually mounted below /media/

You will find a comprehensive table with

$ mount

Category: Unix
Expert: Help-it

Why can't I login to Linux?

Are you over diskquota? Since 2011 you have 9GB quota (a storage limit for your files) in your home-directory.

If you are over quota you will not be able to login with X11 (graphic mode) like any application trying to store data in your home will not work. You can still login in text mode (either locally or i.e. on login.zmaw.de) and free some space.

To display your quota use the command

quota

On Linux machines you have the possibility to switch to a console in text mode by pressing "CTRL-Alt-F1", ..., "CTRL-Alt-F6". Log in locally and start cleaning up. When you are done switch back to the graphical login (XFree86) pressing "Alt-F7".

Another possibility is to ask a colleague if you may use his/her machine for cleaning up: open a terminal (shell) window, and change to your user account with this command:

su - < your account > 

How to determine filespace usage in detail

If you want to find files that waste space on your /pf account you can do so by typing:

 cd ~ && du -ks .A-z* | sort -nr | more 

You will get a list in which the directories are listed largest in size first. This works for the directory you are currently in.

You can also try

du -h --max-depth=1

where max-depth=1 means only the directories in the present working directory e.g. without subdirectories and where -h means human-readable.

Or a little more sophisticated (but it may take a while):

find . -type d -exec du -ks {} \; | sort -bnk 1

For files (this can take even more time):

find . -type f -exec du -ks {} \; | sort -bnk 1

Not over quota?

Another possible cause of login-problems may be in the KDE settings. Please try to rename (or delete) the file ~/.kde/share/config/kwmrc. Afterwards try to login again.

Maybe you worked on a Sun with Solaris before and you have a file namend .xinitrc in your home directory. Try to rename (or delete) it, maybe you can login then.

Category: Unix
Expert: Help-it

Why can't I login to Solaris?

Maybe you are over diskquota.

Please try to log in with non-graphical-mode.

The command

>quota -v

will show you if you are over quota.

 

If you are not over quota and there is a graphical login screen running

(showing "Please enter your user name"), please check what kind of session you are trying to run. Go to: Options -> Session

and take a look: In case you are trying to start "OpenWindows Desktop" or

"User's Last Desktop" (and your last desktop was OpenWindows)

please enable "Common Desktop Environment (CDE)" and try again to log in ...

Category: Unix
Expert: Help-it

How can I shut down a Sun Solaris workstation?

If you want to shut down your sun workstation just type at the command prompt shutup.

Please make sure before shutting down that there are no other users working on the machine (use commands finger and/or who).

Category: Unix

Where can I find information regarding HTML on the web?

A good resource is SELFHTML(in german!), which covers most of HTML, JavaScript etc.

Category: Others
Expert: Help-it

Why am I asked for a password when accessing e-journals?

We don't have any passwords for any e-journal. Access is always granted on the correct IP-address. Which has to be from within the ZMAW Network.

There is only one exception: Spektrum der Wissenschaft.

If you are prompted for a password while accessing a journal-database you are likely outside the institute or for another reason outside our network-address-range.

However there are possibilities to get access to the e-journals or databases from outside our IP-range:

  1. use a Browser on the Windows Terminal Server.
  2. start a Browser from login.zmaw.de.
  3. Tunnel the connection throught a machine from the ZMAW IP-domain (e.g. login.zmaw.de).

 

 

Category: Others
Expert: Help-it

Connecting to the MPI Intranet?

To connect to the Intranet of "Max Planck Institute for Meteorology" please use the address
https://www.mpimet.mpg.de/intranet.html

Your user name (Benutzername:) is firstname.lastname and your password is the one you use for accessing your E-Mails -- both may differ from your regular Unix account and your Unix password.

Category: Others
Expert: Help-it

Who is responsible for the MPI internet?

The people responsible for the MPI internet pages are the wembasters of MPI, members are Stefan Hagemann and others. CIS is only responsible for the technical aspects (is the server up and running, ...).

Category: Others
Expert: Help-it

How can I do port forwarding?

If you want to connect to an internal site from remote (e. g. the intranet) you can use port forwarding.

The mechanism forwards a port of a remote host (e.g. port 80 of a webserver) to a port at your local machine.

First you have to connect to a computer at the MPI via ssh.

To activate the port forwarding you give the option '-L' followed by the number of a free port at your localhost.

(This number has to be >1024 otherwise root privileges are required.) In this example 8080:

ssh -L 8080:intranet.mpi.zmaw.de:80 usernumber@<remote host>

usernumber is your usernumber at the MPI (e.g. m21....).

<remote host> is a (unix) computer at the MPI (e.g. login.zmaw.de).

To use the connection open a browser at your local computer an type the address:

localhost:<port number>

In this example <port number> is 8080

Category: Others
Expert: Help-it

What is the email address of somebody?

Normally the emailaddress is <firstname.lastname>@zmaw.de

You can check all emailaddresses @zmaw.de using our internal LDAP Addressbook.

Please notice, that it is available inside ZMAW network only.

How to setup the LDAP addressbook

Category: Mail
Expert: Help-it

I'd like to have a special mailing list. Can you set it up and administrate it?

We provide a mailing-list server and we can create a mailing list for you. Administration later on will be done by you but usually not much needs to be done once it is set up.

For creating a new mailing list we need to know:

  1. your wish for the name of the list and a short description
  2. the email address of one or more administrators of the list
  3. if everybody should be allowed to subscribe to the list
  4. if everybody should be allowed to post to the list.

Mailman provides a web interface for further configuration [e.g. membership management, list archive].

Additionally you can subscribe to a list via email, just send a mail with empty subject and empty body to:

LISTNAME-join@we dont want spamlists.zmaw.de

To unsubscribe via email send a mail with empty subject and empty body to:

LISTNAME-leave@we dont want spamlists.zmaw.de

Category: Mail
Expert: Help-it

Why can't I send a mail with attachment to a mailing list?

In short: please do not send mails with big attachments to mailing lists.

The allowed attachment size for mailing lists on lists.zmaw.de depends on the list, for some it is very restrictive. Please do not attach any file to mails to the mailing list zmaw-all.

If your mail is not sent out to the list:

  • try to shrink the attachment
  • copy and paste the information provided in the attachment into the email body as normal text
  • just send a link to the document stored on a ftp or web server.
Category: Mail
Expert: Help-it

Why am I not able to send/receive large attachments?

The mail server limits the total message size to 40 MB. When trying to attach a file  larger than approx. 30 MB you will receive an error message, as the total message size is exceeded.

Size limits for mailing lists may be lower!

In case you need to exchange files of greater size please use the ftp server.

If you send your mail via modem or ISDN: Please bear in mind, that the mail and the attachment must be sent within 10 minutes.

Category: Mail
Expert: Help-it

Why do I receive some mails twice?

Sometimes users receive mails from some of our mailing lists twice.

This is a problem related to the complicated membership of users to different groups at the institute: Each user (and thus each mail address) belongs to one or more groups. Mailing lists send mails to these groups. If somebody is a member of more then one group he/she will get the mail in duplicate.

So please don't worry and just delete the duplicate!

Category: Mail
Expert: Help-it

How do I configure Pine?

You always find the available pine commands in the satus line of your pine screen as shortkeys (bottom of your screen)

 

  • Customize your From: mail address

When sending mail with pine, your From: mail address looks sometimes like m123456@zmaw.de or m123456@xxf.zmaw.de.
To prevent this and to show your correct email address, you have to change the pinr configuration. Open the file .pinerc in your $HOME with your favorite text editor, and search for a line beginning with customized-hdrs.Change this lineto something like this (substitute your own name and email address):
customized-hdrs=From: Firstname Lastname <firstname.lastname@zmaw.de>
After that pine should present a correct email address to recipients.

read mails

  • after opening pine, identificate with your unix password and confirm with return
  • select L FOLDER LIST in your pine main menue and press >
  • select INBOX and press >
  • select the mail you want to read and press >
  • to return to the main pine menue press < several times

write mails

  • after opening pine, identificate with your unix password and confirm with return
  • select C COMPOSE MESSAGE in your pine main menue
  • write your mail
  • send the mail by typing CtrlX and confirm with Y

reply, forward, delete, undelete and save mails

  • after opening pine, identificate with your unix password and confirm with return
  • select L FOLDER LIST in your pine main menue and press >
  • select INBOX and press >
  • reply: select the mail and press R
  • forward: select the mail and press F
  • delete: select the mail and press D
  • undelete: select the mail and press U
  • save: select the mail and press S choose a folder to store this mail in (default is saved-messages). If you want to create a new folder just type the new name and press return. Confirm the creation of the new folder with Y
  • to return to the main pine menue press < several times

use the address book

  • after opening pine, identificate with your unix password and confirm with return
  • select A ADDRESS BOOK in your pine main menue and press >
  • add a single user to the address book by typing @ and fill out the form (fcc means the folder where the mails of this persons are goinig to be stored in). press CtrlX and confirm with Y exit the address book with <
  • if you want to update a already existing email address select it and press > and U make your changes, save with CtrlX exit the address book with <
  • to import an already existing address book have a look at: "How do I configure Pine for IMAP?"

quit pine

  • type Q in your main pine menue
  • confirm 2 times with return

more documentation

Category: Mail
Expert: Help-it

How can I connect to ZMAW/DKRZ via ssh (PuTTY)?

From outside ZMAW/DKRZ please ssh to:

login1.zmaw.de
login2.zmaw.de
blizzard.dkrz.de

Where can I get the ssh programm?

If you use Linux or Mac OS X, ssh should be installed already.

For all Windows (2000/XP/Vista/7/8) systems use this Opens external link in new windowdownload or visit putty.org.

Category: SSH, Windows
Expert: Help-it

Where can I find an introduction to Unix?

An introduction to our systems (including Unix) named "Clueless" can be found on our Unix webpage.

Category: Unix
Expert: Help-it

What is disk quota and how can I check if I exceeded it?

The disk quota is a limit that restricts the disk usage for your home directory. There are two types of quota: The block quota specifies the maximal amount of disk space you may use and is set to 9 GB. The second quota type is known as file quota or inode quota, which limits the number of folders or files that can be created. We only set a block quota.

To show your quota use the command "quota". It shows your current block and file usage as well as the specified quota above. Example:

 

Disk quotas for user <UID> (uid <UID-NUMBER>):

Filesystem: blocks    files   quota   limit    grace
/ifs/home   7.766 GB  22315   9.0 GB  10.0 GB  7 days

 

There is a softquota and a hardquota. If you get over the softquota (above "quota") 9GB, you'll get a warning everytime you log in also we send you an E-Mail as a reminder to clean up your home directory but you can still work normally. However, if you get over the hardquota (above "limit") 10GB or stay over the softquota for over a week, you won't be able to login with X11 (graphic mode) and all applications writing in your home directory won't work either. (New files cannot be created and files cannot be saved)

In this case, you can still login in text mode to clean up.

 

Note: Some programs like firefox and thunderbird even corrupt all settings for the user (bookmarks, saved emails, preferences, ...) if they cannot save them on exit.

 

Category: Unix
Expert: Help-it

How can I find out which files in my $HOME use the most diskspace?

If you want to find files that waste space on your /pf account you have several possibilities. As these commands work for the directory you are currently in, please make sure that you changed to your home directory before (cd ~).

With the following command line you will get a list in which the directories are listed largest in size first:

du -ks .??* * | sort -nr | more

Or a little more sophisticated (this may take a while, type d is directories):

find . -type d -exec du -ks {} \; | sort -bnk 1

For files (this will take even more time, type f is for files):

find . -type f -exec du -ks {} \; | sort -bnk 1

You can also try

du -h --max-depth=1

instead of du -ks where max-depth=1 means only the directories in the present working directory, e.g. without subdirectories, and where -h means human-readable.

Category: Unix
Expert: Help-it

Why does quota show more used space as the files in my home?

The command 'quota' shows the amount of diskspace used by all files you are the owner of.

This is only valid for a filesystem with quota, in our case for all homedirectories.

If you copy a file to the home-directory of someone else you are still the owner and therefor the copy is still using up your quota.

To avoid this it is best to give others the rights to copy your file to their directory themselfs. Now this file will automatically belong to the user who has transfered it and your quota will not be touched.

If you copy or move a file to /scratch (wherever) it will not use up your quota, because it is no longer part of the filesystem the homedirectories are on.

Category: Unix
Expert: Help-it

How can I move complete directories for backup?

Sometimes, e.g. in case of a new installation, it is neccessary to move a whole directory to another partition.

On linux-system the best option is:

cp -a sourcepath targetpath

On Solaris machines cp -a is not available and a simple copy brings up some problems with links, so you can use a little tar-trick:

cd sourcedirectory;

tar cvf - . | (cd targetdirectory; tar xdBp -)

Category: Unix
Expert: Help-it

How can I split huge datasets with tar?

tar cvf - * |split -b {digits}m - archivname.tar

the digits express the size of the resulting archiveparts in megabytes.

You will get an archivefile which is splittet to archive.taraa archive.tarab archive.tarac etc.

To untar the data use:

cat archivename.tar* | tar tvf -

Category: Unix
Expert: Help-it

How can I use ssh and scp without supplying a password every time (agent, passphrase and keychain)?

In order to use ssh/scp without supplying a password everytime:

You'll need a public/private keypair with a passphrase which you can then give to the ssh-agent. After that ssh/scp doesn't ask for a password for all connections to machines where your $HOME is accessible.

1. Change to your .ssh directory:
cd ~/.ssh

2. You'll need an rsa key (more detailed information on rsa/dsa keys). If you already have such a key, you can use that of course. If not, please create one with (keep all the standard settings):
ssh-keygen -t rsa

After the key generation do:
cat id_rsa.pub >> authorized_keys
chmod 600 authorized_keys

Test if the new key works: try
ssh login.zmaw.de
You should be asked for the passphrase of your new ssh key instead of your normal password.

3. Type ssh-add and when asked give the passphrase of your ssh key.

After that you should be able to ssh login.zmaw.de without having to type your password or passphrase.

That's it, you are done. ;-)

Very advanced users: in case you like to experiment a little bit and have fully understood ssh, ssh-keys, passphrases etc. you may try using keychain -- please read the documentation, and in case something goes wrong please help yourself, as we can't support the usage of keychain officially.

Download the keychain script (if the download link is broken try this local one) and save the keychain shell script to $HOME/bin.

You can now add the following two lines to the logon script of your choice (for example .login or .cshrc in case of a tcsh-shell):

~/bin/keychain ~/.ssh/id_rsa
source ~/.keychain/`hostname`-csh > /dev/null

After a logout and a login you will be asked for your passphrase. Now you can connect without password or passphrase to every machine where your $HOME with ~/.ssh/authorized_keys is available.

If you want to connect to hurrican or cross via ssh without a password you'll have to copy the file authorized_keys to the directory $HOME/.ssh on hurrican or cross.

Category: SSH, Unix
Expert: Help-it

How can I keep interactive tasks running when I log out?

This can be done by running these tasks in a "screen".

  1. Create a new screen by executing the command 'screen'
  2. You are inside the screen now. Execute the task you want to run.
  3. Type "CTRL+a" then "d" to detach from the screen. Your task will keep running even if you log out now.
  4. To reatach to the screen type 'screen -r'. If there is more than one screen running, you need to supply the process ID (PID) of the screen you want to reatach.

Refer to 'man screen' for further information.

Category: Unix
Expert: Help-it

What do the printer names mean?

Our CUPS naming scheme explained by giving an example:
p0120-c2 is the second color printer from the room 120 in the Pavillon.

  1. One letter (c:CliSAP, e:IHF Elbstraße, g:Geomatikum, p:Pavillon, s:Schlump, z:ZMAW) for the building
  2. Four digits for the room number
  3. One letter (c:color, m:monochrome, t:transparency) for the printing type
  4. One digit for the printer number

Written as kind of a regular expression: {cgpsz}{0-9}*4-{cmt}{0-9}

Category: Printer
Expert: Help-it

How can I print with CUPS via commandline?

To print a file (ASCII or ps) from the commandline just use lpr.
The Syntax is: lpr -P "printername" "filename"
For example type: lpr -P p0047-m1 test.txt (printing test.txt to p0047-m1)

By default all printers print duplex. To change options you need to define queues in a .lpotptions file located in your homedirectory.

Download this (old) example .lpoptions to your $HOME (use rightclick->Save as...) In this file all the instances (queues) we could think of are defined for some printers. This should give you a good start for what to do.

Printing to instances (queues) of a printer (i.e.: p0047-m1/sp for simplex on p0047-m1)
The Syntax is: lpr -P "printename"/"instancename" "filename"
Example: lpr -P p0047-m1/tr test.txt (prints test.txt in simplex on p0047-m1)

For more Commandline Options see the CUPS User Manual

Category: Printer
Expert: Help-it

How can I print with CUPS via XPP?

XPP is a graphical frontend for CUPS, which lists all the known printers plus instances for those printers from the .lpoptions file in your $HOME.

Printing with XPP works as follows: call 'xpp "filename"' from the commendline, then choose the desired printer and click 'Print' in the bottom right corner.

You can also call 'xpp' from the commendline, choose the file you want to print via the 'Browse...'-Button, then choose the printer you want to use and then click 'Print'.

You can also call xpp from the application you want to print from, like 'acroread', 'mozilla' or 'OpenOffice'.

 

To configure a default printer for xpp you can copy our file .lpoptions (cis.zmaw.de/fileadmin/dateien/software/.lpoptions) into your $HOME and add an entry for a default printer.

Category: Printer
Expert: Help-it

How can I print with Windows XP (CUPS via Samba)

Every user who has a valid Account for the ZMAW Domain (can connect to the Windows Terminal Server wts1) can install the printers he/she wants to use by him-/herself on any supported Windows system connected to the ZMAW network.

  1. Left click on start
  2. Left click on Run... (Ausführen...)
  3. Type "explorer.exe" and click "OK"
  4. Press the keys "Alt + S" and type "\\print.zmaw.de".
  5. Press "Enter"

(Windows Terminal Server Users just double click the "ZMAW Printserver" Icon on their desktop, to install their printers on wts1/w2ktest)

Now you see all the printers that are installed. Just double click the printer you want to install on your system and answer the upcoming question with "YES". Now you can print, with the default settings for the chosen printer. You can of course change printer settings, if you want to print on transparency, etc.

If you don't have a Domain account, but you need one for printing, contact CIS.

Category: Printer
Expert: Help-it

How can I change the printer settings permanent (Windows)?

For every printer you have installed you are able to select between various settings (as far as the options are installed):

  1. Go to Start -> Printers
  2. Right click on a printer name and select "Printing Preferences"
  3. Under "Layout" you can choose e.g. between simplex and duplex (short or long edge).
  4. Paper Size should always be A4 (not letter!).
  5. Media Type should be "Recycled" (default for z0423-m1) or "plain".
  6. Additional settings can be found within the "Advanced" section.
Category: Printer
Expert: Help-it

What do I do with an empty ink/toner cartridge?

In every building there is at least one recycling-box where you can place your used cartridges. In the ZMAW building one can be found in every printer room : Z122, Z136, Z223, Z251, Z322, Z346, Z437 and Z423.
In the Pavillon-building one is located in rm PE018 and PE047. In Geomatikum-building two can be used: G1724, G1624

What do you have to do:

As toner is poisonous please put the old cartridge back into the bag/cardboard-box the new one shipped with. Put the cardboard-box into the recycling-box and you are done. (At the Geomatikum write 'empty' onto the cardbox and put it in the printer room next to the printer, we take it with us the next time we are there.)

When the recycling-box is full we will call a company to exchange it. As a bonus we do not have to pay for this service but get some money for some of the cartridges. Thus it is a good deal for the environment and the institute.

Category: Printer
Expert: Help-it

General guidelines for the use of the A0 Poster Plotter d0028-c0.

  1. Please check that the plot file is OK before sending the job to the queue. A good test is to print into a file and to check the resulting PostScript-File with a PostScript viewer (gv, ghostview, etc).
  2. It is not advisable to print posters noticeable bigger than DIN/ISO A0 (84,1 x 118,8cm).
  3. The file name should always start with your account name, e.g.: m123456_posterplot.ps. So please name the files accordingly before printing, otherwise it may be impossible to determine who sent a specific job.
  4. The staff handling the plotter uses a special queuing system. This means looking in the normal queue will only show you that the queue is stopped or empty. This is absolutely normal. It is not possible for you to see the job in the queue.
  5. Before submitting the print job please get in contact with the staff, the best way is via e-mail: help-it@we dont want spamzmaw.de which should contain the following information:
    • Your name
    • Your user name (beginning with the letter "m" or "u", e.g. m123456)
    • Your phone number
    • poster output format (A0, EGU, A1)
  6. You can get status information, problem reports and probably some hints to resolve such problems.
    PLEASE DO NOT (!) ATTACH ANY DOCUMENTS TO YOUR E-MAIL!
    WE WILL CONTACT YOU AFTER RECEIVING YOUR MESSAGE.
  7. One submission of your poster is enough. If it is not printable you will be informed.
  8. Even with the high speed of the plotter it is highly recommended to send your poster in good time. That means, if you need your poster for a fixed date be sure to plot it some days before the deadline. This is far more important if a conference is imminent.
  9. You will find your output in a wallbox at room d0017 DKRZ.
Category: Printer
Expert: Help-it

How can I use the A0 Poster Plotter d0028-c0 from Windows?

Installation of the A0 plotter "d0028-c0" with Windows XP.

  1. See "How can I print with Windows XP (CUPS via Samba)?" for printer installation in general.
  2. In this case select  d0028-c0.
  3. After installation check that "properties" -> "general" -> "Printer settings" -> "Advanced" -> "Paper size" says "ISO A0". If it does not, please change it to "ISO A0".

Printing from Microsoft Office:

  1. Page size for each Office program should be "A0" or user defined W: 841 mm x H: 1189 mm (= 33.11 x 46.81 inch)
  2. It is important that the option "fit to page" is selected and that the file name begins with your ZMAW user number (u* or m*)!

VERY IMPORTANT: Before submitting the plot please read the other FAQ regarding the plotter: "General guidelines for the use of the A0 Poster Plotter d0028-c0"!

Category: Printer
Expert: Help-it

Help Desk office hours

Monday - Friday: 9:30 am - 5 pm