Blogs

By gill, 11 February, 2024

Using weewx:weewx as user:group
Saving old defaults to /etc/default/weewx-20240211140505
Creating /etc/default/weewx
Creating maintainer config file as /etc/weewx/weewx.conf-5.0.1-5.0.2
Using configuration file /etc/weewx/weewx.conf-5.0.1-5.0.2
Finished upgrading configuration file /etc/weewx/weewx.conf-5.0.1-5.0.2
Saving configuration file /etc/weewx/weewx.conf-5.0.1-5.0.2
Installing systemd units
Installing udev rules

By gill, 2 September, 2023

From a fresh Rocky Linux install, need to add some repos.

# dnf install epel-release -y

https://docs.rockylinux.org/books/lxd_server/01-install/

Install the repo instructions for getting zfs

dnf install https://zfsonlinux.org/epel/zfs-release-2-2$(rpm --eval "%{dist}").noarch.rpm

Installing zfs pulls in all the kernel modding requirements like kernel-devel and gcc

dnf install zfs

Load the zfs module

/sbin/modprobe zfs

By gill, 3 November, 2022
- id: '1664919647127'
  alias: Notify when doorbell senses motion
  description: ''
  trigger:
  - type: motion
    platform: device
    device_id: cfad552d81098c4038ea2d4bd813b366
    entity_id: binary_sensor.front_door_motion
    domain: binary_sensor
  condition: []
  mode: single
  action:
  - service: notify.persistent_notification
    data:
      message: '{{ trigger.to_state.attributes.friendly_name }} opened {{now().strftime("%c")}}'
      title: Doorbell motion sense
  - service: downloader.download_file
    data:
By gill, 16 October, 2022

dnf module list php
dnf module reset php
dnf remove php php-fpm
dnf remove php\*
dnf module enable php:remi-8.1
dnf refresh
dnf install php php-fpm composer php-bcmath php-cli php-common php-fedora-autoloader php-gd php-intl php-mbstring php-mysqlnd php-opcache php-pdo php-pecl-imagick-im7 php-pecl-zip php-process php-sodium php-tcpdf php-tidy php-xml phpMyAdmin

By gill, 23 July, 2022

First, check that the interface supports WoL:

sudo ethtool enp4s0 |grep Wake
    Supports Wake-on: g
    Wake-on: d

Supports Wake-on: g is required for WoL to work. You can change the setting with ethtool or NetworkManager. When you use ethtool, the change does not survive a reboot.

sudo ethtool -s enp4s0 wol g

By using Network Manager nmcli commands, the change persists reboots.

By gill, 18 August, 2019

To print to the SAMSUNG ML-3312ND you need:

  • Generic Linux drivers
  • SAMSUNG (now HP) Unified Linux printer drivers Print Driver (Driver) ver.V1.00.27.04 - Linux (MULTI LANGUAGE, 15.44 MB) 
  • CUPS

Try these steps:

  1. Download and decompress ULD_V1.00.27.04.tar.gz
  2. Copy

    ./uld/x86_64/rastertospl
    to

    /usr/lib/cups/filter
    and set ownership, permissions, and SELinux context like the other filters in that directory