Project

General

Profile

OsmoGGSN » History » Version 7

wirelesss, 12/08/2016 02:52 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
Please follow instructions provided at [[https://osmocom.org/projects/cellular-infrastructure/wiki/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
./configure --enable-gtp-linux
47
</pre>
48
49
Following message is shown at end of the command @ ./configure --enable-gtp-linux@ response:
50
51
<pre>
52
openggsn Configuration:
53
  GTP Linux kernel support:			yes
54 1 laforge
</pre>
55
56 7 wirelesss
This means that appropriate header files are available.
57
58 6 wirelesss
<pre>
59
sudo make install
60
sudo ldconfig
61 1 laforge
</pre> 
62 7 wirelesss
63
h2. Using OpenGGSN with kernel-gtp 
64
65
In order to find out whether gtp.ko module is available we can enter following command:
66
67
<pre>
68
find /lib/modules/`uname -r` -name gtp.ko
69
</pre>
70
71
In case of similar output:
72
73
<pre>
74
/lib/modules/4.8.0-28-generic/kernel/drivers/net/gtp.ko
75
</pre>
76
77
we can be sure that gtp.ko module is present.
78
79
80
81
with <pre>sudo modprobe gtp </pre> 
82
we are loading module gtp from kernel.
83
84
85
issuing command give us information about gtp:
86
87
@lsmod | grep gtp@
88
89
<pre>
90
gtp                    28672  0
91
udp_tunnel             16384  1 gtp
92
</pre>
93
94
95
96
97
98
99
 
Add picture from clipboard (Maximum size: 48.8 MB)