Lion OS X tinc issues.

Matthew Tolle matt at night.com
Wed Apr 11 17:18:35 CEST 2012


used the macport ins ructions.

I've installed tuntaposx.

yeah. I've read that it should be tap0.. but I've no idea how to tell it to use the other. I've tried bridging on and off. I currently use bridging with a second ubuntu server that works just fine. I need the ubuntu bridge up so that's why it's configured the way it is now. 

Thanks,

-Matt

On Apr 11, 2012, at 4:02 AM, Mike Bentzen wrote:

> Hi Matthew,
> 
> Did you compile from source, or did you use the macport instructions?
> If you didn't use macports, have you installed tuntaposx?
> The device should be tap0, not tun0.
> 
> Remove the Subnet variable from your laptop hosts file. It is not needed in switch mode.
> 
> I wouldn't worry about bridging yet, try to get the connection going with the tap0 device first.
> 
> 
> Mike
> 
> 
> 
> On 11/04/2012 3:10 PM, Matthew Tolle wrote:
>> 
>> 
>> 
>> 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
> 
> Remove the Subnet variable. It is not needed in switch mode.
> 
>> 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
>> 
>> 
>> 
>> _______________________________________________
>> tinc mailing list
>> tinc at tinc-vpn.org
>> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
> 
> _______________________________________________
> 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/20120411/cc5ae5ed/attachment-0001.html>


More information about the tinc mailing list