tinc running openwrt (mikrotik metarouter mips)

Yazeed Fataar yazeedfataar at gmail.com
Tue Jan 19 19:45:20 CET 2016


this is what happens when I try to run tincd

root at OpenWrt:/etc/tinc/vpn# tincd -n vpn -D -d5

tincd 1.0.21 (Mar  9 2014 18:26:59) starting, debug level 5

Could not open /dev/net/tun: No such file or directory

Terminating

root at OpenWrt:/etc/tinc/vpn# cat tinc.conf

Name = vpn_gw1

Interface = tun0

ConnectTo = vpn_gw2

Cipher = aes-256-cbc

Digest = SHA512



Regards
Yazeed Fataar
<yazeedfataar at hotmail.com>

On Tue, Jan 19, 2016 at 9:37 PM, Yazeed Fataar <yazeedfataar at gmail.com>
wrote:

> 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/b1921273/attachment.html>


More information about the tinc mailing list