blob: 43b2458ec30c778ceb6b908ecd40836d22e9d10d [file] [log] [blame]
jjako52c24142002-12-16 13:33:51 +00001##############################################################################
2#
3# Sample sgsnemu configuration file
4#
5##############################################################################
6
jjako52c24142002-12-16 13:33:51 +00007# TAG: debug
8# Include this flag to include debug information.
9#debug
10
11
12# TAG: conf
13# Configuration file to use. This file is the configuration file,
14# so changing this parameter in the configuration file does not make
15# sense. Use it on the command line instead.
16
17# TAG: pidfile
18# File to store information about the pricess id of the program.
19# The program must have write access to this file/directory.
20#pidfile ./sgsnemu.pid
21
22# TAG: statedir
23# Directory to use for nonvolatile storage.
24# The program must have write access to this directory.
jjakoa7cd2492003-04-11 09:40:12 +000025#statedir ./
jjako52c24142002-12-16 13:33:51 +000026
27
28# TAG: dns
29# DNS server to use for ns lookups.
30# If this tag is not set the system default DNS will be used.
jjakoa7cd2492003-04-11 09:40:12 +000031#dns 10.1.2.3
jjako52c24142002-12-16 13:33:51 +000032
33# TAG: listen
34# Specifies the local IP address to listen to
jjakoe607f742003-07-06 21:21:30 +000035#listen 10.0.0.217
jjako52c24142002-12-16 13:33:51 +000036
37# TAG: remote
38# Specifies the remote IP address to connect to
39# If DNS is setup correctly it should be possible to specify the
40# access point name (APN) as the remote address.
jjakoe607f742003-07-06 21:21:30 +000041#remote 10.0.0.240
42
jjako52c24142002-12-16 13:33:51 +000043
jjako52c24142002-12-16 13:33:51 +000044# TAG: contexts
jjako52c24142002-12-16 13:33:51 +000045# Number of contexts to establish from the emulator to the ggsn.
46# Set this tag to zero to not establish any contexts.
47#contexts 1
48
jjako52c24142002-12-16 13:33:51 +000049# TAG: timelimit
50# Disconnect contexts after timelimit seconds, and exit the program.
51# Setting timelimit to zero will cause the program not to disconnect.
52#timelimit 0
53
54
55# TAG: apn
56# Access point name to connect to when run in client mode.
57#apn internet
58
jjako1a51df72004-07-20 08:30:21 +000059# TAG: selmode
60# Selection mode to use when connecting to GGSN.
61#selmode 0x01
62
jjako52c24142002-12-16 13:33:51 +000063# 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
jjakoe607f742003-07-06 21:21:30 +0000105
jjako72fb5ab2003-01-28 16:15:54 +0000106# TAG: pinghost
107# Ping a remote host through a PDP context by using ICMP echo messages.
108# If more than one PDP context has been established the ICMP messages will
109# be distributed between all available contexts.
110#pinghost 192.168.0.0
111
112# TAG: pingrate
113# Number of ping messages to send off each second.
114#pingrate 1
115
116# TAG: pingsize
117# Size of ICMP echo message payload. Add 28 to get the full IP packet size.
118#pingsize 56
119
120# TAG: pingcount
121# Number of ping messages to send off.
122#pingcount 0
123
124# TAG: pingquiet
125# Do not print ping packet info.
126#pingquiet
127
128
129
130
jjako52c24142002-12-16 13:33:51 +0000131