<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I have some examples on my website you
can take a look at, one specifically taken from a working setup on
my phone. lancethepants.com/files -> Binaries -> Tinc.<br>
<br>
The Tinc configuration for android is nearly identical as anything
else. It does have one more parameter called "ScriptsInterpreter"
that you will need to have. You should see this in my example.<br>
And also the android developers web-site.<br>
<a href="http://tinc_gui.poirsouille.org/">http://tinc_gui.poirsouille.org/</a><br>
<br>
You're not very specific on the errors that came up, so can't
really know what they are. Concerning the private key, make sure
your config is pointing to the right location of the private key,
and that the private key has the right access permission.
Otherwise you'll need to chmod the private key. <br>
<br>
From the Tinc manual:<br>
<dt style="color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">‘<samp>Warning: insecure file permissions for RSA private
key file `rsa_key.priv'!</samp>’</dt>
<dd style="color: rgb(0, 0, 0); font-family: 'Times New Roman';
font-size: medium; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">
<ul>
<li>The private key file is readable by users other than root.
Use chmod to correct the file permissions.</li>
</ul>
<p>good luck!</p>
</dd>
<dt></dt>
<dt></dt>
Lance<br>
<br>
On 4/24/2013 1:38 PM, Ramses II wrote:<br>
</div>
<blockquote cite="mid:000301ce4123$4c61c620$e5255260$@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML con formato previo Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.EstiloCorreo17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLconformatoprevioCar
{mso-style-name:"HTML con formato previo Car";
mso-style-priority:99;
mso-style-link:"HTML con formato previo";
font-family:"Consolas","serif";
color:black;
mso-fareast-language:EN-US;}
span.EstiloCorreo20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Lance,
thanks by your answer.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">You
are right.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">When
I run Tun.ko Installer, appears "Tun module is loaded" and
in the next line appears "Path to tun.ko in not found!".<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Well,
now I have installed Tinc-GUI from Play Store.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Can
tell me somebody how to create the tinc configuration and
keys, and where put it?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">I
have copied a configuration from a PC to "/sdcard/tinc" and
I have configured Tinc-GUI to load it in this folder, but
gives me errors with the private key and some things more.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Best
regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Ramses<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:ES">De:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:ES">
<a class="moz-txt-link-abbreviated" href="mailto:tinc-bounces@tinc-vpn.org">tinc-bounces@tinc-vpn.org</a>
[<a class="moz-txt-link-freetext" href="mailto:tinc-bounces@tinc-vpn.org">mailto:tinc-bounces@tinc-vpn.org</a>] <b>En nombre de </b>Lance
Fredrickson<br>
<b>Enviado el:</b> martes, 23 de abril de 2013 21:49<br>
<b>Para:</b> <a class="moz-txt-link-abbreviated" href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a><br>
<b>Asunto:</b> Re: How to install Tinc in a device with
Android 2.3.7?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">I was under
the impression that cyanogenmod already had the tun module
integrated in the kernel. It was already there on my dinc2
when I was running cyanogenmod 7.2 on Android 2.3.7. <br>
One way I can confirm that I have it is to install OpenVPN
settings -> Menu -> Prerequisites.<br>
<br>
Just found the following too.<br>
TUN.ko Installer from the android market also states this...<br>
"If it says 'Path to tun.ko is not found' It means the app
cannot find the path to your tun.ko, because its possible
that tun support is COMPILED WITHIN YOUR KERNEL"<br>
<br>
I would guess that since you're running cyanogenmod, this is
the case, and you are already good to go. See if OpenVPN
settings can confirm this.<br>
<br>
Lance<br>
<br>
On 4/23/2013 1:29 PM, Ramses II wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">Hi everybody,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">I want to install tinc in Android 2.3.7 but I
can't find the tun.ko module that is needed to run tincd.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">I have installed the "tun.ko installer" from
Play Google. I run it and when I press over the Install
button, it gives me the next error:</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">"Cannot find a compatible tun module for your
device! Please try again later..."</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">Has somebody installed Tinc over Android
2.3.7?</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">Can somebody send me the tun.ko module or
tell me where I can find it?</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">I have the next firmware and device:</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">- HTC Desire HD</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">- CyanogenMod-7.2.0-ace</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">- Android 2.3.7</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US">- Kernel Linux localhost
2.6.35.14-cyanogenmod-g295e82f #1 PREEMPT Sun Nov 13
14:34:17 CET 2011 armv7l GNU/Linux</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt">Best regards,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt">Ramsés<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:ES"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre style="margin-left:35.4pt">_______________________________________________<o:p></o:p></pre>
<pre style="margin-left:35.4pt">tinc mailing list<o:p></o:p></pre>
<pre style="margin-left:35.4pt"><a moz-do-not-send="true" href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a><o:p></o:p></pre>
<pre style="margin-left:35.4pt"><a moz-do-not-send="true" href="http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc">http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal" style="margin-left:35.4pt"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:ES"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
tinc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a>
<a class="moz-txt-link-freetext" href="http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc">http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a>
</pre>
</blockquote>
<br>
</body>
</html>