Tiny Core Base > TCB Tips & Tricks

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

(1/1)

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

Navigation

[0] Message Index

Go to full version