<div dir="auto">I checked the documentation directory for the 4.17.8 kernel (latest stable) and the Documentation/networking has a file for the tuntap module.  The header file is linux/if_tun.h .  Does that help you find why the compile is failing?</div><div class="gmail_extra"><br><div class="gmail_quote">On Jul 20, 2018 17:43, &quot;Jay Nugent&quot; &lt;<a href="mailto:jjn@nuge.com" target="_blank" rel="noreferrer">jjn@nuge.com</a>&gt; wrote:<br type="attribution"><blockquote class="m_9017267174179263464quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings Lane and Rick,<div class="m_9017267174179263464quoted-text"><br>
<br>
Lane Hoy said:<br>
&gt; The tun/tap functionality is related to network interface bridging and <br>
&gt; is probably part of the linux kernel packages on your system.  My first <br>
&gt; guess is that you need to install the kernel source packages and kernel <br>
&gt; header packages.<br>
<br></div>
    o  Did an install of kernel-package (APT said that contained<br>
       kernel-headers)  -- NO JOY<br>
<br>
    o  Did an install of linux-source-4.13.0 -- NO JOY<div class="m_9017267174179263464quoted-text"><br>
<br>
<br>
<br>
On Fri, 20 Jul 2018, Rick Green wrote:<br>
<br>
&gt; Does Debian have a package for JNOS?  It&#39;s probably old source that you want <br>
&gt; to mess with, but if there is a jnos package, then there will be a jnos-dev <br>
&gt; meta-package which will pull in all the dependencies necessary for <br>
&gt; compilation.<br>
<br></div>
    Nowadays we get the latest source files from Maiko&#39;s website by using <br>
the rsync command:  rsync -a www.langelaar.net::jnos2 &lt;path&gt;<div class="m_9017267174179263464quoted-text"><br>
<br>
<br>
&gt; On my ubuntu system, tun.c appears to have come from the JNOS tarball itself, <br>
&gt; and tun.h and if_tun.h are part of the current kernel headers package, which <br>
&gt; I believe is pulled in by build-essential.  Have you<br>
&gt;    apt-get install build-essential<br>
<br></div>
    I think you may be right, Rick, I think the &#39;tun&#39; code is provided by <br>
JNOS.  So JNOS needs to load and execute, then the &#39;tun&#39; interface *must* <br>
be configured on the JNOS end *before( it can be configured on the Linux <br>
side (via &#39;shell &lt;command&gt;).<div class="m_9017267174179263464quoted-text"><br>
<br>
<br>
&gt;  The tunnel interface is part of the standard kernel, but it is implemented <br>
&gt; as a module, which is not loaded by default at boot, so before you can <br>
&gt; configure a tun interface you have to `modprobe tun`.<br>
&gt; Google found me this:<br>
&gt;     <a href="https://www.techonia.com/1400/create-tunnel-interface-linux" rel="noreferrer noreferrer noreferrer" target="_blank">https://www.techonia.com/1400/create-tunnel-interface-linux</a><br>
&gt;<br>
&gt; ...but you don&#39;t need to do that to compile, just before you want to run <br>
&gt; jnos.<br>
<br></div>
    That URL shows the commands used when the &#39;tun&#39; pacjage is already <br>
present.  Yeah, tried insmo/lsmod already - NO JOY.   Looks like I gotta <br>
get the JNOS source code to compile before a TUN device will be available.<br>
<br>
<br>
    So I have emailed the NOS-BBS mailing list (cc: Maiko) for further <br>
assistance...<br>
<br>
<br>
    Thanks guys!<br>
<br>
       --- Jay Nugent  WB8TKL<div class="m_9017267174179263464elided-text"><br>
______________________________________________________<br>
washlug mailing list    washlug web site<br>
<a href="mailto:washlug@washlug.org" rel="noreferrer noreferrer" target="_blank">washlug@washlug.org</a>     <a href="http://www.washlug.org" rel="noreferrer noreferrer noreferrer" target="_blank">www.washlug.org</a><br>
<a href="http://linux.marcdatabase.com/mailman/listinfo/washlug" rel="noreferrer noreferrer noreferrer" target="_blank">http://linux.marcdatabase.com/mailman/listinfo/washlug</a><br>
______________________________________________________<br>
washlug mailing list    washlug web site<br>
<a href="mailto:washlug@washlug.org" rel="noreferrer noreferrer" target="_blank">washlug@washlug.org</a>     <a href="http://www.washlug.org" rel="noreferrer noreferrer noreferrer" target="_blank">www.washlug.org</a><br>
<a href="http://linux.marcdatabase.com/mailman/listinfo/washlug" rel="noreferrer noreferrer noreferrer" target="_blank">http://linux.marcdatabase.com/mailman/listinfo/washlug</a><br>
</div></blockquote></div><br></div>