Math Research Support Guide
Honors and Recognition
Electronic Teaching Materials
- Secure Connections
- Math Email
- Vacation Autoreply
- X Window Connections
PuTTY is a lightweight SSH client for Windows.
Use it if you need access to a text console on
(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
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.
Search for VPN on IT Services' website.
- Download executable OpenVPN Windows Installer from openvpn.net → Community → Downloads.
- Start downloaded installer and proceed accepting all the defaults.
- Download DigiCert root certificate DigiCertCAroot.pem.
- Download Math VPN configuration file mathvpn.ovpn
- Move DigiCertCAroot.pem and mathvpn.ovpn to “C:\Program Files\OpenVPN\config” folder.
- Start OpenVPN GUI by right-clicking on Applications → OpenVPN → OpenVPN GUI and choosing Run as administrator.
- 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.
- 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 126.96.36.199.
- To stop using VPN, right-click on the taskbar icon and select Disconnect.
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 email@example.com account to Thunderbird and Outlook.
Account Settings… →
Account Actions →
Add Mail Account…
Your name: Your real name
Email address: firstname.lastname@example.org
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 STARTTLSIf settings were detected correctly — click Create Account.
Otherwise click Manual Setup and enter correct settings under Server Settings and Outgoing Server (SMTP).
Server Settings: Advanced: IMAP server directory: mail
Composition & Addressing: Uncheck “Compose messages in HTML format”.
- Start WinSCP. Connect to
gaussusing Math username and password.
- Edit autoreply message text:
.vacation.msg(viewing hidden files must be enabled, Ctrl+Alt+h)
- Right-click on it, choose Edit, make any changes, save, close editor window.
- Right-click on it, choose Edit, find these two lines:
- Remove any leading
#characters from both lines, save, close editor window.
.procmailrcand comment out the two lines by putting back
#characters at the beginning of each line.
Backing up Your FilesAsk James Graham in 102B about backing up your Mac or Windows.
Making X Connections to Linux MachinesWe 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
startxwincommand. 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
The Math Department printers are available to Windows machines connected to the local subnet by Ethernet.
Instructions for adding Math printers to Windows
- For Windows 10, click the START icon and choose 'Settings' and then 'Devices'. For Windows 7, access the Printers Control Panel.
- Click 'Add a printer or scanner' and wait.
- When the link 'The printer I have isn't listed' appears, click it.
- Select 'Add a printer using TCP/IP address or hostname and click 'Next'.
- In the Hostname or IP address field type the IP address of the printe 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
- Choose 'Use the driver that is currently installed' and click 'Next'.
- Give the printer an easily identifiable name, select 'Do not share' and click 'Next'.
- Click 'Finish'.
If you really want to view PostScript files on Windows, then you will have to install Ghostscript and Ghostview. The main site is here.
- Download “Current Stable Release” from www.cs.wisc.edu.
- 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).
- 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.
- Check whether Math HTCondor pool is accessible (Command Prompt):
c:\condor\bin\condor_statusResponse should be similar to this:
Name OpSys Arch State Activity LoadAv Mem ActvtyTime email@example.com LINUX X86_64 Unclaimed Idle 0.020 1024 0+03:25:04 firstname.lastname@example.org LINUX X86_64 Unclaimed Idle 0.000 1024 5+23:27:12 email@example.com LINUX X86_64 Unclaimed Idle 0.000 1024 0+03:05:04 firstname.lastname@example.org LINUX X86_64 Unclaimed Idle 0.000 1024 6+00:41:04 email@example.com LINUX X86_64 Unclaimed Idle 0.000 1024 1+03:05:24 firstname.lastname@example.org LINUX X86_64 Unclaimed Idle 0.030 1024 0+03:05:05 ... ... ...
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.