I'm thinking of installing hamachi on my pi to access it from anywhere (no static ip), would this cause any problems with cpu usage do you think?
I have been thinking of that too (VPN's in general actually) and it is something I have been meaning to test but just have not got around to it yet. If you try it can you document it so I can have a play. I have deffinatly been thinking of including something like that in the future (with web ui links) somehow.
Neil
Took me a bit of time as I'm a newbie to linux, didn't even know the difference between ubuntu and Archlinux
There's a package available here
https://aur.archlinux.org/packages/logmein-hamachi/ though it is not quite ready to install. Needs to be rebuilt with a new PKGBUILD.
Original PKGBUILD:
https://aur.archlinux.org/packages/lo/logmein-hamachi/PKGBUILDMy new PKGBUILD (sure you could clean this up a bit more)
# Maintainer: Xavion
# Contributor: Lauri Niskanen
# Contributor: Andrea Scarpino
# Contributor: metzen
pkgname=logmein-hamachi
pkgver=2.1.0.86
pkgrel=1
pkgdesc="A zero-configuration VPN service"
#included armv6h below
arch=("i686" "x86_64" "arm" "armv6h")
url="https://secure.logmein.com/AU/labs/#HamachiforLinux"
license=("custom")
conflicts=("hamachi")
replaces=("hamachi")
options=("!strip")
[ "${CARCH}" == "i686" ] && filearch=x86 && sha1sums=('76ef3a15503862210eb6f07682cba02c88e68583')
[ "${CARCH}" == "x86_64" ] && filearch=x64 && sha1sums=('87d26165dcf1e695c80fcfae18ddfe1d241da2fe')
[ "${CARCH}" == "arm" ] && filearch=armel && sha1sums=('7eb1605e2f50afbaa9819d20aab02e0da70e1fb0')
# added line below
filearch=armel
source=("https://secure.logmein.com/labs/${pkgname}-${pkgver}-${filearch}.tgz")
package() {
cd "${srcdir}"/${pkgname}-${pkgver}-${filearch}
# Directories
install -d "${pkgdir}"/opt/${pkgname}/bin
install -d "${pkgdir}"/usr/bin "${pkgdir}"/etc/rc.d "${pkgdir}"/usr/lib/systemd/system
install -d "${pkgdir}"/usr/share/licenses/${pkgname}
# Files
install -m 755 hamachid "${pkgdir}"/opt/${pkgname}/bin
install -m 755 dnsup "${pkgdir}"/opt/${pkgname}/bin
install -m 755 dnsdown "${pkgdir}"/opt/${pkgname}/bin
install -m 755 uninstall.sh "${pkgdir}"/opt/${pkgname}
install -m 444 README "${pkgdir}"/opt/${pkgname}
install -m 444 LICENSE "${pkgdir}"/opt/${pkgname}
install -m 444 CHANGES "${pkgdir}"/opt/${pkgname}
ln -sf "/opt/${pkgname}/bin/hamachid" "${pkgdir}"/usr/bin/hamachi
install -m 755 "${startdir}"/sysvinit "${pkgdir}"/etc/rc.d/${pkgname}
install -m 644 "${startdir}"/systemd "${pkgdir}"/usr/lib/systemd/system/${pkgname}.service
# License
ln -sf "/opt/${pkgname}/LICENSE" "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE I had to add in armv6h as an option or the packager threw out an error. Also added the line fileatch=armel since I was unfamiliar with the syntax above that.
Also a wiki page on the subject here which helped:
https://wiki.archlinux.org/index.php/HamachiAtm I'm happily SSHing my Pi from work so seems to be going well! No idea about CPU usage, though my 0.13MH rate hasn't changed