Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: gregg_a_g on November 21, 2011, 09:11:50 AM

Title: gre tunnel
Post by: gregg_a_g on November 21, 2011, 09:11:50 AM
Hi, I'm trying to setup a GRE tunnel to pair with a Cisco router.  I installed the "iproute2" extension, but  evidently the ip_gre module is not in the kernel for TC4.0.2.
Can someone direct me to either ip_gre.o module location, or the source code so I can compile the module myself?

Thanks!
Title: Re: gre tunnel
Post by: curaga on November 21, 2011, 10:10:49 AM
The kernel source and config can be found on any mirror, such as
http://ftp.nluug.nl/pub/metalab/distributions/tinycorelinux/4.x/x86/release/src/kernel (http://ftp.nluug.nl/pub/metalab/distributions/tinycorelinux/4.x/x86/release/src/kernel)
Title: Re: gre tunnel
Post by: gregg_a_g on November 21, 2011, 10:19:11 AM
So would I need to recompile the kernel with "CONFIG_NET_IPGRE_DEMUX", or is there any easier way to simply compile the module and then use MODPROBE?
Title: Re: gre tunnel
Post by: curaga on November 21, 2011, 10:25:46 AM
If you enable them as modules, they should work.
Title: Re: gre tunnel
Post by: gregg_a_g on November 21, 2011, 10:34:01 AM
I'm sorry to be dense!  I need the ip_gre module and don't know how to build or get it other than recompiling the entire kernel.  Is there a simple way to just compile the ip_gre module by itself?  Would I simply use the linux-headers-3.0.3-tinycore.tcz?
Title: Re: gre tunnel
Post by: curaga on November 21, 2011, 12:51:34 PM
No, you need the whole kernel source. "make modules" will only build the modules.