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;








2















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:



  1. How to check the VPN features I've enabled using menuconfig are truly enabled?

  2. Is it possilbe to enable the modules manually (like ip_gre) by editing rc.local?

I'm using Ubuntu server 12.04 on VBOX 4.2.10










share|improve this question
















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.





















    2















    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:



    1. How to check the VPN features I've enabled using menuconfig are truly enabled?

    2. Is it possilbe to enable the modules manually (like ip_gre) by editing rc.local?

    I'm using Ubuntu server 12.04 on VBOX 4.2.10










    share|improve this question
















    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.

















      2












      2








      2








      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:



      1. How to check the VPN features I've enabled using menuconfig are truly enabled?

      2. Is it possilbe to enable the modules manually (like ip_gre) by editing rc.local?

      I'm using Ubuntu server 12.04 on VBOX 4.2.10










      share|improve this question
















      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:



      1. How to check the VPN features I've enabled using menuconfig are truly enabled?

      2. Is it possilbe to enable the modules manually (like ip_gre) by editing rc.local?

      I'm using Ubuntu server 12.04 on VBOX 4.2.10







      linux-kernel compiling






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      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.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer























          • 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 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











          • 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











          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
          );



          );













          draft saved

          draft discarded


















          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









          0














          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.






          share|improve this answer























          • 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 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











          • 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















          0














          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.






          share|improve this answer























          • 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 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











          • 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













          0












          0








          0







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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 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











          • 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












          • 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











          • 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

















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

          Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

          Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.