diff --git a/contrib/osmo-ggsn.spec.in b/contrib/osmo-ggsn.spec.in index 0a568ef..6d55af8 100644 --- a/contrib/osmo-ggsn.spec.in +++ b/contrib/osmo-ggsn.spec.in @@ -108,6 +108,7 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +) %{_mandir}/man8/sgsnemu.8%{?ext_man} %{_unitdir}/%{name}.service %dir %{_docdir}/%{name}/examples +%{_docdir}/%{name}/examples/osmo-ggsn-kernel-gtp.cfg %{_docdir}/%{name}/examples/osmo-ggsn.cfg %{_docdir}/%{name}/examples/sgsnemu.conf %dir %{_sysconfdir}/osmocom diff --git a/debian/osmo-ggsn.examples b/debian/osmo-ggsn.examples index fe0136c..f9e13b1 100644 --- a/debian/osmo-ggsn.examples +++ b/debian/osmo-ggsn.examples @@ -1,2 +1,3 @@ doc/examples/osmo-ggsn.cfg +doc/examples/osmo-ggsn-kernel-gtp.cfg doc/examples/sgsnemu.conf diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index f80ce0d..64c513a 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -1,4 +1,5 @@ OSMOCONF_FILES = \ + osmo-ggsn-kernel-gtp.cfg \ osmo-ggsn.cfg \ sgsnemu.conf \ $(NULL) diff --git a/doc/examples/osmo-ggsn-kernel-gtp.cfg b/doc/examples/osmo-ggsn-kernel-gtp.cfg new file mode 100644 index 0000000..28eb207 --- /dev/null +++ b/doc/examples/osmo-ggsn-kernel-gtp.cfg @@ -0,0 +1,51 @@ +! +! OpenGGSN (0.94.1-adac) configuration saved from vty +!! +! +log stderr + logging filter all 1 + logging color 1 + logging print category 0 + logging timestamp 0 + logging level ip info + logging level tun info + logging level ggsn info + logging level sgsn notice + logging level icmp6 notice + logging level lglobal notice + logging level llapd notice + logging level linp notice + logging level lmux notice + logging level lmi notice + logging level lmib notice + logging level lsms notice + logging level lctrl notice + logging level lgtp info + logging level lstats notice + logging level lgsup notice + logging level loap notice + logging level lss7 notice + logging level lsccp notice + logging level lsua notice + logging level lm3ua notice + logging level lmgcp notice +! +stats interval 5 +! +line vty + no login +! +ggsn ggsn0 + gtp state-dir /tmp + gtp bind-ip 127.0.0.2 + apn internet + gtpu-mode kernel-gtp + tun-device tun4 + type-support v4 + ip prefix dynamic 172.16.222.0/24 + ip dns 0 8.8.8.8 + ip dns 1 8.8.4.4 + ip ifconfig 172.16.222.0/24 + no shutdown + default-apn internet + no shutdown ggsn