Hi, When I run dtnd with the -D option it seems to ignore the -c option. Is this how it's supposed to work? How can I configure dtnd in daemon mode?
When running with -D, daemon.log file contains: Jul 1 22:48:49 v004 dtnd[22359]: Sucessfully started Jul 1 22:48:49 v004 dtnd[22359]: IBR-DTN daemon 0.6.2 (build 40457) Jul 1 22:48:49 v004 dtnd[22359]: Using default settings. Call with --help for options. Jul 1 22:48:49 v004 dtnd[22359]: Switching user to nobody Jul 1 22:48:49 v004 dtnd[22359]: Local node name: dtn://v004 Jul 1 22:48:49 v004 dtnd[22359]: using bundle storage in memory-only mode Jul 1 22:48:49 v004 dtnd[22359]: DiscoveryAgent: broadcast mode 255.255.255.255:4551 Jul 1 22:48:49 v004 dtnd[22359]: Using default routing extensions Jul 1 22:48:49 v004 dtnd[22359]: Forwarding of bundles enabled. Jul 1 22:48:49 v004 dtnd[22359]: API initialized using tcp socket: lo:4550
When running without -D it prints: Sat Jul 2 00:01:17 2011 INFO: IBR-DTN daemon 0.6.2 (build 40457) Sat Jul 2 00:01:17 2011 INFO: Configuration: ibrdtn.conf.epidemic Sat Jul 2 00:01:17 2011 INFO: Local node name: dtn://v004 Sat Jul 2 00:01:17 2011 INFO: using bundle storage in memory-only mode Sat Jul 2 00:01:17 2011 INFO: DiscoveryAgent: broadcast mode 255.255.255.255:4551 Sat Jul 2 00:01:17 2011 INFO: DiscoveryAgent: bind to interface eth1 Sat Jul 2 00:01:17 2011 INFO: Using epidemic routing extensions Sat Jul 2 00:01:17 2011 INFO: Initializing epidemic routing module Sat Jul 2 00:01:17 2011 INFO: Forwarding of bundles enabled. Sat Jul 2 00:01:17 2011 INFO: TCP ConvergenceLayer added on eth1:4556 Sat Jul 2 00:01:17 2011 INFO: API initialized using tcp socket: lo:4550
Thanks, Brenton
Hi Brenton,
the dtnd do not ignore the configuration file in daemon mode. Do you use one of our debian / ubuntu packages? Maybe daemon can not find the configuration file. Try to set the configuration path absolute and not relative.
Best regards Johannes
Am 02.07.2011 06:10, schrieb Brenton:
Hi, When I run dtnd with the -D option it seems to ignore the -c option. Is this how it's supposed to work? How can I configure dtnd in daemon mode?
When running with -D, daemon.log file contains: Jul 1 22:48:49 v004 dtnd[22359]: Sucessfully started Jul 1 22:48:49 v004 dtnd[22359]: IBR-DTN daemon 0.6.2 (build 40457) Jul 1 22:48:49 v004 dtnd[22359]: Using default settings. Call with --help for options. Jul 1 22:48:49 v004 dtnd[22359]: Switching user to nobody Jul 1 22:48:49 v004 dtnd[22359]: Local node name: dtn://v004 Jul 1 22:48:49 v004 dtnd[22359]: using bundle storage in memory-only mode Jul 1 22:48:49 v004 dtnd[22359]: DiscoveryAgent: broadcast mode 255.255.255.255:4551 Jul 1 22:48:49 v004 dtnd[22359]: Using default routing extensions Jul 1 22:48:49 v004 dtnd[22359]: Forwarding of bundles enabled. Jul 1 22:48:49 v004 dtnd[22359]: API initialized using tcp socket: lo:4550
When running without -D it prints: Sat Jul 2 00:01:17 2011 INFO: IBR-DTN daemon 0.6.2 (build 40457) Sat Jul 2 00:01:17 2011 INFO: Configuration: ibrdtn.conf.epidemic Sat Jul 2 00:01:17 2011 INFO: Local node name: dtn://v004 Sat Jul 2 00:01:17 2011 INFO: using bundle storage in memory-only mode Sat Jul 2 00:01:17 2011 INFO: DiscoveryAgent: broadcast mode 255.255.255.255:4551 Sat Jul 2 00:01:17 2011 INFO: DiscoveryAgent: bind to interface eth1 Sat Jul 2 00:01:17 2011 INFO: Using epidemic routing extensions Sat Jul 2 00:01:17 2011 INFO: Initializing epidemic routing module Sat Jul 2 00:01:17 2011 INFO: Forwarding of bundles enabled. Sat Jul 2 00:01:17 2011 INFO: TCP ConvergenceLayer added on eth1:4556 Sat Jul 2 00:01:17 2011 INFO: API initialized using tcp socket: lo:4550
Thanks, Brenton
participants (2)
-
Brenton
-
Johannes Morgenroth