Find the answer to your Linux question:
Results 1 to 2 of 2
hi on my debian sarge stable I have in cron.hourly the following entry: Code: debian:~# cat /etc/cron.hourly/ntpdate #!/bin/sh /usr/sbin/ntpdate -v 130.133.1.10 131.188.3.220 193.67.79.202 ; /sbin/hwclock --systohc > /dev/null 2>&1 because ...
  1. #1
    cc
    cc is offline
    Linux Newbie
    Join Date
    Jun 2004
    Posts
    120

    howto start ntpdate after restart ?

    hi

    on my debian sarge stable I have in cron.hourly the following entry:
    Code:
    debian:~# cat /etc/cron.hourly/ntpdate
    #!/bin/sh
    
    /usr/sbin/ntpdate -v 130.133.1.10 131.188.3.220 193.67.79.202 ; /sbin/hwclock --systohc > /dev/null 2>&1
    because I'll synchronize the system time every hour,

    but the machine has a wirelless card with wpa encryption and the cron will start before the internet connection, so the system is hanging each time during the restart.

    could someone help me pls to solve this problem ?

    kind regards
    cc

  2. #2
    Just Joined!
    Join Date
    Jan 2006
    Posts
    71
    do you have your wireless card connect automatically when you boot up? I checked my startup scripts and it looks like ntpdate starts after networking does, but you may want to check yours.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •