[ntp:questions] Silly question.
Hi All. Here's something to make you all laugh In the process of configuring a new instance of NTP on FreeBSD_9.2 Mostly, all's gone well. But, Even though I successfully downloaded built and installed 4.2.6p5_2 (that took a very long time.) The instance of the Meinberg ntp monitor program I use from another PC, shows that the BSD box is using 4.2.4p5-a OK, I've found the system variable in /etc/defaults/rc.conf, NTPD_PROGRAM="/usr/sbin/ntpd" But, I don't know, nor can find out where the newly built newer version ntpd was placed, so I can change that variable above. So... Where is it likely to have been put? Or how do I find out? Regards. Dave B, confused again. ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
Le 14 déc. 2013 à 22:21, DaveB a écrit : > Hi All. > > Here's something to make you all laugh > > In the process of configuring a new instance of NTP on FreeBSD_9.2 > > Mostly, all's gone well. > > But, Even though I successfully downloaded built and installed 4.2.6p5_2 > (that took a very long time.) > > The instance of the Meinberg ntp monitor program I use from another PC, > shows that the BSD box is using 4.2.4p5-a > > OK, I've found the system variable in /etc/defaults/rc.conf, > > NTPD_PROGRAM="/usr/sbin/ntpd" > > But, I don't know, nor can find out where the newly built newer version > ntpd was placed, so I can change that variable above. > > So... Where is it likely to have been put? Or how do I find out? My ntp programes went into /usr/local/bin/ > > Regards. > > Dave B, confused again. > > > > > > ___ > questions mailing list > questions@lists.ntp.org > http://lists.ntp.org/listinfo/questions ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
DaveB wrote: Hi All. Here's something to make you all laugh In the process of configuring a new instance of NTP on FreeBSD_9.2 Mostly, all's gone well. But, Even though I successfully downloaded built and installed 4.2.6p5_2 (that took a very long time.) The instance of the Meinberg ntp monitor program I use from another PC, shows that the BSD box is using 4.2.4p5-a OK, I've found the system variable in /etc/defaults/rc.conf, NTPD_PROGRAM="/usr/sbin/ntpd" But, I don't know, nor can find out where the newly built newer version ntpd was placed, so I can change that variable above. So... Where is it likely to have been put? Or how do I find out? Regards. Dave B, confused again. Hi Don't you have /etc/rc.conf NetBSD might not be relevant but when I started builds/installs of ntpd-dev-4.2.7 I found that ntpd seemed to lock /usr/sbin/ntpd in place and my attempts at copying from /usr/local/bin were failing. Workaround was first to stop ntpd, copy new version, restart ntpd. That was while testing to see if the change was worthwhile. I've now changed my default PATH so that /usr/local/bin/ntpd is picked up first. My /etc/rc.d/ntpd has a hardcoded command path and I also updated that. David ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
On 2013-12-15, Hal Murray wrote: >>But, I don't know, nor can find out where the newly built newer version >>ntpd was placed, so I can change that variable above. >> If you built it from a port, it gets installed in /usr/local/bin. The default system built ntp programs go in /usr/bin or /usr/sbin. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
Hal Murray wrote: In article , DaveB writes: But, I don't know, nor can find out where the newly built newer version ntpd was placed, so I can change that variable above. So... Where is it likely to have been put? Or how do I find out? You could run "make install" again, and watch the printout to see where it put stuff. You could try something like "locate ntpd | grep usr" (That's guessing that it's someplace in usr.) The locate database only gets updated weekly, but "man locate" will tell you how to update it right-now. You could try "find /usr -name ntpd" I don't have FreeBSD running just now but on NetBSD: $ whereis ntpd /usr/sbin/ntpd /usr/local/bin/ntpd David ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
In article , lau...@acm.org says... > > If you built it from a port, it gets installed in /usr/local/bin. The > default system built ntp programs go in /usr/bin or /usr/sbin. > > Tom Thanks Tom (and the rest of the collective).. That's exactly were it was hiding (in plain sight!) I've added override variables in /etc/rc.conf to point to both ntpd and ntpdate that are located in /usr/local/bin. I also see there is a companion ntpq in there too, but in /etc/default/rc.conf There is no "default" path set to that program. For now, I've a commented out line in /etc/rc.conf # ntpq_program="/usr/local/bin/ntpq" Commented out as I don't know if that will work. (I'm still re- educating myself with the neuances of BSD, it's been a while.) Ntpdate was only run the one time to yank the box to current date-time, but ntpq is of course run as needed to see what's happening, often over a sshd session, if I get an email from someone wondering why something appears to have gone awry, on a yet to be reinstated webpage. For now, having stopped ntpd, applied the changes I need in /etc/rc.conf then restarted ntpd, sure enough, the Meinberg monitor program on the Windows PC accross the room now reports the BSD box is running ntpd 4.2.6p5@1.2.3.4.9 built on December the 14th at 10:15 UTC, that is indeed the day and time I built it. So... So far, so good. Comments would be appreciated re setting the path to ntpq, but for now, all's working, while I figure out what next to do... Best Regards. Dave B. ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
DaveB wrote: In article , lau...@acm.org says... If you built it from a port, it gets installed in /usr/local/bin. The default system built ntp programs go in /usr/bin or /usr/sbin. Tom Thanks Tom (and the rest of the collective).. That's exactly were it was hiding (in plain sight!) I've added override variables in /etc/rc.conf to point to both ntpd and ntpdate that are located in /usr/local/bin. I also see there is a companion ntpq in there too, but in /etc/default/rc.conf There is no "default" path set to that program. For now, I've a commented out line in /etc/rc.conf # ntpq_program="/usr/local/bin/ntpq" Commented out as I don't know if that will work. (I'm still re- educating myself with the neuances of BSD, it's been a while.) Ntpdate was only run the one time to yank the box to current date-time, but ntpq is of course run as needed to see what's happening, often over a sshd session, if I get an email from someone wondering why something appears to have gone awry, on a yet to be reinstated webpage. For now, having stopped ntpd, applied the changes I need in /etc/rc.conf then restarted ntpd, sure enough, the Meinberg monitor program on the Windows PC accross the room now reports the BSD box is running ntpd 4.2.6p5@1.2.3.4.9 built on December the 14th at 10:15 UTC, that is indeed the day and time I built it. So... So far, so good. Comments would be appreciated re setting the path to ntpq, but for now, all's working, while I figure out what next to do... Again this is from NetBSD-6 rather than FreeBSD-5.2.1. I have /etc/profile used to set profile for newly created users and have changed PATH so /usr/local/(s)bin is found before /usr/pkg/(s)bin before /(s)bin. I also updated .profile and .bash_profile for existing users. Note this is a security risk if users can drop programs in /usr/local/(s)bin David Best Regards. Dave B. ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
On 2013-12-16, DaveB wrote: > I've added override variables in /etc/rc.conf to point to both ntpd and > ntpdate that are located in /usr/local/bin. > > I also see there is a companion ntpq in there too, but in > /etc/default/rc.conf There is no "default" path set to that program. > > For now, I've a commented out line in /etc/rc.conf > # ntpq_program="/usr/local/bin/ntpq" > > Commented out as I don't know if that will work. (I'm still re- > educating myself with the neuances of BSD, it's been a while.) Your shell searches for executables in the directories specified by your PATH. /usr/local/bin needs to appear in your PATH before /usr/bin if you want the "ports" versions of commands to override the "system" commands. Or set up a shell alias. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/shells.html -- Steve Kostecke NTP Public Services Project - http://support.ntp.org/ ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
On 2013-12-16, David Lord wrote: > I have /etc/profile used to set profile for newly created users > and have changed PATH so /usr/local/(s)bin is found before > /usr/pkg/(s)bin before /(s)bin. I also updated .profile and > .bash_profile for existing users. > > Note this is a security risk if users can drop programs in > /usr/local/(s)bin Those directories should not be writable by non-priviledged users. e.g. freebsd:/usr/local$ ls -al | grep bin drwxr-xr-x4 root wheel 23552 Nov 7 03:04 bin drwxr-xr-x3 root wheel 2560 Apr 12 2013 sbin If you don't wish to add those directories to your search path then use a shell alias so that 'ntpq' is /usr/local/bin/ntpq. Set it in the same places where you updated the PATH. -- Steve Kostecke NTP Public Services Project - http://support.ntp.org/ ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
In article , koste...@ntp.org says... > > On 2013-12-16, DaveB wrote: > > > For now, I've a commented out line in /etc/rc.conf > > # ntpq_program="/usr/local/bin/ntpq" > > > > Commented out as I don't know if that will work. (I'm still re- > > educating myself with the neuances of BSD, it's been a while.) > > Your shell searches for executables in the directories specified by your > PATH. /usr/local/bin needs to appear in your PATH before /usr/bin if you > want the "ports" versions of commands to override the "system" commands. > > Or set up a shell alias. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/shells.html Hi Steve. Thanks for that link, generaly the handbook just leaves me cold. It's a good reference, if you sort of already know what to do in the first place, but it's rubbish to learn from sadly... That page is better than most however, thanks again. I'm currently stuck, trying to get the system sources, so I can enable PPS support in the kernel. The old "sysinstall" seems broken, in as much as it cant seem to download anything from anywhere. Where as, the newer "bsdinstall" program, want's to reformat the hard drive and start over each time! So... How do I get the system sources downloaded in a usable form, so I can enable pps support in the kernel and use that. Or, do I have to trash the system and start over(again?) It seems (also, again) that all the documentation is some way behind even the stable release versions. I can understand that with third party sites, but not the main FreeBSD handbook or other pages. Sorry for the bother... Regards All. Dave B. PS. The best overall general installation and post install config guide I've found so far for FreeBSD9.x is at:- http://www.a1poweruser.com/ Web based text format, and downloadable pdf too. As well as the usual places specific to setting up GPS disiplined NTP servers. But, see above re getting the system sources, or not >><< ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
On 2013-12-16, DaveB wrote: > I'm currently stuck, trying to get the system sources, so I can enable > PPS support in the kernel. The old "sysinstall" seems broken, in as > much as it cant seem to download anything from anywhere. http://forums.freebsd.org/viewtopic.php?t=29172 discusses installing FreeBSD 9 source. -- Steve Kostecke NTP Public Services Project - http://support.ntp.org/ ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
DaveB writes: > I'm currently stuck, trying to get the system sources, so I can enable > PPS support in the kernel. The old "sysinstall" seems broken, in as > much as it cant seem to download anything from anywhere. You might not need this - see if yuo have /boot/kernel/pps.ko, and then check out 'man kldstat' and 'man kldload'. H ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
DaveB wrote: In article , koste...@ntp.org says... On 2013-12-16, DaveB wrote: For now, I've a commented out line in /etc/rc.conf # ntpq_program="/usr/local/bin/ntpq" Commented out as I don't know if that will work. (I'm still re- educating myself with the neuances of BSD, it's been a while.) Your shell searches for executables in the directories specified by your PATH. /usr/local/bin needs to appear in your PATH before /usr/bin if you want the "ports" versions of commands to override the "system" commands. Or set up a shell alias. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/shells.html Hi Steve. Thanks for that link, generaly the handbook just leaves me cold. It's a good reference, if you sort of already know what to do in the first place, but it's rubbish to learn from sadly... That page is better than most however, thanks again. I'm currently stuck, trying to get the system sources, so I can enable PPS support in the kernel. The old "sysinstall" seems broken, in as much as it cant seem to download anything from anywhere. Where as, the newer "bsdinstall" program, want's to reformat the hard drive and start over each time! So... How do I get the system sources downloaded in a usable form, so I can enable pps support in the kernel and use that. Or, do I have to trash the system and start over(again?) It seems (also, again) that all the documentation is some way behind even the stable release versions. I can understand that with third party sites, but not the main FreeBSD handbook or other pages. I'm just about to install freebsd again, my 5.2.1 wasn't really used, and I just downloaded isos for both i386 and x64 9.2 "ftp://ftp2.uk.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/9.2/"; Rather than trash the system you could try the freebsd-update utility. This probably won't solve your ntp pps problem but it may give you a clean start for build and install of a new kernel and base system from source. With NetBSD it just needs addition of PPS_SYNC and HZ options to the kernel config, build, copy new kernel and reboot. David Sorry for the bother... Regards All. Dave B. PS. The best overall general installation and post install config guide I've found so far for FreeBSD9.x is at:- http://www.a1poweruser.com/ Web based text format, and downloadable pdf too. As well as the usual places specific to setting up GPS disiplined NTP servers. But, see above re getting the system sources, or not << ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
In article , koste...@ntp.org says... > > On 2013-12-16, DaveB wrote: > > > I'm currently stuck, trying to get the system sources, so I can enable > > PPS support in the kernel. The old "sysinstall" seems broken, in as > > much as it cant seem to download anything from anywhere. > > http://forums.freebsd.org/viewtopic.php?t=29172 discusses installing > FreeBSD 9 source. Hi again Steve. I'm obviously a total numpty, as either of the methods in that posting fail. (And yes, I did change 9.0 to 9.2) I'm guessing FBSD doenst associate ftp: with the ftp protocol when fed it on the command line, unlike some other os's. (Comes up with command not found.) Tried ftp, and got the ftp prompt (ftp>) but even then asking in several ways, all I get is "Not connected". If I try to connect first (logical) as I don't know the account details, again, I'm stuffed. SVN. Again, sad to say this is another case where I cant get that to fly either. I've tried that (and similar for other needs on other OS's in the past) and never got it to work on any platform. My total lack of understanding of what it is and how to use it. Sorry, but I realy need a fully worked and tested blow by blow example to do this sort of simple stuff. Oddly, I can manage kernel compiles and booting to that just fine, I've done that in the past several times, but I always had the sources from the outset. Also, I don't get much contiguious time, so it's poke and hope, fail, go do something else (such as fixing the leaking toilet that's next on the list) Best Regards. Confused again. Dave B. PS: If the smart money keeps saying "don't use Sysinstall, it's broken and depreciated." Why the *&%$! is it still present in the system? ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
On 17/12/13 11:56, DaveB wrote: I'm obviously a total numpty, as either of the methods in that posting fail. (And yes, I did change 9.0 to 9.2) I'm guessing FBSD doenst associate ftp: with the ftp protocol when fed it on the command line, unlike some other os's. (Comes up with command not found.) bash, csh, sh, etc. don't have the Windows shellexecute behaviour, but there is nothing to stop your having a command shell that does. I don't know of any. ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
DaveB wrote: In article , koste...@ntp.org says... On 2013-12-16, DaveB wrote: I'm currently stuck, trying to get the system sources, so I can enable PPS support in the kernel. The old "sysinstall" seems broken, in as much as it cant seem to download anything from anywhere. http://forums.freebsd.org/viewtopic.php?t=29172 discusses installing FreeBSD 9 source. Hi again Steve. I'm obviously a total numpty, as either of the methods in that posting fail. (And yes, I did change 9.0 to 9.2) I'm guessing FBSD doenst associate ftp: with the ftp protocol when fed it on the command line, unlike some other os's. (Comes up with command not found.) Tried ftp, and got the ftp prompt (ftp>) but even then asking in several ways, all I get is "Not connected". If I try to connect first (logical) as I don't know the account details, again, I'm stuffed. SVN. Again, sad to say this is another case where I cant get that to fly either. I've tried that (and similar for other needs on other OS's in the past) and never got it to work on any platform. My total lack of understanding of what it is and how to use it. Sorry, but I realy need a fully worked and tested blow by blow example to do this sort of simple stuff. Oddly, I can manage kernel compiles and booting to that just fine, I've done that in the past several times, but I always had the sources from the outset. have you setup networking? network interface in /etc/rc.conf defaultroute in /etc/rc.conf resolv.conf I've just checked on my not configured freebsd-5.2.1 which needed ifconfig rl0 192.168.59.156 netmask 255.255.255.0 route add default 192.168.59.64 echo "nameserver 192.168.59.64" >> /etc/resolv.conf then ftp -4 ftp://ftp.freebsd.org/ connected to ftp.beastie.tdk.net. In above "rl0" = my particular interface 192.168.59.156 = local host ip 192.168.59.64 = local nameserver and also gateway "man" is useful so try "man ftp" to get required syntax "whereis ftp" should give location of ftp command unless your install is badly broken. best of luck David Also, I don't get much contiguious time, so it's poke and hope, fail, go do something else (such as fixing the leaking toilet that's next on the list) Best Regards. Confused again. Dave B. PS: If the smart money keeps saying "don't use Sysinstall, it's broken and depreciated." Why the *&%$! is it still present in the system? ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
In article <9q06oa-gbr@ns2.lordynet.org.uk>, sn...@lordynet.org says... > > DaveB wrote: > > > > Sorry, but I realy need a fully worked and tested blow by blow example > > to do this sort of simple stuff. Oddly, I can manage kernel compiles > > and booting to that just fine, I've done that in the past several times, > > but I always had the sources from the outset. > > have you setup networking? > network interface in /etc/rc.conf > defaultroute in /etc/rc.conf > resolv.conf > > I've just checked on my not configured freebsd-5.2.1 which needed > > ifconfig rl0 192.168.59.156 netmask 255.255.255.0 > route add default 192.168.59.64 > echo "nameserver 192.168.59.64" >> /etc/resolv.conf > > then > > ftp -4 ftp://ftp.freebsd.org/ Yes, networking fully setup and functional: - # /root >ifconfig xl0: flags=8843 metric 0 mtu 1500 options=82009 ether 00:b0:d0:64:9e:47 inet 192.168.42.21 netmask 0xff00 broadcast 192.168.42.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=8810 metric 0 mtu 1500 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=63 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff00 nd6 options=21 # /root > - I'm using a ssh shell sesssion from a Windows7 PC, so I can have Gravity, Firefox and the BSD console open on the same screen, even copy/paste between them. The ntpd daemon is running, currenty syncing with 'net based servers, and in turn serving up time locally. All that appears to be working OK. (not sure about warwicknet and the reach value of 333!) - # /root >ntpq -p remote refid st t when poll reach delay offset jitter == -time.mhd.uk.as4 217.114.59.663 u 778 1024 377 28.6761.408 0.767 +ntp2.warwicknet 195.66.241.2 2 u 169 1024 333 30.9320.157 203.431 +ns1.luns.net.uk 158.43.192.662 u 175 1024 377 39.7331.644 1.762 *electra.pinklem 129.69.1.153 2 u 974 1024 377 27.712 -0.502 0.422 # /root > - (that got wrapped) Just that I (mistakenly) omited to install the system sources when doing the base install.Else, I'd probably be all done and dusted as far as PPS based time sync goes. It seems however, there may be an alternative way to enable PPS support, from another message in this thread. Then, I can get the GPS hardware connected, just using the 'net as fallback if the GPS system "burps". Heck, this time I might even add the server to the uk pool, if that doenst tip my hand with my ISP. Best Regards. Dave B. ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
In article , st...@ntp.org says... > > DaveB writes: > > I'm currently stuck, trying to get the system sources, so I can enable > > PPS support in the kernel. The old "sysinstall" seems broken, in as > > much as it cant seem to download anything from anywhere. > > You might not need this - see if yuo have /boot/kernel/pps.ko, and then > check out 'man kldstat' and 'man kldload'. > > H Hi. Yes, there is pps.ko in that directory, but (I think) not linked/compiled/loaded. The only mode of kldstat that comes back with anything sensible, is:- # /boot/kernel >kldstat -q Id Refs AddressSize Name 14 0xc040 1205064 kernel 21 0xc3998000 2000 blank_saver.ko # /boot/kernel > And yes, the console screensaver (blank) is enabled. I then looked up kldload as suggested, and did this # /boot/kernel >kldload -v ./pps.ko Loaded ./pps.ko, id=3 # /boot/kernel >kldstat -q Id Refs AddressSize Name 17 0xc040 1205064 kernel 21 0xc3998000 2000 blank_saver.ko 31 0xc533a000 3000 pps.ko # /boot/kernel > So, that's an easier way to enable PPS support then, than recompiling the kernel. Yes? If so, I'll go and read up about doing that at boot time via rc.conf or loader.conf. Would that be correct? If so, which method is preferable? Best Regards. Dave B. ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
DaveB wrote: In article <9q06oa-gbr@ns2.lordynet.org.uk>, sn...@lordynet.org says... DaveB wrote: Sorry, but I realy need a fully worked and tested blow by blow example to do this sort of simple stuff. Oddly, I can manage kernel compiles and booting to that just fine, I've done that in the past several times, but I always had the sources from the outset. have you setup networking? network interface in /etc/rc.conf defaultroute in /etc/rc.conf resolv.conf I've just checked on my not configured freebsd-5.2.1 which needed ifconfig rl0 192.168.59.156 netmask 255.255.255.0 route add default 192.168.59.64 echo "nameserver 192.168.59.64" >> /etc/resolv.conf then ftp -4 ftp://ftp.freebsd.org/ Yes, networking fully setup and functional: - # /root >ifconfig xl0: flags=8843 metric 0 mtu 1500 options=82009 ether 00:b0:d0:64:9e:47 inet 192.168.42.21 netmask 0xff00 broadcast 192.168.42.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=8810 metric 0 mtu 1500 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=63 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff00 nd6 options=21 # /root > - I'm using a ssh shell sesssion from a Windows7 PC, so I can have Gravity, Firefox and the BSD console open on the same screen, even copy/paste between them. The ntpd daemon is running, currenty syncing with 'net based servers, and in turn serving up time locally. All that appears to be working OK. (not sure about warwicknet and the reach value of 333!) Sometimes I lose reach on two of my own servers and I'm fairly sure it's because they'd both be synced to the same refid. - # /root >ntpq -p remote refid st t when poll reach delay offset jitter == -time.mhd.uk.as4 217.114.59.663 u 778 1024 377 28.6761.408 0.767 +ntp2.warwicknet 195.66.241.2 2 u 169 1024 333 30.9320.157 203.431 +ns1.luns.net.uk 158.43.192.662 u 175 1024 377 39.7331.644 1.762 *electra.pinklem 129.69.1.153 2 u 974 1024 377 27.712 -0.502 0.422 # /root > - (that got wrapped) Just that I (mistakenly) omited to install the system sources when doing the base install.Else, I'd probably be all done and dusted as far as PPS based time sync goes. It seems however, there may be an alternative way to enable PPS support, from another message in this thread. Then, I can get the GPS hardware connected, just using the 'net as fallback if the GPS system "burps". Heck, this time I might even add the server to the uk pool, if that doenst tip my hand with my ISP. I joined the pool Nov 2009 and had a fright first week when my monthly usage allowance was blasted by turk telecom. Fortunately the pool dns rotation meant I wasn't hit again for a few weeks. cheers David Best Regards. Dave B. ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
DaveB writes: > ... > > I then looked up kldload as suggested, and did this > > # /boot/kernel >kldload -v ./pps.ko > Loaded ./pps.ko, id=3 > # /boot/kernel >kldstat -q > Id Refs AddressSize Name > 17 0xc040 1205064 kernel > 21 0xc3998000 2000 blank_saver.ko > 31 0xc533a000 3000 pps.ko > # /boot/kernel > > > So, that's an easier way to enable PPS support then, than recompiling > the kernel. Yes? Yes. > If so, I'll go and read up about doing that at boot time via rc.conf or > loader.conf. > > Would that be correct? If so, which method is preferable? I use /boot/loader.conf . h ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn.html which IMO tries ti civer too much with too little, but it shouldget you started. You might want to add: SVN_UPDATE= yes SVN=/usr/local/bin/svn to /etc/make.conf, and you might need to install the svn port first. If you don't have a Makefile in /usr/src directory you'll need to get the base files somehow. Sorry I'm not able to tell you how to do that now. H ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions
Re: [ntp:questions] Silly question.
In article , st...@ntp.org says... > > DaveB writes: > > ... > > > > I then looked up kldload as suggested, and did this > > > > # /boot/kernel >kldload -v ./pps.ko > > Loaded ./pps.ko, id=3 > > # /boot/kernel >kldstat -q > > Id Refs AddressSize Name > > 17 0xc040 1205064 kernel > > 21 0xc3998000 2000 blank_saver.ko > > 31 0xc533a000 3000 pps.ko > > # /boot/kernel > > > > > So, that's an easier way to enable PPS support then, than recompiling > > the kernel. Yes? > > Yes. > > > If so, I'll go and read up about doing that at boot time via rc.conf or > > loader.conf. > > > > Would that be correct? If so, which method is preferable? > > I use /boot/loader.conf . > > h Hmmm... Just looked in /boot No loader.conf in there, but there is a loader.rc \ Loader.rc \ $FreeBSD: release/9.2.0/sys/boot/i386/loader/loader.rc 151874 2005-10- 30 05:41:42Z scottl $ \ \ Includes additional commands include /boot/loader.4th \ Reads and processes loader.conf variables start \ Tests for password -- executes autoboot first if a password was defined check-password \ Load in the boot menu include /boot/beastie.4th \ Start the boot menu beastie-start So, do I guess right that loader.conf needs creating? I don't have the time to investigate at this moment (at the office, poking the thing via SSH in odd moments, no you can't login at Root, but you can su after logging in as a user of course..) Later perhaps. Regards. Dave B. ___ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions