Re: how to set correct time?
I think I have another solution, and an explanation.
ntpdate -u tells it to use an unprivileged port. The man page notes that -d (debug) always uses an unprivileged port, and I guess -q (query) does also.
So I expect I can close the port and use -u instead.
On Fri, Apr 20, 2001 at 10:26:16PM -0700, Ross Boylan wrote:
> Thanks. Opening up the port was exactly what I needed.
> Odd that query doesn't require the port, but actually setting the time does.
> On Fri, Apr 20, 2001 at 02:17:11PM -0800, Ethan Benson wrote:
> > On Fri, Apr 20, 2001 at 10:58:21AM -0700, Ross Boylan wrote:
> > > I installed ntpdate and can get the time when I query, but any time I
> > > try to set the time I get the error
> > > 20 Apr 10:45:07 ntpdate: no server suitable for synchronization
> > > found
> > >
> > > Does anyone have any suggestions how to get this to work? Possibly
> > > relevant facts: Debian woody, 2.4.2 kernel, iptables firewalling, my
> > > system clock is set to local time (I dual boot with other OSs), and
> > > I'm pretty sure my startup and shutdown routines sync with the
> > > hardware clock. I was running as root, using a dialup connection.
> > if your firewalling you need to open udp port 123 to incoming
> > connections. even for ntpdate in my experience.
> > --
> > Ethan Benson
> > http://www.alaska.net/~erbenson/