Add l2tp_eth & l2tp_netlink to kernel

Hi All,

I've been able to get debian 3.0.3-x2 installed using the Robert
Nelson netinstall scripts. I now need to load two kernel modules
l2tp_eth & l2tp_netlink. As they appear to not be compiled with the
kernel, I'm assuming that I need to recompile with the relevant
modules added.

I'm a little lost with how to recompile 3.0.3-x2 for beagleboard.
I've recompiled a few times on intel hardware which was all pretty
standard. From what I have read, there is a whole list of patches
that have to be applied for the omap / beagle hardware.

I've found the following tutorial for recompiling a 2.6.29
, which would be find for me except that the L2TP support didn't get
added to the kernel until 2.6.35. The instructions are not able to be
translated to a 3.0.3 kernel, so I'm a bit lost.

If anyone could point me in the right direction for how to build a
kernel >= 2.35 with modules l2tp_eth & l2tp_netlink it would be very
much appreciated.



The script is use for building said debian 3.0.3-x2 is available here:

Let me know which modules you need enabled..


Will this work for you:




Looks perfect.

Will test and respond in the next day or so.

Cheers for the amazingly fast response!


Worked like a charm. Thanks Robert!

The only bit of information I would add for people doing a compile for
beagleboard is to get cross compiler from EmDebian.

I created the file /etc/apt/sources.list.d/emdebian.list with
following content:

deb squeeze main

Then installed, binutils-arm-linux-gnueabi and gcc-4.4-arm-linux-