<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>GregLedet.net - Latest Comments</title><link>http://adventuresinnetworking.disqus.com/</link><description>None</description><atom:link href="https://adventuresinnetworking.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 16 Dec 2022 12:17:14 -0000</lastBuildDate><item><title>Re: Custom PRTG Sensor with Speedtest.Net CLI (Windows)</title><link>http://www.gregledet.net/networking/custom-prtg-sensor-with-speedtest-net-cli-windows/#comment-6067716526</link><description>&lt;p&gt;If you could share what you did please, I would appreciate it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ricardo</dc:creator><pubDate>Fri, 16 Dec 2022 12:17:14 -0000</pubDate></item><item><title>Re: Custom PRTG Sensor with Speedtest.Net CLI (Windows)</title><link>http://www.gregledet.net/networking/custom-prtg-sensor-with-speedtest-net-cli-windows/#comment-6067708855</link><description>&lt;p&gt;Hello, it works very excellent but I have a problem with the upload value shown in the prtg. I already added the value that you put in the comments "ECHO ^&amp;lt;volumesize^&amp;gt;MegaBit^&amp;lt;/volumesize^&amp;gt;" but it still can't be solved, I have moved some things in your code but I can't get it to be solved, I hope you can help me. Thank you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ricardo</dc:creator><pubDate>Fri, 16 Dec 2022 12:07:53 -0000</pubDate></item><item><title>Re: Custom PRTG Sensor with Speedtest.Net CLI (Windows)</title><link>http://www.gregledet.net/networking/custom-prtg-sensor-with-speedtest-net-cli-windows/#comment-6012468538</link><description>&lt;p&gt;This works great. How can I run this on a Remote Server and get the results from it.&lt;br&gt;This only works on the probe&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaime Casado</dc:creator><pubDate>Fri, 14 Oct 2022 12:25:10 -0000</pubDate></item><item><title>Re: Custom PRTG Sensor with Speedtest.Net CLI (Windows)</title><link>http://www.gregledet.net/networking/custom-prtg-sensor-with-speedtest-net-cli-windows/#comment-5973883835</link><description>&lt;p&gt;Thanks Greg! This helped me out a lot!&lt;/p&gt;&lt;p&gt;&lt;code&gt;I ran into a problem with the code you posted above being formatted (presumably by your blogging software). I replaced all of the ‘ ’ “ ” symbols with their ' " counterparts and replace the em-dash in –accept-license with two en-dashes like --accept-license.&lt;/code&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Leslie Knepp</dc:creator><pubDate>Thu, 08 Sep 2022 19:00:34 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5956881031</link><description>&lt;p&gt;Patrick, AFAIK you can do whatever you want to the cmdline.txt as long as you're not disabling the stuff needed for the gps. Now, for setting things up, I have no idea. I'm assuming you want to do a headless deployment where it's just plug and play, and since I've never tried it, I can't tell you if you can or not. Try it out and let us know!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Greg Ledet</dc:creator><pubDate>Mon, 22 Aug 2022 08:10:24 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5955160418</link><description>&lt;p&gt;A question... Can you remove the console=serial0,115200 from the cmdline.txt before you boot up the first time, and add in the code for disabling bluetooth and setting up the GPS to the config.txt before you boot the first time? (I'm using Notepad++ to edit the two files before I put it into the pi).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Patrick Dickey</dc:creator><pubDate>Sat, 20 Aug 2022 02:00:02 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5850998536</link><description>&lt;p&gt;If you're getting 'nan' when you're trying to calculate the ntpoffset, as Radu said below the entries in the log might be under SHM(0) instead of the IP. To do the calculation you can use this instead (you might need to change the path to reflect your config):&lt;/p&gt;&lt;p&gt;awk '&lt;br&gt;     /SHM\(0\)/ { sum += $5 * 1000; cnt++; }&lt;br&gt;     END { print sum / cnt; }&lt;br&gt;' &amp;lt;/var&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Greven</dc:creator><pubDate>Sun, 08 May 2022 00:09:55 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5850041249</link><description>&lt;p&gt;Just wanted to say thank you, I've tried a few different guides and each of them resulted in unexplained errors and a lot of frustration. Yours is the first one that's actually worked end-to-end without issue, and I appreciated the explanations along with each step.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Greven</dc:creator><pubDate>Fri, 06 May 2022 21:30:42 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5829354854</link><description>&lt;p&gt;Thank you all for your contributions. I too had to delete python-gps from the install list.&lt;/p&gt;&lt;p&gt;When I cat ttyAMA0 I get what looks like good NMEA output from the Adafruit Ultimate GPS Hat. The same is true if I cat serial0. Someone suggested using serial0 instead of ttyAMA0, but the results are the same.&lt;/p&gt;&lt;p&gt;When I get status from gpsd (systemctl status gpsd) I get the following response:&lt;br&gt;"● gpsd.service - GPS (Global Positioning System) Daemon&lt;br&gt;     Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)&lt;br&gt;     Active: active (running) since Sun 2022-04-17 15:19:07 EDT; 1min 12s ago&lt;br&gt;TriggeredBy: ● gpsd.socket&lt;br&gt;    Process: 146765 ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES (code=exited, status=0/SUCCESS)&lt;br&gt;   Main PID: 146766 (gpsd)&lt;br&gt;      Tasks: 1 (limit: 4164)&lt;br&gt;        CPU: 13ms&lt;br&gt;     CGroup: /system.slice/gpsd.service&lt;br&gt;             └─146766 /usr/sbin/gpsd ”-n” ”/dev/serial0 /dev/pps0″&lt;/p&gt;&lt;p&gt;Apr 17 15:19:07 raspberrypi systemd[1]: Started GPS (Global Positioning System) Daemon.&lt;br&gt;Apr 17 15:19:54 raspberrypi gpsd[146766]: gpsd:ERROR: SER: device open of \xe2\x80\x9d-n\xe2\x80\x9d failed: No such file or directory - retrying read-only&lt;br&gt;Apr 17 15:19:54 raspberrypi gpsd[146766]: gpsd:ERROR: SER: read-only device open of \xe2\x80\x9d-n\xe2\x80\x9d failed: No such file or directory&lt;br&gt;Apr 17 15:19:54 raspberrypi gpsd[146766]: gpsd:ERROR: \xe2\x80\x9d-n\xe2\x80\x9d: device activation failed, freeing device..."&lt;/p&gt;&lt;p&gt;When I run gpsmon, I get the following response:&lt;/p&gt;&lt;p&gt;"tcp://localhost:2947          JSON slave driver&amp;gt; OAOA&lt;br&gt;(82) {"class":"VERSION","release":"3.22","rev":"3.22","proto_major":3,"proto_minor":14}&lt;br&gt;(32) {"class":"DEVICES","devices":[]}&lt;br&gt;(122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":false,"timing":false,"split24":false,"pps":true}"&lt;/p&gt;&lt;p&gt;When I run ppstest /dev/pps0 I get what looks like good pps data.&lt;/p&gt;&lt;p&gt;Any ideas what the problem might be? I'm using a pi 4 with Raspberry Pi OS Bullseye 64-bit.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Thompson</dc:creator><pubDate>Sat, 16 Apr 2022 12:15:01 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5730887292</link><description>&lt;p&gt;make sure you have is device correctly in the devices= section of the /etc/default/gpsd file.&lt;br&gt;Mine looks like this:&lt;br&gt;START_DEAMON="true"&lt;br&gt;DEVICES="/dev/ttyS0 /dev/pps0"&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Larry Westfall</dc:creator><pubDate>Fri, 11 Feb 2022 20:12:48 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5730885140</link><description>&lt;p&gt;Just remove it from the install list&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Larry Westfall</dc:creator><pubDate>Fri, 11 Feb 2022 20:10:04 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5706237450</link><description>&lt;p&gt;Greatings!&lt;/p&gt;&lt;p&gt;thank you for your write up. I'm encountering one issue when following these instructions though.&lt;/p&gt;&lt;p&gt;sudo apt install python-gps returns "E: Package 'python-gps' has no installation candidate"&lt;/p&gt;&lt;p&gt;Does anyone know how to overcome this?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thunder46350</dc:creator><pubDate>Mon, 24 Jan 2022 15:03:42 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5693676428</link><description>&lt;p&gt;.0 is valid. No one said we're using a /24... and 254 is rarely the gateway, usually .1 is the gateway.&lt;/p&gt;&lt;p&gt;Anyway, none of that matters here, because they are just pseudo IP addresses. Here's a link for you to read more about the reference clock: &lt;a href="#" rel="nofollow noopener" target="_blank" title="#"&gt;https://gist.github.com/edro15/c3fbaaabfe31ecb799363ffab587f336&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Greg Ledet</dc:creator><pubDate>Sun, 16 Jan 2022 10:56:46 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5692449461</link><description>&lt;p&gt;127.127.28.0 is not a valid IP address. It is the address for broadcast messages to the whole subnet. No device should be on the subnet broadcast address.&lt;/p&gt;&lt;p&gt;If you are using the whole Class D subnet space XXX.XXX.XXX.0 to XXX.XXX.XXX.255 you can not use 0 or 255. Usually 1 but sometimes 254 is the gateway address, so that is where you go to get out of the LAN to the internet for example. So unless you are a gateway do not use those addresses. That leaves 2 to 253 for the last value. Lots to use. +-&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kipton Moravec</dc:creator><pubDate>Sat, 15 Jan 2022 12:10:01 -0000</pubDate></item><item><title>Re: Custom PRTG Sensor with Speedtest.Net CLI (Windows)</title><link>http://www.gregledet.net/networking/custom-prtg-sensor-with-speedtest-net-cli-windows/#comment-5597962321</link><description>&lt;p&gt;I have the same problem, XML: The returned XML does not match the expected schema. (code: PE233) -- JSON: The returned JSON does not match the expected structure (Invalid JSON.). (code: PE231)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Antonino</dc:creator><pubDate>Fri, 05 Nov 2021 14:06:35 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5596992831</link><description>&lt;p&gt;Hi, using a pi zero w for testing, no way to make it show the pps in gpsmon. I can see stuff using:&lt;br&gt;sudo ppstest /dev/pps0&lt;br&gt;But seems that gpsd simply ignores the pps device.&lt;/p&gt;&lt;p&gt;ntpq never show GPS entries as useable (reach=0) for both and of course star is always on ext ntp servers.&lt;/p&gt;&lt;p&gt;Any hint?&lt;br&gt;TIA&lt;/p&gt;&lt;p&gt;Giuseppe Marullo&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Giuseppe Marullo</dc:creator><pubDate>Thu, 04 Nov 2021 18:07:33 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5566221770</link><description>&lt;p&gt;Thank you!&lt;/p&gt;&lt;p&gt;I used this to make a GPS-based NTP time server on my network. It makes me very happy to know I now have time sync across my devices, even if my Internet connection goes down. :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">April W</dc:creator><pubDate>Sun, 10 Oct 2021 13:52:01 -0000</pubDate></item><item><title>Re: Custom PRTG Sensor with Speedtest.Net CLI (Windows)</title><link>http://www.gregledet.net/networking/custom-prtg-sensor-with-speedtest-net-cli-windows/#comment-5535912552</link><description>&lt;p&gt;Thanks, tbh I think my issue was me not reading properly the UK don't have the extra "," so I amended that and the figures fixed themselves&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neil Garry</dc:creator><pubDate>Wed, 15 Sep 2021 13:25:08 -0000</pubDate></item><item><title>Re: Custom PRTG Sensor with Speedtest.Net CLI (Windows)</title><link>http://www.gregledet.net/networking/custom-prtg-sensor-with-speedtest-net-cli-windows/#comment-5534311634</link><description>&lt;p&gt;Adjust the line in the script that says&lt;/p&gt;&lt;p&gt;ECHO ^&amp;lt;volumesize^&amp;gt;MegaBit^&amp;lt;/volumesize^&amp;gt;&lt;/p&gt;&lt;p&gt;Under the "Upload" and put it as the correct size.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Greg Ledet</dc:creator><pubDate>Tue, 14 Sep 2021 10:16:16 -0000</pubDate></item><item><title>Re: Custom PRTG Sensor with Speedtest.Net CLI (Windows)</title><link>http://www.gregledet.net/networking/custom-prtg-sensor-with-speedtest-net-cli-windows/#comment-5534311485</link><description>&lt;p&gt;Adjust the line in the script that says&lt;/p&gt;&lt;p&gt;ECHO ^&amp;lt;volumesize^&amp;gt;MegaBit^&amp;lt;/volumesize^&amp;gt;&lt;/p&gt;&lt;p&gt;Under the "Upload" and put it as the correct size.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Greg Ledet</dc:creator><pubDate>Tue, 14 Sep 2021 10:16:09 -0000</pubDate></item><item><title>Re: Custom PRTG Sensor with Speedtest.Net CLI (Windows)</title><link>http://www.gregledet.net/networking/custom-prtg-sensor-with-speedtest-net-cli-windows/#comment-5534302619</link><description>&lt;p&gt;Did you mange to resolve this?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neil Garry</dc:creator><pubDate>Tue, 14 Sep 2021 10:08:50 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5533179374</link><description>&lt;p&gt;I just used this to set up a RPi 4 NTP server on the latest Buster Lite.  Awsome!&lt;/p&gt;&lt;p&gt;Two things (use sudo raspi-config) I added that others may want to use:&lt;br&gt;1) Set the local timezone.  I do this on all my PIs.&lt;br&gt;2) Set the hostname (I use NTPiD).  Easier to remember than IP address for putty.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mark F</dc:creator><pubDate>Mon, 13 Sep 2021 12:32:13 -0000</pubDate></item><item><title>Re: Custom PRTG Sensor with Speedtest.Net CLI (Windows)</title><link>http://www.gregledet.net/networking/custom-prtg-sensor-with-speedtest-net-cli-windows/#comment-5391520133</link><description>&lt;p&gt;The sensor is working, thank you very much!&lt;br&gt;But I have a strange problem: while Download is displayed perfectly, Upload is displayed with decimal sign in wrong place. I've tried to figure out this trouble myself, but no luck. Please help!&lt;br&gt; &lt;a href="https://uploads.disquscdn.com/images/8b6c3873badd71f98343d2e4f91ef7324976d0a683ef9fc9ae627be0c9a6358b.png" rel="nofollow noopener" target="_blank" title="https://uploads.disquscdn.com/images/8b6c3873badd71f98343d2e4f91ef7324976d0a683ef9fc9ae627be0c9a6358b.png"&gt;https://uploads.disquscdn.c...&lt;/a&gt;&lt;br&gt;And if I tell PRTG to show all decimal places, it shows smth like "3,736.7674 Mbit/s" This can not be, I have 1Gbit/sec ethernet, so max speed can be not more than 1Gbit.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">riy</dc:creator><pubDate>Fri, 21 May 2021 05:58:10 -0000</pubDate></item><item><title>Re: Custom PRTG Sensor with Speedtest.Net CLI (Windows)</title><link>http://www.gregledet.net/networking/custom-prtg-sensor-with-speedtest-net-cli-windows/#comment-5362628972</link><description>&lt;p&gt;Remember to use -- when accepting the licenses via the CLI, i.e.,&lt;br&gt;--accept-license --accept-gdpr&lt;/p&gt;&lt;p&gt;If no you will still be able to execute it from the command line and the output looks &lt;br&gt;OK but when PRTG triggers it only zeros will be seen in PRTG.&lt;/p&gt;&lt;p&gt;I don't konw if it matters but I prepended the output in the batchfile with:&lt;br&gt;echo ^&lt;br&gt;This was based on the PRTG Demo Batchfile in the same directory.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joakim</dc:creator><pubDate>Wed, 28 Apr 2021 01:50:05 -0000</pubDate></item><item><title>Re: Building a Stratum 1 NTP Server with a Raspberry Pi 4 and Adafruit Ultimate GPS Hat</title><link>http://www.gregledet.net/computers/building-a-stratum-1-ntp-server-with-a-raspberry-pi-4-and-adafruit-ultimate-gps-hat/#comment-5280775115</link><description>&lt;p&gt;check ntpstats file, often the NTP will print there SHM(0) and SHM(2) "remote peers" not the actual 127.127 addresses. modify the script to look for those and it will work fine&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu</dc:creator><pubDate>Wed, 24 Feb 2021 03:25:51 -0000</pubDate></item></channel></rss>