blob: be8f8e6ea4bd6027fe3a34870ab1f5a98826a524 [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
59# TAG: imsi
60# IMSI number used when run in client mode.
61#imsi 2400101234567890
62
63# TAG: msisdn
64# MSISDN number used when run in client mode.
65#msisdn 46702123456
66
67# TAG: qos
68# Requested Quality of Service used when run in client mode.
69# 3 bytes corresponding to ????
70#qos 0x0b921f
71
72# TAG: uid
73# User ID used when run in client mode.
74#uid mig
75
76# TAG: pwd
77# Password used when run in client mode.
78#pwd hemlig
79
jjakoa7cd2492003-04-11 09:40:12 +000080
jjako72fb5ab2003-01-28 16:15:54 +000081# TAG: createif
82# Use this flag if you want to set up a local network interface after
83# a PDP context has been established.
84#createif
85
jjakoa7cd2492003-04-11 09:40:12 +000086# TAG: defaultroute
87# Use this flag if you want to add a default route after a network interface
88# had been established.
89#defaultroute
90
jjako72fb5ab2003-01-28 16:15:54 +000091# TAG: ipup
92# Script executed after network interface has been brought up.
93# Executed with the following parameters: <devicename> <ip address>
94#ipup /etc/sgsnemu/ip-up
95
96# TAG: ipdown
97# Script executed after network interface has been taken down.
98# Executed with the following parameters: <devicename> <ip address>
99#ipdown /etc/sgsnemu/ip-down
100
jjakoe607f742003-07-06 21:21:30 +0000101
jjako72fb5ab2003-01-28 16:15:54 +0000102# TAG: pinghost
103# Ping a remote host through a PDP context by using ICMP echo messages.
104# If more than one PDP context has been established the ICMP messages will
105# be distributed between all available contexts.
106#pinghost 192.168.0.0
107
108# TAG: pingrate
109# Number of ping messages to send off each second.
110#pingrate 1
111
112# TAG: pingsize
113# Size of ICMP echo message payload. Add 28 to get the full IP packet size.
114#pingsize 56
115
116# TAG: pingcount
117# Number of ping messages to send off.
118#pingcount 0
119
120# TAG: pingquiet
121# Do not print ping packet info.
122#pingquiet
123
124
125
126
jjako52c24142002-12-16 13:33:51 +0000127