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 <[email protected]>
signature.asc
Description: Digital signature
_______________________________________________ tinc mailing list [email protected] https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
