Hi,
If anyone want to compile the gtp5g Kernel module on a SecureBoot/Latest Kernel, you need to create a MoK ( Machine Owner Key) and then sign the module, after that copy it and load it.
Here is a nice guide on how to create MoK and sign a module so it can load Link
so after running "make", I did the following after enrolling my MoK, and inside the gtp5g folder :
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n gtp5g.ko)
then:
sudo make install
to make sure that the Module now loaded after reboot:
lsmod | grep gtp
gtp5g 151552 0
udp_tunnel 32768 1 gtp5g
and that its, but remeber to do it everytime a new kernel released, I'm running it on Ubuntu 24.04.1 with the latest Kernel available and SecureBoot active.
This could be also implanted in the MakeFile, but only after you enroll the MoK.
Best Regards
Hi,
If anyone want to compile the gtp5g Kernel module on a SecureBoot/Latest Kernel, you need to create a MoK ( Machine Owner Key) and then sign the module, after that copy it and load it.
Here is a nice guide on how to create MoK and sign a module so it can load Link
so after running "make", I did the following after enrolling my MoK, and inside the gtp5g folder :
sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n gtp5g.ko)then:
sudo make installto make sure that the Module now loaded after reboot:
and that its, but remeber to do it everytime a new kernel released, I'm running it on Ubuntu 24.04.1 with the latest Kernel available and SecureBoot active.
This could be also implanted in the MakeFile, but only after you enroll the MoK.
Best Regards