// This code is copyrighted material owned by W. D. Bricker, doing business
// as US-Webmasters.com. Copyright 1998-2004 - All rights reserved.
//
// A single license for this code has been granted to
// US-Webmasters.com
//
// for use on site(s):
// US-Webmasters.com and related sites
//
// No other rights are implied nor shall be inferred. This code may
// not be altered, copied or distributed without express permission.
// Violation of these rights will necessitate legal remedial action.
// Define the site-wide variables:
$MainPerson="US Webmasters";
$MainPersonTitle="Owner";
$CompanyStr="US-Webmasters.com";
$CompanyStrAbrv="USW";
$CompanyDomain="US-Webmasters.com";
// $CompanyJumpToDomain="Payphones-Direct.com";
// The Root Directory:
// This worked in PHP4:
// $RootDir = $DOCUMENT_ROOT;
// This works in PHP5:
$RootDir = $_SERVER['DOCUMENT_ROOT'];
// $RootDir = $DOCUMENT_ROOT."/testing";
// $DoorwayROOT="${RootDir}/E-Commerce-Solutions-eCommerce-Webmasters/";
$CompanyURLstr="http://www.${CompanyDomain}/";
// $CompanyJumpToURLstr="http://www.${CompanyJumpToDomain}/";
$CompanyMark="US-Webmasters.com";
$CompanyImageDir="webmasters-web-design-web-hosting-images/";
// $CompanyJumpToImageDir="webmasters-web-design-web-hosting-images/";
$CompanyIncludesDir="include/";
// $CompanyIncludesDir="$DOCUMENT_ROOT/includes/";
// $DoorwayROOT="${DOCUMENT_ROOT}/E-Commerce-Solutions-eCommerce-Webmasters/";
$CompanyEmailAddress="Info@${CompanyDomain}";
// $CompanyJumpToEmailAddress="Info@${CompanyJumpToDomain}";
// VERY SITE SPECIFIC keywords:
$CompanyRate="60";
$DomainRegCost = "$15 or less";
$DomainRegLink = "http://domains.us-webmasters.com/";
// Other Associated Domains:
// $DomainFB="Fishing-Bait.net";
// $DomainWC="Worm-Castings.com";
// $DomainWT="Worm-Tea.net";
// $DomainUrlFB="http://www.${DomainFB}/";
// $DomainUrlWC="http://www.${DomainWC}/";
// $DomainUrlWT="http://www.${DomainWT}/";
// Main Location:
$CompanyLoc1Name=@${CompanyStr};
// $CompanyAddr1="P.O. Box 944";
// $CompanyCity="Fairfield";
// $CompanyState="Iowa";
// $CompanyStateAbrv="IA";
// $CompanyZip="52556";
$CompanyPhone="877-879-3262";
$CompanyTollFreePhonetic="1-877-US-Webmasters";
$CompanyTollFree="1-877-879-3262";
// $CompanyFax="866-200-3288";
$CompanyStoreHours="";
// Location 2:
// $CompanyLoc2Name="Dix Hills - Huntington - Melville";
// $CompanyLoc2Addr1="91 Broadhollow Rd. (East Side of Route 110 - In The Palmetto, Mollo & Co., LLP CPA's Building)";
// $CompanyLoc2City="Melville";
// $CompanyLoc2State="New York";
// $CompanyLoc2StateAbrv="NY";
// $CompanyLoc2Zip="11747";
// $CompanyLoc2Phone="(631) 396-0050";
// $CompanyLoc2Fax="(631) 761-8993";
// Location 3:
// $CompanyLoc3Name="Floral Park - Lake Success - New Hyde Park";
// $CompanyLoc3Addr1="1983 Marcus Avenue, Suite 139 (One of the Gateway Buildings)";
// $CompanyLoc3City="Lake Success";
// $CompanyLoc3State="New York";
// $CompanyLoc3StateAbrv="NY";
// $CompanyLoc3Zip="11042";
// $CompanyLoc3Phone="(516) 354-8100";
// $CompanyLoc3Fax="(516) 775-3098";
$WebDesignCoStr="US-Webmasters.com";
$WebDesignCoURL="http://www.US-Webmasters.com/";
$WebDesignCoStartPg="http://www.US-Webmasters.com/best-start-page/";
// ----------------------------------------------------------------------------
// Define formatting, colors and color names used throughout template
// StyleSheet path
if(!isset($stylesheet_url)){$stylesheet_url="$CompanyURLstr"."$CompanyIncludesDir"."webmasters-web-design-web-hosting-ecommerce-solutions.css";}
// Page background color
$bkgrd_color_str = "payphones pay phone coin telephones white";
$bkgrd_color_hex = "#FFFFFF";
// Most predominantly used color, ie. cell bgcolor
$cell_color_str = "desktop coin telephone white";
$cell_color_hex = "#FFFFFF";
// Second cell bgcolor
$cell_color2_str = "pay phones bell style payphone white";
$cell_color2_hex = "#FFFFFF";
// Color which outlines the cells
$accent_color_str = "business pay telephone provider light blue";
$accent_color_hex = "#5B87F2";
// Color used on the menu tabs, ie. headers
$tabs_color_str = "wall payphones dark blue";
$tabs_color_hex = "#0B3792";
// Color for fonts-- Non CSS
$non_css_font_color_str = "pay phones coin telephones dark blue";
$non_css_font_color_hex = "#051743";
// Width of the page
// Normally, this should be 100%. However, some customers
// may want 780 pixels
$PageWidth = "100%";
// $PageWidth = "780";
// Thickness of the accent color
$accent_color_thk = "3";
// Height of the header bars:
$HeaderHt = "20";
// Width of the right hand column #1
$right_col_1_width = "215";
// Width of the right hand column #2
// Don't have one!!! $right_col_2_width = "140";
// Corner images
$left_corner_1 = "Transparent-PayPhones-Corner.gif";
$right_corner_1 = "Transparent-PayPhones-Corner.gif";
$left_corner_2 = "Transparent-PayPhones-Corner.gif";
$right_corner_2 = "Transparent-PayPhones-Corner.gif";
// Keyword variables:
// $CompanyKeywordStr is the variable that shows up in the Classification and
// DC.Title meta tags and in some comment tags. This should
// be about 20 - 200 words
$CompanyKeywordStr="Webmasters, Webmaster, Web Design, Web Hosting, Ecommerce Web Design, Web Designers, Web Development, Web Developers, Webmasters, Web Site Development, Webmaster, US Webmasters, USwebmasters, United States, Web Site Designers, Website Designers, Web Design Company, Website Marketing, Website Development, Web Design Firm, Best Web Design, Website Developer, Professional Web Design, Ecommerce Web Design, Website Design Company, Web Design And Development, Web Site Design Company, Design Web Page, Web Design Services, Website Maker, Good Web Design, Website Optimization";
// $CompanyDescriptionStr is the variable that shows up in the
// description meta tag and other places
$CompanyDescriptionStr="$CompanyStr provides professional webmasters to design and implement your high quality, low cost, conventional or eCommerce website.";
// $CompanyCommentStr is the variable that shows up in some comment tags.
// It should be in the range of 50 - 200 words.
$CompanyCommentStr="Webmasters, Webmaster, Web Design, Web Hosting, Ecommerce Web Design, Web Designers, Web Development, Web Developers, Webmasters, Web Site Development, Webmaster, US Webmasters, USwebmasters, United States, Web Site Designers, Website Designers, Web Design Company, Website Marketing, Website Development, Web Design Firm, Best Web Design, Website Developer, Professional Web Design, Ecommerce Web Design, Photoshop Web Design, Website Design Company, Web Design And Development, Web Site Design Company, Design Web Page, Web Design Services, Website Maker, Good Web Design, Website Optimization, Website Management, Website Construction, Cool Web Design, Hosting And Promotion Web Design, Website Services, Web Design Help, Design Web Site, Web Page Design Company, Web Design And Hosting, Web Design Service, Best Web Site Design, Good Web Page Design, Web Design Consultant, Affordable Web Design, Web Design Hosting, Wembasters, Top Ranking, Search Engine Submission, Search Engine Ranking, Search Engine Placement, Hosting, Web, Search Engine Optimization, Search Engine Positioning, Web Site Design, Internet Service Provider, Website Design, Web Page Design, Web Page, Web Site Ranking, Internet Marketing, Free Search Engine Submission, Web Site, Internet Provider, Web Site Submission, Web Site Promotion, Site Submission, Website, Website Promotion, Url Submission, Web Promotion, Web Site Optimization, Free Web Site Submission, Web Site Hosting, Web Marketing, Internet Advertising, Website Hosting, Web Host, Web Site Placement, Search Engine Placement Services, Web Ranking, Web Server, Best Web Site, Cheap Web Hosting, Web Space, Host, Web Hosting Services, Web Servers, Web Submission, Web Publishing, Web Services, Search Ranking, Top Search Engine Ranking, Web Page Hosting, Improve Search Engine Ranking, Hosting Asp, Website Positioning";
// ----------------------------------------------------------------------------
// Define the default page variables - These *SHOULD* be set elsewhere on
// the individual pages, so this is a backup:
// PageTitleStr is the first part of the TITLE tag. It should contain
// the main keyword phrase that is the PageNameStr. The 2nd part of the
// title is the PageDescriptionStr.
if(!isset($PageTitleStr)){$PageTitleStr="$CompanyStr provides webmasters to design, implement and maintain websites for large and small businesses worldwide.";}
// PageNameStr is the dominant keyword phrase for the page.
// Goes in comments, header bars, IMAGE ALT tags, etc.
if(!isset($PageNameStr)){$PageNameStr = "Webmasters, Webmaster, Web Design, Web Hosting, Ecommerce Web Design, Web Designers, Web Development, Web Developers, Webmasters, Web Site Development, Webmaster, US Webmasters, USwebmasters, ${CompanyDomain}";}
// PageFirstLineStr is the variable that is used towards the top of
// the page. It is usually encased in H1 and FONT SIZE="+2"
// HTML tags so that it will rank high on the search engines
if(!isset($PageFirstLineStr)){$PageFirstLineStr="Webmasters, Webmaster, Web Design, Web Hosting, Ecommerce Web Design, Web Designers, Web Development, ${CompanyDomain}";}
// PageFirstTextStr is the first block of text that comes after the
// PageFirstLineStr. The most important keywords should be in this
// text. However, it must format properly in order to look acceptible
// for the human eye.
if(!isset($PageFirstTextStr)){$PageFirstTextStr="Webmasters:
${CompanyDomain}
Website Design * Web Development ";}
// PageKeywordStr appears in 2 places: the KeyWords META tag, and in
// comments in the HTML code
if(!isset($PageKeywordStr)){$PageKeywordStr=$CompanyKeywordStr;}
// PageDescriptionStr is the variable that populates the DESCRIPTION META
// tag. It also appears in HTML comments
if(!isset($PageDescriptionStr)){$PageDescriptionStr=$CompanyDescriptionStr;}
// PageCommentStr contains the most appropriate keywords for the page (or site).
// This variable does NOT appear in any of the meta tags. Rather,
// it only appears in comments in the HTML code
if(!isset($PageCommentStr)){$PageCommentStr=$CompanyCommentStr;}
// PageRobotsStr is for the 'robots' META tag
if(!isset($PageRobotsStr)){$PageRobotsStr="All";}
?>
How to Install NTP on FreeBSD. Network Time Protocol Installation Primer for FreeBSD OS. Procedure List for Beginners, Cheat Sheet for FreeBSD / NTP Newbies, Install Network Time Protocol Time Server / FreeBSD Cheatsheet for Newbie * FreeBSD NTP Installation Primer for Beginners * Setup NTP 4.2.0 / FreeBSD 4.9 Procedure List. Configure Timeserver on FBSD Operating System. Set Up, Configuration, Tutorial, Howto, Administrator's Setup Guide, Tips and Tricks Cheetsheet, Step by Step Instructions to install NTP Time Server on FreeBSD * * How to Install NTP (Network Time Protocol) on FreeBSD. Time Server Software for millisecond, microsecond, accuracy. Time Server for FreeBSD, Linux, Windows, Win XP 2000 2K NT, 98, 9x, 95 clients. Timeserver time server. Set up setup configure port installation. Timeserving serving time service browsing. Primer procedure list newbies beginner. Howto synchronize sync synch Unix machines Linux options. Broadcastclient directions steps step-by-step instructions. Cheat Sheet for FreeBSD NTP Installation. Primer for Beginners to Load NTP on FreeBSD. Newbies Installing NTP broadcast client on FreeBSD Guide. Sysadmin: Install and setup NTP on the FreeBSD flavor of UNIX / Linux
echo "\n" ?>
Your 'ports tree' is up to date. If you don't know,
then it probably isn't. Update the ports tree by
issuing one of these commands:
Update
the Ports Tree Using CVSup
In the NTP configuration file
/etc/ntp.conf, (as is true
with many Unix type files), a hash/pound sign '#', and a
semi-colon ';' at the beginning of a line means that the computer
should ignore the rest of the line. Typically, these
'ignore' characters are for your benefit--they usually
contain comments about what is taking place. Hence, when
a line begins with # or ; it is 'commented out'. Sometimes
double slashes '//' have the same 'ignore' effect--it just
depends on what type of program is reading the file.
WHAT IS NTP?
NTP stands for Network Time Protocol. It is a set
of software programs that are used to keep accurate
time on computers. It accomplishes this by referring
to other time sources and then using some intelligent
algorithms and taking into consideration transmission delays,
and other factors arrives at very precise time keeping.
NTP works best on a computer that is not loaded
heavily. A heavily loaded file server, or any
other computer that has a heavy CPU load will
interfere with NTP's time-sensitive algorithms, and
make it more difficult to keep accurate time.
Ideally, a completely separate computer used
exclusively as a time server is best. Even
an old 486 computer will be able to maintain
excellent accuracy.
All other computers should be able to listen to
NTP broadcasts that the time server puts out with
minimal load on the CPU.
The procedure to do this is
listed below.
BEGIN INSTALLATION
You can find NTP in the this directory:
/usr/ports/net/ntp
At the present time (2004 October) the current version
is 4.2.0. If your ports tree is current (see above),
you can find out what the current, stable version is
by doing the following:
cd /usr/ports/net/ntp/
more distinfo
From this you should see the file name of the current version.
You should see a file name like this:
ntp-4.2.0.tar.gz
To begin the installation process, enter:
make install
The computer will look for the file
and download it from an FTP server
if the file doesn't happen to be already in
/usr/ports/distfiles/.
It will then go on showing lots of lines of messages
as it builds. It will also download any program or file
that it depends on.
It is possible that the 'make install' process will
not complete successfully. If this happens, go
to:
'make install' fails on FreeBSD before returning here.
After NTP has been installed, you should see something like this:
/bin/sh ../mkinstalldirs /usr/local/bin
Making install in clockstuff
Making install in kernel
Making install in sys
Making install in util
/bin/sh ../mkinstalldirs /usr/local/bin
Install -c -s -o root -g wheel -m 555 ntptime /usr/local/bin/ntptime
Install -c -s -o root -g wheel -m 555 tickadj /usr/local/bin/tickadj
Install -c -s -o root -g wheel -m 555 ntp-keygen /usr/local/bin/ntp-keygen
===> Registering installation for ntp-4.2.0_1
===> SECURITY REPORT:
This port has installed the following files which may act as
network
servers and may therefore pose a remote security risk to the
system.
/usr/local/bin/ntpdate
/usr/local/bin/ntpd
If there are vulnerabilities in these programs there may be a
security
risk to the system. FreeBSD makes no guarantee about the
security of
ports included in the Ports Collection. Please type 'make
deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the
security
status of this software, see the following webpage:
http://www.ntp.org/
Whether you see the above or not, in any case, you
shouldn't see any 'error code' messages if NTP
has installed successfully.
CHECK FOR BROADCASTCLIENT FIX
As of this writing, (2004 October), there was a bug
in the broadcast client part of the software that
has been fixed, but hasn't made it into the software
'tarball' (compressed set of files). In order
to find out whether the fix has been included, enter
something similar to the following, based on your
version of the software:
Place this file in the same directory as the old
ifiter_ioctl.c.old
Copy the file like this:
cp -p ifiter_ioctl.c.txt
ifiter_ioctl.c
RECOMPILE
Change to the NTP directory:
cd /usr/ports/net/ntp/
Change to directory of the current version.
Change ntp-4.2.0 to whatever
is appropiate for your version:
cd ntp-4.2.0
Configure, compile and install:
mkdir work
cd work
../configure
make install
It will then go on showing lots of lines of messages
as it builds. It will also download any program or file
that it depends on. Most likely it will compile
within 5 minutes.
It is possible that the 'make install' process will
not complete successfully. If this happens, go
to:
'make install' fails on FreeBSD before returning here.
If it has compiled and installed, you will see a screen
similar to the one above that contains something similar
to:
Registering installation for ntp-4.2.0_1
In any case, if it has compiled successfully,
there should be an absence of 'error code'
messages.
The version that we just compiled should
end up in the following directory. Go there
and take a look at the file dates to confirm this:
/usr/local/bin/
You might see a precompiled version of NTP here:
/usr/sbin/
Or if you do a custom compilation you might find
a version here:
/usr/local/sbin/
CHOOSING WHICH TIME SERVERS TO USE AS REFERENCES
For NTP to work properly, it must have accurate sources
of time to refer to. Generally, the best source (outside
of having your own GPS or radio receiver) is a Stratum 1
time server. This link shows a list of Stratum 1 servers:
It is important to note that just because these time
servers exist, it doesn't mean that it is proper for you to
use them. Each time server has 'rules of engagement' that
you need to adhere to. Unless a time server has an
'open access' policy, you need to contact the operator of
the time server.
The best time servers to use as references are those that
are 'closest' to you on the Internet. Generally speaking,
'closest' will those that are geographically close to your
location. In order to find out which of the various time servers
are closest to you on the Internet, use the ping command:
ping -c 10 ntp0.SomeTimeServer.edu
For each of the time servers, take the 'avg'
figure for each ping listing, and create a list
with the servers with the shortest ping times on the
top of your list.
After you have contacted the server operators and
gained permission to use these servers, or the server
is 'open access', put these servers on your final list.
You will need to include them in the
ntp.conf file
which we will describe next.
EDITING THE CONFIGURATION FILE: /etc/ntp.conf
The file ntp.conf
located in the /etc directory is
the configuration file that the NTP programs rely on for
operation. This file probably doesn't exist on
your computer right now, but to see if it does,
enter the following:
cd /etc
ls -lt n*.conf
If it does exist, do a back up:
cp -p ntp.conf ntp.conf.1.bak
If it doesn't, create it:
touch ntp.conf
Now open it up with Pico and edit it:
pico ntp.conf
Here is a sample ntp.conf
file with fake timeservers:
# This is the configuration file for NTP
# (Network Time Protocol). More info at
# www.NTP.org
# This computer will act as a stratum 2 time
# server, by referencing the following 4 or
# more stratum 1 time servers:
server clock.wotsamata-u.edu
iburst # Wotsamata Univ, Somecity, ST
server time.militarybranch.gov
iburst # USNO, Gaithersburg, MD
server tick.ivyleaguecollege.edu
iburst # Uppity Univ., Cambridge, MA
server tock.somegovagency.org
iburst # NIST, Boulder, CO
server ntp2.colorado.edu
iburst # Univ. of Colo., Boulder, CO
# Since the clock on most PCs drifts around
# significantly, let's use a file to
# keep track of that drift and compensate
# for it:
driftfile /etc/ntp.drift
# This server will broadcast NTP timing signals
# over the Local Area Network (LAN)
Much of this file is self-explanatory. However, here
are some items to understand:
The server commmand tells NTP
that this is a server to be used as a reference.
Replace the fake server names with the names of
time servers from your list that you compiled.
You should have at least 3, but probably not more
than 5 server lines.
The iburst argument allows for
a quick synch-up when you reboot your time server.
Note that the 'hash' marks '#' on the
server lines
are comments about the geographic location
of the server. The NTP
program ignores them, but they are useful for
your future reference.
The broadcast
line indicates which IP address on
your internal Local Area Network that you want
the NTP signals directed towards. You will
need to consult your router manual to
determine this address.
Once you have edited ntp.conf,
save the file
and exit pico by:
Ctrl-O
Enter
Ctrl-X
CONFIGURING NTP TO START ON BOOT UP
First, let's travel to the directory where the
startup file rc.conf
exists:
cd /etc
ls -lt rc.c*
Next, let's back it up:
cp -p rc.conf rc.conf.1.bak
ls -lt rc.c*
Now fire up pico so we can edit it:
pico rc.conf
Go down to the end of the file and add on
the following:
# Make sure that we don't use 'ntpdate'. It is obsolete.
ntpdate_enable="NO"
# NTP (Network Time Protocol) time-keeping program
# to set time on boot-up and adjust time while
# operating.
xntpd_enable="YES"
# The NTP program is located here:
xntpd_program="/usr/local/bin/ntpd"
# We want to run the NTP program with some options (flags).
#
# This is what they mean:
#
#
-A
= Disable authentication mode
#
#
-c /etc/ntp.conf
= The configuration file's location
#
#
-g
= Grab the correct time at startup
#
# -N
= Notable Priority. The OS should
#
give ntpd highest permitted
#
priority when scheduling tasks
#
#
-p /var/run/ntpd.pid
= The Process ID will be found here
#
#
-l /var/log/ntpd.log
= This where we will Log activities
#
#
Here's the command line:
#
xntpd_flags="-A
-g -N -c /etc/ntp.conf -p /var/run/ntpd.pid -l /var/log/ntpd.log"
(Note that the above 'xntpd_flags' line is all
on one line--even if your browser wraps it.)
Be absolutely certain that you have triple checked your
typing. If you leave off a quote mark, or similar typo,
when you reboot you could be in big trouble. If you
do, you may get an error message like:
Read only file system
If you do, you will need to carefully use the work around for
this problem:
MANUALLY SYNCHRONIZE YOUR COMPUTER WITH AN
ACCURATE TIME SERVER
Enter the following command:
/usr/local/bin/ntpdate tick.usno.navy.mil
REBOOT COMPUTER SO THAT NTP LOADS AND RUNS ON BOOT UP
Reboot by entering the following:
shutdown -r +2
MONITOR NTP'S OPERATION USING DEBUGGING COMMANDS
There are number of commands and tools that let
you monitor the operation of NTP. A few are
below. The new commands are located:
/usr/local/bin/
Here are the commands. You can find out more about
them by typing man nameofcommand
at a command prompt.
ntpdc -c kerninfo
ntpdc
ntpdc> monlist
ntpq
ntpq> pe
ntpq> rv
ntptime
ntptrace -v
ifconfig -a
Information can also be garnered from the logs:
cd /var/log/
more ntp.log
more ntpd.log
The driftfile shows how many parts per million
the computer's clock needs to be adjusted in order
to keep proper time:
cd /etc
more ntp.drift
This completes the procedure for setting up a time
server running NTP. Since all computers don't need
to be running as a time server, the next section
describes how to set up a computer to listen to the
time 'broadcasts' on your Local Area Network.
HOW TO SETUP A FREEBSD COMPUTER TO LISTEN TO NTP
BROADCASTS AS A BROADCAST CLIENT
Setting up a computer to listen to NTP
time broadcasts over the LAN is very similar
to setting up a computer as a time server--
just a bit more simplified.
Follow the steps in the above sections called:
BEGIN INSTALLATION
CHECK FOR BROADCASTCLIENT FIX
RECOMPILE
Skip the above section called:
CHOOSING WHICH TIME SERVERS TO USE AS REFERENCES
EDITING THE CONFIGURATION FILE: /etc/ntp.conf FOR BROADCAST CLIENTS
The file ntp.conf
located in the /etc directory is
the configuration file that the NTP programs rely on for
operation. This file probably doesn't exist on
your computer right now, but to see if it does,
enter the following:
cd /etc
ls -lt n*.conf
If it does exist, do a back up:
cp -p ntp.conf ntp.conf.1.bak
If it doesn't, create it:
touch ntp.conf
Now open it up with Pico and edit it:
pico ntp.conf
Here is a sample ntp.conf
file for broadcast clients:
# This is the configuration file for NTP
# (Network Time Protocol). More info at
# www.NTP.org
# This computer will act as a passive
# NTP broadcast client
# Because the computer clock drifts,
# let's define a place to store
# this information:
driftfile /etc/ntp.drift
# This line shows that we are just
# a client that listens to NTP
# broadcasts on the LAN:
broadcastclient
# Let's setup a log file for NTP:
logfile /var/log/ntp.log
Once you have edited ntp.conf,
save the file
and exit pico by:
Ctrl-O
Enter
Ctrl-X
CONFIGURING NTP TO START ON BOOT UP--FOR BROADCAST CLIENTS
First, let's travel to the directory where the
startup file rc.conf
exists:
cd /etc
ls -lt rc.c*
Next, let's back it up:
cp -p rc.conf rc.conf.1.bak
ls -lt rc.c*
Now fire up pico so we can edit it:
pico rc.conf
Go down to the end of the file and add on
the following:
# Make sure that we don't use 'ntpdate'. It is obsolete.
ntpdate_enable="NO"
# The NTP program is located here:
xntpd_program="/usr/local/bin/ntpd"
# NTP (Network Time Protocol) time-keeping program
# to set time on boot-up and adjust time while
# operating.
xntpd_enable="YES"
# We want to run the NTP program with some options (flags).
#
# This is what they mean:
#
#
-A
= Disable authentication mode
#
#
-c /etc/ntp.conf
= The configuration file's location
#
#
-N
= Notable priority. The OS should
#
give ntpd highest permitted
#
priority when scheduling tasks
#
#
-p /var/run/ntpd.pid
= The Process ID will be found here
#
# -l /var/log/ntpd.log
= This is where we will Log activities
#
# Here's the command line:
#
xntpd_flags="-A -N -c /etc/ntp.conf -p /var/run/ntpd.pid -l /var/log/ntpd.log"
(Note that the above 'xntpd_flags' line is all
on one line--even if your browser wraps it.)
Be absolutely certain that you have triple checked your
typing. If you leave off a quote mark, or similar typo,
when you reboot you could be in big trouble. If you
do, you may get an error message like:
Read only file system
If you do, you will need to carefully use the work around for
this problem:
How to Install NTP (Network Time Protocol) on FreeBSD. Time Server Software for millisecond, microsecond, accuracy. Time Server for FreeBSD, Linux, Windows, Win XP 2000 2K NT, 98, 9x, 95 clients. Timeserver time server. Set up setup configure port installation. Timeserving serving time service browsing. Primer procedure list newbies beginner. Howto synchronize sync synch Unix machines Linux options. Broadcastclient directions steps step-by-step instructions. Cheat Sheet for FreeBSD NTP Installation. Primer for Beginners to Load NTP on FreeBSD. Newbies Installing NTP broadcast client on FreeBSD Guide. Sysadmin: Install and setup NTP on the FreeBSD flavor of UNIX / Linux