Enable kernel's net_key, inet_esp, crypto_hmac modules for to use in a VPN“Modules not found” error during kernel installKernel 3.13 on Ubuntu ARM + Android kernel options compatibilitySome questions compiling linux kernel with make-kpkgWhat are the required build dependencies of mesa for Debian-based distros?Kernel modules for compiled kernelFind out glibc compilation optionsError compiling kernel using guide provided on Raspberry Pi websiteLinux/Embedded Linux - Understanding the Kernel and additional BSP specific componentsCompiling apache modules --enable-mods-shared vs --enable-modulesQubes OS - Update a Template Kernel
Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?
How can bays and straits be determined in a procedurally generated map?
Why are electrically insulating heatsinks so rare? Is it just cost?
"You are your self first supporter", a more proper way to say it
What's the point of deactivating Num Lock on login screens?
Adding span tags within wp_list_pages list items
What is the word for reserving something for yourself before others do?
Test whether all array elements are factors of a number
Approximately how much travel time was saved by the opening of the Suez Canal in 1869?
Why don't electron-positron collisions release infinite energy?
Fencing style for blades that can attack from a distance
How does strength of boric acid solution increase in presence of salicylic acid?
Theorems that impeded progress
Can a Warlock become Neutral Good?
Maximum likelihood parameters deviate from posterior distributions
How to format long polynomial?
Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)
Can I make popcorn with any corn?
Do VLANs within a subnet need to have their own subnet for router on a stick?
What is the offset in a seaplane's hull?
What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)
Show that if two triangles built on parallel lines, with equal bases have the same perimeter only if they are congruent.
Why not use SQL instead of GraphQL?
An academic/student plagiarism
Enable kernel's net_key, inet_esp, crypto_hmac modules for to use in a VPN
“Modules not found” error during kernel installKernel 3.13 on Ubuntu ARM + Android kernel options compatibilitySome questions compiling linux kernel with make-kpkgWhat are the required build dependencies of mesa for Debian-based distros?Kernel modules for compiled kernelFind out glibc compilation optionsError compiling kernel using guide provided on Raspberry Pi websiteLinux/Embedded Linux - Understanding the Kernel and additional BSP specific componentsCompiling apache modules --enable-mods-shared vs --enable-modulesQubes OS - Update a Template Kernel
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to turn on modules for VPN so I followed this tutorial to compile new ubuntu kernel 3.8.6 .
But the features I've turned on using make menuconfig
seem not to be enabled.
(the features I want : net_key
, inet_esp
, crypto_hmac
, etc..)
I've tried to make gre
tunnel which modules are not loaded automatically by editing /etc/rc.local
and adding modprobe ip_gre
so it would start after reboot.
My questions are:
- How to check the VPN features I've enabled using
menuconfig
are truly enabled? - Is it possilbe to enable the modules manually (like
ip_gre
) by editingrc.local
?
I'm using Ubuntu server 12.04 on VBOX 4.2.10
linux-kernel compiling
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'm trying to turn on modules for VPN so I followed this tutorial to compile new ubuntu kernel 3.8.6 .
But the features I've turned on using make menuconfig
seem not to be enabled.
(the features I want : net_key
, inet_esp
, crypto_hmac
, etc..)
I've tried to make gre
tunnel which modules are not loaded automatically by editing /etc/rc.local
and adding modprobe ip_gre
so it would start after reboot.
My questions are:
- How to check the VPN features I've enabled using
menuconfig
are truly enabled? - Is it possilbe to enable the modules manually (like
ip_gre
) by editingrc.local
?
I'm using Ubuntu server 12.04 on VBOX 4.2.10
linux-kernel compiling
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I'm trying to turn on modules for VPN so I followed this tutorial to compile new ubuntu kernel 3.8.6 .
But the features I've turned on using make menuconfig
seem not to be enabled.
(the features I want : net_key
, inet_esp
, crypto_hmac
, etc..)
I've tried to make gre
tunnel which modules are not loaded automatically by editing /etc/rc.local
and adding modprobe ip_gre
so it would start after reboot.
My questions are:
- How to check the VPN features I've enabled using
menuconfig
are truly enabled? - Is it possilbe to enable the modules manually (like
ip_gre
) by editingrc.local
?
I'm using Ubuntu server 12.04 on VBOX 4.2.10
linux-kernel compiling
I'm trying to turn on modules for VPN so I followed this tutorial to compile new ubuntu kernel 3.8.6 .
But the features I've turned on using make menuconfig
seem not to be enabled.
(the features I want : net_key
, inet_esp
, crypto_hmac
, etc..)
I've tried to make gre
tunnel which modules are not loaded automatically by editing /etc/rc.local
and adding modprobe ip_gre
so it would start after reboot.
My questions are:
- How to check the VPN features I've enabled using
menuconfig
are truly enabled? - Is it possilbe to enable the modules manually (like
ip_gre
) by editingrc.local
?
I'm using Ubuntu server 12.04 on VBOX 4.2.10
linux-kernel compiling
linux-kernel compiling
edited Nov 4 '14 at 4:15
Anthon
61.5k17107170
61.5k17107170
asked Apr 13 '13 at 15:54
lapmerlapmer
111
111
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 days ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
About first question: to make sure that the option is active in running kernel, you can use zgrep
to filter lines from /proc/config.gz
:
$ zgrep CONFIG_HMAC /proc/config.gz
My result is CONFIG_CRYPTO_HMAC=y
.
Second question: the right way to make a module to load when starting is to insert it's name in right config file (depending on your distro that might be modprobe config, or something like /etc/modules
or a file in /etc/modules-load.d/
, containing the module name). Modprobe config allows you to use additional module parameters if you need to, blacklisting some modules and so on.
You have to press shift-enter to insert a line feed in your comment.
– TNW
Apr 13 '13 at 18:06
thanks for your quick reply . the result after i tried zgrep is gzip: /proc/config.gz : no such file or directory . is it because something wrong with my new kernel because i was not compiled it properly ??? @TNW
– lapmer
Apr 13 '13 at 18:08
Seems that you haven't checked the option to generate /proc/config.gz during your kernel configuration or you're still running your old kernel. Are you sure that the kernel you're using is the one you compiled? You can useuname -a
to check whether it's right version and such. Did you complete the tutorial?
– TNW
Apr 13 '13 at 18:14
maybe just like you said, i haven't generated /proc/confing.gz in configuration.uname -a
command show it is the right kernel . it shows Linux ubuntu 3.8.6 . that's mean i have to recompile it again?
– lapmer
Apr 13 '13 at 18:23
i just browse kernel configuration. that option you mentioned is not checked. is it possible to compile just that part? it took 2 hours for me to compile full kernel
– lapmer
Apr 13 '13 at 18:31
|
show 4 more comments
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f72301%2fenable-kernels-net-key-inet-esp-crypto-hmac-modules-for-to-use-in-a-vpn%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
About first question: to make sure that the option is active in running kernel, you can use zgrep
to filter lines from /proc/config.gz
:
$ zgrep CONFIG_HMAC /proc/config.gz
My result is CONFIG_CRYPTO_HMAC=y
.
Second question: the right way to make a module to load when starting is to insert it's name in right config file (depending on your distro that might be modprobe config, or something like /etc/modules
or a file in /etc/modules-load.d/
, containing the module name). Modprobe config allows you to use additional module parameters if you need to, blacklisting some modules and so on.
You have to press shift-enter to insert a line feed in your comment.
– TNW
Apr 13 '13 at 18:06
thanks for your quick reply . the result after i tried zgrep is gzip: /proc/config.gz : no such file or directory . is it because something wrong with my new kernel because i was not compiled it properly ??? @TNW
– lapmer
Apr 13 '13 at 18:08
Seems that you haven't checked the option to generate /proc/config.gz during your kernel configuration or you're still running your old kernel. Are you sure that the kernel you're using is the one you compiled? You can useuname -a
to check whether it's right version and such. Did you complete the tutorial?
– TNW
Apr 13 '13 at 18:14
maybe just like you said, i haven't generated /proc/confing.gz in configuration.uname -a
command show it is the right kernel . it shows Linux ubuntu 3.8.6 . that's mean i have to recompile it again?
– lapmer
Apr 13 '13 at 18:23
i just browse kernel configuration. that option you mentioned is not checked. is it possible to compile just that part? it took 2 hours for me to compile full kernel
– lapmer
Apr 13 '13 at 18:31
|
show 4 more comments
About first question: to make sure that the option is active in running kernel, you can use zgrep
to filter lines from /proc/config.gz
:
$ zgrep CONFIG_HMAC /proc/config.gz
My result is CONFIG_CRYPTO_HMAC=y
.
Second question: the right way to make a module to load when starting is to insert it's name in right config file (depending on your distro that might be modprobe config, or something like /etc/modules
or a file in /etc/modules-load.d/
, containing the module name). Modprobe config allows you to use additional module parameters if you need to, blacklisting some modules and so on.
You have to press shift-enter to insert a line feed in your comment.
– TNW
Apr 13 '13 at 18:06
thanks for your quick reply . the result after i tried zgrep is gzip: /proc/config.gz : no such file or directory . is it because something wrong with my new kernel because i was not compiled it properly ??? @TNW
– lapmer
Apr 13 '13 at 18:08
Seems that you haven't checked the option to generate /proc/config.gz during your kernel configuration or you're still running your old kernel. Are you sure that the kernel you're using is the one you compiled? You can useuname -a
to check whether it's right version and such. Did you complete the tutorial?
– TNW
Apr 13 '13 at 18:14
maybe just like you said, i haven't generated /proc/confing.gz in configuration.uname -a
command show it is the right kernel . it shows Linux ubuntu 3.8.6 . that's mean i have to recompile it again?
– lapmer
Apr 13 '13 at 18:23
i just browse kernel configuration. that option you mentioned is not checked. is it possible to compile just that part? it took 2 hours for me to compile full kernel
– lapmer
Apr 13 '13 at 18:31
|
show 4 more comments
About first question: to make sure that the option is active in running kernel, you can use zgrep
to filter lines from /proc/config.gz
:
$ zgrep CONFIG_HMAC /proc/config.gz
My result is CONFIG_CRYPTO_HMAC=y
.
Second question: the right way to make a module to load when starting is to insert it's name in right config file (depending on your distro that might be modprobe config, or something like /etc/modules
or a file in /etc/modules-load.d/
, containing the module name). Modprobe config allows you to use additional module parameters if you need to, blacklisting some modules and so on.
About first question: to make sure that the option is active in running kernel, you can use zgrep
to filter lines from /proc/config.gz
:
$ zgrep CONFIG_HMAC /proc/config.gz
My result is CONFIG_CRYPTO_HMAC=y
.
Second question: the right way to make a module to load when starting is to insert it's name in right config file (depending on your distro that might be modprobe config, or something like /etc/modules
or a file in /etc/modules-load.d/
, containing the module name). Modprobe config allows you to use additional module parameters if you need to, blacklisting some modules and so on.
answered Apr 13 '13 at 16:57
TNWTNW
1,6401014
1,6401014
You have to press shift-enter to insert a line feed in your comment.
– TNW
Apr 13 '13 at 18:06
thanks for your quick reply . the result after i tried zgrep is gzip: /proc/config.gz : no such file or directory . is it because something wrong with my new kernel because i was not compiled it properly ??? @TNW
– lapmer
Apr 13 '13 at 18:08
Seems that you haven't checked the option to generate /proc/config.gz during your kernel configuration or you're still running your old kernel. Are you sure that the kernel you're using is the one you compiled? You can useuname -a
to check whether it's right version and such. Did you complete the tutorial?
– TNW
Apr 13 '13 at 18:14
maybe just like you said, i haven't generated /proc/confing.gz in configuration.uname -a
command show it is the right kernel . it shows Linux ubuntu 3.8.6 . that's mean i have to recompile it again?
– lapmer
Apr 13 '13 at 18:23
i just browse kernel configuration. that option you mentioned is not checked. is it possible to compile just that part? it took 2 hours for me to compile full kernel
– lapmer
Apr 13 '13 at 18:31
|
show 4 more comments
You have to press shift-enter to insert a line feed in your comment.
– TNW
Apr 13 '13 at 18:06
thanks for your quick reply . the result after i tried zgrep is gzip: /proc/config.gz : no such file or directory . is it because something wrong with my new kernel because i was not compiled it properly ??? @TNW
– lapmer
Apr 13 '13 at 18:08
Seems that you haven't checked the option to generate /proc/config.gz during your kernel configuration or you're still running your old kernel. Are you sure that the kernel you're using is the one you compiled? You can useuname -a
to check whether it's right version and such. Did you complete the tutorial?
– TNW
Apr 13 '13 at 18:14
maybe just like you said, i haven't generated /proc/confing.gz in configuration.uname -a
command show it is the right kernel . it shows Linux ubuntu 3.8.6 . that's mean i have to recompile it again?
– lapmer
Apr 13 '13 at 18:23
i just browse kernel configuration. that option you mentioned is not checked. is it possible to compile just that part? it took 2 hours for me to compile full kernel
– lapmer
Apr 13 '13 at 18:31
You have to press shift-enter to insert a line feed in your comment.
– TNW
Apr 13 '13 at 18:06
You have to press shift-enter to insert a line feed in your comment.
– TNW
Apr 13 '13 at 18:06
thanks for your quick reply . the result after i tried zgrep is gzip: /proc/config.gz : no such file or directory . is it because something wrong with my new kernel because i was not compiled it properly ??? @TNW
– lapmer
Apr 13 '13 at 18:08
thanks for your quick reply . the result after i tried zgrep is gzip: /proc/config.gz : no such file or directory . is it because something wrong with my new kernel because i was not compiled it properly ??? @TNW
– lapmer
Apr 13 '13 at 18:08
Seems that you haven't checked the option to generate /proc/config.gz during your kernel configuration or you're still running your old kernel. Are you sure that the kernel you're using is the one you compiled? You can use
uname -a
to check whether it's right version and such. Did you complete the tutorial?– TNW
Apr 13 '13 at 18:14
Seems that you haven't checked the option to generate /proc/config.gz during your kernel configuration or you're still running your old kernel. Are you sure that the kernel you're using is the one you compiled? You can use
uname -a
to check whether it's right version and such. Did you complete the tutorial?– TNW
Apr 13 '13 at 18:14
maybe just like you said, i haven't generated /proc/confing.gz in configuration.
uname -a
command show it is the right kernel . it shows Linux ubuntu 3.8.6 . that's mean i have to recompile it again?– lapmer
Apr 13 '13 at 18:23
maybe just like you said, i haven't generated /proc/confing.gz in configuration.
uname -a
command show it is the right kernel . it shows Linux ubuntu 3.8.6 . that's mean i have to recompile it again?– lapmer
Apr 13 '13 at 18:23
i just browse kernel configuration. that option you mentioned is not checked. is it possible to compile just that part? it took 2 hours for me to compile full kernel
– lapmer
Apr 13 '13 at 18:31
i just browse kernel configuration. that option you mentioned is not checked. is it possible to compile just that part? it took 2 hours for me to compile full kernel
– lapmer
Apr 13 '13 at 18:31
|
show 4 more comments
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f72301%2fenable-kernels-net-key-inet-esp-crypto-hmac-modules-for-to-use-in-a-vpn%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown