<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Quietpc on Andrew's Memory Blog</title><link>https://andrewmemory.acornwall.net/tags/quietpc/</link><description>Recent content in Quietpc on Andrew's Memory Blog</description><generator>Hugo -- gohugo.io</generator><image><url>https://andrewmemory.acornwall.net/img/rss_image.png</url><title>Quietpc on Andrew's Memory Blog</title><link>https://andrewmemory.acornwall.net/</link></image><language>en</language><managingEditor>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</managingEditor><webMaster>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</webMaster><copyright>Copyright 2009--2025</copyright><lastBuildDate>Sun, 15 Oct 2023 23:45:00 -0700</lastBuildDate><atom:link href="https://andrewmemory.acornwall.net/tags/quietpc/index.xml" rel="self" type="application/rss+xml"/><item><title>Installing OpenBSD 7.4 for a Firewall</title><link>https://andrewmemory.acornwall.net/blog/2023-10-15-installing-openbsd-7-3-for-a-firewall/</link><pubDate>Sun, 15 Oct 2023 23:45:00 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2023-10-15-installing-openbsd-7-3-for-a-firewall/</guid><description>&lt;p&gt;Installing OpenBSD 7.4 was pretty simple. I followed the &lt;a href="https://www.openbsd.org/faq/faq4.html" target="_blank" rel="noreferrer"&gt;OpenBSD installation guide&lt;/a&gt; and used dd on a Linux box to write install74.img to a USB stick. Don&amp;rsquo;t use the .iso, it doesn&amp;rsquo;t boot. Then I booted off the USB stick. (You don&amp;rsquo;t have to disable UEFI.) I used a standard layout&lt;/p&gt;
&lt;figure&gt;&lt;img
class="my-0 rounded-md"
loading="lazy"
decoding="async"
fetchpriority="auto"
alt="A picture of Puffy, the OpenBSD puffer fish logo"
width="500"
height="500"
src="https://andrewmemory.acornwall.net/blog/2023-10-15-installing-openbsd-7-3-for-a-firewall/images/puffy-firewall-sticker-1.png"
srcset="https://andrewmemory.acornwall.net/blog/2023-10-15-installing-openbsd-7-3-for-a-firewall/images/puffy-firewall-sticker-1.png 800w, https://andrewmemory.acornwall.net/blog/2023-10-15-installing-openbsd-7-3-for-a-firewall/images/puffy-firewall-sticker-1.png 1280w"
sizes="(min-width: 768px) 50vw, 65vw"
data-zoom-src="https://andrewmemory.acornwall.net/blog/2023-10-15-installing-openbsd-7-3-for-a-firewall/images/puffy-firewall-sticker-1.png"&gt;&lt;/figure&gt;
&lt;p&gt;At the time I wondered if I should install all the packages or not. I decided that maintenance would be simpler if I just went for everything, so I added all the packages including X. That turned out to be the right decision.&lt;/p&gt;
&lt;p&gt;I used a relatively standard partitioning scheme, although I think I bumped up a few of the sizes. I probably should have bumped up X11R6 more, right now it&amp;rsquo;s at 41%:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;/dev/sd0a 986M /
/dev/sd0l 295G /home
/dev/sd0d 291M /tmp
/dev/sd0f 5.8G /usr
/dev/sd0g 986M /usr/X11R6
/dev/sd0h 19.4G /usr/local
/dev/sd0k 5.8G /usr/obj
/dev/sd0j 2.9G /usr/src
/dev/sd0e 34.4G /var&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;h2 class="relative group"&gt;Set up doas
&lt;div id="set-up-doas" class="anchor"&gt;&lt;/div&gt;
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
&lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#set-up-doas" aria-label="Anchor"&gt;#&lt;/a&gt;
&lt;/span&gt;
&lt;/h2&gt;
&lt;p&gt;After installing, I set up doas &amp;lsquo;cause I like seatbelts:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;$ su
# vi /etc/doas.conf
permit persist andrewmemory as root
permit persist keepenv root as root&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;h2 class="relative group"&gt;Install patches and packages
&lt;div id="install-patches-and-packages" class="anchor"&gt;&lt;/div&gt;
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
&lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#install-patches-and-packages" aria-label="Anchor"&gt;#&lt;/a&gt;
&lt;/span&gt;
&lt;/h2&gt;
&lt;p&gt;After that I installed patches:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;$ doas syspatch
$ doas shutdown -r now&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;Next I installed a few useful packages:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;$ doas pkg_add -i emacs mutt firefox wget &lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;I picked the -no_x11 version for emacs, and the normal (not gpge, not sasl, not slang) version for mutt. I&amp;rsquo;m not going to be mailing to the world from this box, just looking at local emails. I also installed Firefox, which turned out to be another good idea. It&amp;rsquo;s a lot easier to search for doc on the firewall box itself than to ssh in.&lt;/p&gt;
&lt;h2 class="relative group"&gt;Set up mfs for /tmp
&lt;div id="set-up-mfs-for-tmp" class="anchor"&gt;&lt;/div&gt;
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
&lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#set-up-mfs-for-tmp" aria-label="Anchor"&gt;#&lt;/a&gt;
&lt;/span&gt;
&lt;/h2&gt;
&lt;p&gt;Finally, I&amp;rsquo;m paranoid about wearing out my SSD, so I set up /tmp to be mfs in /etc/fstab using the useful &lt;a href="https://dataswamp.org/~solene/2018-05-08-mfs-tmp.html" target="_blank" rel="noreferrer"&gt;instructions from Solene Rapenne&lt;/a&gt;:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;$ doas vi /etc/fstab
#f1ea06b71e2dca43.d /tmp ffs rw,nodev,nosuid 1 2
swap /tmp mfs rw,nodev,nosuid,-s=300m 0 0&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;&amp;hellip; and I had to boot to single-user mode to fix up permissions for /tmp:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;$ doas umount /tmp
$ doas chmod 1777 /tmp
$ doas mount /tmp&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;Apparently &lt;a href="http://undeadly.org/cgi?action=article&amp;amp;sid=20160812011743" target="_blank" rel="noreferrer"&gt;tmpfs has been removed&lt;/a&gt; because it&amp;rsquo;s not supported, so mfs it is. I&amp;rsquo;ve got plenty of RAM for a /tmp file system, but I have delusions of putting most of /var in its own mfs file system, so I restricted /tmp to 300M.&lt;/p&gt;
&lt;p&gt;Once that was done, I could log into a few other machines on my network to establish fingerprints for them. I also tested X by running startx, and then firefox, and it worked.&lt;/p&gt;
&lt;h2 class="relative group"&gt;There were some noisy beeps
&lt;div id="there-were-some-noisy-beeps" class="anchor"&gt;&lt;/div&gt;
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
&lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#there-were-some-noisy-beeps" aria-label="Anchor"&gt;#&lt;/a&gt;
&lt;/span&gt;
&lt;/h2&gt;
&lt;p&gt;By default, OpenBSD rings the bell when you mistype certain things. That was annoying other people in the house, so I had to shut those up. That took two things. In ~/.login I added:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;/sbin/wsconsctl keyboard.bell.volume=0&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;Then, I created ~/.xsession and added:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;/usr/X11R6/bin/xset b off&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;This post is part of a series on &lt;a href="https://andrewmemory.acornwall.net/blog/2023-10-15-setting-up-an-openbsd-7-4-firewall-device/" &gt;setting up an OpenBSD 7.4 firewall device&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Buying new hardware for an OpenBSD firewall</title><link>https://andrewmemory.acornwall.net/blog/2023-10-15-buying-new-hardware-for-an-openbsd-firewall/</link><pubDate>Sun, 15 Oct 2023 23:30:53 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2023-10-15-buying-new-hardware-for-an-openbsd-firewall/</guid><description>&lt;p&gt;I knew going in that I wanted more than two ethernet ports for my OpenBSD firewall device. I had visions of multiple networks and/or a spare port that I could use when I screwed up my pf configuration. I also knew that I wanted HDMI so I could pop the firewall on my KVM switch - I&amp;rsquo;d used serial to the APU2 and that was not always wonderful. The Linux box would sometimes forget about the serial ports when they were plugged in for a while.&lt;/p&gt;
&lt;p&gt;In the end, I got a random Intel N5105 mini-PC with four Intel ethernet ports. The &lt;a href="https://www.amazon.com/gp/product/B0B53MKZBX/" target="_blank" rel="noreferrer"&gt;HUNSN Micro Firewall Appliance, Mini PC, VPN, Router PC, Intel N5105, HUNSN RJ03, AES-NI, 4 x Intel 2.5GbE I226-V LAN, Type-C, TF, M.2 WiFi 6 Slot, Barebone, NO RAM, NO Storage, NO System&lt;/a&gt; was around $250 US. Add a Western Digital NVMe &lt;a href="https://www.amazon.com/gp/product/B09HKG6SDF/" target="_blank" rel="noreferrer"&gt;500G drive&lt;/a&gt; and 16G of &lt;a href="https://www.amazon.com/gp/product/B08C4WV6FT/" target="_blank" rel="noreferrer"&gt;Cruical laptop RAM&lt;/a&gt; and I had something on which I could install a system. It&amp;rsquo;s low-powered enough that I don&amp;rsquo;t mind keeping it running 24/7, and high-powered enough that I&amp;rsquo;m not worried about it being a bottleneck.&lt;/p&gt;
&lt;p&gt;[&lt;figure&gt;&lt;img
class="my-0 rounded-md"
loading="lazy"
decoding="async"
fetchpriority="auto"
alt="The HUNSN Micro Firewall Appliance from the front"
width="359"
height="211"
src="https://andrewmemory.acornwall.net/blog/2023-10-15-buying-new-hardware-for-an-openbsd-firewall/images/hunsn.png"
srcset="https://andrewmemory.acornwall.net/blog/2023-10-15-buying-new-hardware-for-an-openbsd-firewall/images/hunsn.png 800w, https://andrewmemory.acornwall.net/blog/2023-10-15-buying-new-hardware-for-an-openbsd-firewall/images/hunsn.png 1280w"
sizes="(min-width: 768px) 50vw, 65vw"
data-zoom-src="https://andrewmemory.acornwall.net/blog/2023-10-15-buying-new-hardware-for-an-openbsd-firewall/images/hunsn.png"&gt;&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;I learned afterwards that the I226-V might &lt;a href="https://www.reddit.com/r/openbsd/comments/12g637u/experience_with_problematic_intel_i225_25_gbps/" target="_blank" rel="noreferrer"&gt;potentially have a problem&lt;/a&gt; if you want to do 2.5G ethernet. So far, I haven&amp;rsquo;t experienced any network instability because of that.&lt;/p&gt;
&lt;p&gt;As a belt-and-suspenders kind of thing, I bought a &amp;ldquo;silent&amp;rdquo; USB fan that sits on top of the case, just because the server room can get a little warm.&lt;/p&gt;
&lt;p&gt;This post is part of a series on &lt;a href="https://andrewmemory.acornwall.net/blog/2023-10-15-setting-up-an-openbsd-7-4-firewall-device/" &gt;setting up an OpenBSD 7.4 firewall device&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Building a quiet MythTV box - selecting a case</title><link>https://andrewmemory.acornwall.net/blog/2012-04-20-building-a-quiet-mythtv-box-selecting-a-case/</link><pubDate>Fri, 20 Apr 2012 23:34:05 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2012-04-20-building-a-quiet-mythtv-box-selecting-a-case/</guid><description>&lt;p&gt;I&amp;rsquo;ve started looking around for a quiet but thermally good case for a MythTV box. My first thought was to do an HTPC case - the &lt;a href="http://www.lian-li.com/v2/en/product/product06.php?pr_index=580&amp;amp;cl_index=1&amp;amp;sc_index=26&amp;amp;ss_index=68" target="_blank" rel="noreferrer"&gt;Lian Li HTPC C60&lt;/a&gt; looked good.&lt;/p&gt;
&lt;p&gt;But then I started worrying about airflow around the case. I&amp;rsquo;ve got a fairly narrow spot to put it in - about 46 cm - so a PC that&amp;rsquo;s 44 cm wide doesn&amp;rsquo;t leave a lot of room for cooling.&lt;/p&gt;
&lt;p&gt;I decided to look into mini towers instead. The &lt;a href="http://www.lian-li.com/v2/en/product/product06.php?pr_index=567&amp;amp;cl_index=1&amp;amp;sc_index=25&amp;amp;ss_index=63" target="_blank" rel="noreferrer"&gt;Lian Li V600F&lt;/a&gt; looks like it would be nice, but it has these ugly blue fans.&lt;/p&gt;
&lt;p&gt;I also looked into the &lt;a href="http://www.quietpcusa.com/NZXT-H2-Classic-Silent-Midtower-Chassis-P800C80.aspx" target="_blank" rel="noreferrer"&gt;NZXT H2&lt;/a&gt; (some were saying it was too flimsy), &lt;a href="http://www.antec.com/Believe_it/product.php?id=MTgwOA==&amp;amp;lan=us" target="_blank" rel="noreferrer"&gt;Antec P183&lt;/a&gt; (too tall, not a mini tower) and &lt;a href="http://www.silverstonetek.com/product.php?pid=303" target="_blank" rel="noreferrer"&gt;Silverstone TJ-8e&lt;/a&gt; (an 18 inch fan in front, but only that. How hard to get a replacement when it dies?)&lt;/p&gt;
&lt;p&gt;Now I&amp;rsquo;m leaning towards the L&lt;a href="http://www.lian-li.com/v2/en/product/product06.php?pr_index=314&amp;amp;cl_index=1&amp;amp;sc_index=25&amp;amp;ss_index=62" target="_blank" rel="noreferrer"&gt;ian Li B10&lt;/a&gt;. It&amp;rsquo;s too bad that &lt;a href="http://www.silentpcreview.com/" target="_blank" rel="noreferrer"&gt;SPCR&lt;/a&gt; hasn&amp;rsquo;t reviewed it - they seem to know a thing or two about quiet and heat.&lt;/p&gt;</description></item><item><title>Building a quiet MythTV box - step 1 - thinking aloud</title><link>https://andrewmemory.acornwall.net/blog/2012-04-01-building-a-quiet-mythtv-box-step-1-thinking-aloud/</link><pubDate>Sun, 01 Apr 2012 01:32:13 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2012-04-01-building-a-quiet-mythtv-box-step-1-thinking-aloud/</guid><description>&lt;p&gt;Due to decreased WAF for the old MythTV box, I&amp;rsquo;m looking into building a quieter one. I&amp;rsquo;ve decided to do a couple of things differently:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use HDHomeRun for capture cards. That way, I won&amp;rsquo;t be stuck to a particular bus architecture. It also means the capture cards won&amp;rsquo;t be generating heat in the case.&lt;/li&gt;
&lt;li&gt;Use a pair of 5400 RPM hard drives (maybe a 2.5&amp;quot; one for the OS, and a 3.5&amp;quot; one for the recordings? Need to have fans on all of them to cool them down.&lt;/li&gt;
&lt;li&gt;Replace all the fans with FDB or maglev bearing fans&lt;/li&gt;
&lt;li&gt;Use an external PSU like the &lt;a href="http://www.mini-box.com/picoPSU-192-XT-192W-Adapter-Power-Kit" target="_blank" rel="noreferrer"&gt;PicoPSU&lt;/a&gt; or something like that. &lt;a href="http://outsidethestb.blogspot.com/2011/02/dc-psu-mouting-plate-prototype.html" target="_blank" rel="noreferrer"&gt;Here&amp;rsquo;s an adapter&lt;/a&gt; to make it fit in a standard fan bay. (This might also be a good idea for ham radio PSUs&amp;hellip;)&lt;/li&gt;
&lt;li&gt;Use an HTPC case or at least a quiet PC case&lt;/li&gt;
&lt;li&gt;Probably end up with an nVidia video card.&lt;/li&gt;
&lt;li&gt;I think I want a core2 duo 3.1 MHz or so motherboard/ processor combo&lt;/li&gt;
&lt;li&gt;Does the Pico PSU mean I won&amp;rsquo;t be able to drive a DVD player? Maybe another external one (eSATA?) Am I going to end up with a bunch of individual set top boxes?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The CPU cooling fans, video card and hard drives should generate most of the heat (and noise). Need to figure out how much power a video card uses.&lt;/p&gt;</description></item></channel></rss>