Hamachi Linux Requires IPv6

If you disable IPv6 under Linux in one of the following ways:

sysctl net.ipv6.conf.all.disable_ipv6=1
sysctl net.ipv6.conf.default.disable_ipv6=1
(Most likely what your GUI is doing if you disable IPv6)
and try to run Hamachi you will encounter these errors:

hamachid: tap: ioctl(SIOCSIFADDR) IPv6 err, 13, Permission denied
avahi-daemon: IP_ADD_MEMBERSHIP failed: No buffer space available
systemd-udevd: Could not generate persistent MAC address for ham0: No such file or directory

To resolve the issue re-enable IPv6 and disable it for all interfaces but ham0. The following should give you a list of commands to run that will do this:

sysctl -a | grep disable_ipv6 | grep -v -e all -e default -e ham0| cut -d . -f 4 | xargs -I{} echo 'echo "net.ipv6.conf.{}.disable_ipv6 = 1" >> /etc/sysctl.conf'

Taken from a cached copy of since the original site was not available: https://dukrat.net/131/hamachi-linux-requires-ipv6

You may also like...