Elegoo Set Local/Change NTP Server

Elegoo Set Local/Change NTP Server

Reyt then;

I prefer to block outbound access to the outside world for various devices, including 3d printers. I prefer to handle everything locally.

With Elegoo Printers (neptune 4 max / giga) maybe others they call the following ntp servers on startup

ntp.aliyun.com / pool.ntp.org

Via a shell script in the root directory called set-time.sh

Also the timezone seems to be set to China so here I will update that too. You could also use the following instructions to update the ntp timeservers to something like time.cloudflare.com if you prefer that.

  1. First SSH in to your printer (i like to use putty, right click to paste in putty)

the neptune 4 max is already rooted and you can login with
user: mks password: makerbase

With the orangestorm giga, use the elegoo screen, settings and root device.
Then these logins will work for SSH: user: elegoo password: giga3dp

  1. To set the timezone use: sudo armbian-config

When complete exit armbian config and run: sudo mc

This will open midnight commander a nice little file browser.
I like to create a backup directory and copy the set-time.sh file to it just incase.

  1. After that in midnight command go to /root/ and highlight set-time.sh and press edit, from the options select the nano editor
  2. Change all instances of ntp.aliyun.com / pool.ntp.org to your chosen timeserver, in my case this is a local ip.

Save the file, if using nano that's CTRL X then Y to save

You can test after on the command line with

sudo /usr/sbin/ntpdate TIMESERVERHERE

To check if it works, reboot your printer and check the time in fluidd.