<?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>Hamachi – Yeri Tiete</title><link>https://yeri.be/tag/hamachi/</link><description>Yeri Tiete's blog</description><language>en</language><copyright>© Yeri Tiete</copyright><lastBuildDate>Wed, 04 Nov 2009 16:35:49 +0100</lastBuildDate><atom:link href="https://yeri.be/tag/hamachi/index.xml" rel="self" type="application/rss+xml"/><item><title>Hamachi: Failed to connect to the engine</title><link>https://yeri.be/hamachi-failed-to-connect-to-the-engine/</link><pubDate>Wed, 04 Nov 2009 16:35:49 +0100</pubDate><author>Yeri Tiete</author><guid isPermaLink="true">https://yeri.be/hamachi-failed-to-connect-to-the-engine/</guid><description>&lt;p&gt;After getting the Hamachi 2 update (without a prior notice, nicely done&amp;hellip; No more auto update if they continue to break stuff) I started to notice a bunch of XPs receiving this error after a reboot: &lt;a href="http://community.logmein.com/logmein/board/message?board.id=11&amp;amp;thread.id=1417&amp;amp;view=by_date_ascending&amp;amp;page=1" target="_blank"&gt;Failed to connect to the engine&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hamachi is auto started, at boot, because we have a shortcut in the startup folder. No other way to auto start the free version (as far as I know).&lt;/p&gt;</description><content:encoded><![CDATA[<p>After getting the Hamachi 2 update (without a prior notice, nicely done&hellip; No more auto update if they continue to break stuff) I started to notice a bunch of XPs receiving this error after a reboot: <a href="http://community.logmein.com/logmein/board/message?board.id=11&amp;thread.id=1417&amp;view=by_date_ascending&amp;page=1" target="_blank">Failed to connect to the engine</a>.</p>
<p>Hamachi is auto started, at boot, because we have a shortcut in the startup folder. No other way to auto start the free version (as far as I know).</p>
<p>Yet, when starting Hamachi manually after the PC had booted, there were no more errors. So it&rsquo;s clear Hamachi tried to start before the engine (see services.msc -&gt; LogMeIn Hamachi Engine or something) was started.</p>
<p>And reinstalling Hamachi only seemed to work on one of the XPs.</p>
<p>As there&rsquo;s no easy way to delay the starting up of a program, I used some dirty vbs and batch&hellip; Kinda.</p>
<p>Here&rsquo;s my solution:</p>
<p>Place both scripts in the Hamachi directory (c:\program files\logmein hamachi)</p>
<p>hamachiStart.vbs:</p>
<pre>Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & ".\hamachi.bat" & Chr(34), 0
Set WshShell = Nothing</pre>
<p>hamachi.bat:</p>
<pre>@echo off
ping -n 30 127.0.0.1 >NUL
"C:\Program Files\LogMeIn Hamachi\hamachi-2-ui.exe"
exit</pre>
<p>Hamachi.vbs will start the bat file. This seems to be the only way to prevent a command prompt from opening (and staying open all the time).</p>
<p>Hamachi.bat will ping itself for 30ish seconds (don&rsquo;t think there&rsquo;s a cleaner way to do this&hellip;) and then start the Hamachi GUI.</p>
<p>If you&rsquo;re still having problems, increase 30 to something like 60 or even more.</p>
<p>Anyway, last thing you&rsquo;ll need to do is to make a shortcut of hamachi.vbs, and drag it into the startup folder.</p>
<p>Reboot, wait a bit, and enjoy.</p>
]]></content:encoded><category>Errors</category><category>Software</category><category>Windows</category><category>Hamachi</category><category>logmein</category></item><item><title>Console Hamachi</title><link>https://yeri.be/console-hamachi/</link><pubDate>Mon, 25 Feb 2008 19:14:38 +0100</pubDate><author>Yeri Tiete</author><guid isPermaLink="true">https://yeri.be/console-hamachi/</guid><description>&lt;p&gt;I &lt;a href="https://yeri.be/hamachi-on-leopard/" target="_blank" rel="noopener"&gt;wrote before&lt;/a&gt;, that the console version of Hamachi didn&amp;rsquo;t seem to generate tun/tap driver errors. But after rebooting my Mac I was no longer able to start Hamachi.&lt;/p&gt;
&lt;pre line="1" lang="bash"&gt;Nazgul:hamachi-0.9.9.9-20-osx yeri$ ./hamachi start
25 19:08:15.659 [ 0] [14306] tap: connect() failed 2 (No such file or directory)&lt;/pre&gt;
&lt;p&gt;So I guess I&amp;rsquo;ll have to wait for a fix after all. :(&lt;/p&gt;</description><content:encoded><![CDATA[<p>I <a href="https://yeri.be/hamachi-on-leopard/" target="_blank" rel="noopener">wrote before</a>, that the console version of Hamachi didn&rsquo;t seem to generate tun/tap driver errors. But after rebooting my Mac I was no longer able to start Hamachi.</p>
<pre line="1" lang="bash">Nazgul:hamachi-0.9.9.9-20-osx yeri$ ./hamachi start
25 19:08:15.659 [   0] [14306] tap: connect() failed 2 (No such file or directory)</pre>
<p>So I guess I&rsquo;ll have to wait for a fix after all. :(</p>
]]></content:encoded><category>Apple</category><category>Errors</category><category>Networking</category><category>Hamachi</category><category>bugs</category></item><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>