Hi, 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 ? Perry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20130921/3acfb278/attachment.html>
Please install tinc from macports. It will also include any dependencies you might be missing. Otherwise, the tuntaposx project is what you require. http://tuntaposx.sourceforge.net Please excuse my brevity. Sent from my iPhone. On 22/09/2013, at 2:21, perry <perry at couprie.net> wrote:> Hi, > > 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 ? > > Perry > > _______________________________________________ > 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/20130922/23906944/attachment.html>
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>