When playing with KisMAC, I noticed something weird in my /var/log/system.log;
$date com.apple.launchd[1] (tuncfgd$pid) posix_spawnp("/usr/sbin/tuncfg", ...):
No such file or directory
$date com.apple.launchd[1] (tuncfgd$pid) Exited with exit code: 1
$date com.apple.launchd[1] (tuncfgd) Throttling respawn: Will start in 10 seconds
tun is (trying) to restart every 10 (!) seconds.
I tried updating Hamachi‘s tun/tap drivers, without any success. It kept restarting the process every 10 seconds.
After a bit of Googling, it seemed to be a known problem. So I decided to uninstall Hamachi & the tun/tap drivers.
sudo rm -r /usr/bin/hamachi
sudo rm -r /usr/bin/hamachi-init
sudo rm -r /usr/sbin/tuncfg
sudo launchctl unload /System/Library/LaunchDaemons/tuncfgd.plist
sudo rm -r /System/Library/LaunchDaemons/tuncfgd.plist
sudo rm -r /Applications/HamachiX
This should solve the restarting problem. You might want to reboot to be sure.
When uninstalling the drivers, HamachiX will be gone; there will be no way to use it. You can decide to ignore the spawning-processes, and keep using Hamachi as-is, but the spawning processes might slow down your computer. But HamachiX should work (although it often crashed here).
I tried reinstalling the tun/tap drivers, but the same happens. I guess I’ll have to wait for a fix. 🙁
On the other side, I’ve tried the console version of Hamachi (so no HamachiX) which seems to be working fine (so far). Just missing out on the handy GUI. Edit
Leave a Reply…