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 <[email protected]>

Attachment: signature.asc
Description: Digital signature

_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to