HNHacker News
TopNewBestAskShowJobs

samm_cz

43 karma · joined September 26, 2020

submissionscomments
samm_cz··on Android Nagios Client
I created a mobile app for Nagios Core, testers are welcome. If there is an interest - i can submit it to google play, but will need testers
samm_cz··on Its always DNS: Why the default BIND setup is failing to resolve
Thank you for the article. I tried to report this to the upstream, but it was closed as "not a bug" https://gitlab.isc.org/isc-projects/bind9/-/issues/5898#
samm_cz··on Its always DNS: Why the default BIND setup is failing to resolve
How complexity of the DNS, DNSSEC and IPv6 + recently enabled DDoS protection made recursive DNS broken in the default setup
samm_cz··on Smartmontools 7.4 released – tool to monitor disk (NVMe, SATA, SCSI) health
It is, indeed. E.g. by looking on remapped sectors on traditional HDD you may see trend that drive will die soon. Selftests are only way to check surface before you will hit it with real files...

On SSD the most important is wear out and usage data. It may, from one side, indicate that drive needs to be replaces soon and from other - if you see that wear out is too fast - optimise your software/os to prevent that.

samm_cz··on Smartmontools 7.4 released – tool to monitor disk (NVMe, SATA, SCSI) health
Yep, and this release finally adds NVMe tests for the drives supports it.
samm_cz··on Smartmontools 7.4 released – tool to monitor disk (NVMe, SATA, SCSI) health

    - The docker image used for CI and release builds is now based on
      Debian 12 instead of Ubuntu 18.04.
    - macOS: CI and release builds are now generated for the x86_64 and arm64
      targets. 32 bit platforms will require to be compiled from the source.
    - smartctl '-t short', '-t long' and '-X': NVMe support.
    - smartctl '-l selftest': NVMe support.
    - smartctl '-l farm': Prints Seagate's vendor-specific Field Access
      Reliability Metrics (FARM) log for ATA and SCSI drives.
    - smartctl '-l error': Now also prints an error message for each entry
      of NVMe error information log.
    - smartctl '-l genstats': Prints SCSI General statistics and performance
      log page.
    - smartctl '-i' and '--identify': ACS-4/5/6 enhancements.
    - smartctl '-c': Added NVMe 2.0 capability flags.
    - smartctl '-g security': Added 'ata_security.master_password_id'
      to JSON output.  Plaintext output shows Master Password ID if set
      to a non-default value.
    - smartctl '-q noserial': Now also suppresses the output of NVMe Namespace
      IEEE EUI-64.
    - smartctl '-j': '-l error -l selftest' JSON output for NVMe devices.
    - smartctl '-j': Avoid invalid UTF-8 sequences in JSON/YAML strings.
    - smartctl '-j': Fixed a bogus exception during SCSI JSON output.
    - smartctl '-j': Renamed JSON element 'scsi_temperature' back to
      'temperature' (regression).
    - smartctl '-a': Now suggests '-x' for ATA devices because '-a' only
      provides legacy SMART information.
    - smartd: Now detects accidental use of smartd_warning script as
      '-M exec' parameter.
    - smartd: No longer writes the 'Copyright...' line to syslog.
    - smartd.conf '-M always': Sends reminder emails without any delay.
    - smartd.conf '-M diminishing': Limited email delay to 32 days.
    - ATA: Fixed decoding of extended self-test log on big endian hosts.
    - ATA: Enhanced LBA range for device types '-d jmb39x-q,...' and
      '-d jms56x,...' from 33-62 to 1-255.
    - ATA: Device type '-d intelliprop,N' now fails with a deprecation message.
      Added '-d intelliprop,N,force' flag to use it anyway.
    - ATA/USB: Device type '-d usbasm1352r,N' for ASMedia ASM1352R USB to SATA
      RAID bridges
    - SCSI: Fixed possible corruption issue with the Error Counter and
      Non medium Error log pages.
    - SCSI: Added more "Informational Exceptions" strings.
    - SCSI: Added initial support for REPORT SUPPORTED OPERATION command.
    - SCSI: Initial rework of SCSI debug output.
    - NVMe: Added error messages for NVMe status values.
    - NVMe: Fixed crash after read of error information log on big endian hosts.
    - HDD, SSD and USB additions to drive database.
    - update-smart-drivedb: Fixed syntax for 'sed' versions which require
      ';' before '}' or do not support ';' at all.
    - configure: Default for '--with-nvme-devicescan' is now 'yes' also on
      Darwin and FreeBSD.  It is still 'no' on NetBSD only.
    - configure: Defines '_FORTIFY_SOURCE=3' if supported and not predefined.
    - configure: No longer fails if libsystemd-dev is installed and
      'LDFLAGS=-static' is used.
    - Compile fix for systems without legacy 'getdtablesize()'.
    - Pre-releases from SVN snapshots now show "pre-VERSION" in version
      information and 'smartctl.pre_release=true' in JSON output.
    - Linux: Device type '-d sssraid' for 3SNIC RAID controllers.
    - Linux: Device type '-d marvell' now fails with a deprecation message.
      Added '-d marvell,force' flag to use it anyway.
    - Linux: The generic SCSI code now defaults to SG_IO_V3 and does no
      longer fall back to the deprecated SCSI_IOCTL_SEND_COMMAND
      (but this ioctl is still used for '-d 3ware' and '-d marvell,force').
    - Linux smartd: Now prevents systemd unit startup timeout when many
      devices are registered and then initially checked.
    - Linux smartd: Systemd no longer reports a service failure if no device
      is present and a '-q *nodev0*' option is used.
    - Windows: IOCTL_STORAGE_PROTOCOL_COMMAND variant for NVMe self-tests.
    - Windows: Installer now defaults to 64-bit executables.
samm_cz··on Converting Old TD-W8970B DSL Router to the LTE AP
Giving new life to the old EoL tp-link router using OpenWRT
samm_cz··on ESP32 based old clock controller, with NTP sync
nice. friend of my grandfather had similar and it was USSR DIY. It had 2 PCB boards full of transistors and other elements to drive them :) At that time no lcd was available for amateurs, so it was a natural, non-vintage choice :)
samm_cz··on ESP32 based old clock controller, with NTP sync
Interesting, in ex. USSR and Czechoslovakia i am aware only about "2 wire" systems, but i heard also about "IBM" one with a 3 wires, so now i know what it was for, thanks :) Here master clock was producing 1m or 30s duration impulses. I also heard about "hybrid" systems where both digital timestamp and 1m impulse were delivered, so clock was able to choose what to use. What is funny that there were no common standard. 6V, 12V, 24 and 60 - all were common! So few times i saw converters from one to another. One of the last "master clock" devices from Pragotron was based on IC circuits, but principle was the same - https://aukro.cz/matecni-hodiny-pragotron-eh40-6960978702
samm_cz··on AWS Client VPN Internals
How to connect to the AWS client VPN not using "official" client, e.g. from the Linux
samm_cz··on ESP32 based old clock controller, with NTP sync
thanks, i don`t remember, may be it was something on my side. Anyway, i am happy with current implementation, so no need to migrate. Will try it on some next project :)
samm_cz··on ESP32 based old clock controller, with NTP sync
Oldest electrilcal mechanism from pragotron, was produced in 195x-196x years, see https://f.aukro.cz/images/sk6961755962/c15a8263-ced4-4e31-a3... for the photo.
samm_cz··on ESP32 based old clock controller, with NTP sync
In EU using DCF-77 probably would be more practical. I am sure that similar radio-s are in US too.
samm_cz··on ESP32 based old clock controller, with NTP sync
Nice :) This mechanism is less advanced, when there no impulses it just sleeps. BTW, same company (pragatron) been doing very nice "digital" clocks with the "rotating" digts, e.g. https://f.aukro.cz/images/sk6955866345/730x548/170ebc8e-f3e3...
samm_cz··on ESP32 based old clock controller, with NTP sync
I was looking on acetime but it was not working as expected on ESP, so switched to Timezone. I will add screensaver to my code soon to protect OLED, good suggestion.
samm_cz··on ESP32 based old clock controller, with NTP sync
you can easily convert any cheap clock mechanism to such :) But my intention was to keep all original mechanic.
samm_cz··on ESP32 based old clock controller, with NTP sync
this device was not connected to AC input. And, btw, few yrs ago in EU AC based clocks had an issue due to problems in the grid (frequency was < 50Hz)
samm_cz··on ESP32 based old clock controller, with NTP sync
Nice, i will add link to your project to my GH :)

I see you solving +- same problem but a bit different way + my board have OLED to show the status and also that you supporting work on battery and i was not doing that. Another different i found that you using custom hw board. I was thinking about this initally, but later decided that motor driver is the best match here. This would work (with a small changes) with 24v version as well, but will require different hardware (custom h-bridge?) for the 60V version.

samm_cz··on ESP32 based old clock controller, with NTP sync
Thank you! I was thinking about it - as clocks and controller are indoor it is unlikely that there would be stable GPS signal, external antenna may be needed. Another option is to add DCF-77 receiver, this one could be used in most of the EU countries, including indoor. May be will do this in v2 version :)

Another idea is to use FRAM instead of the board flash, to solve wear out problem forever :)