[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adjtime attraverso la rete...



> Montati `rdate', e metti in `/etc/ppp/ip-up.d/rdate', eseguibile, una
> roba del tipo:
> 
> #!/bin/sh
> 
> SERVER=ntp.univ-lyon1.fr

Perche' non SERVER=www.ien.it (il server "ufficiale" in Italia?)  :-))

> [ -f /usr/sbin/rdate ] && echo -n "Syncing the date with \`$SERVER': " && rdate $SERVER

Molto comodo. Io aggiungerei anche:   hwclock --systohc

Ciao
Sabino
--


      +---------------------------------------------------+
      | Windows NT has detected that there were no errors |
      | for the past 10 minutes. The system will now try  |
      | to restart or crash. Click the OK button to       |
      | continue.                                         |
      |                       < Ok >                      |
      +---------------------------------------------------+

-----------------------------------------------------------------
Sabino Maggi                     !  tel: (+39) 011-3919-449 *NEW*
IEN "G. Ferraris"                !  fax: (+39) 011-3463-84
Strada delle Cacce, 91           !  e-mail: maggi@ien.it
I-10135 Torino, Italy            !  http:   www.ien.it/~maggi
-----------------------------------------------------------------





Reply to: