Tiny Core Base > TCB Tips & Tricks

if you should ever have trouble with dns for nc, here's how to fix getTime.sh


(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.)


[0] Message Index

Go to full version