hamachi install error on ubuntu – fixed

1 minute read Published:


I recently re-installed ubuntu (linux) on a server and ran into difficulties installing hamachi.  As it turned out I tried to setup hamachi without installing the tun module first.  I then installed the tun module, but hamachi wouldn’t work.  I eventually figured out that the tuncfg had to be cleaned/make’ed again, after the tun was re-created.

This is the error I was getting:

bash: /sbin/tuncfg: No such file or directory

And this fixed it:

./hamachi-0.9.9.9-20-lnx# cd tuncfg
./hamachi-0.9.9.9-20-lnx/tuncfg# sudo make clean
rm -f tuncfg
./hamachi-0.9.9.9-20-lnx/tuncfg# sudo make
cc     tuncfg.c   -o tuncfg
./hamachi-0.9.9.9-20-lnx/tuncfg# cd ..
./hamachi-0.9.9.9-20-lnx# sudo make install

Copying hamachi into /usr/bin ..
Creating hamachi-init symlink ..
Compiling tuncfg ..
Copying tuncfg into /sbin ..

Hamachi is installed. See README for what to do next.
./hamachi-0.9.9.9-20-lnx# sudo tuncfg

Published by in geek using 128 words.

comments powered by Disqus