<div dir="ltr">Hi Graham<div><br></div><div>Can you perhaps share with me the mr-mips metarouter image you are using?</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Regards<br>Yazeed Fataar<br></div><a href="mailto:yazeedfataar@hotmail.com" target="_blank"></a></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 19, 2016 at 8:01 PM, Graham Cobb <span dir="ltr"><<a href="mailto:g+tinc@cobb.uk.net" target="_blank">g+tinc@cobb.uk.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 19/01/16 03:57, Yazeed Fataar wrote:<br>
> Hi Marek<br>
><br>
> I managed to setup everything in openwrt. However I am getting errors<br>
> when trying to run tinc daemon. Below is my debug output. Please help..<br>
> How do I fix tunnel interface error?<br>
><br>
> root@OpenWrt:/etc/tinc/vpn# tincd -n vpn -D -d3<br>
><br>
> tincd 1.0.21 (Mar 9 2014 18:26:59) starting, debug level 3<br>
><br>
> /dev/net/tun is a Linux ethertap device<br>
<br>
</span>On my OpenWrt system, the corresponding log entry says:<br>
<br>
/dev/net/tun is a Linux tun/tap device (tun mode)<br>
<br>
I don't know if that is a real problem. And I don't know how the tun<br>
device gets created -- I don't remember having to do anything special<br>
(but it was a long time ago when I set it up).<br>
<br>
However, I do start tinc using "/etc/init.d/tinc start", not by running<br>
tincd directly.<br>
<span class=""><br>
> Executing script tinc-up<br>
><br>
> ifconfig: SIOCGIFFLAGS: No such device<br>
><br>
> ifconfig: SIOCSIFADDR: No such device<br>
><br>
> Script tinc-up exited with non-zero status 1<br>
<br>
</span>That doesn't look good!<br>
<br>
My /etc/tinc/NETWORK/tinc-up file contains:<br>
<br>
#!/bin/sh<br>
ifconfig $INTERFACE 1.2.3.4 netmask 255.255.0.0<br>
/etc/init.d/firewall reload<br>
<br>
(with the real IP address for this node of the VPN instead of 1.2.3.4,<br>
of course).<br>
<br>
I do remember some work being needed to get the firewall set up<br>
correctly. But you aren't getting that far.<br>
<br>
I would support Maxim's suggestion: make sure you have a simple tinc<br>
network working on ordinary Linux systems first, to make sure you know<br>
how the keys and addressing work.<br>
<span class="HOEnZb"><font color="#888888"><br>
Graham<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
tinc mailing list<br>
<a href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a><br>
<a href="http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc" rel="noreferrer" target="_blank">http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a><br>
</div></div></blockquote></div><br></div>