<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Notes to Self</title>
  <subtitle>Snippets and memoranda</subtitle>
  <link href="https://danieljblumenfeld.com/nts/feed.xml" rel="self"/>
  <link href="https://danieljblumenfeld.com/nts/"/>
  <updated>2025-02-05T00:00:00Z</updated>
  <id>https://danieljblumenfeld.com/nts/</id>
  <author>
    <name>Dan Blumenfeld</name>
    <email>dan@danieljblumenfeld.com</email>
  </author>
  
  <entry>
    <title>SSL on Proxmox using Let&#39;s Encrypt</title>
    <link href="https://danieljblumenfeld.com/nts/namecheap-acme-proxmox/"/>
    <updated>2025-02-05T00:00:00Z</updated>
    <id>https://danieljblumenfeld.com/nts/namecheap-acme-proxmox/</id>
    <content type="html">
&lt;p&gt;I found it surprisingly difficult to get Proxmox to use Let&#39;s Encrypt certificates with a DNS challenge for my Namecheap-hosted domain&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;
    To make a long story short, I spent quite a bit of time struggling to get Proxmox to put the necessary TXT records into my Namecheap DNS. 
    The API was set up and worked fine, and in fact was successfully used to get SSL certs for my Home Assistant instance.
&lt;/p&gt;
&lt;p&gt;
    The secret sauce was in the ACME DNS Plugin configuration. The Validation Delay needed to be high (180 seconds), the DNS API was (of course) namecheap, and the API Data needed 4 values:
    &lt;br /&gt;
    &lt;code&gt;NAMECHEAP_API_USER=myNamecheapUserName&lt;/code&gt;&lt;br /&gt;
    &lt;code&gt;NAMECHEAP_API_KEY=myNamecheapAPIKey&lt;/code&gt;&lt;br /&gt;
    &lt;code&gt;NAMECHEAP_USERNAME=myNamecheapUserName&lt;/code&gt;&lt;br /&gt;
    &lt;code&gt;NAMECHEAP_SOURCEIP=myPublicIP&lt;/code&gt;&lt;br /&gt;
    &lt;br /&gt;
    Oh, and be sure that the values are *not* enclosed in quotation marks.
&lt;/p&gt;
&lt;p&gt;
    Here&#39;s a &lt;a href=&quot;https://www.derekseaman.com/2023/04/proxmox-lets-encrypt-ssl-the-easy-button.html&quot;&gt;good tutorial&lt;/a&gt; that covers the general process using Cloudflare DNS.
    &lt;br /&gt;
    Here&#39;s a &lt;a href=&quot;https://www.reddit.com/r/Proxmox/comments/q45f85/comment/krpnth2/?utm_source=share&amp;utm_medium=web3x&amp;utm_name=web3xcss&amp;utm_term=1&amp;utm_content=share_button&quot;&gt;Reddit post&lt;/a&gt; that identified the problem I was encountering calling the Namecheap API to add the ACME challenge TXT record.
&lt;/p&gt;



</content>
  </entry>
  
  <entry>
    <title>ScanSnap on Ubuntu 24.0.4</title>
    <link href="https://danieljblumenfeld.com/nts/scansnap-on-ubuntu/"/>
    <updated>2024-12-12T00:00:00Z</updated>
    <id>https://danieljblumenfeld.com/nts/scansnap-on-ubuntu/</id>
    <content type="html">&lt;p&gt;
    Inspiration drawn from &lt;a href=&quot;https://github.com/josharcheruk&quot;&gt;Josh Archer&lt;/a&gt;&#39;s 
    &lt;a href=&quot;https://www.josharcher.uk/code/install-scansnap-s1300-drivers-linux/&quot;&gt;article&lt;/a&gt;
&lt;/p&gt;

TODO: summarize steps and personal experience: Install sane, find scanner, install drivers, update sane config, test scan.

</content>
  </entry>
  
  <entry>
    <title>EDL on Ubuntu 24.0.4</title>
    <link href="https://danieljblumenfeld.com/nts/edl-on-ubuntu-24.0.4/"/>
    <updated>2024-12-07T00:00:00Z</updated>
    <id>https://danieljblumenfeld.com/nts/edl-on-ubuntu-24.0.4/</id>
    <content type="html">&lt;p&gt;
    For my Home Assistant installation, I picked up a ThinkSmart View 8&quot; tablet, designed for desktop videoconferencing. 
    There&#39;s a &lt;a href=&quot;https://community.home-assistant.io/t/is-this-the-perfect-standalone-tablet-for-ha/658422&quot;&gt;custom ROM&lt;/a&gt; available for it, 
        which requires a tool called &lt;a href=&quot;https://github.com/bkerler/edl&quot;&gt;edl&lt;/a&gt;. Here&#39;s how I got it running.
    
&lt;/p&gt;
&lt;pre&gt;
git clone https://github.com/bkerler/edl
cd edl
git submodule update --init --recursive
python3 -m venv edl_venv
source edl_venv/bin/activate
pip3 install .
&lt;/pre&gt;
Following the advice found &lt;a href=&quot;https://github.com/bkerler/edl/issues/245&quot;&gt;here&lt;/a&gt;: pull down the code, create a virtual environment, use pip3 instead of setup.py</content>
  </entry>
  
  <entry>
    <title>UniFi and Tor</title>
    <link href="https://danieljblumenfeld.com/nts/unifi-and-tor/"/>
    <updated>2024-12-06T00:00:00Z</updated>
    <id>https://danieljblumenfeld.com/nts/unifi-and-tor/</id>
    <content type="html">
&lt;p&gt;If you have a UniFi network, you may be surprised to find that Tor cannot connect, leading to a distinct lack of utility in your Tor Browser.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;To unblock it from the UniFi management console, you&#39;ll need to check two places.&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;
        &lt;p&gt;
            First, ensure that the Settings-&gt;Security-&gt;Intrusion Prevention-&gt;Dark Web Blocker option is unchecked.
            &lt;img src=&quot;https://danieljblumenfeld.com/assets/nts/unifi-darkwebblocker.png&quot; /&gt;
        &lt;/p&gt;
        &lt;small&gt;Dan Blumenfeld, &lt;a href=&quot;https://creativecommons.org/licenses/by/4.0/&quot;&gt;CC BY 4.0&lt;/a&gt;, by the author&lt;/small&gt;
    &lt;/li&gt;
    &lt;li&gt;
        &lt;p&gt;
            Second, ensure that the Tor option is unchecked in Settings-&gt;Security-&gt;Intrusion Prevention-&gt;Detection Sensitivity-&gt;Customize.
            &lt;img src=&quot;https://danieljblumenfeld.com/assets/nts/unifi-detectionsensitivity.png&quot; /&gt;
        &lt;/p&gt;
        &lt;small&gt;Dan Blumenfeld, &lt;a href=&quot;https://creativecommons.org/licenses/by/4.0/&quot;&gt;CC BY 4.0&lt;/a&gt;, by the author&lt;/small&gt;
    &lt;/li&gt;
&lt;/ol&gt;


</content>
  </entry>
</feed>