<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div><blockquote type="cite">I followed the instructions from: <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="http://www.tinc-vpn.org/examples/macbook-install/">http://www.tinc-vpn.org/examples/macbook-install/</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Ubuntu server <-> Ubuntu server works just fine with the same config. Ubuntu server <-> Mac laptop not so much. <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The error I'm getting is:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">2012-04-10 21:48:44 tinc.l3vpn[52621]: Error while writing to Generic BSD tap device /dev/tun0: Input/output error<br></blockquote><blockquote type="cite">2012-04-10 21:48:44 tinc.l3vpn[52621]: Error while writing to Generic BSD tap device /dev/tun0: Input/output error<br></blockquote>[...]<br><blockquote type="cite"># cat tinc.conf <br></blockquote><blockquote type="cite">Name = laptop<br></blockquote><blockquote type="cite">Mode = switch<br></blockquote><br>I think you need to add "Device = /dev/tap0" to your tinc.conf. (Tinc is using<br>the wrong device by default in this case.)<br></div></blockquote></div><br><div>Mac OS X does not seem to have tun/tap support by default. I've found this project:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">       </span><a href="http://tuntaposx.sourceforge.net/">http://tuntaposx.sourceforge.net/</a></div><div><br></div><div>@Guus: You might want to update the macbook-install web page with that info if this solves his problem. I've not used tinc on Mac OS X (only on FreeBSD).</div></div></blockquote><br></div><div>Replying to myself: Installing the package does indeed provide tun and tap devices in /dev and with some shell trickery the network device shows up as well:</div><div><br></div><div><div>root@hitske:~ # ifconfig tap0</div><div>ifconfig: interface tap0 does not exist</div><div>root@hitske:~ # (ifconfig tap0) < /dev/tap0</div><div>tap0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>ether 6a:7c:b1:c4:0b:e8 </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>open (pid 25392)</div><div><br></div></div><div>In the FAQ for the package it mentions that bridging is however not supported due to lack of support for bridging in the Darwin kernel.</div><br><div>Hope this is of any use.</div><div><br></div><div>Nick</div></body></html>