Troubleshooting on OS X

Ned Twigg ned.twigg at diffplug.com
Thu Jan 7 22:25:52 CET 2016


> kextload /Library/Extensions/tun.kext/

I didn't have a /Library/Extensions/tun.kext/ on my machine.  I googled
around, and downloaded and installed from http://tuntaposx.sourceforge.net/.
Not sure why the macports install didn't work, but it seems I'm making
progress.

Now I get this:
> sudo tincd -n dpsf -D -d3
tincd 1.0.21 (Feb  3 2015 20:09:36) starting, debug level 3
/dev/tun0 is a Generic BSD tun device
Executing script tinc-up
ifconfig: interface dpsfVPN does not exist
Script tinc-up exited with non-zero status 1
Listening on 0.0.0.0 port 655
Ready
Trying to connect to dpserver001 (71.202.38.86 port 655)
Connected to dpserver001 (71.202.38.86 port 655)
Sending ID to dpserver001 (71.202.38.86 port 655)
... (lots of stuff, but I can't ping through the VPN)

So then I tried changing the interface in my conf.vpn to tun0, but then I
get

> sudo tincd -n dpsf -D -d
tincd 1.0.21 (Feb  3 2015 20:09:36) starting, debug level 1
/dev/tun0 is a Generic BSD tun device
ifconfig: ioctl (SIOCAIFADDR): Destination address required
Script tinc-up exited with non-zero status 1
... (lots of stuff, but ping doesn't work).

I tried Spencer's suggestion re: the FAQ http://tinc-vpn.org/faq/#index5h3

> ifconfig tap0 10.0.0.13
ifconfig: interface tap0 does not exist
> ifconfig dpsfVPN 10.0.0.13
ifconfig: interface dpsfVPN does not exist
> ifconfig tun0 10.0.0.13
ifconfig: ioctl (SIOCAIFADDR): Destination address required

Thanks for the help, I think I'm closer!  Any ideas for next steps?

Ned Twigg
Lead Software Architect, DiffPlug LLC
949-264-3433
340 S Lemon Ave #3433, Walnut, CA 91789

On Thu, Jan 7, 2016 at 11:16 AM, Guus Sliepen <guus at tinc-vpn.org> wrote:

> On Thu, Jan 07, 2016 at 09:55:14AM -0800, Ned Twigg wrote:
>
> > > 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
>
> That sounds like the tun module is not loaded. If you didn't reboot
> since installing the tuntaposx modules, try running the following
> command:
>
> kextload /Library/Extensions/tun.kext/
>
> Then try to start tinc again.
>
> > 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
>
> All that looks OK.
>
> > > 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
>
> Hm, that's weird. I don't know what that error message means here.
>
> --
> Met vriendelijke groet / with kind regards,
>      Guus Sliepen <guus at tinc-vpn.org>
>
> _______________________________________________
> tinc mailing list
> tinc at tinc-vpn.org
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20160107/5ccd7e50/attachment-0001.html>


More information about the tinc mailing list