OsmoGGSN » History » Revision 12
Revision 11 (wirelesss, 12/13/2016 03:05 PM) → Revision 12/34 (wirelesss, 12/15/2016 03:22 PM)
h1. [[OpenGGSN]] [[OpenGGSN]] is an implementation of the Gateway GPRS Support Node ("GGSN":http://en.wikipedia.org/wiki/GGSN) element in the GPRS core network. [[OpenGGSN]] was developed in 2002 to 2004 by Mondru AB and was abandoned for some years before adopted by the Osmocom project around 2010. h2. Source Code / git repository The source code is maintained in the osmcoom git at http://git.osmocom.org/openggsn/ h2. Binary packages OpenGGSN packages are created as part of the Osmocom nightly debian builds, see [[cellular-infrastructure:NightlyBuilds]] h2. Support / mailing lists Please direct any questions regarding use, configuration or development of OpenGGSN to the osmocom-net-gprs@lists.osmocom.org mailing list, to which you can subscribe at https://lists.osmocom.org/mailman/listinfo/osmocom-net-gprs h2. Building OpenGGSN with kernel-gtp It is expected that complete openbsc project and dependencies are pre-installed. Please check if package @libc-ares-dev@ is installed. Ubuntu 16.10, kernel 4.8.0-30-generic is used. * Installing dependencies and build library @libgtpnl@ You can install those packages with: <pre> sudo apt install libtalloc-dev libpcsclite libmnl-dev </pre> Please follow instructions provided at [[cellular-infrastructure:Build from source]] in order to install following these library and projects : Information about dependencies between Osmocom projects is given at the above link: * libgtpnl <pre> sudo make install sudo ldconfig </pre> * libosmocore * openggsn <pre> ./configure --enable-gtp-linux make sudo make install sudo ldconfig </pre> Following message is shown at end of the command @ ./configure --enable-gtp-linux@ response: <pre> openggsn Configuration: GTP Linux kernel support: yes </pre> This means that appropriate header files are available. h2. Using OpenGGSN with kernel-gtp In order to find out whether gtp.ko module is available we can enter following command: <pre> find /lib/modules/`uname -r` -name gtp.ko </pre> Output below shows that gtp.ko module is present <pre> /lib/modules/4.8.0-30-generic/kernel/drivers/net/gtp.ko </pre> We are loading module gtp from kernel by entering command <pre>sudo modprobe gtp </pre> command: <pre> lsmod | grep gtp </pre> give us information about gtp and related udp tunnel: <pre> gtp 28672 0 udp_tunnel 16384 1 gtp </pre> Furthermore we can use: <pre> strace ggsn -c ggsn.conf -f </pre> to determine if Ubuntu 16.10, kernel 4.8.0-30 is in use. Note: OpenGGSN is started by: <pre> sudo ggsn --gtp-linux -c ggsn.conf -f </pre> related output is: <pre> gtp.c:701 GTP: gtp_newgsn() started gtp-kernel.c:156 GTP kernel configured </pre>