jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 1 | ############################################################################## |
| 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 | # |
| 10 | fg |
| 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. |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 30 | #statedir ./ |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 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. |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 36 | #dns 10.1.2.3 |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 37 | |
| 38 | # TAG: listen |
| 39 | # Specifies the local IP address to listen to |
jjako | 72fb5ab | 2003-01-28 16:15:54 +0000 | [diff] [blame] | 40 | listen 10.0.0.217 |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 41 | |
| 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. |
| 46 | remote 10.0.0.240 |
| 47 | |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 48 | # TAG: contexts |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 49 | # 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 | |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 53 | # 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 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 84 | |
jjako | 72fb5ab | 2003-01-28 16:15:54 +0000 | [diff] [blame] | 85 | # 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 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 90 | # 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 | |
jjako | 72fb5ab | 2003-01-28 16:15:54 +0000 | [diff] [blame] | 95 | # 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 | |
jjako | 72fb5ab | 2003-01-28 16:15:54 +0000 | [diff] [blame] | 105 | # 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 | |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 130 | |