Re: update time

2005-10-07 Thread DR GAVIN SEDDON
Hello,
I am familiar with these commands.  A while ago I read a thread that
gave a command that automatically updates the time.  I thought I
recorded it.
Thanks.



On Thu, 2005-10-06 at 18:46 -0600, Wesley J. Landaker wrote:
 hwclock


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: update time

2005-10-07 Thread Jacob Bresciani
Same here, they seem to have been replaced with openntpd which does  
seem to include ntpdate, just ntpd.


Jacob Bresciani

Passwords are like bubble gum, strongest when fresh, should never be  
used by groups and create a sticky mess when left laying around


-anon


On Oct 6, 2005, at 7:02 PM, John C. Martin wrote:


On Thursday 06 October 2005 8:46 pm, Wesley J. Landaker wrote:

There is ntpdate (set the time from an NTP server), date (read  
or set

the local clock), and hwclock (query and set the hardware
clock--generaelly you don't need to run this manually).



Speaking of ntpdate:
Last I checked the ntp, ntpdate, ntp-simple, and ntp-server  
packages seemed to

be missing from the amd64 mirrors that I have been using
(debian.csail.mit.edu and mirror.espri.arizona.edu).  This has been  
the case
for at least a week or two now.  I just pulled the .deb files I had  
from the
apt cache on another local machine and moved on, but does anyone  
know what is

the story with the missing packages?
--
John C. Martin - http://www.cs.utk.edu/~jomartin
* Please be aware that non-encrypted e-mail is NOT a secured  
communication
* vehicle, and that others may in certain circumstances be able to  
view its
* contents. You should encrypt your e-mail.  Disclaimers in your e- 
mail
* signature about confidentiality and designated recipients are  
silly and

* useless.
* Use my gpg key to ensure privacy - http://www.cs.utk.edu/ 
~jomartin/John.gpg





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: update time

2005-10-07 Thread Ernest jw ter Kuile
On Friday 07 October 2005 02:25, Dr Gavin Seddon wrote:
 Hi, I looked in the archives and to update my console clock the command
 is 'ntupdate' however this doesn't work.  Can anyone tell me the
 command?

This is a bit unclear. do you have the command or not ?

it should be located in /usr/sbin, so trying it out as user will usually fail.

If you find it, try as root :

#   ntpdate pool.ntp.org

This will try to read the time on a server over using UDP with port 123, so 
that port should be opened outbound in your firewall.

if you install the debian package, ntpdate will do this during each boot. 
So if you are like most people and reboot regularly, your system should stay 
quite on time.

Cheers,

Ernest.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: update time

2005-10-07 Thread Jacob Bresciani

On Oct 7, 2005, at 2:35 PM, Ernest jw ter Kuile wrote:


On Friday 07 October 2005 02:25, Dr Gavin Seddon wrote:

Hi, I looked in the archives and to update my console clock the  
command

is 'ntupdate' however this doesn't work.  Can anyone tell me the
command?



This is a bit unclear. do you have the command or not ?

it should be located in /usr/sbin, so trying it out as user will  
usually fail.


If you find it, try as root :

#   ntpdate pool.ntp.org

This will try to read the time on a server over using UDP with port  
123, so

that port should be opened outbound in your firewall.

if you install the debian package, ntpdate will do this during each  
boot.
So if you are like most people and reboot regularly, your system  
should stay

quite on time.

Cheers,

Ernest.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact  
[EMAIL PROTECTED]




or just cron it to happen on a regular basis (hourly...). I for one  
don't reboot unless there is a kernel upgrade/patch and my clocks  
need to stay sync'ed for Kerberos to function properly.


And an FYI

[EMAIL PROTECTED]:~ $ sudo apt-get install ntpdate
Reading Package Lists... Done
Building Dependency Tree... Done
Package ntpdate is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ntpdate has no installation candidate

my sources are as follows:
deb http://amd64.debian.net/debian-amd64/ testing main contrib non-free
deb http://debian.csail.mit.edu/debian-amd64/debian/ testing main  
contrib non-free
deb-src http://debian.csail.mit.edu/debian-amd64/debian/ testing main  
contrib non-free



Jacob Bresciani

Passwords are like bubble gum, strongest when fresh, should never be  
used by groups and create a sticky mess when left laying around


-anon


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: update time

2005-10-07 Thread mikepolniak
On 14:53 Fri 07 Oct , Jacob Bresciani wrote:
 On Oct 7, 2005, at 2:35 PM, Ernest jw ter Kuile wrote:
 
 On Friday 07 October 2005 02:25, Dr Gavin Seddon wrote:
 
 Hi, I looked in the archives and to update my console clock the  
 command
 is 'ntupdate' however this doesn't work.  Can anyone tell me the
 command?
 
 
 This is a bit unclear. do you have the command or not ?
 
 it should be located in /usr/sbin, so trying it out as user will  
 usually fail.
 
 If you find it, try as root :
 
 #   ntpdate pool.ntp.org
 
 This will try to read the time on a server over using UDP with port  
 123, so
 that port should be opened outbound in your firewall.
 
 if you install the debian package, ntpdate will do this during each  
 boot.
 So if you are like most people and reboot regularly, your system  
 should stay
 quite on time.
 
 Cheers,
 
 Ernest.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact  
 [EMAIL PROTECTED]
 
 
 or just cron it to happen on a regular basis (hourly...). I for one  
 don't reboot unless there is a kernel upgrade/patch and my clocks  
 need to stay sync'ed for Kerberos to function properly.
 
 And an FYI
 
 [EMAIL PROTECTED]:~ $ sudo apt-get install ntpdate
 Reading Package Lists... Done
 Building Dependency Tree... Done
 Package ntpdate is not available, but is referred to by another package.
 This may mean that the package is missing, has been obsoleted, or
 is only available from another source
 E: Package ntpdate has no installation candidate
 
 my sources are as follows:
 deb http://amd64.debian.net/debian-amd64/ testing main contrib non-free
 deb http://debian.csail.mit.edu/debian-amd64/debian/ testing main  
 contrib non-free
 deb-src http://debian.csail.mit.edu/debian-amd64/debian/ testing main  
 contrib non-free
 
I got ntpdate from the _stable_ tree a few days ago.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



update time

2005-10-06 Thread Dr Gavin Seddon
Hi, I looked in the archives and to update my console clock the command
is 'ntupdate' however this doesn't work.  Can anyone tell me the
command?
Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: update time

2005-10-06 Thread Wesley J. Landaker
On Thursday 06 October 2005 18:25, Dr Gavin Seddon wrote:
 Hi, I looked in the archives and to update my console clock the command
 is 'ntupdate' however this doesn't work.  Can anyone tell me the
 command?

There is ntpdate (set the time from an NTP server), date (read or set 
the local clock), and hwclock (query and set the hardware 
clock--generaelly you don't need to run this manually).

-- 
Wesley J. Landaker [EMAIL PROTECTED] xmpp:[EMAIL PROTECTED]
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2


pgpRVNRMqKWja.pgp
Description: PGP signature


Re: update time

2005-10-06 Thread John C. Martin
On Thursday 06 October 2005 8:46 pm, Wesley J. Landaker wrote:
 There is ntpdate (set the time from an NTP server), date (read or set
 the local clock), and hwclock (query and set the hardware
 clock--generaelly you don't need to run this manually).

Speaking of ntpdate:
Last I checked the ntp, ntpdate, ntp-simple, and ntp-server packages seemed to 
be missing from the amd64 mirrors that I have been using 
(debian.csail.mit.edu and mirror.espri.arizona.edu).  This has been the case 
for at least a week or two now.  I just pulled the .deb files I had from the 
apt cache on another local machine and moved on, but does anyone know what is 
the story with the missing packages?
-- 
John C. Martin - http://www.cs.utk.edu/~jomartin
* Please be aware that non-encrypted e-mail is NOT a secured communication
* vehicle, and that others may in certain circumstances be able to view its
* contents. You should encrypt your e-mail.  Disclaimers in your e-mail 
* signature about confidentiality and designated recipients are silly and 
* useless.
* Use my gpg key to ensure privacy - http://www.cs.utk.edu/~jomartin/John.gpg


pgpZO2DIfTbR3.pgp
Description: PGP signature