Hi Mark Im trying to run this as a metarouter instance in mikrotik. Which build should I use that has tinc pre-built? <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> This email has been sent from a virus-free computer protected by Avast. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> Regards Yazeed Fataar <yazeedfataar at hotmail.com> On Mon, Jan 18, 2016 at 3:17 PM, Marek Dr?pal <marek.drapal at touchware.cz> wrote:> Hi Yazeed, > > tinc package is allready included in latest OpenWRT versions and it is > fully functional. > > Greetings > Marek Dr?pal > > Byl 18.leden 2016 (Pond?l?), kdy? v 11:44:32 (CET) , Yazeed Fataar > napsal(a): > > Hi Guys > > > > I am wanting to test running tinc in openwrt. I need help on how to run > it in > > openwrt. How do I compile tinc ? > > > > Regards > > Yazeed Fataar > > > > > > This email has been sent from a virus-free computer > protected by > > [logo-avast] Avast. > > www.avast.com > > > > > > > _______________________________________________ > > tinc mailing list > > tinc at tinc-vpn.org > > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc > > _______________________________________________ > 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/20160118/5d737ce1/attachment-0001.html>
Hi Mark Ok i understand abit how this works now. I managed to get latest openwrt build "attitude_adjustment" and i can now do a "opkg install tinc" . I had to upgrade kernel with the image I had.. will post results once setup. Regards Yazeed Fataar <yazeedfataar at hotmail.com> On Mon, Jan 18, 2016 at 3:42 PM, Yazeed Fataar <yazeedfataar at gmail.com> wrote:> Hi Mark > > Im trying to run this as a metarouter instance in mikrotik. Which build > should I use that has tinc pre-built? > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> This > email has been sent from a virus-free computer protected by Avast. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> > <#-1071240242_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > Regards > Yazeed Fataar > <yazeedfataar at hotmail.com> > > On Mon, Jan 18, 2016 at 3:17 PM, Marek Dr?pal <marek.drapal at touchware.cz> > wrote: > >> Hi Yazeed, >> >> tinc package is allready included in latest OpenWRT versions and it is >> fully functional. >> >> Greetings >> Marek Dr?pal >> >> Byl 18.leden 2016 (Pond?l?), kdy? v 11:44:32 (CET) , Yazeed Fataar >> napsal(a): >> > Hi Guys >> > >> > I am wanting to test running tinc in openwrt. I need help on how to run >> it in >> > openwrt. How do I compile tinc ? >> > >> > Regards >> > Yazeed Fataar >> > >> > >> > This email has been sent from a virus-free computer >> protected by >> > [logo-avast] Avast. >> > www.avast.com >> > >> > >> >> > _______________________________________________ >> > tinc mailing list >> > tinc at tinc-vpn.org >> > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc >> >> _______________________________________________ >> 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/20160118/6ca347b7/attachment.html>
Hi Yazeed, it depends on your arch. This is really OpenWRT specific. Try to search OpenWRT Wiki. E.g. you can use http://forum.mikrotik.com/viewtopic.php?p=414386#p414386 Greetings Marek Dr?pal Byl 18.leden 2016 (Pond?l?), kdy? v 13:42:46 (CET) , Yazeed Fataar napsal(a):> Hi Mark > > Im trying to run this as a metarouter instance in mikrotik. Which build should > I use that has tinc pre-built? > > This email has been sent from a virus-free computer protected by > [logo-avast] Avast. > www.avast.com > > > > Regards > Yazeed Fataar > > > On Mon, Jan 18, 2016 at 3:17 PM, Marek Dr?pal <marek.drapal at touchware.cz> > wrote: > > Hi Yazeed, > > tinc package is allready included in latest OpenWRT versions and it is > fully functional. > > Greetings > ? ? ? ? ? ? ? ? ? ? ? ? Marek Dr?pal > > Byl 18.leden 2016 (Pond?l?), kdy? v 11:44:32 (CET) , Yazeed Fataar napsal > (a): > > Hi Guys > > > > I am wanting to test running tinc in openwrt. I need help on how to run > it in > > openwrt. How do I compile tinc ? > > > > Regards > > Yazeed Fataar > > > > > >? ? ? ? ? ? ? This email has been sent from a virus-free computer > protected by > > [logo-avast] Avast. > >? ? ? ? ? ? ? www.avast.com > > > > > > > _______________________________________________ > > tinc mailing list > > tinc at tinc-vpn.org > > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc > > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc > >> _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
Hi Marek I managed to setup everything in openwrt. However I am getting errors when trying to run tinc daemon. Below is my debug output. Please help.. How do I fix tunnel interface error? root at OpenWrt:/etc/tinc/vpn# tincd -n vpn -D -d3 tincd 1.0.21 (Mar 9 2014 18:26:59) starting, debug level 3 /dev/net/tun is a Linux ethertap device Executing script tinc-up ifconfig: SIOCGIFFLAGS: No such device ifconfig: SIOCSIFADDR: No such device Script tinc-up exited with non-zero status 1 Creating metasocket failed: Address family not supported by protocol Listening on 0.0.0.0 port 655 Ready Trying to connect to vpn_gw2 (x.x.x.x port 655) Error while reading from Linux ethertap device /dev/net/tun: Operation now in progress Error while reading from Linux ethertap device /dev/net/tun: Operation now in progress Error while reading from Linux ethertap device /dev/net/tun: Operation now in progress Error while reading from Linux ethertap device /dev/net/tun: Operation now in progress Error while reading from Linux ethertap device /dev/net/tun: Operation now in progress Connected to vpn_gw2 (x.x.x.x port 655) Sending ID to vpn_gw2 (x.x.x.x port 655) Got ID from vpn_gw2 (x.x.x.x port 655) Sending METAKEY to vpn_gw2 (x.x.x.x port 655) Error while reading from Linux ethertap device /dev/net/tun: Operation now in progress Error while reading from Linux ethertap device /dev/net/tun: Operation now in progress Error while reading from Linux ethertap device /dev/net/tun: Operation now in progress Got METAKEY from vpn_gw2 (x.x.x.x port 655) Sending CHALLENGE to vpn_gw2 (x.x.x.x port 655) Bogus data received from vpn_gw2 (x.x.x.x port 655) Closing connection with vpn_gw2 (x.x.x.x port 655) Could not set up a meta connection to vpn_gw2 Trying to re-establish outgoing connection in 5 seconds Purging unreachable nodes Error while reading from Linux ethertap device /dev/net/tun: Operation now in progress Error while reading from Linux ethertap device /dev/net/tun: Operation now in progress Error while reading from Linux ethertap device /dev/net/tun: Operation now in progress Too many errors from /dev/net/tun, exiting! Statistics for Linux ethertap device /dev/net/tun: total bytes in: 0 total bytes out: 0 Closing connection with vpn_gw1 (MYSELF) Terminating root at OpenWrt:/etc/tinc/acmevpn# Regards Yazeed Fataar <yazeedfataar at hotmail.com> On Mon, Jan 18, 2016 at 4:46 PM, Marek Dr?pal <marek.drapal at touchware.cz> wrote:> Hi Yazeed, > > it depends on your arch. This is really OpenWRT specific. Try to search > OpenWRT Wiki. E.g. you can use > http://forum.mikrotik.com/viewtopic.php?p=414386#p414386 > > Greetings > Marek Dr?pal > > > Byl 18.leden 2016 (Pond?l?), kdy? v 13:42:46 (CET) , Yazeed Fataar > napsal(a): > > Hi Mark > > > > Im trying to run this as a metarouter instance in mikrotik. Which build > should > > I use that has tinc pre-built? > > > > This email has been sent from a virus-free computer > protected by > > [logo-avast] Avast. > > www.avast.com > > > > > > > > Regards > > Yazeed Fataar > > > > > > On Mon, Jan 18, 2016 at 3:17 PM, Marek Dr?pal <marek.drapal at touchware.cz > > > > wrote: > > > > Hi Yazeed, > > > > tinc package is allready included in latest OpenWRT versions and it > is > > fully functional. > > > > Greetings > > Marek Dr?pal > > > > Byl 18.leden 2016 (Pond?l?), kdy? v 11:44:32 (CET) , Yazeed Fataar > napsal > > (a): > > > Hi Guys > > > > > > I am wanting to test running tinc in openwrt. I need help on how > to run > > it in > > > openwrt. How do I compile tinc ? > > > > > > Regards > > > Yazeed Fataar > > > > > > > > > This email has been sent from a virus-free computer > > protected by > > > [logo-avast] Avast. > > > www.avast.com > > > > > > > > > > > _______________________________________________ > > > tinc mailing list > > > tinc at tinc-vpn.org > > > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc > > > > _______________________________________________ > > tinc mailing list > > tinc at tinc-vpn.org > > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc > > > > > > > _______________________________________________ > > tinc mailing list > > tinc at tinc-vpn.org > > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc > > _______________________________________________ > 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/20160119/43dfbe77/attachment-0001.html>