The PandA socket server normally starts automatically at boot time or when the
zpkg-daemon script is run. It is started and stopped by the script
etc/panda-server installed at /opt/etc/init.d.
The server can also be started from the command line with the following options.
-hDisplay help text listing all available command-line options.
-pportTCP port for configuration commands. Default:
8888.-dportTCP port for data capture. Default:
8889.-RAllow socket reuse via the
SO_REUSEADDRsocket option.-cconfig-dirDirectory from which the
config,registers, anddescriptionfiles are loaded. This argument must be specified.-fpersistence-fileFile from which persistence state is loaded on startup and to which it is saved during operation. If not specified, persistence state is not saved.
-t[poll][:holdoff[:backoff]]Three parameters (in seconds) controlling writes to the persistence file.
Every poll seconds the server checks for configuration changes. If a change is found, it waits a further holdoff seconds before writing. It then waits backoff seconds before resuming polling.
Defaults:
poll= 2,holdoff= 10,backoff= 60. With these defaults all parameters reach the persistence file within 72 seconds.The colon syntax lets you set any subset: for example
-t:20sets holdoff = 20 while leaving poll and backoff unchanged.-DRun the server as a daemon. This is the normal production mode; omit for debugging.
-Ppid-fileWrite the server process ID to the given file; the file is deleted on exit.
-TConfig-file validation mode: the server exits immediately after loading configuration files without accepting connections.
-MMAC-listInitialise up to four MAC address registers from the given file. The file may contain comment lines (starting with
#) and up to four MAC address lines, each either blank or a six-octet address inXX:XX:XX:XX:XX:XXformat.-XportConnect to an extension server running locally on the specified port. See Extension server for details.
-rrootfs-versionSpecify the rootfs version string reported by the
*IDN?command.