Note: this info was gathered from various places around the net, I'm just sticking it here for ease of reading, and from doing my own hamachi install. I do not take credit.
Step 1: Enable SSH from web gui.
Step 2: Login to ssh with root
Step 3: Install IPKG, I did a wget http://ipkg.nslu2-linux.org/feeds/optwa ... -7_arm.xsh
Step 4: Install openssl with ipkg install openssl
Step 5: Grab the arm build of hamachi linux with wget http://files.hamachi.cc/linux/nokia-770 ... 770.tar.gz
Step 6: Unpack hamachi installer with tar -xvfz hamachi-0.9.9.9-20-lnx-n770.tar.gz and go into the hamachi installer directory
Step 7: Run ./install
Step 8: ln -s /opt/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7
Step 9: run tuncfg
Step 10: check to see if tun is loaded with a lsmod | grep tun, if not run insmod /lib/modules/tun.ko
Step 11: run hamachi-init for first time setup
Step 12: run hamachi start
Step 13: run hamachi set-nick Diskstation hamachi nick here
Step 14: run hamachi login
Step 15: run hamachi join Your hamachi network name
Step 16: run hamachi go-online Your hamachi network name You should now see your diskstation listed in the hamachi clients windows on your pc.
Step 17: run echo "KeepAlive 10" >> ~/.hamachi/config this creates a config file with a keepalive value so that you're connection doesn't time out with the hamachi2 networks
Step 18: put a script in folder /usr/syno/etc/rc.d/ to make hamachi run at startup. I have named mine S99hamachi.sh with chmod 0755 permissions, and posted it below:
- Code: Select all
#!/bin/sh
# Make sure the tunnel driver is loaded
if ( !(lsmod | grep -q "^tun") ); then
insmod /lib/modules/tun.ko
fi
hamachi_start() {
echo "Starting hamachi..."
/sbin/tuncfg
/usr/bin/hamachi start
/bin/chmod 760 /var/run/tuncfg.sock
}
hamachi_stop() {
echo "Stopping hamachi..."
killall tuncfg
/usr/bin/hamachi stop
}
hamachi_restart() {
hamachi_stop
sleep 1
hamachi_start
}
case "$1" in
'start')
hamachi_start
;;
'stop')
hamachi_stop
;;
'restart')
hamachi_restart
;;
*)
hamachi_start
esac



