blob: 3fd8aa0f7c1f7a366f161ccea8146e826194b422 [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.
30#pidfile ./sgsnemu.pid
31
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.
36#pidfile ./sgsnemu.pid
37
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
49# Use of this tag is EXPERIMENTAL
50# Number of contexts to establish from the emulator to the ggsn.
51# Set this tag to zero to not establish any contexts.
52#contexts 1
53
54# TAG: static
55# Use of this tag is EXPERIMENTAL
56# Use this flag if you do not want to set dynamic tun interfaces.
57# If this flag is set a single network interface is established.
jjako72fb5ab2003-01-28 16:15:54 +000058#static
jjako52c24142002-12-16 13:33:51 +000059
60# TAG: timelimit
61# Disconnect contexts after timelimit seconds, and exit the program.
62# Setting timelimit to zero will cause the program not to disconnect.
63#timelimit 0
64
65
66# TAG: apn
67# Access point name to connect to when run in client mode.
68#apn internet
69
70# TAG: imsi
71# IMSI number used when run in client mode.
72#imsi 2400101234567890
73
74# TAG: msisdn
75# MSISDN number used when run in client mode.
76#msisdn 46702123456
77
78# TAG: qos
79# Requested Quality of Service used when run in client mode.
80# 3 bytes corresponding to ????
81#qos 0x0b921f
82
83# TAG: uid
84# User ID used when run in client mode.
85#uid mig
86
87# TAG: pwd
88# Password used when run in client mode.
89#pwd hemlig
90
jjako72fb5ab2003-01-28 16:15:54 +000091# TAG: createif
92# Use this flag if you want to set up a local network interface after
93# a PDP context has been established.
94#createif
95
96# TAG: ipup
97# Script executed after network interface has been brought up.
98# Executed with the following parameters: <devicename> <ip address>
99#ipup /etc/sgsnemu/ip-up
100
101# TAG: ipdown
102# Script executed after network interface has been taken down.
103# Executed with the following parameters: <devicename> <ip address>
104#ipdown /etc/sgsnemu/ip-down
105
106# TAG: defaultroute
107# Use this flag if you want to add a default route to the routing tables
108# after the network interface has been brought up.
109# If net and/or mask tags are set this overrides the use of a default route.
110#defaultroute
111
112# TAG: net
113# IP network address of external packet data network.
114# Only used if the defaultroute flag is set.
115#net 0.0.0.0
116
117# TAG: mask
118# IP network mask of external packet data network.
119# Only used if the defaultroute flag is set.
120#mask 0.0.0.0
121
122# TAG: pinghost
123# Ping a remote host through a PDP context by using ICMP echo messages.
124# If more than one PDP context has been established the ICMP messages will
125# be distributed between all available contexts.
126#pinghost 192.168.0.0
127
128# TAG: pingrate
129# Number of ping messages to send off each second.
130#pingrate 1
131
132# TAG: pingsize
133# Size of ICMP echo message payload. Add 28 to get the full IP packet size.
134#pingsize 56
135
136# TAG: pingcount
137# Number of ping messages to send off.
138#pingcount 0
139
140# TAG: pingquiet
141# Do not print ping packet info.
142#pingquiet
143
144
145
146
jjako52c24142002-12-16 13:33:51 +0000147