Tiny Core Linux

Tiny Core Base => TCB Tips & Tricks => Topic started by: tobiaus on May 11, 2009, 10:37:59 AM

Title: if you should ever have trouble with dns for nc, here's how to fix getTime.sh
Post by: tobiaus on May 11, 2009, 10:37:59 AM
(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 "131.107.13.100"

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