<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, "Jay Nugent" <<a href="mailto:jjn@nuge.com" target="_blank" rel="noreferrer">jjn@nuge.com</a>> 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>
> The tun/tap functionality is related to network interface bridging and <br>
> is probably part of the linux kernel packages on your system. My first <br>
> guess is that you need to install the kernel source packages and kernel <br>
> 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>
> Does Debian have a package for JNOS? It's probably old source that you want <br>
> to mess with, but if there is a jnos package, then there will be a jnos-dev <br>
> meta-package which will pull in all the dependencies necessary for <br>
> compilation.<br>
<br></div>
Nowadays we get the latest source files from Maiko's website by using <br>
the rsync command: rsync -a www.langelaar.net::jnos2 <path><div class="m_9017267174179263464quoted-text"><br>
<br>
<br>
> On my ubuntu system, tun.c appears to have come from the JNOS tarball itself, <br>
> and tun.h and if_tun.h are part of the current kernel headers package, which <br>
> I believe is pulled in by build-essential. Have you<br>
> apt-get install build-essential<br>
<br></div>
I think you may be right, Rick, I think the 'tun' code is provided by <br>
JNOS. So JNOS needs to load and execute, then the 'tun' interface *must* <br>
be configured on the JNOS end *before( it can be configured on the Linux <br>
side (via 'shell <command>).<div class="m_9017267174179263464quoted-text"><br>
<br>
<br>
> The tunnel interface is part of the standard kernel, but it is implemented <br>
> as a module, which is not loaded by default at boot, so before you can <br>
> configure a tun interface you have to `modprobe tun`.<br>
> Google found me this:<br>
> <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>
><br>
> ...but you don't need to do that to compile, just before you want to run <br>
> jnos.<br>
<br></div>
That URL shows the commands used when the 'tun' 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>