JackenHack

  • About
  • Computers
    • Macintosh
    • iOS
    • Raspberry Pi
    • Linux
  • Electronics
  • Projects
Home » Server

DietPi Makes Your Raspberry Pi a Lean Mean Linux Machine

April 13, 2017 by Jack Zimmermann Leave a Comment

DietPi Logo

My wild guess is that most people get a small Linux computer, like the Raspberry Pi, BeagleBone, Banana Pi or Orange Pi for a specific task. Unfortunately, most distributions are chock-full of software, with everything installed per default. But if you want to set up a lean single board computer for a specific task, you’re out of luck. Thankfully there is a Linux distribution, DietPi, that aims to fix that problem.

[Read more…]

Filed Under: Linux, Raspberry Pi Tagged With: BananaPi, Linux, OrangePi, Raspberry Pi, Server

NTP Server Extreme accuracy for under $200 Using SI5351C

April 13, 2017 by Jack Zimmermann 2 Comments

When you make your own NTP server, you probably spend a lot of time trying to get it as accurate and stable as possible. To get good results, you need to connect your server to a good time reference, like an atomic clock, GPS or a GPSDO to get the PPS (Pulse Per Second) to sync your server with the reference clock.

In both Linux and BSD, there is kernel support to slave the very inaccurate CPU clock crystal to the PPS signal, continually adjusting the frequency, because the crystals of computers continuously drift due to temperature and barometric pressure differences. So most of the work is to get a crappy crystal to behave. What if you just jumped over that step, so the CPU clock gets synchronized with the same lab reference that the PPS signal uses, using a SI5351C Clock Generator?

Read on to see a simple way of doing it and get an extremely accurate NTP server for under $200.

[Read more…]

Filed Under: Electronics Tagged With: Electronics, Linux, NTP, Odroid, Server, SI5351C

Raspberry Pi Stratum-1 NTP Server Statistics

April 12, 2016 by Jack Zimmermann Leave a Comment

MRTG main screen for a NTP serverAfter becoming a full-fledged time-nut (I’m compiling a new Linux kernel on my second NTP server as we speak), I have started to use the statistics that I usually install on a server just to keep a check on it. Sure, when installing something like MRTG, it’s great to see if something is clogging the system, but mostly, it’s unused. But when working with an NTP server a lot of factors start to make a difference. The temperature of the processor (the whole computer actually, mostly due to crystal drift), the load of the CPU’s, etc.

[Read more…]

Filed Under: Raspberry Pi Tagged With: GPS, GPSDO, NTP, PPS, Server

Raspberry Pi 3 Overclocking

March 2, 2016 by Jack Zimmermann 81 Comments

Raspberry-Pi-3-box

Warning: as of yet, there is no official support for overclocking the Raspberry Pi 3, so you could damage your small computer. Just a reminder.

Update: I’ve managed to make a DIY heatsink for the Raspberry Pi 3 for $4, and it’s running stable at 1.5GHz. Click here to read.

The new version of Raspberry Pi 3 was released yesterday, so I naturally had to get two. I’m using two as Stratum-1 NTP servers, and with the old Raspberry Pi 2, I had hit the roof when it came down to getting better time resolution. So when I read that a new 50% faster version had been released, I raced to the nearest store and got a couple. I have one experimental NTP server that isn’t handing out time on the internet and another one that is the primary server, connected to the NTP Pool Project.

I installed the experimental Raspberry Pi 3 first, so I could test performance and try to overclock it. And it went very well.

[Read more…]

Filed Under: Linux, Raspberry Pi Tagged With: Overclock, Raspberry Pi, Server, Stratum-1

Increase Pulse Width 1 PPS signal from GPSDO

January 28, 2016 by Jack Zimmermann 3 Comments

Update: You can download the Eagle PCB files for the PPS Pulse Width Extender here.
The PCB is made to fit the Hammond 1455C802BK enclosure.

I have two Stratum-1 NTP servers using Raspberry Pi 2’s as servers. But the two setups are entirely different.
trimble-gpsdoMy primary NTP Stratum-1 server is available at ntp.jacken.se, but it is also in the .se pool of ntp.org. It’s a Raspberry Pi 2 I use a Raspberry Pi 3 that I have connected a U-Blox Neo-7 GPS receiver. But I’m not using the 1 PPS signal coming out of the U-Blox. I have a Trimble GPSDO that I bought from eBay. The unit has two 10 MHz lab reference outputs and one 1 PPS output. But after measuring the signal coming out from the GPSDO, I realized that the timing speed for the seconds “Tick” was only 10 µsec which is way to fast for the Raspberry Pi to pick up as an interrupt on one of the GPIO pins. pulse-increaserSo I built a pulse extender, making the pulse around 250 milliseconds instead. And now the Raspberry Pi picks up the pulse without problems. Some GPSDO units can set the pulse width by programming the unit via a serial port, but I can’t find that feature on this unit (which is poorly documented and was OEM made for some other manufacturer), so I had to do it with hardware. So how does it look when crunching the numbers on it?

[Read more…]

Filed Under: Linux, Raspberry Pi Tagged With: Linux, NTP, PPS, Raspberry Pi, Server

  • 1
  • 2
  • 3
  • Next Page »
Portrait of Jack Zimmermann I'm a Swedish computer old timer hacking away on computers since 1979. I'm a total Apple and Linux gear head. Right now, I'm really into electronics. [Read More]

Recent Posts

  • Atom Editor Platformio Hangs at startup endless restart – fixed
  • Hackintosh AMD Shutdown Problem with Fenvi FV-T919
  • Hackintosh Water Cooling Fan Problem
  • MiSTer FPGA Getting Arcade Cores To Use mra Files
  • Quartus Prime FPGA USB-Blaster Problems On Ubuntu 18.04

Categories

Ads

Copyright Jack Zimmermann © 2003–2021 Login
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled

Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.

Non-necessary

Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.