On 19/01/16 17:31, Yazeed Fataar wrote:> Hi Graham > > Regarding the tun lib , see mine. > > root at OpenWrt:~# /lib/modules/3.3.8/tun.koBut didn't one of your earlier mails say that tun did not appear in your lsmod output? If the module is there but not loaded, why don't you just "insmod" it? I am confused. Sorry, I can't help further. I have told you how my OpenWrt router setup works with tinc (and I have no idea what a "mikrotik metarouter mips" is, so I can't speculate on any possible differences). Graham
Yazeed, your tun.ko for 3.3.8. Which kernel do you use? Show your "uname -a". If it 3.3.8 too, try "modprobe -v tun". What you get? On Tue, Jan 19, 2016 at 9:13 PM, Graham Cobb <g+tinc at cobb.uk.net> wrote:> On 19/01/16 17:31, Yazeed Fataar wrote: > > Hi Graham > > > > Regarding the tun lib , see mine. > > > > root at OpenWrt:~# /lib/modules/3.3.8/tun.ko > > But didn't one of your earlier mails say that tun did not appear in your > lsmod output? > > If the module is there but not loaded, why don't you just "insmod" it? > > I am confused. > > Sorry, I can't help further. I have told you how my OpenWrt router > setup works with tinc (and I have no idea what a "mikrotik metarouter > mips" is, so I can't speculate on any possible differences). > > Graham > _______________________________________________ > tinc mailing list > tinc at tinc-vpn.org > http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc >-- brgds Maxim Vorontsov -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20160119/c61bde51/attachment.html>
Hi Maxim See below. root at OpenWrt:/etc/tinc/acmevpn# modprobe -v tun -ash: modprobe: not found root at OpenWrt:/etc/tinc/acmevpn# lsmod tun Module Size Used by Not tainted crc_ccitt 928 0 root at OpenWrt:/etc/tinc/acmevpn# uname -a Linux OpenWrt 2.6.31.10 #1 Tue Jul 23 14:34:17 CEST 2013 mips GNU/Linux root at OpenWrt:/etc/tinc/acmevpn# opkg info kernel Package: kernel Version: 2.6.31.10-1-8d583f8450dfabedc9910f9338e0ef0d Depends: libc Provides: Status: deinstall hold not-installed Architecture: mr-mips Installed-Time: 1374582646 Package: kernel Version: 3.3.8-1-f34f5ce77c668434fa44b1a69f4ba6aa Depends: libc Provides: Status: install hold,user installed Architecture: mr-mips Installed-Time: 1453226079 root at OpenWrt:/etc/tinc/acmevpn# Regards Yazeed Fataar <yazeedfataar at hotmail.com> On Tue, Jan 19, 2016 at 9:25 PM, Maxim Vorontsov <6012030 at gmail.com> wrote:> Yazeed, your tun.ko for 3.3.8. Which kernel do you use? > Show your "uname -a". > > If it 3.3.8 too, try "modprobe -v tun". > What you get? > > > > > On Tue, Jan 19, 2016 at 9:13 PM, Graham Cobb <g+tinc at cobb.uk.net> wrote: > >> On 19/01/16 17:31, Yazeed Fataar wrote: >> > Hi Graham >> > >> > Regarding the tun lib , see mine. >> > >> > root at OpenWrt:~# /lib/modules/3.3.8/tun.ko >> >> But didn't one of your earlier mails say that tun did not appear in your >> lsmod output? >> >> If the module is there but not loaded, why don't you just "insmod" it? >> >> I am confused. >> >> Sorry, I can't help further. I have told you how my OpenWrt router >> setup works with tinc (and I have no idea what a "mikrotik metarouter >> mips" is, so I can't speculate on any possible differences). >> >> Graham >> _______________________________________________ >> tinc mailing list >> tinc at tinc-vpn.org >> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc >> > > > > -- > brgds > Maxim Vorontsov > > _______________________________________________ > 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/691745a5/attachment-0001.html>
On 19/01/16 18:25, Maxim Vorontsov wrote:> Yazeed, your tun.ko for 3.3.8. Which kernel do you use? > Show your "uname -a".By the way, 3.3.8 seems very old for an OpenWrt kernel. The router I am running tinc on has 3.8.10 and is several years old. I built that image myself but it was based on Barrier Breaker r36499. You may want to find a more recent build -- for example a Barrier Breaker final version.> If it 3.3.8 too, try "modprobe -v tun". > What you get?My image does not have modprobe included. If you also don't have modprobe, use insmod. I don't think tun.ko has any dependencies.