I hope this is the correct forum post these questions. I would like to configure an OMAP uEVM5432 as a NAT router. Both the LAN and WAN interfaces appear to be working correctly, and every reference that I have seen says that I can use iptables to do the NATing for me.
That's where I run in to trouble. The Linux build that I'm using is missing the kernel modules required by iptables.
I'm running a recently built version of GLSDK 6.03.00.01. I built it using the instructions found here:
http://processors.wiki.ti.com/index.php/OMAP5_GLSDK_Software_Developers_Guide#Building_Yocto_Filesystem
The build completed with several warnings, but no errors and appears to be functioning correctly. However, the kernel appears to be built without any of the modules for iptables.
Here's an example of what happens when I try to get a list of all of the current iptables rules.
root@omap5-evm:~# iptables -L
FATAL: Module ip_tables not found.
iptables v1.4.17: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
I tried both:
# modprobe ip_tables
and
# insmod ip_tables
Neither command worked.
# cd /lib
# find . -name ip* -print
Shows no results. GLSDK 6.03.00.01 did not build with ip_tables.ko or any of the other kernel modules that appear to be be required by iptables.
My guess is that it's pretty simple to build a new kernel with all of the modules required for iptables, but I can't figure out how to do it. I found instructions on how to build a kernel here:
http://processors.wiki.ti.com/index.php/OMAP5_GLSDK_Software_Developers_Guide#Additional_Procedures
But they are lacking two pieces of information that I haven't been able to figure out:
- Where is the config file kept, so that I can attempt to add the kernel modules needed by iptables?
- Does this build the kernel from the same source that is used when I followed the instructions on building the yocto filesystem?
Any guidance that can be offered is appreciated.
-Michael