Re: ntpdate on FreeBSD 8.0

2009-12-03 Thread krad
2009/12/1 Boris Samorodov b...@ipt.ru

 On Tue, 1 Dec 2009 06:25:45 -0600 Franci Nabalanci wrote:

  I was not lucky. No one suggestions works. Maybe was wrong something with
 my
  installation CD? But thanks anywhere. I reinstalled FreeBSD 7.2 and it
 works
  without 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:
 -
 rc_debug=YES
 -
 at /etc/rc.conf[.local] will be helpful.

  On Sun, Nov 29, 2009 at 8:39 PM, ajtiM lum...@gmail.com 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 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.
  
   Thanks in advance.

 --
 WBR, Boris Samorodov (bsam)
 Research Engineer, http://www.ipt.ru Telephone  Internet SP
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org



try using ntpd with the -g flag and it should work ok
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on FreeBSD 8.0

2009-12-01 Thread Franci Nabalanci
I was not lucky. No one suggestions works. Maybe was wrong something with my
installation CD? But thanks anywhere. I reinstalled FreeBSD 7.2 and it works
without errors and very good.


On Sun, Nov 29, 2009 at 8:39 PM, ajtiM lum...@gmail.com 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 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.

 Thanks in advance.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on FreeBSD 8.0

2009-12-01 Thread Boris Samorodov
On Tue, 1 Dec 2009 06:25:45 -0600 Franci Nabalanci wrote:

 I was not lucky. No one suggestions works. Maybe was wrong something with my
 installation CD? But thanks anywhere. I reinstalled FreeBSD 7.2 and it works
 without 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:
-
rc_debug=YES
-
at /etc/rc.conf[.local] will be helpful.

 On Sun, Nov 29, 2009 at 8:39 PM, ajtiM lum...@gmail.com 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 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.
 
  Thanks in advance.

-- 
WBR, Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on FreeBSD 8.0

2009-11-30 Thread ajtiM
On Sunday 29 November 2009 21:38:04 Warren Block wrote:
 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 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?
 
 -Warren Block * Rapid City, South Dakota USA
 

Yes, I have realtek card too but it is not active. DHCP is on sk0 and as I 
wrote I never had problems with that. Maybe is different now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on FreeBSD 8.0

2009-11-30 Thread Warren Block

On Mon, 30 Nov 2009, ajtiM wrote:


On Sunday 29 November 2009 21:38:04 Warren Block wrote:

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 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 active. DHCP is on sk0 and as I
wrote I never had problems with that. Maybe is different now?


The 8.0 if_re code had the card go through a link up/down pair three 
times on startup.  By the time DHCP had gotten to it, other stuff had 
already errored out (sendmail in my case).  yongari fixed it with a 
patch:


http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c.diff?r1=1.162;r2=1.163

Your problem sounds like it might be similar.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on FreeBSD 8.0

2009-11-30 Thread Jonathan Chen
On Mon, Nov 30, 2009 at 06:13:24AM -0600, ajtiM wrote:
 On Sunday 29 November 2009 21:38:04 Warren Block wrote:
  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 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?
  
  -Warren Block * Rapid City, South Dakota USA
  
 
 Yes, I have realtek card too but it is not active. DHCP is on sk0 and as I 
 wrote I never had problems with that. Maybe is different now?

Try using:
ifconfig_sk0=SYNCDHCP 

which makes sure sk0 comes back with an address from DHCP before
proceeding.
-- 
Jonathan Chen j...@chen.org.nz
--
Only the meek get pinched. The bold survive.
  - Ferris Bueller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on FreeBSD 8.0

2009-11-29 Thread Anh K. Huỳnh
On Sun, 29 Nov 2009 20:39:32 -0600
ajtiM lum...@gmail.com 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
 when I run /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
 

This is due to DNS problem. Your DNS resolver must work before you run 
`ntpdate`.

 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.
 
 Thanks in advance.


-- 
Anh K. Huynh
Homepage: http://viettug.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ntpdate on FreeBSD 8.0

2009-11-29 Thread Warren Block

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 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?

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org