Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2013 15:42:17 +0100
From:      Fleuriot Damien <>
To:        "" <>
Subject:   Re: do I have to compile a new kernel? or just add options somehow?
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

On Dec 5, 2013, at 3:35 PM, "" <> =

> I am having difficulty understanding what is compiled into the GENERIC
> kernel.
> I need to enable "device crypto" with IPSEC and IPSEC_NAT_T options.
> Can I just configure the GENERIC kernel in a config file? Or do I have =
> compile a totally new kernel?
> _______________________________________________
> mailing list
> To unsubscribe, send any mail to =

While it's far from being a good practice, you can simply add your:
device crypto
options IPSEC
options IPSEC_NAT_T

to /sys/amd64/conf/GENERIC (assuming you're running a 64bit release that =

Then: cd /usr/src && make kernel-toolchain && make buildkernel

Once the kernel is built, you only need to "make installkernel" and =

It is good practice, before rebooting, to run "mergemaster -p" , even if =
you've only done a minor upgrade, let good habits sink in ;)

Regarding what is compiled in the GENERIC kernel, you can find the =
included options and devices at:

You may also run config -x /boot/kernel/kernel , if your kernel was =
built with INCLUDE_CONFIG_FILE , which GENERIC does.

Want to link to this message? Use this URL: <>