Ubuntu 18.04 에서 설치 (linux-image-5.0.0-23-generic)
gtp5g compile을 위해서 5.0.0-23-generic kernel 업데이트 필요.
- Install dependencies
$ sudo apt-get update
$ sudo apt-get install -qq git build-essential vim strace net-tools iputils-ping iproute2
- Update kernel version: 5.0.0-23-generic
$ sudo apt-get install linux-image-5.0.0-23-generic linux-modules-5.0.0-23-generic linux-headers-5.0.0-23-generic
$ sudo grub-set-default 1
$ sudo update-grub
gtp5g - 5G compatible GTP kernel module
gtp5g is a customized Linux kernel module gtp5g to handle packet by PFCP IEs such as PDR and FAR.
Reference to 3GPP specification TS 29.281 and TS 29.244 (GPRS Tunneling Protocol)
- Install gtp5g kernel module
$ git clone https://github.com/PrinzOwO/gtp5g.git
$ cd gtp5g
$ make clean
$ make
$ sudo make install
- Check gtp5g modlue
lsmod | grep gtp5g