tinc and mac osx

Guus Sliepen guus at tinc-vpn.org
Sun Sep 22 13:50:15 CEST 2013


On Sat, Sep 21, 2013 at 06:21:51PM +0200, perry wrote:

> I am trying to install tinc on a mac. 
> 
> When starting tinc a
> /dev/tun0 is created, on linux a device is created with a custom name,
> something like 'ci00001'. 
> 
> How can i achieve the same result on a mac ?

I do not know if this works on Mac OS X, but on FreeBSD you can change the name
of the interface using this command:

ifconfig <oldname> name <newname>

So if that also works on a Mac, and you want it to behave the same way as on Linux, 
you could have a tinc-up that looks like this:

#!/bin/sh
ifconfig $INTERFACE name $NETNAME
INTERFACE=$NETNAME
ifconfig $INTERFACE ...

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20130922/610b4021/attachment.sig>


More information about the tinc mailing list