This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This script is for Debian/Ubuntu Linux (tested on Ubuntu 22.04) | |
# This script fixes a case of /boot/efi being installed on a mdraid (RAID1) device | |
# That's not a supported configuration as of Grub on Ubuntu 22.04 | |
# You have to stop and remove the mdraid, reinitialize the FAT volumes, remount /boot/efi, | |
# then configure grub to use both devices (using debconf-set-selections), | |
# and finally run grub reconfiguration (in this case noninteractively), which will install | |
# grub (both EFI partitions of the former RAID1) to EFI nvram |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN DHCP Header | |
# ---------- | |
# dhcpd6.conf | |
# ---------- | |
default-lease-time 2592000; | |
preferred-lifetime 604800; | |
option dhcp-renewal-time 3600; | |
option dhcp-rebinding-time 7200; | |
allow leasequery; | |
# ---------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# File location: /etc/systemd/network/10-bridges.link | |
[Match] | |
Type=bridge | |
[Link] | |
MACAddressPolicy=none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/udev/rules.d/10-usbports.rules | |
ACTION=="add", ATTRS{interface}=="eBus Coupler 12001", SYMLINK+="ttyeBus" | |
# /etc/default/ebusd | |
PARAMETERS='-d /dev/ttyeBus --latency=0 -c /etc/ebusd/ --log="all info" --mqtthost=127.0.0.1 --mqttport=1883 --mqttuser=(...) --mqttpass=(...) --mqttlog --scanconfig --configlang=en --accesslevel="*"' | |
# diff -u ebusd-2.1.x/en/vaillant/hcmode.inc /etc/ebusd/vaillant/hcmode.inc | |
--- ./ebusd-configuration/ebusd-2.1.x/en/vaillant/hcmode.inc 2023-10-23 10:03:16.245419205 +0000 | |
+++ /etc/ebusd/vaillant/hcmode.inc 2023-11-12 11:03:08.281734797 +0000 | |
@@ -8,6 +8,7 @@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Save the file as /etc/grub.d/90_efi_fix | |
# | |
# if recreating the boot partitions, do not forget to update partition IDs in /etc/fstab | |
# use the following to find out the UUIDs | |
# lsblk -o UUID -nr /dev/sda1 | |
# lsblk -o UUID -nr /dev/sdb1 | |
# also add ",nofail" to the fstab entry options, in case the drive dies, so that you are not stuck during boot | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
"""Module to assist with capturing pref64 from RAs on the IPv6-mostly networks and acting upon it.""" | |
import argparse | |
import ipaddress | |
import logging | |
import re | |
import signal | |
import struct | |
import socket | |
import subprocess |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date/time IPv6 prefix Technology Download Upload Device | |
------------------- ---------------- ----------------------- ---------- -------- -------------------------------------- | |
2023-07-12 15:30:23 2a00:11b7:8034:: LAN/LAN 266372 140848 Firefox | |
2023-07-14 09:25:08 2a00:11b7:2618:: LAN/LAN 29273 9580 Opera | |
2023-07-20 14:47:53 2a00:11b7:260e:: LAN/LAN 63199 22426 Chrome | |
2023-07-22 08:24:07 2a00:11b7:2617:: LAN/LAN 22378 5213 Edge | |
2023-07-24 18:35:05 2a00:11b7:2614:: WLAN/WLAN 17159 2032 Android Google Pixel 6a | |
2023-07-25 16:03:14 2a00:11b7:2614:: WLAN/WLAN 7220 1966 Android Google Pixel 6a | |
2023-07-25 17:23:53 2a00:11b7:2614:: WLAN/WLAN 7036 1739 Android Google Pixel 6a | |
2023-07-25 17:42:01 2a00:11b7:2614:: WLAN/WLAN 4851 2041 Android Google Pixel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tabulka přečíslování digitálních čísel v ČR v noci z 21. na 22. září 2002 | |
Důležité upozornění: Tabulku lze využívat pouze pro převod přidělených digitálních čísel | |
na nové. Nelze využívat v opačném směru - odvozovat z nových čísel staré očíslování. | |
Stávající stav Nový stav Stávající stav Nový stav | |
Předv. Úč.číslo Národní číslo Předv. Úč.číslo Národní číslo | |
0164 6xx xxx 353 6xx xxx 0436 31x xxx 481 31x xxx | |
0164 8xx xxx 353 8xx xxx 0436 32x xxx 481 32x xxx | |
0164 9xx xxx 359 9xx xxx 0436 35x xxx 481 35x xxx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
namespaces = { | |
'gml': 'http://www.opengis.net/gml/3.2', | |
'xlink': 'http://www.w3.org/1999/xlink', | |
'xsi': 'http://www.w3.org/2001/XMLSchema-instance', | |
'ami': 'urn:cz:isvs:ruian:schemas:AdrMistoIntTypy:v1', | |
'base': 'urn:cz:isvs:ruian:schemas:BaseTypy:v1', | |
'coi': 'urn:cz:isvs:ruian:schemas:CastObceIntTypy:v1', | |
'com': 'urn:cz:isvs:ruian:schemas:CommonTypy:v1', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update the path to your jool-init.sh, if it differs | |
# Save as /etc/systemd/system/jool.service | |
# Run systemctl daemon reload && systemctl enable jool.service | |
[Unit] | |
Description=Jool.mx NAT64 service | |
[Service] | |
ExecStart=/usr/sbin/jool-init.sh | |
[Install] |
NewerOlder