Sidebar image

Windows resources

Secure Connections

PuTTY is a lightweight SSH client for Windows. Use it if you need access to a text console on gauss (or any other machine where you can login via SSH). Download from www.chiark.greenend.org.uk/~sgtatham/putty, or search the Web for PuTTY, in case the URL has changed.

WinSCP is a GUI program for secure connections. Its important feature is a built-in text editor, capable of editing files on a remote Linux/UNIX system (without wreacking havoc with line endings). Files you may want to edit are .procmailrc (mail filtering/forwarding), .vacation.msg (vacation autoreply message), web site files in public_html etc. Download WinSCP from winscp.net. Choose Explorer interface option while installing. Upon connection, navigate to folder/file of interest, right-click on it, choose Edit, make necessary changes, Save (floppy disk icon).

Cygwin is a UNIX-like environment for Windows. It provides an impressive range of traditional open source GNU software: from cat, cp, tar and rsync to compilers, PERL, TeX/LaTeX and X Window graphical system. Cygwin comes with a GUI setup.exe utility, which lets you select what packages should be installed (or added later). SSH is provided in 'openssh' package. Cygwin home.

Filezilla is a GUI program for secure file transfers. Download from filezilla-project.org, install and lauch the program. Choose File → Site Manager → New Site. Configure SFTP connection to gauss:

Host: math.dartmouth.edu
Servertype: SFTP - SSH File Transfer Protocol
Logontype: Ask for password
User: your username on gauss

Click OK to save configuration or Connect to save and connect at once.

VPN

Dartmouth VPN

Search for VPN on IT Services' website.

Math VPN

  1. Download executable OpenVPN Windows Installer from openvpn.net → Community → Downloads.
  2. Start downloaded installer and proceed accepting all the defaults.
  3. Download DigiCert root certificate DigiCertCAroot.pem.
  4. Download Math VPN configuration file mathvpn.ovpn
  5. Move DigiCertCAroot.pem and mathvpn.ovpn to “C:\Program Files\OpenVPN\config” folder.
  6. Start OpenVPN GUI by right-clicking on Applications → OpenVPN → OpenVPN GUI and choosing Run as administrator.
  7. Right-click on the red OpenVPN-GUI icon in your taskbar and choose Connect. You will be prompted for username and password — use your Math (“gauss”) username and password. If Math VPN has been successfully created, red icon will turn into green.
  8. You can check whether your PC is indeed using the MathVPN by going to, for example, http://www.whatismyip.com. Your IP address should be reported as 129.170.28.37.
  9. To stop using VPN, right-click on the taskbar icon and select Disconnect.

Math Email

If you have Math Dept. user account (also known as “gauss” account), you also have a corresponding email account. Your Math email arrives at (and can be sent from) math.dartmouth.edu server. It can be accessed instantly and globally via Webmail — this does not require any configuration! As for email applications, all of them, including mobile, can be configured to use your Math account using these generic settings:

  • Incoming server: math.dartmouth.edu, type: IMAP, port: 143
  • Connection type/encryption: TLS
  • Username: your Math username
  • Password: for the username above
  • Outgoing/SMTP server: math.dartmouth.edu, port: 587, protocol: STARTTLS; authenticate with Math username and password

Below are step-by-step instructions on how to add your mathusername@math.dartmouth.edu account to Thunderbird and Outlook.

Thunderbird

  1. ToolsAccount Settings…Account ActionsAdd Mail Account…
    Your name: Your real name
    Email address: mathusername@math.dartmouth.edu
    Password: password for the above
    Continue — Thunderbird will probe servers and should detect correct connection settings:
        Incoming: math.dartmouth.edu  IMAP  143  STARTTLS
        Outgoing: math.dartmouth.edu  SMTP  587  STARTTLS
    
    If settings were detected correctly — click Create Account.
    Otherwise click Manual Setup and enter correct settings under Server Settings and Outgoing Server (SMTP).
  2. ToolsAccount Settings…
    Server Settings: Advanced: IMAP server directory: mail
    Composition & Addressing: Uncheck “Compose messages in HTML format”.

Vacation Autoreply

  1. Start WinSCP. Connect to gauss using Math username and password.
  2. Edit autoreply message text:
    • Find .vacation.msg (viewing hidden files must be enabled, Ctrl+Alt+h)
    • Right-click on it, choose Edit, make any changes, save, close editor window.
  3. Enable autoreply:
    • Find .procmailrc
    • Right-click on it, choose Edit, find these two lines:
      #:0c
      #|/usr/bin/vacation username
    • Remove any leading # characters from both lines, save, close editor window.
  4. Send an email to yourself from another mail account as a test.
  5. To disable autoreply, edit .procmailrc and comment out the two lines by putting back # characters at the beginning of each line.

Backing up Your Files

Ask Laurie Johnson in 102B about backing up your Mac or Windows.

Making X Connections to Linux Machines

We recommend using Cygwin/X. Cygwin installer can be downloaded from cygwin.com. After installation is complete, run Cygwin Terminal and then start X by giving a startxwin command. Wait for the (green) “X Applications” icon to appear on your Windows taskbar. The icon gives access to Cygwin/X apps and settings. If the application you are seeking is not listed, you still might be able to run it by first starting XTerm and the running your app from there by typing its name. To run an X application on a remote Linux machine, e.g. gauss, while in XTerm type:
    ssh -X username@gauss program_name

Printing

The Math Department printers are available to Windows machines connected to the local subnet by Ethernet.

To add a printer in Windows 10:

  1. Click the START icon and choose 'Settings' and then 'Devices'.
  2. Click 'Printers & scanners', then 'Add a printer or scanner' and wait.
  3. When the link 'The printer I have isn't listed' appears, click it.
  4. Select 'Add a printer using TCP/IP address or hostname' and click 'Next'.
  5. In the Hostname or IP address field type the IP address of the printer you wish to install then click 'Next':
    • 104a Konica Minolta C754e 104 Kemeny: 10.32.28.24
    • 104b HP LaserJet 500 color 104 Kemeny: 10.32.28.25
    • 242a HP LaserJet 600 242 Kemeny: 10.32.28.26
    • mwhp HP LaserJet 600 226 Kemeny: 10.32.28.27
    • 329a Konica Minolta C554e 329 Kemeny: 10.32.28.21
    • ew HP LaserJet 500 color M551 329 Kemeny: 10.32.28.23
  6. Click 'Next' to accept the default driver installation.
  7. Click 'Do not share this printer' and click 'Next'.
  8. Click 'Finish'.

PostScript

If you really want to view PostScript files on Windows, then you will have to install Ghostscript and Ghostview. The main site is here.

HTCondor

Installation

  1. Download “Current Stable Release” from www.cs.wisc.edu.
  2. Start the installer and click through usual “Next >” prompts. Here are the important ones:
    • Choose install type: Join an existing HTCondor pool.
    • Hostname of Central Manager: math.dartmouth.edu.
    • Submit jobs to HTCondor pool: check.
    • Hosts with Read access: *.dartmouth.edu
    • Hosts with Write access: *.dartmouth.edu
    • Hosts with Administrator access: $(FULL_HOSTNAME).
  3. Restart Windows. HTCondor service should start automatically. Installer should have also added several exceptions to Windows firewall (service names starting with “condor_”).
    N.B.: HTCondor can be started/stopped from the Command Prompt by, for example, “net start condor”. For some reason stopping/restarting fails when attempted from Control Panel - Administration Tools.
  4. Check whether Math HTCondor pool is accessible (Command Prompt):
        c:\condor\bin\condor_status    
    Response should be similar to this:
        Name               OpSys  Arch   State     Activity LoadAv Mem   ActvtyTime
        
        slot1@math-01.grid LINUX  X86_64 Unclaimed Idle     0.020  1024  0+03:25:04
        slot2@math-01.grid LINUX  X86_64 Unclaimed Idle     0.000  1024  5+23:27:12
        slot1@math-02.grid LINUX  X86_64 Unclaimed Idle     0.000  1024  0+03:05:04
        slot2@math-02.grid LINUX  X86_64 Unclaimed Idle     0.000  1024  6+00:41:04
        slot1@math-03.grid LINUX  X86_64 Unclaimed Idle     0.000  1024  1+03:05:24
        slot2@math-03.grid LINUX  X86_64 Unclaimed Idle     0.030  1024  0+03:05:05
        ... ... ...
        

Job Submission

Jobs are submitted by preparing a so-called “submit” file and then issuing a command:

    c:\condor\bin\condor_submit <submit-file>
Here are some examples of job submission files.