EXTREME Overclocking  - Building a Stratum-1 GPS Based NTP Server with a Soekris net4501 Article - Page: 2
Home | Reviews | Forums | Downloads | $ EXTREME Deals $ | RealTime Pricing | Free Magazines | Gear | Folding Stats Newsletter | Contact Us

Building a Stratum-1 GPS Based NTP Server with a Soekris net4501

Date: May 12, 2008
Products: Soekris net4501 & Oncore UT+ GPS Receiver
Companies: Soekris & i-Lotus
Author: Jason Rabel

Hardware & Software Used:

At the heart of this home-built NTP server is a Soekris net4501. The net4501 is an extremely popular and affordable embedded / single board computer (SBC) based on the AMD ElanSC520 CPU. While only a 486 class chip running at 133 MHz, it provides plenty of power to function as a NTP server (for my project), and could even double-duty as a firewall, router, VPN, or whatever common network needs one may have. I don't recall the actual maximum network throughput (which will vary based on application and configuration) but I believe it was somewhere in the neighborhood of 15 Mb/s. Power consumption for this little machine is probably around 10W max (5W average I think I read).

While looking at the little box above one may think... why on earth would he choose that? Reliability is one huge factor, but I had several reasons for choosing this particular piece of hardware. Common points of failure in PCs are the components that must move / rotate, which are fans (that keep the system cool) and hard drives (obviously storing your OS and other data). The net4501 requires neither, the CPU runs cool enough without any active or passive cooling, and the operating system is stored on a compact flash drive. While flash memory does have a limited amount of write cycles (even though that number is always growing as technology improves), the read cycles for all practical purposes is limitless. Once the OS is compiled and written to the CF card, there is little need to write to it again (but it is possible if necessary).

Another great thing about the net4501 is that the Elan SC520 CPU has internal time registers with a resolution of about ~125 nanoseconds (according to others) and can be accessed with a few simple hardware modifications and proper kernel settings in FreeBSD. However, to fully benefit from this level of precision would require replacing the stock clock crystal with a signal from a more stable source. That is something I did not do (yet), however John Ackerman and Poul-Henning Kamp have if you want to learn more. My goal for this little box was a little different from theirs, for my NTP server I was wanting something completely self-contained and portable.

To feed time to the net4501 I chose an old Motorola (now i-Lotus develops all new models) Oncore UT+ GPS Timing receiver. In the world of GPS receivers, models are typically tailored around "navigation" or "timing". A "timing" receiver is meant to be used in a fixed location and outputs a very precise "pulse" every second (PPS) aligned to UTC (Coordinated Universal Time). Even the cheapest receivers that output a PPS will spec the accuracy to within 1µs (one microsecond) of UTC, while more expensive models will be in the low ns (nanosecond) range! The pulse is typically fed to a PC's serial or parallel port, and software (like NTP) can more accurately set the computer's time via this direct method than if it was trying to sync over an Ethernet network.

I used NanoBSD (a modified minimal build of FreeBSD designed to be run from a Compact Flash card) for the operating system. Building a NanoBSD image requires running a box with FreeBSD installed and configuring a lot of custom options that are not well documented (Google was my friend on this one). Through a lot of trial and error (and many days) I finally managed to build an image that I was happy with.

Typical GPS based NTP server appliances sell for hundreds, even thousands of dollars. Most have lots of features that justify that cost, such as an ovenized crystal oscillator (or even a rubidium standard), additional frequency outputs, custom web interface, commercial support, etc. Building your own basic NTP server (like in this article) can be done on the cheap for well under $200, and for all practical purposes gives just as good time over a network.

 





EXTREME Overclocking Newsletter
Thousands of PC enthusiasts are already subscribed to the EXTREME Overclocking Newsletter, have you signed up yet?
Your Email Address:
Sponsored Links
Latest Reviews
Most Downloaded Files
Recently Added Files
CPU-Z 1.4912/12/08
Compare Prices On Top Brands!
Search:
For:

Intel Processors
Core i7/i5 - Nehalem
975 Extreme  960  950  920
870  860  750  670  661  660

Core 2 Quad - Yorkfield
Q9650  Q9550  Q9400  Q9300  Q8300  Q8200

Core 2 Duo - Wolfdale
E8600  E8500  E8400  E8200  E7300  E7200

AMD Processors
Phenom II X4
965 Black  955 Black  945  925

Phenom II X2
555  550

Athlon II X4
630  620

Athlon II X3
435  425

Athlon II X2
250  245

Video Cards
nVidia GeForce GTX 200 Series
GTX 295  GTX 285  GTX 280  GTX 260

nVidia GeForce 9 Series
9800 GX2  9800 GTX+  9800 GTX  9800 GT  9600 GT  9600 GSO

ATI Radeon HD 4000 Series
4870 X2  4870  4850  4830  4670  4650

Search By Brand
ASUS  BFG  Diamond  eVGA  Gigabyte  HIS  MSI  Palit  PowerColor  PNY  Sapphire  Visiontek  XFX

PC Memory
DDR3  DDR2  DDR

Motherboards
ASUS  Biostar  DFI  ECS  eVGA  Foxconn  Gigabyte  Intel  MSI  Shuttle  Supermicro  Tyan  XFX

Hard Drives
Seagate  Maxtor  Samsung  Fujitsu  Western Digital

  Technology Magazines FREE to Qualified Professionals.
eWeek MagazineeWeek is the essential technology information source for builders of e-business. Focuses on e-commerce, communications and Internet-based architecture. Oracle MagazineOracle Magazine contains technology-strategy articles, sample code, tips, Oracle and partner news, how-to articles for developers and DBAs, and more. Dr. Dobb's JournalDr. Dobb's Journal enables programmers to write the most efficient and sophisticated programs and help in daily programming quandaries. InformationWeekInformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
  Other Popular Titles: PC Magazine, BusinessWeek, Baseline, Business Solutions, Software Magazine, InfoStor, Security Source , TelevisionWeek, more...
  EXTREME Deal Of The Day | More EXTREME Deals
Dell Small Business - OptiPlex 390 MiniTower Computer with Dell E2211H DVI 21.5" Monitor and More for Only $579
dell optiplex 390 computerInstant savings total $384 for this system and includes: Intel Core i3-2120 processor, Windows 7 Home Premium 64bit, 3 year warranty with next business day on site service, 500GB 3.5" SATA 3.0Gb/s hard drive, 3GB DDR3 Non-ECC SDRAM memory, and Trend Micro for 30 days. Set to expire 2/29/12 or while supplies last. DELL OPTIPLEX 390 MINI TOWER COMPUTER WITH E2211H DVI MONITOR DEAL

  • Update: If you're looking for something less expensive, pick up the same business class OptiPlex 390 for just $379 after $255 off. You still get the Windows 7 Home Premium 64bit, the same great 3 year warranty with next business day on site service, and more, just minus the monitor and components. DELL OPTIPLEX 390 MINI TOWER COMPUTER DEAL
Chase - Chase Rewards Cards with Travel, Balance Transfers Or 0% Intro APR
chase cardsChoose from 5% cash back, to huge bonus points, free flights and more. Travel, Hotel, Airlines, and if you travel that much, No Foreign Transaction Fee cards. Choose by category or just browse through. The balance transfers are good ones to have since tis' the season. CHASE CREDIT CARDS

Copyright © 2000-2011 EXTREME Overclocking. All rights reserved.
Disclaimer of Liability - Privacy Policy
Secret Forum