[ntp:questions] Silly question.

DaveB spam.goes at nowhere.com
Tue Dec 17 14:47:35 UTC 2013

In article <9q06oa-gbr.ln1 at ns2.lordynet.org.uk>, snews at lordynet.org 
> 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 netmask
> route add default
> echo "nameserver" >> /etc/resolv.conf
> then
> ftp -4 ftp://ftp.freebsd.org/

Yes, networking fully setup and functional:

# /root >ifconfig
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
        ether 00:b0:d0:64:9e:47
        inet netmask 0xffffff00 broadcast
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
# /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  
-time.mhd.uk.as4    3 u  778 1024  377   28.676    1.408   
+ntp2.warwicknet     2 u  169 1024  333   30.932    0.157 
+ns1.luns.net.uk    2 u  175 1024  377   39.733    1.644   
*electra.pinklem     2 u  974 1024  377   27.712   -0.502   
# /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.

More information about the questions mailing list