Project

General

Profile

OsmoGGSN » History » Revision 9

Revision 8 (wirelesss, 12/08/2016 06:47 PM) → Revision 9/34 (wirelesss, 12/08/2016 06:50 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  

 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]] https://osmocom.org/projects/cellular-infrastructure/wiki/Build_from_source in order to install these library and projects : 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> 

 Below output shows that gtp.ko module is present 

 <pre> 
 /lib/modules/4.8.0-28-generic/kernel/drivers/net/gtp.ko 
 </pre> 


 We are loading module gtp from kernel by entering command <pre>sudo modprobe gtp </pre>  

 command @lsmod | grep gtp@ 

 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.    






 

Add picture from clipboard (Maximum size: 48.8 MB)