blob: 0b562ec5dbd47acab41147787e17aa9bf8dc7822 [file] [log] [blame]
jjakoa7cd2492003-04-11 09:40:12 +00001# OpenGGSN - Gateway GPRS Support Node
2# Copyright (C) 2002, 2003 Mondru AB.
jjako52c24142002-12-16 13:33:51 +00003#
jjakoa7cd2492003-04-11 09:40:12 +00004# 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.
jjako52c24142002-12-16 13:33:51 +00008#
jjakoa7cd2492003-04-11 09:40:12 +00009# The initial developer of the original code is
10# Jens Jakobsen <jj@openggsn.org>
jjako52c24142002-12-16 13:33:51 +000011#
jjakoa7cd2492003-04-11 09:40:12 +000012# Contributor(s):
13#
14#
15# Use "gengetopt --conf-parser < cmdline.ggo"
16# to generate cmdline.c and cmdline.h
jjako52c24142002-12-16 13:33:51 +000017
jjakoa7cd2492003-04-11 09:40:12 +000018option "fg" f "Run in foreground" flag off
19option "debug" d "Run in debug mode" flag off
jjako52c24142002-12-16 13:33:51 +000020
jjakoa7cd2492003-04-11 09:40:12 +000021option "conf" c "Read configuration file" string no
22option "pidfile" - "Filename of process id file" string default="./sgsnemu.pid" no
23option "statedir" - "Directory of nonvolatile data" string default="./" no
jjako52c24142002-12-16 13:33:51 +000024
jjakoa7cd2492003-04-11 09:40:12 +000025option "dns" - "DNS Server to use" string no
26option "listen" l "Local interface" string no
27option "remote" r "Remote host" string no
jjako52c24142002-12-16 13:33:51 +000028
jjakoa7cd2492003-04-11 09:40:12 +000029option "contexts" - "Number of contexts" int default="1" no
30option "timelimit" - "Exit after timelimit seconds" int default="0" no
jjako52c24142002-12-16 13:33:51 +000031
jjakoa7cd2492003-04-11 09:40:12 +000032option "apn" a "Access point name" string default="internet" no
33option "imsi" i "IMSI" string default="240010123456789" no
34option "msisdn" m "Mobile Station ISDN number" string default="46702123456" no
35option "qos" q "Requested quality of service" int default="0x0b921f" no
36option "uid" u "Login user ID" string default="mig" no
37option "pwd" p "Login password" string default="hemmelig" no
jjako52c24142002-12-16 13:33:51 +000038
jjakoa7cd2492003-04-11 09:40:12 +000039option "createif" - "Create local network interface" flag off
40option "defaultroute" - "Create default route" flag off
41option "ipup" - "Script to run after link-up" string no
42option "ipdown" - "Script to run after link-down" string no
jjako5da68452003-01-28 16:08:47 +000043
jjakoa7cd2492003-04-11 09:40:12 +000044option "pinghost" - "Ping remote host" string no
45option "pingrate" - "Number of ping req per second" int default="1" no
46option "pingsize" - "Number of ping data bytes" int default="56" no
47option "pingcount" - "Number of ping req to send" int default="0" no
48option "pingquiet" - "Do not print ping packet info" flag off
jjako5da68452003-01-28 16:08:47 +000049