Hamachi on Suse 10.3

Had to install compat-openssl097g to get hamachi-init to run.

Command Line:

The install should find tuncfg and make just fine because of the previous two steps.

* The README says to start tuncfg by doing
sudo /sbin/tuncfg.
at the command line. For me, it was actually
sudo /usr/sbin/tuncfg.

* The README says run ./hamachi-init at the command line. This was located in /usr/bin for me, so cd there first.

* Then, start Hamachi at the command line by doing
./hamachi start

Login with
./hamachi login

Join a network with
./hamachi join NETWORKNAME

Change your Mac’s nickname with:
./hamachi set-nick NICKNAME

Go online within a network with:
./hamachi go-online NETWORKNAME

Do a hamachi -help for all the available hamachi commands.

~ by Tide on December 31, 2007.

One Response to “Hamachi on Suse 10.3”

  1. Notes on Hamachi:

    1. It can be unreliable – but only if you don’t log out properly when you reboot your machine. Recommend executing “hamachi logout” before rebooting.

    2. You can use this services script (perhaps in /etc/init.d?) to automatically start/stop hamachi in the background:

    #! /bin/sh
    #

    # set your specific network here
    NICKNAME=”choose_nickname”
    NETWORK=”insert_network”
    PASSWORD=”choose_password”

    # Carry out specific functions when asked to by the system
    case “$1″ in
    start)
    echo “Starting Hamachi”
    tuncfg >null
    hamachi -c /hamachi start
    hamachi -c /hamachi login
    hamachi -c /hamachi go-online $NETWORK
    ;;
    stop)
    echo “Stopping Hamachi”
    #hamachi -c /hamachi go-offline zurvan.net
    hamachi -c /hamachi logout
    hamachi -c /hamachi stop
    exit 0
    ;;
    config)
    echo “Configuring Hamachi for the first time”
    tuncfg >null
    hamachi-init -c /hamachi -f
    hamachi -c /hamachi stop >null
    hamachi -c /hamachi start
    hamachi -c /hamachi login
    hamachi -c /hamachi set-nick $NICKNAME
    #hamachi -c /hamachi create $NETWORK
    hamachi -c /hamachi join $NETWORK $PASSWORD
    hamachi -c /hamachi go-online $NETWORK
    exit 0
    ;;
    list)
    echo “Hamachi list”
    tuncfg >null
    hamachi -c /hamachi
    exit 0
    ;;
    *)
    echo “Usage: /etc/init.d/hamachi {start|stop|config|list}”
    exit 1
    ;;
    esac

    exit 0

Leave a Reply

You must be logged in to post a comment.