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 2 laforge
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 3 laforge
9 3 laforge
The source code is maintained in the osmcoom git at http://git.osmocom.org/openggsn/
10 3 laforge
11 3 laforge
h2. Binary packages
12 1 laforge
13 1 laforge
OpenGGSN packages are created as part of the Osmocom nightly debian builds, see [[cellular-infrastructure:NightlyBuilds]]
14 4 laforge
15 4 laforge
h2. Support / mailing lists
16 4 laforge
17 4 laforge
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 5 wirelesss
Ubuntu 16.10, kernel 4.8.0-30-generic is used. 
22 5 wirelesss
23 5 wirelesss
* Installing dependencies and build library @libgtpnl@
24 5 wirelesss
25 6 wirelesss
You can install those packages with:
26 5 wirelesss
27 5 wirelesss
<pre>
28 5 wirelesss
sudo apt install libtalloc-dev libpcsclite libmnl-dev
29 5 wirelesss
</pre>
30 5 wirelesss
31 5 wirelesss
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 6 wirelesss
35 5 wirelesss
* libgtpnl
36 5 wirelesss
37 5 wirelesss
<pre>
38 5 wirelesss
  sudo make install
39 5 wirelesss
  sudo ldconfig
40 5 wirelesss
</pre>
41 5 wirelesss
42 5 wirelesss
* libosmocore 
43 5 wirelesss
* openggsn
44 5 wirelesss
45 5 wirelesss
<pre>
46 5 wirelesss
./configure --enable-gtp-linux
47 5 wirelesss
</pre>
48 5 wirelesss
49 5 wirelesss
Following message is shown at end of the command @ ./configure --enable-gtp-linux@ response:
50 5 wirelesss
51 5 wirelesss
<pre>
52 5 wirelesss
openggsn Configuration:
53 5 wirelesss
  GTP Linux kernel support:			yes
54 1 laforge
</pre>
55 1 laforge
56 7 wirelesss
This means that appropriate header files are available.
57 7 wirelesss
58 6 wirelesss
<pre>
59 6 wirelesss
sudo make install
60 6 wirelesss
sudo ldconfig
61 1 laforge
</pre> 
62 7 wirelesss
63 7 wirelesss
h2. Using OpenGGSN with kernel-gtp 
64 7 wirelesss
65 7 wirelesss
In order to find out whether gtp.ko module is available we can enter following command:
66 7 wirelesss
67 7 wirelesss
<pre>
68 7 wirelesss
find /lib/modules/`uname -r` -name gtp.ko
69 7 wirelesss
</pre>
70 7 wirelesss
71 7 wirelesss
In case of similar output:
72 7 wirelesss
73 7 wirelesss
<pre>
74 7 wirelesss
/lib/modules/4.8.0-28-generic/kernel/drivers/net/gtp.ko
75 7 wirelesss
</pre>
76 7 wirelesss
77 7 wirelesss
we can be sure that gtp.ko module is present.
78 7 wirelesss
79 7 wirelesss
80 7 wirelesss
81 7 wirelesss
with <pre>sudo modprobe gtp </pre> 
82 7 wirelesss
we are loading module gtp from kernel.
83 7 wirelesss
84 7 wirelesss
85 7 wirelesss
issuing command give us information about gtp:
86 7 wirelesss
87 7 wirelesss
@lsmod | grep gtp@
88 7 wirelesss
89 7 wirelesss
<pre>
90 7 wirelesss
gtp                    28672  0
91 7 wirelesss
udp_tunnel             16384  1 gtp
92 7 wirelesss
</pre>
93 7 wirelesss
94 7 wirelesss
95 7 wirelesss
96 7 wirelesss
97 7 wirelesss
98 7 wirelesss
99 7 wirelesss
 
Add picture from clipboard (Maximum size: 48.8 MB)