time keep changing on PKT 0.9.8 image

ipbox9000

Member
Messages
53
Very impressed with PKT 0.9.8, but every time the box reboots the time zone changes, it goes backwards, I've tried messing with all the time options but it always does the same, anyone any idea?

Thanks
 

carrpet

Senior Member
Messages
183
Hi Ipbox9000, on the recent DGS images the time setting has been unstable on auto. Having got the right time in auto if it is switched back to manual it retains the correct settings. Not sure this works for E2 ?
 
Messages
700
I have seen this bug before, the problem seems to be that /etc/localtime symbolic is regenerated a reboot :

ll /etc/localtime
lrwxrwxrwx 1 root root 23 Sep 12 12:14 /etc/localtime -> /usr/share/zoneinfo/Azores


Just edit /etc/init.d/rcS and insert a line to redefine the correct link before ntpdate like this :
Code:
ln -s /usr/share/zoneinfo/Dublin /etc/localtime
if [ -e /var/config/satclock.off ]; then
ntpdate -b 207.46.232.182
fi
 
Last edited:
Top