PINE64
CONFIG_IP_NF_NAT - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Armbian (https://forum.pine64.org/forumdisplay.php?fid=84)
+---- Thread: CONFIG_IP_NF_NAT (/showthread.php?tid=4937)



CONFIG_IP_NF_NAT - nebbors - 08-15-2017

Need module? Do I need to recompile myself or is it easier than that?


RE: CONFIG_IP_NF_NAT - nebbors - 08-16-2017

No one?


RE: CONFIG_IP_NF_NAT - MarkHaysHarris777 - 08-16-2017

(08-15-2017, 07:59 PM)nebbors Wrote: Need module? Do I need to recompile myself or is it easier than that?


Your question is too vague.

... are we talking about a Python module ( sometimes VERY easy )?

... are we talking about a kernel module ( sometimes extremely difficult )?

... or perhaps we're discussing a C module ( usually easy and almost always automated )?


RE: CONFIG_IP_NF_NAT - nebbors - 08-16-2017

(08-16-2017, 05:15 PM)MarkHaysHarris777 Wrote:
(08-15-2017, 07:59 PM)nebbors Wrote: Need module? Do I need to recompile myself or is it easier than that?


Your question is too vague.

... are we talking about a Python module ( sometimes VERY easy )?

... are we talking about a kernel module ( sometimes extremely difficult )?

... or perhaps we're discussing a C module ( usually easy and almost always automated )?

good point. kernel module required for a docker compile.


RE: CONFIG_IP_NF_NAT - MarkHaysHarris777 - 08-16-2017

(08-16-2017, 06:55 PM)nebbors Wrote:
(08-16-2017, 05:15 PM)MarkHaysHarris777 Wrote:
(08-15-2017, 07:59 PM)nebbors Wrote: Need module? Do I need to recompile myself or is it easier than that?


Your question is too vague.

... are we talking about a Python module ( sometimes VERY easy )?

... are we talking about a kernel module ( sometimes extremely difficult )?

... or perhaps we're discussing a C module ( usually easy and almost always automated )?

good point. kernel module required for a docker compile.


You will need the kernel header files for sure;  if the module (name?) support has already been added to the kernel you can compile the module source and then put the module blahblah.so in the /lib directory, and then insmod it;  however,  if the module support is NOT in the kernel yet , you will also need to recompile the kernel ( a pain in the arse but doable ) and then decide whether to statically link it, or insmod it.  

Some of this depends on your skill set too...