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