/etc/sgsnemu.conf is in openggsn 0.92-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | ##############################################################################
#
# Sample sgsnemu configuration file
#
##############################################################################
# TAG: debug
# Include this flag to include debug information.
#debug
# TAG: conf
# Configuration file to use. This file is the configuration file,
# so changing this parameter in the configuration file does not make
# sense. Use it on the command line instead.
# TAG: pidfile
# File to store information about the pricess id of the program.
# The program must have write access to this file/directory.
#pidfile ./sgsnemu.pid
# TAG: statedir
# Directory to use for nonvolatile storage.
# The program must have write access to this directory.
#statedir ./
# TAG: dns
# DNS server to use for ns lookups.
# If this tag is not set the system default DNS will be used.
#dns 10.1.2.3
# TAG: listen
# Specifies the local IP address to listen to
#listen 10.0.0.217
# TAG: remote
# Specifies the remote IP address to connect to
# If DNS is setup correctly it should be possible to specify the
# access point name (APN) as the remote address.
#remote 10.0.0.240
# TAG: contexts
# Number of contexts to establish from the emulator to the ggsn.
# Set this tag to zero to not establish any contexts.
#contexts 1
# TAG: timelimit
# Disconnect contexts after timelimit seconds, and exit the program.
# Setting timelimit to zero will cause the program not to disconnect.
#timelimit 0
# TAG: apn
# Access point name to connect to when run in client mode.
#apn internet
# TAG: selmode
# Selection mode to use when connecting to GGSN.
#selmode 0x01
# TAG: imsi
# IMSI number used when run in client mode.
#imsi 2400101234567890
# TAG: msisdn
# MSISDN number used when run in client mode.
#msisdn 46702123456
# TAG: qos
# Requested Quality of Service used when run in client mode.
# 3 bytes corresponding to ????
#qos 0x0b921f
# TAG: uid
# User ID used when run in client mode.
#uid mig
# TAG: pwd
# Password used when run in client mode.
#pwd hemlig
# TAG: createif
# Use this flag if you want to set up a local network interface after
# a PDP context has been established.
#createif
# TAG: defaultroute
# Use this flag if you want to add a default route after a network interface
# had been established.
#defaultroute
# TAG: ipup
# Script executed after network interface has been brought up.
# Executed with the following parameters: <devicename> <ip address>
#ipup /etc/sgsnemu/ip-up
# TAG: ipdown
# Script executed after network interface has been taken down.
# Executed with the following parameters: <devicename> <ip address>
#ipdown /etc/sgsnemu/ip-down
# TAG: pinghost
# Ping a remote host through a PDP context by using ICMP echo messages.
# If more than one PDP context has been established the ICMP messages will
# be distributed between all available contexts.
#pinghost 192.168.0.0
# TAG: pingrate
# Number of ping messages to send off each second.
#pingrate 1
# TAG: pingsize
# Size of ICMP echo message payload. Add 28 to get the full IP packet size.
#pingsize 56
# TAG: pingcount
# Number of ping messages to send off.
#pingcount 0
# TAG: pingquiet
# Do not print ping packet info.
#pingquiet
|