tinc running openwrt (mikrotik metarouter mips)
Yazeed Fataar
yazeedfataar at gmail.com
Tue Jan 19 04:57:54 CET 2016
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>
More information about the tinc
mailing list