What/why this event happens: Can't write to Linux tun/tap device (tun mode) /dev/net/tun: Input/output error

Guus Sliepen guus at tinc-vpn.org
Sat May 27 18:41:10 CEST 2017


On Fri, May 26, 2017 at 09:10:53PM +0800, Bright Zhao wrote:

> But one question here is if I don’t add "/sbin/ifconfig myvpn 10.0.0.1 netmask 255.255.255.0”, it seems the crontab wouldn’t trigger tinc-up, and then the ip addr of myvpn wouldn’t be configured, then it will prompt the error of "Can't write to Linux tun/tap device (tun mode) /dev/net/tun: Input/output error”

Perhaps your cron restricts the contents of $PATH. Make sure you also
use "/sbin/ifconfig" in tinc-up.

-- 
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: 819 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20170527/39556e9b/attachment.sig>


More information about the tinc mailing list