Sidebar image

OS X resources

Secure Connections

    If you want to know why you can't use telnet and ftp (Fetch) anymore to access department servers, read the blurb.

    OS X has ssh, scp and rsync built-in. Command line Terminal is in Applications > Utilities.

    Filezilla is a GUI program for both FTP and secure-FTP file transfers. Download from filezilla-project.org, install and lauch the program. Choose File > Site Manager > New Site. Configure secure FTP 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

    Computing Services' page.

    Math VPN

    1. Download Tunnelblick. It's an OpenVPN client and GUI for Mac OS X. Open downloaded disk image and drag Tunnelblick icon to Applications.
    2. Get Math VPN client configuration file MathVPN.conf (Ctrl-click and Save Link As). Save it in Library/openvpn/ (you can create new folder ‘openvpn’ while in Save Link As dialog).
    3. Math VPN authentication requires Dartmouth certificates. Use Firefox to set them up.
      1. Get Dartmouth root certificate at collegeca.dartmouth.edu.
      2. Get your personal certificate at collegeca.dartmouth.edu.
      3. In Firefox go to Preferences - Advanced - Encryption - View Certificates - Your Certificates. Select your certificate and click Backup.
        Back it up as Library/openvpn/mydccert.p12.
    4. Start Applications - Tunnelblick. Click on black tunnel icon, which should have appeared towards the right end of the desktop menu bar. Select Connect ‘MathVPN’. You will be asked for your private key passphrase. The passphrase is the one you were asked to create while saving mydccert.p12. After a few moments you should see the light in the tunnel icon. You should be connected via Math VPN now.
    5. To disconnect click the tunnel icon again and select Disconnect



Backing up your files

    James Graham can help with backups of your Mac or Windows machine.


Making X connections to UNIX/Linux machines

    OS X has a native X Window (X11) implementation. It can be installed from the original OS disks, which came with your Mac, or downloaded from Apple's web site (go to Downloads and search for X11).


Printing

    Math dept. printers can be accessed on wired network in Kemeny Hall. Printers' list including names and loctions can be viewed here. Printers are provided via Math printing service running on gauss.dartmouth.edu.

    Math dept. printers are best defined as IP printers in OS X, using IPP (Internet Printing Protocol), except in the case of the Konica-Minolta Bizhub machines which are best defined as IP printers using LPD (Line Printer Daemon). The IP address for each printer is available on the Math Department Printers List.

    Don't hesitate to contact James Graham if you are having trouble with printing.



Condor Installation

  1. Open System Preferneces - Accounts and add Standard account with Short Name “condor”. Choose a strong password as always!
  2. Download Condor package for Mac OS X from www.cs.wisc.edu.
  3. Start Applications - Utilities - Terminal.
    To install Condor you'll have to work with superuser privileges. At the command prompt type the following and then give your password:
    sudo -s
  4. Make new directory /usr/local/, move downloaded Condor package there, unpack it:
    mkdir -p /usr/local
    mv Downloads/condor*gz /usr/local
    cd /usr/local
    tar xzvf condor<press Tab for autocempletion>
    
  5. Make a symbolic link, for convenience:
    ln -s /usr/local/condor-version /usr/local/condor
  6. Change into condor subdirectory and run the installation script:
    cd condor
    ./condor_configure --install --type=submit --owner=condor \
        --central-manager=math-01.grid.dartmouth.edu
    
  7. Make /etc/condor subdirectory and add symbolic link for the main config file:
    mkdir /etc/condor
    ln -s /usr/local/condor/etc/condor_config /etc/condor/condor_config
    
  8. Edit local config file /usr/local/condor/local.hostname/condor_config.local adding:
    ALLOW_READ = *.dartmouth.edu
    ALLOW_WRITE = *.dartmouth.edu
    
  9. Start Condor:
    /usr/local/condor/etc/examples/condor.boot start
    (To stop: /usr/local/condor/etc/examples/condor.boot stop.)
  10. Check communication with central manager of the pool:
    /usr/local/condor/bin/condor_status
    The 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
    ... ... ...
    
    If you need to troubleshoot, Condor log files are in /usr/local/condor/local.hostname/log/.
  11. Type Ctrl-D to exit superuser's shell. Job submission can be done as a regular user, though you will still have to work from the Terminal. You may want to add directory containing Condor utilities to your $PATH environment variable:
    export PATH=/usr/local/condor/bin:$PATH
    Then you will be able to use, for example, “condor_submit”, instead of typing the full “/usr/local/condor/bin/condor_submit”.