Project

General

Profile

OsmoGGSN » History » Version 10

wirelesss, 12/12/2016 12:51 PM

1 2 laforge
h1. [[OpenGGSN]]
2 1 laforge
3 2 laforge
[[OpenGGSN]] is an implementation of the Gateway GPRS Support Node ("GGSN":http://en.wikipedia.org/wiki/GGSN) element in the GPRS core network.
4
5 3 laforge
[[OpenGGSN]] was developed in 2002 to 2004 by Mondru AB and was abandoned for some years before adopted by the Osmocom project around 2010.
6 1 laforge
7 3 laforge
h2. Source Code / git repository
8
9
The source code is maintained in the osmcoom git at http://git.osmocom.org/openggsn/
10
11
h2. Binary packages
12 1 laforge
13
OpenGGSN packages are created as part of the Osmocom nightly debian builds, see [[cellular-infrastructure:NightlyBuilds]]
14 4 laforge
15
h2. Support / mailing lists
16
17
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
18 5 wirelesss
19 7 wirelesss
h2. Building OpenGGSN with kernel-gtp 
20 5 wirelesss
21
Ubuntu 16.10, kernel 4.8.0-30-generic is used. 
22
23
* Installing dependencies and build library @libgtpnl@
24
25 6 wirelesss
You can install those packages with:
26 5 wirelesss
27
<pre>
28
sudo apt install libtalloc-dev libpcsclite libmnl-dev
29
</pre>
30
31 9 wirelesss
Please follow instructions provided at [[cellular-infrastructure:Build from source]] in order to install these library and projects :
32 1 laforge
33 6 wirelesss
Information about dependencies between Osmocom projects is given at the above link:
34
35 5 wirelesss
* libgtpnl
36
37
<pre>
38
  sudo make install
39
  sudo ldconfig
40
</pre>
41
42
* libosmocore 
43
* openggsn
44
45
<pre>
46 1 laforge
./configure --enable-gtp-linux
47 8 wirelesss
make 
48
sudo make install
49
sudo ldconfig
50 5 wirelesss
</pre>
51
52
Following message is shown at end of the command @ ./configure --enable-gtp-linux@ response:
53
54
<pre>
55
openggsn Configuration:
56
  GTP Linux kernel support:			yes
57 6 wirelesss
</pre>
58
59
This means that appropriate header files are available.
60 1 laforge
61 7 wirelesss
62
h2. Using OpenGGSN with kernel-gtp 
63
64
In order to find out whether gtp.ko module is available we can enter following command:
65 1 laforge
66 7 wirelesss
<pre>
67
find /lib/modules/`uname -r` -name gtp.ko
68
</pre>
69
70 8 wirelesss
Below output shows that gtp.ko module is present
71 7 wirelesss
72 1 laforge
<pre>
73 10 wirelesss
/lib/modules/4.8.0-30-generic/kernel/drivers/net/gtp.ko
74 7 wirelesss
</pre>
75 1 laforge
76 7 wirelesss
77 8 wirelesss
We are loading module gtp from kernel by entering command <pre>sudo modprobe gtp </pre> 
78 7 wirelesss
79 8 wirelesss
command @lsmod | grep gtp@
80 7 wirelesss
81 8 wirelesss
give us information about gtp and related udp tunnel:
82 7 wirelesss
83
<pre>
84
gtp                    28672  0
85
udp_tunnel             16384  1 gtp
86
</pre>
87 8 wirelesss
88
89
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.   
90 7 wirelesss
91
92
93
94
95
96
 
Add picture from clipboard (Maximum size: 48.8 MB)