Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RPi NetBSD-7 NTP-ish question ....





.... I am midstroke configuring a RPiB+ to be the NTPD (& possibly timed) server for my LAN, replacing an aging & recently increasingly-unreliable FC-14 64-bit box. I am using a ghastly kluge to effect maintaining my LAN on my idea of local time, i.e. 6m15s (375 sec.) fast. I have the RPi's ntpd setup as an undisciplined local clock, & use a combination of ntpdate & adjtime to set its time to 'my ISP's ntp time + 375 sec'. This has been working for years on the old FC-14 box. All appears to work OK on the RPi, except the time doesn't really get set. Adjtime returns 0, indicating success, but the time is still off. I am logged in as regular user, then su to root, see below:


rpi # set
BLOCKSIZE=1k
ENV=/root/.shrc
HISTSIZE=100
HOME=/root
HOST=rpi
IFS='
'
LC_ALL=C
LOGNAME=root
OLDPWD=/root
OPTIND=1
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
PKG_PATH='ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/evbarm/7.0/All;ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/evbarm/6.0/All'
PS1='rpi # '
PS2='rpi > '
PS4='rpi + '
PWD=/etc
SHELL=/bin/sh
SU_FROM=wam
TERM=xterm
USER=root
_=date
rpi # whoami
root
rpi #

Any clues what's going on here ? TIA & keep up the good work.




--

	William A. Mahaffey III

 ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                           -- Gen. George S. Patton Jr.



Home | Main Index | Thread Index | Old Index