• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    Ubuntu Kernel 6.1.75, no wireguard or openvpn modules

    Scheduled Pinned Locked Moved PI CM5 Laptop
    8 Posts 2 Posters 507 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Momo 0
      last edited by Momo 0

      modprobe cant start openvpn or wireguard? Seems there are kernel-headers missing

      G 1 Reply Last reply Reply Quote 0
      • G
        george @Momo 0
        last edited by george

        @Momo-0
        Using the kernel at the following address, after compilation, headers. tar. gz will be generated, and then decompressed to the/usr directory.
        https://github.com/coolpi-george/coolpi-kernel

        M 1 Reply Last reply Reply Quote 0
        • M
          Momo 0 @george
          last edited by

          @george did that, but these are the same files i already have on the machine, so there must be an issue with the repository

          M 1 Reply Last reply Reply Quote 0
          • M
            Momo 0 @Momo 0
            last edited by

            I rebuild the Kernel and upgraded it, seems that it doesn't support Wireguard or openvpn

            G 1 Reply Last reply Reply Quote 0
            • G
              george @Momo 0
              last edited by

              @Momo-0
              Please provide detailed error message.

              M 1 Reply Last reply Reply Quote 0
              • M
                Momo 0 @george
                last edited by

                @george sudo modprobe wireguard gives me:
                "modprobe: FATAL: Module wireguard not found in directory /lib/modules/6.1.75"

                G 1 Reply Last reply Reply Quote 0
                • G
                  george @Momo 0
                  last edited by

                  @Momo-0
                  Add the configuration as shown in the following figure, and then compile and update the kernel.

                  diff --git a/arch/arm64/configs/rk3588_cpcm5_notebook_v20_defconfig b/arch/arm64/configs/rk3588_cpcm5_notebook_v20_defconfig
                  index e6dba9677bd9..fe61fbaa04ef 100644
                  --- a/arch/arm64/configs/rk3588_cpcm5_notebook_v20_defconfig
                  +++ b/arch/arm64/configs/rk3588_cpcm5_notebook_v20_defconfig
                  @@ -309,6 +309,8 @@ CONFIG_BLK_DEV_DM=y
                   CONFIG_DM_THIN_PROVISIONING=y
                   CONFIG_NETDEVICES=y
                   CONFIG_DUMMY=y
                  +CONFIG_WIREGUARD=m
                  +CONFIG_WIREGUARD_DEBUG=y
                   CONFIG_MACVLAN=y
                   CONFIG_IPVLAN=y
                   CONFIG_VXLAN=y
                  
                  
                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Momo 0 @george
                    last edited by

                    @george that did it, wireguard works now, thanks

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post