<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.dereyck.eu/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.dereyck.eu/feed.php">
        <title>Thomas&#039; Wiki - public</title>
        <description></description>
        <link>https://wiki.dereyck.eu/</link>
        <image rdf:resource="https://wiki.dereyck.eu/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-07-23T10:50:47+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/automatically_assigning_extensions_to_files?rev=1771843177&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/burning_an_iso_to_a_cd-rom?rev=1722883399&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/checking_if_a_file_exists_with_powershell?rev=1713358445&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/common_openssl_operations?rev=1732091885&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/common_patterns_in_powershell?rev=1713359780&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/creating_a_disk_image?rev=1712092770&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/da_rules?rev=1731537639&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/disabling_mouse_support_in_vim?rev=1717747101&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/downloading_with_curl?rev=1715593634&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/email_authentication?rev=1765960740&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/enabling_ssh_on_macos_via_terminal?rev=1712138167&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/find_out_the_installed_version_of_macos_before_going_through_setup_assistant?rev=1711450966&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/fixing_microsoft_365_apps_stuck_updates?rev=1713434413&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/generating_a_random_mac_address?rev=1715593008&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/listing_all_teams_assigned_phone_numbers?rev=1730976639&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/list_libvirt_os_variants?rev=1731061172&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/logging_in_on_windows_11_remote_desktop_with_your_microsoft_account?rev=1730980935&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/looking_up_the_hostnames_for_all_ip_addresses_in_a_class_c_subnet?rev=1715772177&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/managing_apple_content_caching?rev=1713797246&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/managing_google_chrome_via_mdm?rev=1721992852&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/managing_kvm_on_debian?rev=1715979382&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/managing_luks_on_debian?rev=1722877485&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/managing_lxd_on_debian?rev=1715591706&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/managing_networking_on_debian?rev=1715883672&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/managing_zfs_on_debian?rev=1714771765&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/opening_dmg_disk_images_via_terminal?rev=1712129421&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/os_development?rev=1719171301&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/parsing_a_csv_file_with_bash?rev=1731146809&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/repackaging_isabel_security_components_for_macos?rev=1712306583&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/ripping_a_video_from_a_website?rev=1714827461&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/setting_up_a_watch-only_bitcoin_wallet?rev=1722636447&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/unblocking_all_files_in_a_folder_recursively?rev=1716389610&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/unifi_security_gateway_dhcp_server_stops_working?rev=1712910055&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/unlocking_debian_luks_with_a_yubikey_at_boot?rev=1711149636&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/using_luks_on_a_floppy_drive?rev=1712092700&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/using_nmap?rev=1716464843&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/using_robocopy?rev=1711036270&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/using_ssh_agent_forwarding?rev=1717745152&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/virt-install_examples?rev=1715894822&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/working_with_cd-roms_in_linux?rev=1712910121&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.dereyck.eu/public/working_with_systemd?rev=1715420994&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.dereyck.eu/_media/wiki/dokuwiki.svg">
        <title>Thomas' Wiki</title>
        <link>https://wiki.dereyck.eu/</link>
        <url>https://wiki.dereyck.eu/_media/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.dereyck.eu/public/automatically_assigning_extensions_to_files?rev=1771843177&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-23T10:39:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Automatically assigning extensions to files</title>
        <link>https://wiki.dereyck.eu/public/automatically_assigning_extensions_to_files?rev=1771843177&amp;do=diff</link>
        <description>Automatically assigning extensions to files


#recursively find files in current directory that have no extension
for i in $(find . -type f ! -name &quot;*.*&quot;); do
    #guess that extension using file
    extfile=$(file --extension --brief $i)
    #select the first extension in the event file spits something weird (e.g. jpeg/jpe/jfif) 
    extawk=$(echo $extfile | awk -F/ &#039;{print $1}&#039;)
    #copy the file to a file appended with the extension guessed from the former commands
    mv $i $i.$extawk
done</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/burning_an_iso_to_a_cd-rom?rev=1722883399&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-08-05T18:43:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title></title>
        <link>https://wiki.dereyck.eu/public/burning_an_iso_to_a_cd-rom?rev=1722883399&amp;do=diff</link>
        <description>You can use wodim for this:

Install it with:


apt install wodim


Then burn your image:


wodim -eject -tao speed=2 dev=/dev/sr0 -v -data image.iso


wodim cdrom</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/checking_if_a_file_exists_with_powershell?rev=1713358445&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-17T12:54:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Checking if a file exists with PowerShell</title>
        <link>https://wiki.dereyck.eu/public/checking_if_a_file_exists_with_powershell?rev=1713358445&amp;do=diff</link>
        <description>Checking if a file exists with PowerShell

You can check the existence of a file with the Test-Path command:


Test-Path -Path C:/Path/To/File


The command will return a boolean. 

powershell</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/common_openssl_operations?rev=1732091885&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-20T08:38:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Common OpenSSL Operations</title>
        <link>https://wiki.dereyck.eu/public/common_openssl_operations?rev=1732091885&amp;do=diff</link>
        <description>Common OpenSSL Operations

Extracting a private key in PEM format from a P12 container


openssl pkcs12 -in container.p12 -out key.pem -legacy -nocerts -nodes


Extracting a certificate in PEM format from a P12 container


openssl pkcs12 -in container.p12 -out certificate.pem -legacy -nokeys -nodes</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/common_patterns_in_powershell?rev=1713359780&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-17T13:16:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Common patterns in PowerShell</title>
        <link>https://wiki.dereyck.eu/public/common_patterns_in_powershell?rev=1713359780&amp;do=diff</link>
        <description>Common patterns in PowerShell

Getting help on a cmdlet

You can use the Get-Help command to get the Powershell alternative of a man page. E.g.:


Get-Help &quot;Test-Path&#039;


The first time you use Get-Help, PowerShell may need some time to download necessary help files.</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/creating_a_disk_image?rev=1712092770&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-02T21:19:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Creating a disk image</title>
        <link>https://wiki.dereyck.eu/public/creating_a_disk_image?rev=1712092770&amp;do=diff</link>
        <description>Creating a disk image

With dd

dd if=/dev/sdc of=output.img bs=512 conv=sync,noerror

draft</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/da_rules?rev=1731537639&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-13T22:40:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Da Rules</title>
        <link>https://wiki.dereyck.eu/public/da_rules?rev=1731537639&amp;do=diff</link>
        <description>Da Rules

	*  Nothing is more permanent than a temporary solution.
	*  Meetings with more than 4 people are rather pointless.
	*  Avoid starting from scratch. Incrementally improve what already exists.</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/disabling_mouse_support_in_vim?rev=1717747101&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-07T07:58:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Disabling mouse support in VIM</title>
        <link>https://wiki.dereyck.eu/public/disabling_mouse_support_in_vim?rev=1717747101&amp;do=diff</link>
        <description>Disabling mouse support in VIM

Vim nowadays supports your mouse in the terminal. Unfortunately, it interferes when simply selecting text for other purposes. You can disable mouse support in VIM by:

Executing the following one-off command in VIM:


:set mouse=</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/downloading_with_curl?rev=1715593634&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-13T09:47:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Downloading with cURL</title>
        <link>https://wiki.dereyck.eu/public/downloading_with_curl?rev=1715593634&amp;do=diff</link>
        <description>Downloading with cURL

You can download a file with cURL by using this command:


curl -LO &lt;url&gt;


The L options tells cURL to follow any redirects, if needed. The O option tells it to download to a file instead of stdout.</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/email_authentication?rev=1765960740&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-17T08:39:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Setting SPF and DMARC for a domain that is not sending e-mail</title>
        <link>https://wiki.dereyck.eu/public/email_authentication?rev=1765960740&amp;do=diff</link>
        <description>Setting SPF and DMARC for a domain that is not sending e-mail

Set the SPF TXT record (domain.com) to:


v=spf1 -all


This will inform receiving mail servers that no servers are authorized to send mail from this domain.

Set the DMARC TXT record (_dmarc.domain.com) to:</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/enabling_ssh_on_macos_via_terminal?rev=1712138167&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-03T09:56:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Enabling SSH on macOS via Terminal</title>
        <link>https://wiki.dereyck.eu/public/enabling_ssh_on_macos_via_terminal?rev=1712138167&amp;do=diff</link>
        <description>Enabling SSH on macOS via Terminal

Turn on SSH

Enable the SSH service:


sudo /usr/sbin/systemsetup -setremotelogin on


Permit</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/find_out_the_installed_version_of_macos_before_going_through_setup_assistant?rev=1711450966&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-26T11:02:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title></title>
        <link>https://wiki.dereyck.eu/public/find_out_the_installed_version_of_macos_before_going_through_setup_assistant?rev=1711450966&amp;do=diff</link>
        <description>If you want to find out what version of macOS is running on a freshly installed Mac without going through Setup Assistant, you can boot it in recovery mode and check the version by checking the volume in Disk Utility:


macos disk_utility</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/fixing_microsoft_365_apps_stuck_updates?rev=1713434413&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-18T10:00:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Fixing Microsoft 365 Apps stuck updates</title>
        <link>https://wiki.dereyck.eu/public/fixing_microsoft_365_apps_stuck_updates?rev=1713434413&amp;do=diff</link>
        <description>Fixing Microsoft 365 Apps stuck updates

When you deploy the Microsoft 365 Apps (a.k.a. the normal Microsoft Office apps such as Word etc.) via Intune, you can choose which version you want to deploy using the “Version to install” option. If you change it from</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/generating_a_random_mac_address?rev=1715593008&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-13T09:36:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Generating a random MAC address</title>
        <link>https://wiki.dereyck.eu/public/generating_a_random_mac_address?rev=1715593008&amp;do=diff</link>
        <description>Generating a random MAC address

On Linux


echo $FQDN$RANDOM|md5sum|sed &#039;s/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/&#039;


References

	*  &lt;https://serverfault.com/questions/299556/how-to-generate-a-random-mac-address-from-the-linux-command-line&gt;</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/listing_all_teams_assigned_phone_numbers?rev=1730976639&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-07T10:50:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Listing all Teams assigned phone numbers</title>
        <link>https://wiki.dereyck.eu/public/listing_all_teams_assigned_phone_numbers?rev=1730976639&amp;do=diff</link>
        <description>Listing all Teams assigned phone numbers

:!: At the time of writing, this does not yet seem possible with Graph API, and requires the Teams Powershell module instead.

Open PowerShell, and install the PowerShell Teams module:


Install-Module -Name MicrosoftTeams -Force -AllowClobber</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/list_libvirt_os_variants?rev=1731061172&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-08T10:19:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>List libvirt OS Variants</title>
        <link>https://wiki.dereyck.eu/public/list_libvirt_os_variants?rev=1731061172&amp;do=diff</link>
        <description>List libvirt OS Variants

When creating a guest with virt-install you need to specify the --os-variant.

To get a list of acceptable values, first install the libosinfo-bin package


sudo apt install libosinfo-bin


before running the command below:</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/logging_in_on_windows_11_remote_desktop_with_your_microsoft_account?rev=1730980935&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-07T12:02:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Logging in on Windows 11 Remote Desktop with Your Microsoft Account</title>
        <link>https://wiki.dereyck.eu/public/logging_in_on_windows_11_remote_desktop_with_your_microsoft_account?rev=1730980935&amp;do=diff</link>
        <description>Logging in on Windows 11 Remote Desktop with Your Microsoft Account

On Windows 11, if you use your Microsoft account to log in to your PC, you will be unable to log in via Microsoft Remote Desktop. As a workaround, you need to use runas to cache your Microsoft account password. After that (and of course enabling Remote Desktop), you will be able to log in remotely using your Microsoft account e-mail address and password</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/looking_up_the_hostnames_for_all_ip_addresses_in_a_class_c_subnet?rev=1715772177&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-15T11:22:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Looking up the hostnames for all IP addresses in a class C subnet</title>
        <link>https://wiki.dereyck.eu/public/looking_up_the_hostnames_for_all_ip_addresses_in_a_class_c_subnet?rev=1715772177&amp;do=diff</link>
        <description>Looking up the hostnames for all IP addresses in a class C subnet

On Linux


PREFIX=&quot;192.168.0&quot;
for i in $(seq 1 254)
do echo $i
    nslookup $PREFIX.$i
done | grep name</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/managing_apple_content_caching?rev=1713797246&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-22T14:47:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Managing Apple Content Caching</title>
        <link>https://wiki.dereyck.eu/public/managing_apple_content_caching?rev=1713797246&amp;do=diff</link>
        <description>Managing Apple Content Caching

Any Mac can serve as a content cache, speeding up Apple software updates and certain types of iCloud content.

Content caches can be configured graphically, via System Settings, or via the command:


AssetCacheManagerUtil</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/managing_google_chrome_via_mdm?rev=1721992852&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-26T11:20:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Managing Google Chrome and Edge via MDM</title>
        <link>https://wiki.dereyck.eu/public/managing_google_chrome_via_mdm?rev=1721992852&amp;do=diff</link>
        <description>Managing Google Chrome and Edge via MDM

You can see if Google Chrome is managed by browsing to:


chrome://management

You can see what policies are applied by browsing to:


chrome://policy


Note that chrome has “recommended” settings, and regular settings. The recommended settings can be changed by the user, and are only applied when the browser is first initialized or reset.The regular settings are always applied and cannot be changed by the user.</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/managing_kvm_on_debian?rev=1715979382&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-17T20:56:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Managing KVM on Debian</title>
        <link>https://wiki.dereyck.eu/public/managing_kvm_on_debian?rev=1715979382&amp;do=diff</link>
        <description>Managing KVM on Debian

Installing KVM

Install the required packages:


sudo apt install --no-install-recommends qemu-system libvirt-clients libvirt-daemon-system virtinst qemu-utils dnsmasq swtpm swtpm-tools ovmf bridge-utils libvirt-daemon-driver-storage-zfs</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/managing_luks_on_debian?rev=1722877485&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-08-05T17:04:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Managing LUKS on Debian</title>
        <link>https://wiki.dereyck.eu/public/managing_luks_on_debian?rev=1722877485&amp;do=diff</link>
        <description>Managing LUKS on Debian

LUKS (Linux Unified Key Setup) is the disk encryption software that&#039;s available on Debian. It sits between the file system and the block device, and encrypts all data as it passes through.

Since LUKS works directly on the block device, all commands listed below must be executed</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/managing_lxd_on_debian?rev=1715591706&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-13T09:15:06+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Managing LXD (Incus) on Debian</title>
        <link>https://wiki.dereyck.eu/public/managing_lxd_on_debian?rev=1715591706&amp;do=diff</link>
        <description>Managing LXD (Incus) on Debian

Installing Incus

Debian has its own port of LXD called Incus. It can be installed by executing:


sudo apt install incus


Then initialize Incus:

:!: Before initialization, make sure to have a network bridge and ZFS dataset ready if you want to use those.</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/managing_networking_on_debian?rev=1715883672&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-16T18:21:12+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Managing networking in Debian</title>
        <link>https://wiki.dereyck.eu/public/managing_networking_on_debian?rev=1715883672&amp;do=diff</link>
        <description>Managing networking in Debian

Showing info about a bridge interface


brctl show &lt;bridgename&gt;


This requires the bridge-utils package.

Setting up VLAN interfaces

In /etc/modules add the line to load the module automatically on startup:


8021q</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/managing_zfs_on_debian?rev=1714771765&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-03T21:29:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Managing ZFS on Debian</title>
        <link>https://wiki.dereyck.eu/public/managing_zfs_on_debian?rev=1714771765&amp;do=diff</link>
        <description>Managing ZFS on Debian

Installing ZFS

First, make sure your system is up-to-date and restarted. This prevents compilation issues later on.

Then, add the contrib section to your apt sources configuration. It should look similar to this:


# deb cdrom:[Debian GNU/Linux 12.5.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20240210-11:28]/ bookworm contrib main non-free-firmware

deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib
deb-src http://deb.debian.org/debia…</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/opening_dmg_disk_images_via_terminal?rev=1712129421&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-03T07:30:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Opening DMG disk images via Terminal</title>
        <link>https://wiki.dereyck.eu/public/opening_dmg_disk_images_via_terminal?rev=1712129421&amp;do=diff</link>
        <description>Opening DMG disk images via Terminal

You can open disk images via Terminal using the following command:


hdiutil attach /path/to/image.dmg


Good to know: you can also specify a HTTP URL to open the disk image directly from the web, without downloading it.</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/os_development?rev=1719171301&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-23T19:35:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Dependencies</title>
        <link>https://wiki.dereyck.eu/public/os_development?rev=1719171301&amp;do=diff</link>
        <description>Dependencies

brew install nasm make qemu

Boot qemu with floppy image:


qemu-system-i386 -fda build/main_floppy.img</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/parsing_a_csv_file_with_bash?rev=1731146809&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-09T10:06:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Parsing a CSV File with Bash</title>
        <link>https://wiki.dereyck.eu/public/parsing_a_csv_file_with_bash?rev=1731146809&amp;do=diff</link>
        <description>Parsing a CSV File with Bash

You can easily parse CSV files with bash. In this example script, I generate QR codes using qrencode as an example. As a source I use following very simple CSV file called list.csv:


Google,https://www.google.com
Yahoo,https://www.microsoft.com
Microsoft,https://www.microsoft.com</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/repackaging_isabel_security_components_for_macos?rev=1712306583&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-05T08:43:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Repackaging Isabel Security Components for macOS</title>
        <link>https://wiki.dereyck.eu/public/repackaging_isabel_security_components_for_macos?rev=1712306583&amp;do=diff</link>
        <description>Repackaging Isabel Security Components for macOS

Why repackage?

The macOS installer of Isabel has some major deficiencies. It tries to access resources not in its installer, tries to manipulate the Dock of the active user, tries to interact with Finder, and uses the</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/ripping_a_video_from_a_website?rev=1714827461&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-04T12:57:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Ripping a video from a website</title>
        <link>https://wiki.dereyck.eu/public/ripping_a_video_from_a_website?rev=1714827461&amp;do=diff</link>
        <description>Ripping a video from a website

:!: If your browser indicates that any kind of DRM is in use, such as WideVine or FairPlay, these instructions will not be sufficient, as those videos are encrypted.

If a website has a video you&#039;d like to download, try the obvious methods first:</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/setting_up_a_watch-only_bitcoin_wallet?rev=1722636447&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-08-02T22:07:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Setting up a watch-only Bitcoin wallet</title>
        <link>https://wiki.dereyck.eu/public/setting_up_a_watch-only_bitcoin_wallet?rev=1722636447&amp;do=diff</link>
        <description>Setting up a watch-only Bitcoin wallet

On an airgapped computer

First, set up a new wallet the usual way. Then, export the descriptors for that wallet via the following console command:


listdescriptors


:!: Do not add true as a parameter, as that would also export your private key descriptors!</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/unblocking_all_files_in_a_folder_recursively?rev=1716389610&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-22T14:53:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Unblocking all files in a folder recursively on Windows</title>
        <link>https://wiki.dereyck.eu/public/unblocking_all_files_in_a_folder_recursively?rev=1716389610&amp;do=diff</link>
        <description>Unblocking all files in a folder recursively on Windows

Use Powershell:


Get-ChildItem -Path &#039;C:\Path\To\Folder&#039; -Recurse | Unblock-File


windows powershell</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/unifi_security_gateway_dhcp_server_stops_working?rev=1712910055&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-12T08:20:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Unifi Security Gateway DHCP server stops working</title>
        <link>https://wiki.dereyck.eu/public/unifi_security_gateway_dhcp_server_stops_working?rev=1712910055&amp;do=diff</link>
        <description>Unifi Security Gateway DHCP server stops working

I recently experienced an issue where the DHCP server of my Unifi Security Gateway stopped working. For some reason, clients were not receiving IP addresses anymore. Earlier that day, I had assigned a fixed IP to a host, so maybe that screwed up the configuration at some point, but it&#039;s difficult to say for sure.</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/unlocking_debian_luks_with_a_yubikey_at_boot?rev=1711149636&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-22T23:20:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Unlocking Debian LUKS with a Yubikey at boot</title>
        <link>https://wiki.dereyck.eu/public/unlocking_debian_luks_with_a_yubikey_at_boot?rev=1711149636&amp;do=diff</link>
        <description>Unlocking Debian LUKS with a Yubikey at boot

You can use a Yubikey to unlock a Debian system at boot. For general info on managing LUKS, see Managing LUKS on Debian.

On the Yubikey

You must set up your Yubikey with the challenge-response algorithm in slot 2. One of the methods of doing so is using Yubico Authenticator.</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/using_luks_on_a_floppy_drive?rev=1712092700&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-02T21:18:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Using LUKS on a floppy drive</title>
        <link>https://wiki.dereyck.eu/public/using_luks_on_a_floppy_drive?rev=1712092700&amp;do=diff</link>
        <description>Using LUKS on a floppy drive

Make sure the disk is unmounted:

umount /dev/sdc

Format the drive as a LUKS volume:

cryptsetup luksFormat -v --type luks2 --luks2-keyslots-size 4k /dev/sdc

draft</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/using_nmap?rev=1716464843&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-23T11:47:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Using nmap</title>
        <link>https://wiki.dereyck.eu/public/using_nmap?rev=1716464843&amp;do=diff</link>
        <description>Using nmap

Scanning a single host


nmap &lt;hostname&gt;


nmap</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/using_robocopy?rev=1711036270&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-21T15:51:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Using robocopy</title>
        <link>https://wiki.dereyck.eu/public/using_robocopy?rev=1711036270&amp;do=diff</link>
        <description>Using robocopy

Robocopy is a Windows command line tool that can be used to robustly copy files. It&#039;s a bit similar to rsync on UNIX platforms.

To mirror a folder


robocopy C:\Folder1\ D:\Folder2\ /MIR /XO


Meaning of the options:

	*  /MIR: Mirrors the source to the destination.</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/using_ssh_agent_forwarding?rev=1717745152&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-07T07:25:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Using SSH agent forwarding</title>
        <link>https://wiki.dereyck.eu/public/using_ssh_agent_forwarding?rev=1717745152&amp;do=diff</link>
        <description>Using SSH agent forwarding

SSH agent forwarding allows you to use your local SSH keys on a remote host, when using it to connect to yet another host.

You can either define this in your ~/.ssh/config file with a host specific section:


Host example.com
   ForwardAgent yes</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/virt-install_examples?rev=1715894822&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-16T21:27:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>virt-install examples</title>
        <link>https://wiki.dereyck.eu/public/virt-install_examples?rev=1715894822&amp;do=diff</link>
        <description>virt-install examples

MS-DOS 6.0


virt-install \
--virt-type kvm \
--name msdos-test \
--os-variant msdos6.22 \
--graphics vnc,listen=0.0.0.0,password=foobar --noautoconsole \
--disk size=2 \
--memory 32 \
--disk path=/dos/Disk1.img,device=floppy \
--boot fd,hd,menu=on \
--import</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/working_with_cd-roms_in_linux?rev=1712910121&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-12T08:22:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Working with CD-ROMs in Linux</title>
        <link>https://wiki.dereyck.eu/public/working_with_cd-roms_in_linux?rev=1712910121&amp;do=diff</link>
        <description>Working with CD-ROMs in Linux

Ejecting a CD-ROM

Simply use tje eject command.


eject


References

&lt;https://tldp.org/HOWTO/CD-Writing-HOWTO-3.html&gt;

linux cd-rom</description>
    </item>
    <item rdf:about="https://wiki.dereyck.eu/public/working_with_systemd?rev=1715420994&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-11T09:49:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Working with systemd</title>
        <link>https://wiki.dereyck.eu/public/working_with_systemd?rev=1715420994&amp;do=diff</link>
        <description>Working with systemd

Starting or stopping a service


systemctl start &lt;servicename&gt;



systemctl stop &lt;servicename&gt;


Enabling or disabling a service


systemctl enable &lt;servicename&gt;



systemctl disable &lt;servicename&gt;


systemd</description>
    </item>
</rdf:RDF>
