CAPTCHA
Image CAPTCHA
Enter the characters shown in the image.
This question is for testing whether or not you are human.
  • Create new account
  • Reset your password

User account menu

Home
The Hyperlogos
Read Everything

Main navigation

  • Home
  • My Resumé
  • blog
  • Howtos
  • Pages
  • Contact
  • Search

Set the clock on the dockstar

Breadcrumb

  • Home
  • User Blogs
  • User Blog
  • Set the clock on the dockstar
By drink | Tue February 05, 2013

The dockstar doesn't have an RTC to keep costs down. If you're running Debian Squeeze (and you probably should be) then you can make the following tweak to /etc/init.d/ntp to use ntpdate (which you should also install) to set the time before running ntp.

case $1 in
  start)
    if [ -x /usr/sbin/ntpdate-debian ]; then
      log_daemon_msg "Setting system clock with ntpdate" "ntpdate-debian"
      /usr/sbin/ntpdate-debian
    fi

log_daemon_msg "Starting NTP server" "ntpd"

Install ntp and ntpdate and insert the given if..fi block after start) and before the log_daemon_msg line for starting ntpd in the file /etc/init.d/ntp as shown above. Done and done.

Debian
pogoplug
dockstar
howto
  • Log in or register to post comments

Footer menu

  • Contact
Powered by Drupal

Copyright © 2025 Martin Espinoza - All rights reserved