Results 1 to 2 of 2

Thread: ntpdate script does not seem to start at the right time.

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    27

    ntpdate script does not seem to start at the right time.

    Still working through the documentation but there's a ntpdate script in /etc/init.d and, on boot up, it appears that it is trying to load before ppp is set up. However, when I look in /etc/rcS.d, the ntpdate scripts starts with s51 while the ppp script starts with s38. According to my understanding, this should be OK since that means ppp should start before ntpdate.

    Am I missing something?

    Thanks

    Joe

  2. #2
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    27

    Okay, might have a solution...

    I did the following (as root):

    First, I backed up my ntpdate script:

    mv /etc/init.d/ntpdate /etc/init.d/ntpdate.bak

    Then, I removed it from startup (it was at s51):

    update-rc.d ntpdate remove

    Then, I restored the ntpdate script:

    mv /etc/init.d/ntpdate.bak /etc/init.d/ntpdate

    Then, I reinstalled it at 80

    update-rc.d ntpdate defaults 80

    Only problem is that the echo'd messages don't show since it's probably the last thing that happens at boot. OTOH - The clock is correct as compared to my cell phone and daylight savings time is coming up so I should know if it worked or not by then for sure.

Similar Threads

  1. Start script on shutdown
    By spyhome in forum Customising & Remastering
    Replies: 0
    Last Post: 05-07-2005, 04:35 PM
  2. how to make sshd start automatically at boot time?
    By lothario in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 08-18-2004, 09:14 PM
  3. Hellp with script execution at boot time
    By Ish Rattan in forum General Support
    Replies: 1
    Last Post: 05-15-2004, 03:46 AM
  4. start sshd at boot time
    By lothario in forum General Support
    Replies: 6
    Last Post: 04-29-2004, 09:47 AM
  5. how do I start Apache and samba at bootup time?
    By bubazoo in forum General Support
    Replies: 6
    Last Post: 11-22-2003, 06:51 AM

Posting Permissions

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


16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY picture

16GB KIT (2x8GB) DDR3 Gamer Desktop RAM PC3 MIXED BRANDS VIPER VENGEANCE FURY

$10.00



Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit picture

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit

$99.99



MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory picture

MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory

$149.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$21.68



32GB KIT - 2x SK Hynix 16GB 2Rx8 PC4-2666V DDR4 SODIMM Laptop Memory RAM picture

32GB KIT - 2x SK Hynix 16GB 2Rx8 PC4-2666V DDR4 SODIMM Laptop Memory RAM

$99.99



Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC picture

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC

$29.99



Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM  M393A4K40CB2-CTD6Q picture

Samsung 32GB DDR4-2666V-2Rx4-RB2-12 RAM M393A4K40CB2-CTD6Q

$169.00



Crucial Laptop Ram 32GB (2x16GB) RAM DDR4 3200MHz CT16G4SFRA32A picture

Crucial Laptop Ram 32GB (2x16GB) RAM DDR4 3200MHz CT16G4SFRA32A

$119.99



Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1 picture

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1

$399.00



Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM picture

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM

$43.00