jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 1 | # OpenGGSN - Gateway GPRS Support Node |
| 2 | # Copyright (C) 2002, 2003 Mondru AB. |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 3 | # |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 4 | # The contents of this file may be used under the terms of the GNU |
| 5 | # General Public License Version 2, provided that the above copyright |
| 6 | # notice and this permission notice is included in all copies or |
| 7 | # substantial portions of the software. |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 8 | # |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 9 | # The initial developer of the original code is |
| 10 | # Jens Jakobsen <jj@openggsn.org> |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 11 | # |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 12 | # Contributor(s): |
| 13 | # |
| 14 | # |
| 15 | # Use "gengetopt --conf-parser < cmdline.ggo" |
| 16 | # to generate cmdline.c and cmdline.h |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 17 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 18 | option "debug" d "Run in debug mode" flag off |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 19 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 20 | option "conf" c "Read configuration file" string no |
| 21 | option "pidfile" - "Filename of process id file" string default="./sgsnemu.pid" no |
| 22 | option "statedir" - "Directory of nonvolatile data" string default="./" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 23 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 24 | option "dns" - "DNS Server to use" string no |
| 25 | option "listen" l "Local interface" string no |
| 26 | option "remote" r "Remote host" string no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 27 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 28 | option "contexts" - "Number of contexts" int default="1" no |
| 29 | option "timelimit" - "Exit after timelimit seconds" int default="0" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 30 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 31 | option "apn" a "Access point name" string default="internet" no |
| 32 | option "imsi" i "IMSI" string default="240010123456789" no |
| 33 | option "msisdn" m "Mobile Station ISDN number" string default="46702123456" no |
| 34 | option "qos" q "Requested quality of service" int default="0x0b921f" no |
| 35 | option "uid" u "Login user ID" string default="mig" no |
| 36 | option "pwd" p "Login password" string default="hemmelig" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 37 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 38 | option "createif" - "Create local network interface" flag off |
| 39 | option "defaultroute" - "Create default route" flag off |
| 40 | option "ipup" - "Script to run after link-up" string no |
| 41 | option "ipdown" - "Script to run after link-down" string no |
jjako | 5da6845 | 2003-01-28 16:08:47 +0000 | [diff] [blame] | 42 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 43 | option "pinghost" - "Ping remote host" string no |
| 44 | option "pingrate" - "Number of ping req per second" int default="1" no |
| 45 | option "pingsize" - "Number of ping data bytes" int default="56" no |
| 46 | option "pingcount" - "Number of ping req to send" int default="0" no |
| 47 | option "pingquiet" - "Do not print ping packet info" flag off |
jjako | 5da6845 | 2003-01-28 16:08:47 +0000 | [diff] [blame] | 48 | |