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 "fg" f "Run in foreground" flag off |
| 19 | option "debug" d "Run in debug mode" flag off |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 20 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 21 | option "conf" c "Read configuration file" string no |
| 22 | option "pidfile" - "Filename of process id file" string default="./sgsnemu.pid" no |
| 23 | option "statedir" - "Directory of nonvolatile data" string default="./" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 24 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 25 | option "dns" - "DNS Server to use" string no |
| 26 | option "listen" l "Local interface" string no |
| 27 | option "remote" r "Remote host" string no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 28 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 29 | option "contexts" - "Number of contexts" int default="1" no |
| 30 | option "timelimit" - "Exit after timelimit seconds" int default="0" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 31 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 32 | option "apn" a "Access point name" string default="internet" no |
| 33 | option "imsi" i "IMSI" string default="240010123456789" no |
| 34 | option "msisdn" m "Mobile Station ISDN number" string default="46702123456" no |
| 35 | option "qos" q "Requested quality of service" int default="0x0b921f" no |
| 36 | option "uid" u "Login user ID" string default="mig" no |
| 37 | option "pwd" p "Login password" string default="hemmelig" no |
jjako | 52c2414 | 2002-12-16 13:33:51 +0000 | [diff] [blame] | 38 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 39 | option "createif" - "Create local network interface" flag off |
| 40 | option "defaultroute" - "Create default route" flag off |
| 41 | option "ipup" - "Script to run after link-up" string no |
| 42 | option "ipdown" - "Script to run after link-down" string no |
jjako | 5da6845 | 2003-01-28 16:08:47 +0000 | [diff] [blame] | 43 | |
jjako | a7cd249 | 2003-04-11 09:40:12 +0000 | [diff] [blame] | 44 | option "pinghost" - "Ping remote host" string no |
| 45 | option "pingrate" - "Number of ping req per second" int default="1" no |
| 46 | option "pingsize" - "Number of ping data bytes" int default="56" no |
| 47 | option "pingcount" - "Number of ping req to send" int default="0" no |
| 48 | option "pingquiet" - "Do not print ping packet info" flag off |
jjako | 5da6845 | 2003-01-28 16:08:47 +0000 | [diff] [blame] | 49 | |