<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Tun/Tap – Yeri Tiete</title><link>https://yeri.be/tag/tun/tap/</link><description>Yeri Tiete's blog</description><language>en</language><copyright>© Yeri Tiete</copyright><lastBuildDate>Sun, 17 Feb 2008 22:30:00 +0100</lastBuildDate><atom:link href="https://yeri.be/tag/tun/tap/index.xml" rel="self" type="application/rss+xml"/><item><title>Hamachi(X) on Leopard</title><link>https://yeri.be/hamachi-on-leopard/</link><pubDate>Sun, 17 Feb 2008 22:30:00 +0100</pubDate><author>Yeri Tiete</author><guid isPermaLink="true">https://yeri.be/hamachi-on-leopard/</guid><description>&lt;p&gt;When playing with &lt;a href="http://kismac.macpirate.ch/" target="_blank" rel="noopener noreferrer"&gt;KisMAC&lt;/a&gt;, I noticed something weird in my /var/log/system.log;&lt;/p&gt;
&lt;pre line="1" lang="bash"&gt;$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&lt;/pre&gt;
&lt;p&gt;tun is (trying) to restart every 10 (!) seconds.
I tried updating &lt;a href="https://secure.logmein.com/products/hamachi/vpn.asp" target="_blank" rel="noopener noreferrer"&gt;Hamachi&lt;/a&gt;&amp;rsquo;s &lt;a href="https://web.archive.org/web/20081015080644/http://www-user.rhrk.uni-kl.de:80/~nissler/tuntap/" target="_blank" rel="noopener noreferrer"&gt;tun/tap drivers&lt;/a&gt;, without any success. It kept restarting the process every 10 seconds.&lt;/p&gt;
&lt;p&gt;After a bit of Googling, it seemed to be a &lt;a href="https://web.archive.org/web/20080311120033/http://discussions.apple.com:80/thread.jspa?messageID=6571462" target="_blank" rel="noopener noreferrer"&gt;known problem&lt;/a&gt;. So I decided to uninstall Hamachi &amp;amp; the tun/tap drivers.&lt;/p&gt;</description><content:encoded><![CDATA[<p>When playing with <a href="http://kismac.macpirate.ch/" target="_blank" rel="noopener noreferrer">KisMAC</a>, I noticed something weird in my /var/log/system.log;</p>
<pre line="1" lang="bash">$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</pre>
<p>tun is (trying) to restart every 10 (!) seconds.
I tried updating <a href="https://secure.logmein.com/products/hamachi/vpn.asp" target="_blank" rel="noopener noreferrer">Hamachi</a>&rsquo;s <a href="https://web.archive.org/web/20081015080644/http://www-user.rhrk.uni-kl.de:80/~nissler/tuntap/" target="_blank" rel="noopener noreferrer">tun/tap drivers</a>, without any success. It kept restarting the process every 10 seconds.</p>
<p>After a bit of Googling, it seemed to be a <a href="https://web.archive.org/web/20080311120033/http://discussions.apple.com:80/thread.jspa?messageID=6571462" target="_blank" rel="noopener noreferrer">known problem</a>. So I decided to uninstall Hamachi &amp; the tun/tap drivers.</p>
<pre line="1" lang="bash">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</pre>
<p>This should solve the restarting problem. You might want to reboot to be sure.</p>
<p>When uninstalling the drivers, <a href="https://web.archive.org/web/20190808101001/http://hamachix.spaceants.net/" target="_blank" rel="noopener noreferrer">HamachiX</a> 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).</p>
<p>I tried reinstalling the tun/tap drivers, but the same happens. I guess I&rsquo;ll have to wait for a fix. :(</p>
<p>On the other side, I&rsquo;ve tried the <a href="https://web.archive.org/web/20120515123758/http://files.hamachi.cc/osx/README" target="_blank" rel="noopener noreferrer">console version</a> of Hamachi (so no HamachiX) which seems to be working fine (so far). Just missing out on the handy GUI. <em><a href="https://yeri.be/console-hamachi/" target="_blank" rel="noopener noreferrer">Edit</a></em></p>
]]></content:encoded><category>Apple</category><category>Errors</category><category>Networking</category><category>Software</category><category>Apple</category><category>Hamachi</category><category>Hamachix</category><category>mac os x</category><category>tun/tap</category></item></channel></rss>