Skip to content

This script makes Hamachi start, join and login to the Hamachi network when you login on your OS X user account. Your password is read from Keychain. Installation by double click. Uninstall via terminal.

Notifications You must be signed in to change notification settings

ProBackup-nl/Hamachi-for-os-x-start-on-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

1. Make sure Hamachi is installed and configured correctly
2. Store your Hamachi network join password stored in your keychain.app, where:
   a. <Name:> is set to 'Hamachi' (without quotes)
   b. <Account:> set to your network name (as listed below)
3. Double click the startHamachi.command file to install.
   notes: 
   a. you will be asked if the script may access your password in keychain (once during install and every time you are disjoined from the network)
   b. it might require a reboot before it actually runs

 Optional: set environment variable HAMACHI_NETWORK that stores the hamachi network name
  - set an environment variable in ~/.MacOSX/environment.plist (reboot required)
  - a pref pane for editing environment.plist is available on http://www.epikentros.net/Main/Mac_Software.html
  - without this environment variable, its value will be stored in a file name startHamachiParams.sh
  - this var is stored in the environment or startHamachiParams.sh to not needing to edit this startHamachi.sh file after an upgrade (separation of data and program logic)

This script runs on login via launchd by ~/LaunchAgents/nl.probackup.startHamachi.plist

To uninstall, in Terminal.app enter $ startHamachi.command remove

Tested on Mac OS X 10.6.8 and Hamachi ver 0.9.9.9-20

About

This script makes Hamachi start, join and login to the Hamachi network when you login on your OS X user account. Your password is read from Keychain. Installation by double click. Uninstall via terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published