Lion OS X tinc issues.
Matthew Tolle
matt at night.com
Wed Apr 11 07:10:43 CEST 2012
Hi Folks,
This has been driving me nuts all day. I've been unable to google myself out of it. Maybe someone here can help?
I followed the instructions from:
http://www.tinc-vpn.org/examples/macbook-install/
Ubuntu server <-> Ubuntu server works just fine with the same config. Ubuntu server <-> Mac laptop not so much.
The error I'm getting is:
2012-04-10 21:48:44 tinc.l3vpn[52621]: Error while writing to Generic BSD tap device /dev/tun0: Input/output error
2012-04-10 21:48:44 tinc.l3vpn[52621]: Error while writing to Generic BSD tap device /dev/tun0: Input/output error
<lot of the same spew…>
The error pops up after I try to get DHCP going over the link. (ipconfig set tun0 DHCP). Not that it works before I try and do that.
Both sides seems happily connected before issuing the DHCP command.
I've tried just about everything I can think of for the configs. Switch on, off, bridging on and off on the server side.. nothing seems to work. I do find it odd that under linux the virtual device looks like this:
vpn Link encap:Ethernet HWaddr 4e:31:65:e7:32:f6
inet6 addr: fe80::4c32:66ff:fec6:32e7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1034 errors:0 dropped:0 overruns:0 frame:0
TX packets:529919 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:87139 (87.1 KB) TX bytes:56253688 (56.2 MB)
standard kinds of goodness. On the Mac side it seems slim on info:
tun0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
open (pid 57014)
Makes me think that the tun/tap device is wonky?
The Tun/Tap stuff I got from port as per the instructions.
Configs:
# cat tinc.conf
Name = laptop
Mode = switch
# cat hosts/laptop
Subnet = 10.20.20.0/24
Address = 10.20.20.38
-----BEGIN RSA PUBLIC KEY-----
<blahblahblah>
# cat hosts/server
-----BEGIN RSA PUBLIC KEY-----
<blahblahblah>
I figure it's something very simple that I'm missing. Can someone save my sanity please?
Thanks,
-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20120410/d2c6742b/attachment.html>
More information about the tinc
mailing list