Hi all! I have a defective xntpd running i think talen:~ # cat /etc/ntp.conf server 130.235.20.3 talen:~ # rcxntpd start Try to get initial date and time via NTP from 192.168.1.254 I HAD 192.168.1.254 i the .conf a while back, but its not there anymore. Whats wrong? Where is 192.168.1.254 stored? -- /Rikard --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
* Rikard Johnels
talen:~ # rcxntpd start Try to get initial date and time via NTP from 192.168.1.254
I HAD 192.168.1.254 i the .conf a while back, but its not there anymore. Whats wrong? Where is 192.168.1.254 stored?
192.168.xxx.xxx is your local network -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Saturday 25 December 2004 18:06, Patrick Shanahan wrote:
* Rikard Johnels
[12-25-04 12:01]: talen:~ # rcxntpd start Try to get initial date and time via NTP from 192.168.1.254
I HAD 192.168.1.254 i the .conf a while back, but its not there anymore. Whats wrong? Where is 192.168.1.254 stored?
192.168.xxx.xxx is your local network -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
I know it is! Thats the point! I had a timeserver on 192.168.1.254, but that box is dead and gone. So i want to get initial time from a external server (130.235.20.3). But somehow the old IP is cached.... What am i missing here? -- /Rikard --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
On Saturday 25 December 2004 11:15 am, Rikard Johnels wrote:
On Saturday 25 December 2004 18:06, Patrick Shanahan wrote:
* Rikard Johnels
[12-25-04 12:01]: talen:~ # rcxntpd start Try to get initial date and time via NTP from 192.168.1.254
I HAD 192.168.1.254 i the .conf a while back, but its not there anymore. Whats wrong? Where is 192.168.1.254 stored?
192.168.xxx.xxx is your local network -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
I know it is! Thats the point! I had a timeserver on 192.168.1.254, but that box is dead and gone. So i want to get initial time from a external server (130.235.20.3). But somehow the old IP is cached.... What am i missing here?
--
Hi Rikard, There is a YAST routine to configure and auto start XNTP now. PeterB -- -- Proud SUSE user since 5.2 Loving SUSE 9.2 My BLOG == http://vancampen.org/blog --
Rikard, On Saturday 25 December 2004 09:00, Rikard Johnels wrote:
Hi all!
I have a defective xntpd running i think
talen:~ # cat /etc/ntp.conf server 130.235.20.3
That appears to be a host in Sweden, as are you, judging from your email address.
talen:~ # rcxntpd start Try to get initial date and time via NTP from 192.168.1.254
I HAD 192.168.1.254 i the .conf a while back, but its not there anymore. Whats wrong? Where is 192.168.1.254 stored?
As a previous reply pointed out, this is a non-routable address that, if valid, must be that of a host on your LAN. However, to answer your actual question, that address could be coming from "/etc/sysconfig/xntp", which is read by the "rcxntpd" script to obtain configuration information. You might want to consider using YaST to configure your time server. Doing it this way will ensure that the proper configuration file is updated. Manual update (by editing config files) requires you to know all the particulars of SuSE's means of handling system configuration, which as I understand it is unique and distinct from other Linux distributions. YaST -> Network Services -> NTP Client In the resulting window you can configure the time server(s) you wish to use as well as a few other details. You can also view the log and configure firewall interaction, if necessary. This is how I set up my NTP client, and it has always worked just fine. I have two servers configured, one supplied by my ISP and another by a public time server here in the States.
--
/Rikard
Randall Schulz
On Saturday 25 December 2004 18:25, Randall R Schulz wrote:
Rikard,
On Saturday 25 December 2004 09:00, Rikard Johnels wrote:
Hi all!
I have a defective xntpd running i think
talen:~ # cat /etc/ntp.conf server 130.235.20.3
That appears to be a host in Sweden, as are you, judging from your email address.
talen:~ # rcxntpd start Try to get initial date and time via NTP from 192.168.1.254
I HAD 192.168.1.254 i the .conf a while back, but its not there anymore. Whats wrong? Where is 192.168.1.254 stored?
As a previous reply pointed out, this is a non-routable address that, if valid, must be that of a host on your LAN.
However, to answer your actual question, that address could be coming from "/etc/sysconfig/xntp", which is read by the "rcxntpd" script to obtain configuration information.
You might want to consider using YaST to configure your time server. Doing it this way will ensure that the proper configuration file is updated. Manual update (by editing config files) requires you to know all the particulars of SuSE's means of handling system configuration, which as I understand it is unique and distinct from other Linux distributions.
YaST -> Network Services -> NTP Client
In the resulting window you can configure the time server(s) you wish to use as well as a few other details. You can also view the log and configure firewall interaction, if necessary.
This is how I set up my NTP client, and it has always worked just fine. I have two servers configured, one supplied by my ISP and another by a public time server here in the States.
--
/Rikard
Randall Schulz
Thanx! Thats it! "/etc/sysconfig/xntp" was what i was looking for. Yes i am from Sweden. Stockholm to be more exact. -- /Rikard --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
participants (4)
-
Patrick Shanahan
-
Peter B Van Campen
-
Randall R Schulz
-
Rikard Johnels