WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: if you should ever have trouble with dns for nc, here's how to fix getTime.sh  (Read 4114 times)

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
(not a script)

tce-load nano.tce wget install
sudo su
cd /usr/bin
nano getTime.sh

i could have combined some of those lines (you could too.) where it says "time-nw.nist.gov" change that to ""

where it says: nc "$NIST" 13 change that to: nc -n "$NIST" 13 (save and exit. getTime.sh should operate again.)