Re: ntp synaptic

2011-01-28 Thread Liam O'Toole
On 2011-01-27, Lorenzo Beretta lory.fu...@infinito.it wrote:
[...]
 About ntp:
 1) unless you *explicitly* order otherwise, it's meant for *small* clock 
 adjustments, up to a few seconds every day; so you must either force ntp 
 tp accept a big correction, or manually set the time with a decent 
 accuracy and then let ntp sync exactly
 2) I may be rong about this, but I'm at least 70% sure that no ntp 
 package is installed by default, save maybe ntpdate; if nothing else is 
 installed, you can install any ntp client you choose

If the ntp daemon is already installed, running 'ntpd -q' will do a
one-off time reset. Add the '-g' option for large adjustments.

-- 
Liam O'Toole
Cork, Ireland



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnik57v6.4ac.liam.p.otoole@dipsy.tubbynet



ntp synaptic

2011-01-27 Thread Paul Cartwright
My system rebooted yesterday. I had a 3 hour power outage due to a tree 
falling on the power lines down the street.
After I got a few emails, telling me my date was wrong, I noticed that 
it said it was tomorrow already. I tried to change it, but when I 
selected Adjust date  time from the systray,  clicked OK. It brought 
up a window for my admin password, saying time-admin needed system 
priveleges. When I put in the password, the screen just disappeared. So 
I thought I'd look up ntp packages in Synaptic. I went to 
System-administration-Synaptic package manager  clicked on it. Again, 
the screen blinked  disappeared. From a # terminal prompt I can run 
synaptic  it brings up the package manager. It seems something may be 
wrong with my system, but I'm not sure what.


As far as the time being wrong, what is the Normal ntp package that 
gets installed, or could be installed? I have a package installed, 
ntpdate, but it doesn't look like it has a daemon. I tried ntpd  
openntpd but when I run them ( /etc/init.d/ntpd start) they fail, with 
no log entries anywhere. suggestions?


--
Paul Cartwright


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d419253.3000...@pcartwright.com



Re: ntp synaptic

2011-01-27 Thread Slicky Johnson
On Thu, 27 Jan 2011 10:42:11 -0500
Paul Cartwright deb...@pcartwright.com wrote:

---8---

 As far as the time being wrong, what is the Normal ntp package that 
 gets installed, or could be installed? I have a package installed, 
 ntpdate, but it doesn't look like it has a daemon. I tried ntpd  
 openntpd but when I run them ( /etc/init.d/ntpd start) they fail,
 with no log entries anywhere. suggestions?
 

Paul, 
chrony has served me well for a few years now across all my machines.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110127131929.41cb4ad2@t61.debian-linux



Re: ntp synaptic

2011-01-27 Thread Brad Alexander
The ntp package is the one that contains the daemon. ntpdate is the
app for brute force adjustments.

[storm@defiant ~]$ dpkg -l | grep ntp
ii  ntp  1:4.2.6.p2+dfsg-1+b1
Network Time Protocol daemon and utility programs

[storm@defiant ~]$ apt-file list ntp
...snip...
ntp: /etc/cron.daily/ntp
ntp: /etc/default/ntp
ntp: /etc/dhcp/dhclient-exit-hooks.d/ntp
ntp: /etc/dhcp3/dhclient-exit-hooks.d/ntp
ntp: /etc/init.d/ntp
ntp: /etc/logcheck/ignore.d.server/ntp
ntp: /etc/ntp.conf
ntp: /usr/bin/ntpdc
ntp: /usr/bin/ntpq
ntp: /usr/bin/ntpsweep
ntp: /usr/bin/ntptrace
ntp: /usr/bin/tickadj
ntp: /usr/sbin/ntp-keygen
ntp: /usr/sbin/ntp-wait
ntp: /usr/sbin/ntpd
ntp: /usr/sbin/ntptime
ntp: /usr/share/doc/ntp/NEWS.Debian.gz
ntp: /usr/share/doc/ntp/NEWS.gz
ntp: /usr/share/doc/ntp/README.Debian.gz
ntp: /usr/share/doc/ntp/README.refclocks
ntp: /usr/share/doc/ntp/README.versions
ntp: /usr/share/doc/ntp/changelog.Debian.gz
ntp: /usr/share/doc/ntp/copyright
ntp: /usr/share/man/man1/ntpdc.1.gz
ntp: /usr/share/man/man1/ntpq.1.gz
ntp: /usr/share/man/man1/ntpsnmpd.1.gz
ntp: /usr/share/man/man1/ntpsweep.1.gz
ntp: /usr/share/man/man1/ntptrace.1.gz
ntp: /usr/share/man/man5/ntp.conf.5.gz
ntp: /usr/share/man/man8/ntp-keygen.8.gz
ntp: /usr/share/man/man8/ntp-wait.8.gz
ntp: /usr/share/man/man8/ntpd.8.gz
ntp: /usr/share/man/man8/ntptime.8.gz

--b

On Thu, Jan 27, 2011 at 10:42 AM, Paul Cartwright
deb...@pcartwright.com wrote:
 My system rebooted yesterday. I had a 3 hour power outage due to a tree
 falling on the power lines down the street.
 After I got a few emails, telling me my date was wrong, I noticed that it
 said it was tomorrow already. I tried to change it, but when I selected
 Adjust date  time from the systray,  clicked OK. It brought up a window
 for my admin password, saying time-admin needed system priveleges. When I
 put in the password, the screen just disappeared. So I thought I'd look up
 ntp packages in Synaptic. I went to System-administration-Synaptic package
 manager  clicked on it. Again, the screen blinked  disappeared. From a #
 terminal prompt I can run synaptic  it brings up the package manager. It
 seems something may be wrong with my system, but I'm not sure what.

 As far as the time being wrong, what is the Normal ntp package that gets
 installed, or could be installed? I have a package installed, ntpdate, but
 it doesn't look like it has a daemon. I tried ntpd  openntpd but when I run
 them ( /etc/init.d/ntpd start) they fail, with no log entries anywhere.
 suggestions?

 --
 Paul Cartwright


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
 of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/4d419253.3000...@pcartwright.com




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTim_WiOEfW=fr6j58jma9nqhzxltw2to-gacn...@mail.gmail.com



Re: ntp synaptic

2011-01-27 Thread Lorenzo Beretta

Il 27/01/2011 16:50, Paul Cartwright ha scritto:

My system rebooted yesterday. I had a 3 hour power outage due to a tree
falling on the power lines down the street.
After I got a few emails, telling me my date was wrong, I noticed that
it said it was tomorrow already. I tried to change it, but when I
selected Adjust date  time from the systray,  clicked OK. It brought
up a window for my admin password, saying time-admin needed system
priveleges. When I put in the password, the screen just disappeared. So
I thought I'd look up ntp packages in Synaptic. I went to
System-administration-Synaptic package manager  clicked on it. Again,
the screen blinked  disappeared. From a # terminal prompt I can run
synaptic  it brings up the package manager. It seems something may be
wrong with my system, but I'm not sure what.

As far as the time being wrong, what is the Normal ntp package that
gets installed, or could be installed? I have a package installed,
ntpdate, but it doesn't look like it has a daemon. I tried ntpd 
openntpd but when I run them ( /etc/init.d/ntpd start) they fail, with
no log entries anywhere. suggestions?

Is synaptic gives you problems, try aptitude -- the ui may not be as 
cute, but it's definitely usable.

About ntp:
1) unless you *explicitly* order otherwise, it's meant for *small* clock 
adjustments, up to a few seconds every day; so you must either force ntp 
tp accept a big correction, or manually set the time with a decent 
accuracy and then let ntp sync exactly
2) I may be rong about this, but I'm at least 70% sure that no ntp 
package is installed by default, save maybe ntpdate; if nothing else is 
installed, you can install any ntp client you choose



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d41f9d2$0$2050$4fafb...@reader1.news.tin.it