Hello Mats Erik, This default only works for setups which uses dhcp, not for statically adresses or ppp(oe/oatm). So a default setting is difficult to give.
http://leaf.sourceforge.net/doc/buci-dnsmasq3.html Eric > Hello Matt Cartter, > > > your problem is due to the fact that Openntpd is using /etc/resolv.conf, > which in the default setting is pointing to the interior address > 192.168.1.254. Unfortunately, Dnsmasq is in its > default setting (of Bering) not propagating the external nameserver from > /etc/dhcp/resolv.conf, > so Openntpd has no access to any external time server, and thus produces > those error messages. The simplest remedy is to activate name resolution: > > > resolv-file=/etc/dhcpc/resolv.conf > > in /etc/dnsmasq.conf. Then Openntpd will be operational from boot time. I > have suggested this default value to KP Kirchdörfer. We will have to wait > and see whether it does get implemented. > > Regards > > > Mats Erik Andersson > > >> Message: 2 >> Date: Tue, 19 Feb 2008 14:05:35 -0500 >> From: "Matt Cartter" <[EMAIL PROTECTED]> >> Subject: [leaf-user] openntpd problem on 3.1-rc1 >> To: <leaf-user@lists.sourceforge.net> >> Message-ID: <[EMAIL PROTECTED]> >> Content-Type: text/plain; charset="us-ascii" >> >> >> I am running 3.1-rc1. >> >> >> When openntpd is started in the -s mode, I get the following: >> Running start command ... >> Starting openntpd: dispatch_imsg in main: pipe closed >> Lost child: child exited >> Terminating >> openntpd. >> >> The command failed. Usually this is due to an >> error in the configuration file. >> >> When openntpd is started in configtest mode (-n), I get the following: >> Running start command ... >> Starting openntpd: ntp engine ready >> imsg_get: Bad file descriptor >> ntp engine exiting Lost child: child exited >> Terminating >> openntpd. >> >> The command failed. Usually this is due to an >> error in the configuration file. >> >> >> The configuration files are as follows: >> /etc/default/openntpd >> # Uncomment to set the system time when starting in case the offset >> # between the local clock and the servers is more than 180 seconds. >> # For other options, see man ntpd(8). >> DAEMON_OPTS=" -s" >> >> >> /etc/openntpd/ntpd.conf >> # $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $ >> # sample ntpd configuration file, see ntpd.conf(5) >> >> >> # Addresses to listen on (ntpd does not listen by default) >> #listen on * >> #listen on 127.0.0.1 >> #listen on ::1 >> >> >> # sync to a single server >> #server ntp.example.org >> >> >> # use a random selection of 8 public stratum 2 servers >> # see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers >> servers pool.ntp.org >> >> Any suggestions you have for finding the source of this problem would >> be greatly appreciated. >> >> Matt >> >> >> >> >> >> >> ------------------------------ >> >> >> ----------------------------------------------------------------------- >> -- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> >> >> ------------------------------ >> >> >> _______________________________________________ >> leaf-user mailing list leaf-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/leaf-user >> >> >> >> End of leaf-user Digest, Vol 21, Issue 9 >> **************************************** >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > leaf-user mailing list: leaf-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-user > Support Request -- http://leaf-project.org/ > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/