On 11/05/2011 14:52, Robert Simmons wrote:
Is there a way to make sure that the interface is UP and working
before running ntpdate at boot on a box with a static IP address?
After setting ntpdate_enable="YES" in rc.conf, I get the following
error on boot:
Setting date via ntp.
Error
use
> >
> >
> > Also there's netwait_timeout, which defaults to 60 in
> /etc/defaults/rc.conf.
>
> I've finally got a combination of suggested configurations that get me
> to where I want to be (using ntpd, ntpdate, and netwait).
>
> However, I've found
Matthew Seaman writes:
> On 05/11/2011 22:19, Robert Simmons wrote:
>> On Sat, Nov 5, 2011 at 6:03 PM, Alexander Best wrote:
>>> same here. simply add something like the following to your crontab:
>>>
>>> 0 10 * * */2 /etc/rc.d/ntpd
s to 60 in /etc/defaults/rc.conf.
I've finally got a combination of suggested configurations that get me
to where I want to be (using ntpd, ntpdate, and netwait).
However, I've found that I still need ntpdate_enable="YES" rather than
ntpd_sync_on_start="YES". The reason for th
On Sat, 5 Nov 2011, d...@safeport.com wrote:
On Sat, 5 Nov 2011, Warren Block wrote:
On Sat, 5 Nov 2011, Robert Simmons wrote:
I've had this problem with machines using DHCP and the solution was to
use SYNCDHCP rather than DHCP in rc.conf. However, this box is using
a static IP address. But
On Sat, 5 Nov 2011, Robert Simmons wrote:
On Sat, Nov 5, 2011 at 6:55 PM, Warren Block wrote:
On Sat, 5 Nov 2011, Robert Simmons wrote:
Is there a way to make sure that the interface is UP and working
before running ntpdate at boot on a box with a static IP address?
Yes, it is. FreeBSD 8
On Sat, Nov 5, 2011 at 6:33 PM, Matthew Seaman
wrote:
> crontabs have this handy '@reboot' syntax... It's all explained in
> crontab(5).
Thanks!
> However, you would be well advised to run ntpd(8) rather than bodging
> the clock with ntpdate at intervals. ntpda
On Sat, Nov 5, 2011 at 6:55 PM, Warren Block wrote:
> On Sat, 5 Nov 2011, Robert Simmons wrote:
>> Is there a way to make sure that the interface is UP and working
>> before running ntpdate at boot on a box with a static IP address?
> Yes, it is. FreeBSD 8-STABLE and 9 have
On Sat, 5 Nov 2011, Robert Simmons wrote:
Is there a way to make sure that the interface is UP and working
before running ntpdate at boot on a box with a static IP address?
After setting ntpdate_enable="YES" in rc.conf, I get the following
error on boot:
Setting date via ntp.
Error
On 05/11/2011 22:19, Robert Simmons wrote:
> On Sat, Nov 5, 2011 at 6:03 PM, Alexander Best wrote:
>> same here. simply add something like the following to your crontab:
>>
>> 0 10 * * */2 /etc/rc.d/ntpdate onestart
>
> I have something sim
The keywords in /etc/rc.d/ntpdate have
# PROVIDE: ntpdate
# REQUIRE: NETWORKING syslogd named
# KEYWORD: nojail
which means that networking must be up first. The question in your
case is why name resolution is failing.
See what happens if you pick some public stratum 1 or stratum 2
servers for
On Sat, Nov 5, 2011 at 6:03 PM, Alexander Best wrote:
> same here. simply add something like the following to your crontab:
>
> 0 10 * * */2 /etc/rc.d/ntpdate onestart
I have something similar in my crontab which is not exactly what I
need. I want to make
that is running on bare metal, no VM. Fixed IP
address (198.162) behind a NAT firewall.
But, after booting, everything works correctly:
# /etc/rc.d/ntpdate onestart
Setting date via ntp.
5 Nov 18:09:31 ntpdate[1324]: step time server 128.10.254.7 offset
-0.000537 sec
>
> This happens when th
On Sat Nov 5 11, Robert Simmons wrote:
> Is there a way to make sure that the interface is UP and working
> before running ntpdate at boot on a box with a static IP address?
>
> After setting ntpdate_enable="YES" in rc.conf, I get the following
> error on boot:
>
>
unning ntpdate at boot on a box with a static IP address?
>
> After setting ntpdate_enable="YES" in rc.conf, I get the following
> error on boot:
>
> Setting date via ntp.
> Error : hostname nor servname provided, or not known
> 5 Nov 17:11:05
> ntpdate[786]: can'
Is there a way to make sure that the interface is UP and working
before running ntpdate at boot on a box with a static IP address?
After setting ntpdate_enable="YES" in rc.conf, I get the following
error on boot:
Setting date via ntp.
Error : hostname nor servname provided, or not kn
Is there a way to make sure that the interface is UP and working
before running ntpdate at boot on a box with a static IP address?
After setting ntpdate_enable="YES" in rc.conf, I get the following
error on boot:
Setting date via ntp.
Error : hostname nor servname provided, or not kn
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 13/03/2010 19:08:38, RW wrote:
> ntpd_sync_on_start="YES"
>
> is not a complete substitute for running ntpdate at startup. It allows
> ntpd to make a large correction, but it doesn't block the boot sequence
> so yo
On Sat, Mar 13, 2010 at 01:19:54PM -0600, Programmer In Training wrote:
> On 03/13/10 13:08, RW wrote:
>
> > ntpd_sync_on_start="YES"
>
> > you can run ntpdate at boot with
> >
> >ntpdate_enable=YES
> >
> > the rc script gets the
On 03/13/10 13:08, RW wrote:
> ntpd_sync_on_start="YES"
> you can run ntpdate at boot with
>
>ntpdate_enable=YES
>
> the rc script gets the servers from ntp.conf
Can you have both in rc.conf without abusing the ntp server(s) or should
it just be one or the ot
;s just a kind of habit.
>
> It's a bad habit you should try and cure yourself of. Stepping the
> clock with ntpdate(8) can cause nasty effects like time apparently
> going backwards -- and that will seriously upset a lot of software.
>
> Also, it doesn't account for t
While not having been part of this discussion I just want to say thanks
for the tips. I've used them to cease using ntpdate as well and am
already synced with a time server I know to be constantly reliable.
--
Yours In Christ,
PIT
Emails are not formal business letters, whatever businesse
epping the
clock with ntpdate(8) can cause nasty effects like time apparently going
backwards -- and that will seriously upset a lot of software.
Also, it doesn't account for the natural clock drift of your system, so
it's going to give you pretty terrible accuracy -- probably good to no
mo
2010/3/13 Randal L. Schwartz
>
> But really, why are you using ntpdate and not just ntpd?
>
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Come
>>>>> "RW" == RW writes:
RW> You can different servers like this:
RW> 0.ru.pool.ntp.org
RW> 1.ru.pool.ntp.org
RW> 2.ru.pool.ntp.org
RW> 3.ru.pool.ntp.org
But really, why are you using ntpdate and not just ntpd?
--
Randal L. Schwartz - Stonehenge Con
On Fri, 12 Mar 2010 18:06:45 +0300
Антон Клесс wrote:
> So, while ru.pool.ntp.org is pool of several servers, I have to run
> it as
>
> 5 * * * * /usr/sbin/ntpdate ru.pool.ntp.org ru.pool.ntp.org
> ru.pool.ntp.org> /dev/null
>
> to check 3 servers from pool?
>
You
So, while ru.pool.ntp.org is pool of several servers, I have to run it as
5 * * * * /usr/sbin/ntpdate ru.pool.ntp.org ru.pool.ntp.org
ru.pool.ntp.org> /dev/null
to check 3 servers from pool?
2010/3/12 RW
> On Fri, 12 Mar 2010 09:22:07 -0500
> Nathan Vidican wrote:
>
> > or
On Fri, 12 Mar 2010 09:22:07 -0500
Nathan Vidican wrote:
> or more specifically, if you don't want to leave ntpd running,
> read-up on 'ntpd -q' which mimmicks the behavior of ntpdate but
> allows you to use multiple ntp servers.
ntpdate supports multiple servers to
man ntpdate:
"
-s Divert logging output from the standard output (default) to the
system syslog(3) facility. This is designed primarily for
conve-
nience of cron(8) scripts.
"
Change your cron job to
5 * * * * /usr/sbin/ntpdate -s ru.pool.ntp.org
Антон Клесс skrev 2010-03-12 11:57:
I have the following line in my root cron:
5 * * * * /usr/sbin/ntpdate ru.pool.ntp.org> /dev/null
That must hourly adjust system time via NTP.
But I discover that it works from time to time: some days just once, some
days 5-6 times a day I receive e-m
I have the following line in my root cron:
5 * * * * /usr/sbin/ntpdate ru.pool.ntp.org > /dev/null
That must hourly adjust system time via NTP.
But I discover that it works from time to time: some days just once, some
days 5-6 times a day I receive e-mail with text like
12 Mar 12:05:05 ntpd
t errors and very good.
>
> It works for me at LAN, but I didn't manage to sync time by
> ntpdate at start time either when using PPPoE at my friends home.
> Seems that the network interface/something else is not
> ready at the time ntpdate fires. May be setting:
> -
>
27;t manage to sync time by
ntpdate at start time either when using PPPoE at my friends home.
Seems that the network interface/something else is not
ready at the time ntpdate fires. May be setting:
-
rc_debug="YES"
-
at /etc/rc.conf[.local] will be helpful.
> On Sun, Nov 29, 20
nf I have:
>
> ntpdate_enable="YES"
> ntpdate_hosts="ntp1.cs.wisc.edu"
>
> When I boot computer I get a message there are no this host but when I run
> /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
>
> I had the same in rc.conf on FreeBSD 7.2 and it wor
ES"
> > > ntpdate_hosts="ntp1.cs.wisc.edu"
> > >
> > > When I boot computer I get a message there are no this host but when I
> > > run /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
> > >
> > > I had the same in rc.conf on FreeBSD 7.2 and i
ge there are no this host but when I
run /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
I had the same in rc.conf on FreeBSD 7.2 and it works all the time. All
settings on FreeBSD8.0 are the same as I had on 7.2.
Might you have a Realtek network card?
Yes, I have realtek card too but it is not ac
computer I get a message there are no this host but when I
> > run /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
> >
> > I had the same in rc.conf on FreeBSD 7.2 and it works all the time. All
> > settings on FreeBSD8.0 are the same as I had on 7.2.
>
> Might you have
On Sun, 29 Nov 2009, ajtiM wrote:
I have new installed FreeBSD 8.0 and in rc.conf I have:
ntpdate_enable="YES"
ntpdate_hosts="ntp1.cs.wisc.edu"
When I boot computer I get a message there are no this host but when I run
/usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
I had th
On Sun, 29 Nov 2009 20:39:32 -0600
ajtiM wrote:
> Hi!
>
> I have new installed FreeBSD 8.0 and in rc.conf I have:
>
> ntpdate_enable="YES"
> ntpdate_hosts="ntp1.cs.wisc.edu"
>
> When I boot computer I get a message there are no this host but
> w
Hi!
I have new installed FreeBSD 8.0 and in rc.conf I have:
ntpdate_enable="YES"
ntpdate_hosts="ntp1.cs.wisc.edu"
When I boot computer I get a message there are no this host but when I run
/usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
I had the same in rc.conf on FreeBSD
Jonathan Horne wrote:
On Sunday 02 July 2006 15:49, Erik Nørgaard wrote:
There is a dhcp-option, ntp-servers, to set which ntp-server to use. It
would be quite useful with ntpdate. Does anyone have a patch to ntpdate
startup script or other hack that use this option? - just before I start
Thanks for the return! I've discovered my ISP has apparently shut off
port 123 (NTP), and if I dontpdate -u ntp.cape.comI get my
time set! But ntpq lacks ntpdate's option to use an unprivileged port.
I guess time is come to ask my ISP. (Shouldn't I have done tha be
On Sunday 02 July 2006 15:49, Erik Nørgaard wrote:
> Hi:
>
> There is a dhcp-option, ntp-servers, to set which ntp-server to use. It
> would be quite useful with ntpdate. Does anyone have a patch to ntpdate
> startup script or other hack that use this option? - just before I start
&
Hi:
There is a dhcp-option, ntp-servers, to set which ntp-server to use. It
would be quite useful with ntpdate. Does anyone have a patch to ntpdate
startup script or other hack that use this option? - just before I start
hacking myself...
Thanks, Erik
--
Ph: +34.666334818
On Sat, 17 Jun 2006 21:30:55 -0400 (EDT)
Charles Bacon <[EMAIL PROTECTED]> wrote:
> Since FreeBSD 4.5-Release, I have been unable to get NTP working on
> my two FreeBSD computers, one running 5.3Release and the other on
> 6.1Release. I have done nothing with the GENERIC kernel on either
> machine
Since FreeBSD 4.5-Release, I have been unable to get NTP working on
my two FreeBSD computers, one running 5.3Release and the other on
6.1Release. I have done nothing with the GENERIC kernel on either
machine. I talk SSH between them, and have been running ntpd on
both, each naming the other as w
Andrew P. wrote:
On 11/17/05, Bob Johnson <[EMAIL PROTECTED]> wrote:
[ ... ]
Leading numbers are not necessary in most cases.
I use:
server europe.pool.ntp.org
server europe.pool.ntp.org
server europe.pool.ntp.org
That selects 3 random servers from the whole
europe pool.
The point of using
our system is not fully operationl in the time you try to run
> > > ntpdate. Just edit your /etc/ntp.conf to connect to some time
> > > servers. Per example mine is:
> >
> > [cut very nice example]
> >
> > Thank you. I
> > You are probably right. I
On 11/16/05, dick hoogendijk <[EMAIL PROTECTED]> wrote:
> On Wed, 16 Nov 2005 17:15:24 +0200
> Ivailo Tanusheff <[EMAIL PROTECTED]> wrote:
>
> > Why you need to do this?
> > Your system is not fully operationl in the time you try to run
> > ntpdate. Just edi
On Wed, Nov 16, 2005 at 12:09:45PM -0500, Chuck Swiger wrote:
[...]
> Running "ntpdate -b" at boot to forcibly syncronize the clock is a pretty
> good idea, but you actually can convince ntpd to sync even a clock which is
> badly off via:
>
> -g Normally,
Andrew P. wrote:
On 11/16/05, dick hoogendijk <[EMAIL PROTECTED]> wrote:
[ ... ]
Thank you. I
You are probably right. I'll get rid of ntpdate in rc.conf.
I have two timeservers at the moment. I will look for some more in the
Netherlands. Yours are to far away ;-)
Last time I c
On 11/16/05, dick hoogendijk <[EMAIL PROTECTED]> wrote:
> On Wed, 16 Nov 2005 17:15:24 +0200
> Ivailo Tanusheff <[EMAIL PROTECTED]> wrote:
>
> > Why you need to do this?
> > Your system is not fully operationl in the time you try to run
> > ntpdate. Just edi
On Wed, 16 Nov 2005 17:15:24 +0200
Ivailo Tanusheff <[EMAIL PROTECTED]> wrote:
> Why you need to do this?
> Your system is not fully operationl in the time you try to run
> ntpdate. Just edit your /etc/ntp.conf to connect to some time
> servers. Per example mine is:
[cut
Why you need to do this?
Your system is not fully operationl in the time you try to run ntpdate.
Just edit your /etc/ntp.conf to connect to some time servers. Per example
mine is:
-su-2.05b# cat /etc/ntp.conf
server ntp2.usno.navy.mil
server tock.usno.navy.mil
server tick.usno.navy.mil
server
On 11/15/05, dick hoogendijk <[EMAIL PROTECTED]> wrote:
> I have a "ntpdate -b server" rule in my rc.conf before the ntpd daemon
> starts up. I get error msgs that the time server cannot be found.
> Is named run before or after ntpdate?
> Should I change the rule in s
dick hoogendijk schrieb:
I have a "ntpdate -b server" rule in my rc.conf before the ntpd daemon
starts up. I get error msgs that the time server cannot be found.
Is named run before or after ntpdate?
Should I change the rule in something like "ntpdate -b ip" ?
What
I have a "ntpdate -b server" rule in my rc.conf before the ntpd daemon
starts up. I get error msgs that the time server cannot be found.
Is named run before or after ntpdate?
Should I change the rule in something like "ntpdate -b ip" ?
What is the rule of thumb?
--
dick
Hi there-
I need your help. I tried get ntpdate work inside the Jail and it wont
let me set the clock.
The parent works correct time but inside the jail wont let me update
correct time clock. How do I get correct clock set inside the jail. Let me
know thanks!
PS. Do i have to kill the Jail
Never mind.. Please discard this. I successful correct the timezone inside
the jail.
thanks anyway!
At 11:42 AM 8/10/2003 -0700, fasty wrote:
Hi there-
I need your help. I tried get ntpdate work inside the Jail and it wont
let me set the clock.
The parent works correct time but inside the
On Sun, 3 Nov 2002, at 17:52 [=GMT-0500], Peter Leftwich wrote:
> But I wonder why there is no unix
> standard command to view and/or set the PC's current timezone!
Perhaps I don't understand your problem? What is wrong with 'date'?
voo:marc {783} date
Mon Nov 4 00:12:38 CET 2002
So I have CET
On Tue, 29 Oct 2002, Jacob Rhoden wrote:
> Are you in the right time zone? If you are in australia, you have to set
> preciscely where you are for it to work (for example, here in melbourne our
> time zone just went back an our for summer). Dont know if this may help, but
> i would guess that is wh
On Mon, 28 Oct 2002, Kent Stewart wrote:
> > ntpdate_enable="YES" # Run ntpdate to sync time on boot (or NO).
> > ntpdate_program="/usr/sbin/ntpdate" # path to ntpdate, if you want a different
>one.
> > ntpdate_flags="-b clock.isc.or
* Peter Leftwich [Tuesday 29 October 2002 04:11 am]
> I thought I had this in my /etc/rc.conf but didn't, so I added the
> following lines and rebooted:
>
> ntpdate_enable="YES" # Run ntpdate to sync time on boot (or
> NO). ntpdate_program="/usr/
# [EMAIL PROTECTED] / 2002-10-28 20:11:41 -0800:
> I thought I had this in my /etc/rc.conf but didn't, so I added the
> following lines and rebooted:
>
> ntpdate_enable="YES" # Run ntpdate to sync time on boot (or NO).
> ntpdate_program="/usr/sbin
Peter Leftwich wrote:
I thought I had this in my /etc/rc.conf but didn't, so I added the
following lines and rebooted:
ntpdate_enable="YES" # Run ntpdate to sync time on boot (or NO).
ntpdate_program="/usr/sbin/ntpdate" # path to ntpdate, if
I thought I had this in my /etc/rc.conf but didn't, so I added the
following lines and rebooted:
ntpdate_enable="YES" # Run ntpdate to sync time on boot (or NO).
ntpdate_program="/usr/sbin/ntpdate" # path to ntpdate, if you want a different one.
ntpdat
66 matches
Mail list logo