Troubleshooting on OS X

Ned Twigg ned.twigg at diffplug.com
Thu Jan 7 18:55:14 CET 2016


I've got tinc running happily on a couple linux and win computers, but no
luck on OS X.  I'm on Yosemite 10.10.5, and I think I followed the OS X
tutorial exactly, but no luck.

Here's my error message:

> sudo tincd -n dpsf -D -d3
tincd 1.0.21 (Feb  3 2015 20:09:36) starting, debug level 3
Could not open /dev/tun0: No such file or directory
Terminating

And here's the contents of my files in /opt/local/etc/tinc:

> dpsf/tinc.conf
Name = ntwigg2009mac
AddressFamily = ipv4
Interface = dpsfVPN
ConnectTo = dpserver001

> dpsf/tinc-up
#!/bin/sh
ifconfig $INTERFACE 10.0.0.13 netmask 255.255.255.0

> dpsf/tinc-down
#!/bin/sh
ifconfig $INTERFACE down

I followed the port instructions to the T.  Any tips are greatly
appreciated!

I don't know much (anything) about tun/tap, but from googling, I know that
tuntaposx was installed by port, but maybe it's badly misconfigured?

> sudo launchctl load -w
/Library/LaunchDaemons/org.macports.tuntaposx.plist
/opt/local/etc/LaunchDaemons/org.macports.tuntaposx/org.macports.tuntaposx.plist:
Operation already in progress

> /Library/LaunchDaemons/org.macports.tuntaposx.plist
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd" >
<plist version='1.0'>
<dict>
<key>Label</key><string>org.macports.tuntaposx</string>
<key>ProgramArguments</key>
<array>
<string>/opt/local/bin/daemondo</string>
<string>--label=tuntaposx</string>
<string>--start-cmd</string>
<string>/opt/local/etc/LaunchDaemons/org.macports.tuntaposx/tuntaposx.wrapper</string>
<string>start</string>
<string>;</string>
<string>--stop-cmd</string>
<string>/opt/local/etc/LaunchDaemons/org.macports.tuntaposx/tuntaposx.wrapper</string>
<string>stop</string>
<string>;</string>
<string>--restart-cmd</string>
<string>/opt/local/etc/LaunchDaemons/org.macports.tuntaposx/tuntaposx.wrapper</string>
<string>restart</string>
<string>;</string>
<string>--pid=none</string>
</array>
<key>Debug</key><false/>
<key>Disabled</key><true/>
<key>KeepAlive</key><true/>
</dict>
</plist>
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20160107/8e1dce2f/attachment.html>


More information about the tinc mailing list