<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on No Subject - nosubject.io -</title><link>https://nosubject.io/en/posts/</link><description>Recent content in Posts on No Subject - nosubject.io -</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 09 Jul 2026 00:00:00 +0900</lastBuildDate><atom:link href="https://nosubject.io/en/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Migrating from WordPress to Hugo</title><link>https://nosubject.io/en/wordpress-to-hugo-migration/</link><pubDate>Thu, 09 Jul 2026 00:00:00 +0900</pubDate><guid>https://nosubject.io/en/wordpress-to-hugo-migration/</guid><description>&lt;p&gt;I decided to migrate this site, which had been running on WordPress, to Hugo.&lt;/p&gt;
&lt;p&gt;WordPress is convenient. You can write posts from the admin screen, and there are many themes and plugins. But after running it for a long time, the number of things to maintain keeps growing little by little: PHP, MySQL, plugins, themes, security updates, backups, and so on.&lt;/p&gt;
&lt;p&gt;This blog is mostly a place where I leave notes about things I looked up. I do not need much dynamic behavior. For that kind of use, managing posts as Markdown files and publishing static HTML with Hugo feels like a better fit.&lt;/p&gt;</description></item><item><title>Switching the Raspberry Pi WordPress Site to Hugo</title><link>https://nosubject.io/en/raspberry-pi-wordpress-to-hugo-switch/</link><pubDate>Thu, 09 Jul 2026 00:00:00 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi-wordpress-to-hugo-switch/</guid><description>&lt;p&gt;I already wrote about migrating the article data from WordPress to Hugo in &lt;a href="https://nosubject.io/en/wordpress-to-hugo-migration/"&gt;Migrating from WordPress to Hugo&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This article covers the next step: switching the actual WordPress environment running on my Raspberry Pi to Hugo.&lt;/p&gt;
&lt;p&gt;Even when I built the environment myself, I forget the details after enough time passes. Looking back at my older notes, this site was not running WordPress directly on the host with PHP and MySQL. It was running through Docker.&lt;/p&gt;</description></item><item><title>Windows 11 Ubuntu 24.04 (WSL): Change the Default Editor from nano to vi</title><link>https://nosubject.io/en/ubuntu_config_default_editor/</link><pubDate>Wed, 27 Aug 2025 23:48:27 +0900</pubDate><guid>https://nosubject.io/en/ubuntu_config_default_editor/</guid><description>&lt;h1 id="overview"&gt;Overview&lt;/h1&gt;
&lt;p&gt;When you run a command such as &lt;code&gt;visudo&lt;/code&gt; on a newly installed Ubuntu system, it can be surprising to see nano start up.
This is a note on how to change the default editor from nano to vi.&lt;/p&gt;
&lt;h2 id="test-environment"&gt;Test Environment&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Windows 11 Pro&lt;/li&gt;
&lt;li&gt;Ubuntu 24.04.3 LTS (WSL)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="how-to-change-it"&gt;How to Change It&lt;/h2&gt;
&lt;h3 id="temporarily-change-it-with-an-environment-variable"&gt;Temporarily Change It with an Environment Variable&lt;/h3&gt;
&lt;p&gt;Set the &lt;code&gt;EDITOR&lt;/code&gt; environment variable, or run the command with &lt;code&gt;env&lt;/code&gt; as shown below.&lt;/p&gt;</description></item><item><title>How I Improved the Loose USB Type-C Connection on My Google Pixel</title><link>https://nosubject.io/en/google-pixel-7as-type-c-contact-problem-has-been-improved/</link><pubDate>Fri, 11 Jul 2025 18:51:09 +0900</pubDate><guid>https://nosubject.io/en/google-pixel-7as-type-c-contact-problem-has-been-improved/</guid><description>&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;I use Google Maps through Android Auto on my Pixel 7a as the car navigation system in my AQUA. Recently, the navigation would stop more often because of a loose USB Type-C connection.&lt;/p&gt;
&lt;p&gt;I was having trouble finding a workaround, but then I came across information online saying that a Type-C connector can become unstable if it is inserted too deeply. This is what happened when I tried that idea.&lt;/p&gt;</description></item><item><title>[Windows 11] Tweak the Registry to Let JIS and US Keyboard Layouts Coexist</title><link>https://nosubject.io/en/windows-11-tweaking-the-registry-to-allow-jis-and-us-keyboard-layouts-to-coexist/</link><pubDate>Wed, 18 Jun 2025 22:49:06 +0900</pubDate><guid>https://nosubject.io/en/windows-11-tweaking-the-registry-to-allow-jis-and-us-keyboard-layouts-to-coexist/</guid><description>&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;When you connect an English-layout keyboard to a Japanese-layout laptop, the Windows settings only let you choose either the JIS layout or the US layout, which makes one of the keyboards awkward to use.&lt;/p&gt;
&lt;h2&gt;Method&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://qiita.com/n_bando/items/6679494e5a931425641f"&gt;[Windows 10 / Windows 11] Make JIS and US keyboard layouts coexist by editing the registry&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just by following the procedure described there, I was able to set the built-in PS/2 keyboard to the JP layout even while the system keyboard setting was set to the US layout.&lt;/p&gt;</description></item><item><title>[Windows 11] Tweak the Registry to Let JIS and US Keyboard Layouts Coexist</title><link>https://nosubject.io/en/Windows11_coexist_jp_us_keyboard_layouts/</link><pubDate>Wed, 18 Jun 2025 10:01:12 +0900</pubDate><guid>https://nosubject.io/en/Windows11_coexist_jp_us_keyboard_layouts/</guid><description>&lt;p&gt;[Windows 11] Tweaking the registry to allow JIS and US keyboard layouts to coexist&lt;/p&gt;
&lt;h1 id="overview"&gt;Overview&lt;/h1&gt;
&lt;p&gt;When you connect an English-layout keyboard to a Japanese-layout laptop, the Windows settings only let you choose either the JIS layout or the US layout, which makes one of the keyboards awkward to use.&lt;/p&gt;
&lt;h2 id="method"&gt;Method&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://qiita.com/n_bando/items/6679494e5a931425641f"&gt;[Windows 10 / Windows 11] Make JIS and US keyboard layouts coexist by editing the registry&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Just by following the procedure described there, I was able to set the built-in PS/2 keyboard to the JP layout even while the system keyboard setting was set to the US layout.&lt;/p&gt;</description></item><item><title>Notes on Blocking Attacks Against Raspberry Pi SSH with Fail2Ban</title><link>https://nosubject.io/en/raspberry-pi5-pios-how-to-setup-fail2ban-ssh/</link><pubDate>Sun, 01 Sep 2024 23:16:45 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi5-pios-how-to-setup-fail2ban-ssh/</guid><description>&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;I expose the SSH Server port so I can access my Raspberry Pi remotely, and when I looked at the logs, I saw that it was being attacked fairly often. Password login is disabled, so I could ignore it, but it felt unpleasant, so I configured Fail2Ban.&lt;/p&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;$ journalctl _COMM=sshd | grep "Invalid user"
Aug 11 09:23:53 pi4col sshd&amp;#91;1105]: Invalid user blank from 183.67.43.194 port 44130
Aug 11 09:44:30 pi4col sshd&amp;#91;1118]: Invalid user pi from 199.76.38.123 port 36840
Aug 11 09:44:30 pi4col sshd&amp;#91;1119]: Invalid user pi from 199.76.38.123 port 36844
Aug 11 09:45:33 pi4col sshd&amp;#91;1122]: Invalid user Admin from 138.75.192.20 port 52632
Aug 11 10:07:10 pi4col sshd&amp;#91;1197]: Invalid user blank from 61.83.254.100 port 38377
Aug 11 10:26:35 pi4col sshd&amp;#91;1268]: Invalid user nosubject from 152.136.41.3 port 55696
Aug 11 10:28:44 pi4col sshd&amp;#91;1270]: Invalid user admin from 121.7.26.195 port 50064
Aug 11 10:49:04 pi4col sshd&amp;#91;1282]: Invalid user babs from 81.70.27.122 port 45998
Aug 11 10:49:11 pi4col sshd&amp;#91;1284]: Invalid user zookeeper from 46.191.141.152 port 35283
...&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;What Is Fail2Ban?&lt;/h2&gt;
&lt;p&gt;Fail2Ban is a tool that checks access logs and bans addresses that repeatedly produce login errors, such as from brute-force attacks. This time, I use it to ban unauthorized SSH access.&lt;/p&gt;</description></item><item><title>[Raspberry Pi] How Do I Turn Off Wi-Fi and Bluetooth on Raspberry Pi OS?</title><link>https://nosubject.io/en/raspberry-pi-os-how-do-i-turn-off-wifi-bluetooth/</link><pubDate>Wed, 27 Mar 2024 23:44:45 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi-os-how-do-i-turn-off-wifi-bluetooth/</guid><description>&lt;p&gt;On Raspberry Pi OS, you can use the rfkill command to turn wireless functions on and off.&lt;br&gt;The rfkill command can turn Wi-Fi and Bluetooth on and off.&lt;/p&gt;
&lt;h3&gt;Test Environment&lt;/h3&gt;
&lt;p&gt;Raspberry Pi OS - Debian GNU/Linux 12 (bookworm)&lt;/p&gt;
&lt;p&gt;Raspberry Pi 5 8GB Model: Raspberry Pi 5 Model B Rev 1.0 (Rev. d04170)&lt;/p&gt;
&lt;p&gt;Raspberry Pi 4 8GB Model: Raspberry Pi 4 Model B Rev 1.4 (Rev. d03114)&lt;/p&gt;
&lt;h3&gt;Check the Device ID&lt;/h3&gt;
&lt;p&gt;Check the number in the ID column. In the example below, the Bluetooth device is 0 and Wi-Fi is 1.&lt;/p&gt;</description></item><item><title>Emacs Key Binding Settings for Sakura Editor</title><link>https://nosubject.io/en/sakuraeditor-emacs-key-bind/</link><pubDate>Wed, 14 Feb 2024 13:02:17 +0900</pubDate><guid>https://nosubject.io/en/sakuraeditor-emacs-key-bind/</guid><description>&lt;p&gt;It is rough being in an environment where only Sakura Editor can be used.&lt;/p&gt;
&lt;p&gt;Reposted from the following. (Because the environment could not even extract LZH files, I converted it to Zip.)&lt;/p&gt;
&lt;p&gt;http://sakura.qp.land.to/?Customize%2F%C5%EA%B9%C6%2F6&lt;/p&gt;
&lt;div class="wp-block-file"&gt;&lt;a id="wp-block-file--media-b811f6df-4e24-466e-93cd-bb0e62acb203" href="https://nosubject.io/wp-content/uploads/2024/02/SakuraEmacsKey.zip"&gt;SakuraEmacsKey&lt;/a&gt;&lt;a href="https://nosubject.io/wp-content/uploads/2024/02/SakuraEmacsKey.zip" class="wp-block-file__button wp-element-button" download aria-describedby="wp-block-file--media-b811f6df-4e24-466e-93cd-bb0e62acb203"&gt;Download&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div class="wp-block-file"&gt;&lt;a id="wp-block-file--media-49e0785b-91d0-48a6-843e-3908f506b0af" href="https://nosubject.io/wp-content/uploads/2024/02/xml.ini_.zip"&gt;Type-specific settings for XML&lt;/a&gt;&lt;a href="https://nosubject.io/wp-content/uploads/2024/02/xml.ini_.zip" class="wp-block-file__button wp-element-button" download aria-describedby="wp-block-file--media-49e0785b-91d0-48a6-843e-3908f506b0af"&gt;Download&lt;/a&gt;&lt;/div&gt;</description></item><item><title>Change the Windows 11 PIN (Windows Hello) Length from 6 Digits to 4 Digits</title><link>https://nosubject.io/en/windows11-windows-hello-edit-minimum-pin-length/</link><pubDate>Wed, 09 Aug 2023 12:49:37 +0900</pubDate><guid>https://nosubject.io/en/windows11-windows-hello-edit-minimum-pin-length/</guid><description>&lt;p class="is-style-p-style-08 has-box-style"&gt;I use a PIN on Windows 11. By default, the minimum length was 6 digits, so I tried changing it to 4 digits.&lt;/p&gt;
&lt;h2&gt;Test Environment&lt;/h2&gt;
&lt;p class="is-style-section-paper-box has-box-style"&gt;OS: Windows 11 Pro 22H2 22621.2070&lt;br&gt;CPU: Core i7 13700&lt;br&gt;RAM: 64 GB&lt;/p&gt;
&lt;h2&gt;Configuration&lt;/h2&gt;
&lt;p class="is-style-section-paper-box has-box-style"&gt;Press &lt;strong&gt;Win + R&lt;/strong&gt; (Run), enter &lt;strong&gt;gpedit.msc&lt;/strong&gt;, and open the Local Group Policy Editor.&lt;/p&gt;
&lt;figure class="wp-block-image size-full is-style-default"&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2023/08/image-13.png" alt="" class="wp-image-1160"/&gt;&lt;/figure&gt;
&lt;p class="is-style-section-paper-box has-box-style"&gt;From the tree on the left, select &lt;strong&gt;Computer Configuration -&gt; Administrative Templates -&gt; System -&gt; PIN Complexity&lt;/strong&gt;. The &lt;strong&gt;Minimum PIN length&lt;/strong&gt; item shown on the right is the setting for the number of PIN digits.&lt;br&gt;By default, it is &lt;strong&gt;Not configured (= 6 or more digits)&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>A Quick Way to Install WSL2 (Ubuntu) and Docker Desktop on Windows 11</title><link>https://nosubject.io/en/windows11-how-to-setup-wsl2-ubuntu-and-docker-desktop/</link><pubDate>Thu, 03 Aug 2023 12:13:54 +0900</pubDate><guid>https://nosubject.io/en/windows11-how-to-setup-wsl2-ubuntu-and-docker-desktop/</guid><description>&lt;p&gt;This is a note from installing WSL and Docker Desktop in a Windows 11 Pro environment.&lt;/p&gt;
&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;When using Docker containers on Windows, I use Docker Desktop.&lt;br&gt;For paid licensing and various other reasons, it seems people are moving away from Docker, but it is still easy and convenient when you want to verify something quickly.&lt;/p&gt;
&lt;p&gt;On Windows 10, setting up WSL took a bit of work, but recent Windows 11 versions seem to install it quickly, so I wanted to try it.&lt;/p&gt;</description></item><item><title>[Python] What to Do When Sending Packets with Scapy as a General User Returns error: [Errno 1] Operation not permitted</title><link>https://nosubject.io/en/python-scapy-send-packet-operation-not-permitted-error/</link><pubDate>Thu, 19 Jan 2023 10:56:58 +0900</pubDate><guid>https://nosubject.io/en/python-scapy-send-packet-operation-not-permitted-error/</guid><description>&lt;p&gt;Apparently, handling raw packets requires the Linux capability &lt;code&gt;cap_net_raw&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The only apparent options are to run Python with sudo or grant the capability to &lt;code&gt;/usr/bin/python3&lt;/code&gt;.&lt;/p&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;$ sudo setcap cap_net_raw=eip $(readlink -f $(which python3))&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For a development environment, I think this is fine.&lt;/p&gt;
&lt;p&gt;Reference: &lt;a href="https://stackoverflow.com/questions/22421290/scapy-operation-not-permitted-when-sending-packets"&gt;https://stackoverflow.com/questions/22421290/scapy-operation-not-permitted-when-sending-packets&lt;/a&gt;&lt;/p&gt;</description></item><item><title>How to Run SSHd with Systemd in a CentOS 7 Docker Container</title><link>https://nosubject.io/en/centos7-systemd-sshd-on-windows-docker-desktop/</link><pubDate>Fri, 17 Jun 2022 20:05:58 +0900</pubDate><guid>https://nosubject.io/en/centos7-systemd-sshd-on-windows-docker-desktop/</guid><description>&lt;p&gt;I use Docker Desktop on Windows.&lt;/p&gt;
&lt;p&gt;This time I needed to use Systemd on CentOS 7, so I looked into it.&lt;/p&gt;
&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;If you run CentOS 7 in a container without doing anything special, running the &lt;code&gt;systemctl&lt;/code&gt; command produces an error like this.&lt;/p&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;sh-4.2# systemctl start sshd
Failed to get D-Bus connection: Operation not permitted&lt;/code&gt;&lt;/pre&gt;
&lt;a href="https://hub.docker.com/_/centos/" class="blogcard-wrap external-blogcard-wrap a-wrap cf" target="_blank" rel="noopener noreferrer"&gt;
 &lt;div class="blogcard external-blogcard eb-left cf"&gt;
 &lt;figure class="blogcard-thumbnail external-blogcard-thumbnail"&gt;
 
 &lt;img src="https://www.google.com/s2/favicons?domain=hub.docker.com" alt="" width="32" height="32" loading="lazy"&gt;
 
 &lt;/figure&gt;
 &lt;div class="blogcard-content external-blogcard-content"&gt;
 &lt;div class="blogcard-title external-blogcard-title"&gt;https://hub.docker.com/_/centos/&lt;/div&gt;
 &lt;div class="blogcard-snippet external-blogcard-snippet"&gt;リンク先を開く&lt;/div&gt;
 &lt;div class="blogcard-domain external-blogcard-domain"&gt;hub.docker.com&lt;/div&gt;
 &lt;/div&gt;
 &lt;/div&gt;
&lt;/a&gt;

&lt;p&gt;To avoid this, you need to add options when starting the container. Docker Hub describes this, but even following those instructions did not work for me. The required settings seem to differ depending on the environment.&lt;/p&gt;</description></item><item><title>How to Change the Memory Limit in a Docker Desktop Environment</title><link>https://nosubject.io/en/docker-desktop-memory-allocation-config/</link><pubDate>Wed, 15 Jun 2022 15:16:53 +0900</pubDate><guid>https://nosubject.io/en/docker-desktop-memory-allocation-config/</guid><description>&lt;p&gt;I run containers in a Docker Desktop environment, but they run with less memory than the physical memory available, so I tried increasing the memory allocation. This applies only to environments using the WSL 2 backend.&lt;/p&gt;
&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;Docker Desktop is affected by WSL2's memory limit. On Windows 10, the default memory allocated to WSL2 appears to be 80% of the host memory. When I checked my own environments, they looked like this.&lt;/p&gt;</description></item><item><title>Can a mineo SIM Be Used in a WiMAX+ Wi-Fi Router, the Speed Wi-Fi NEXT W06?</title><link>https://nosubject.io/en/mineo-sim-wimax-wifi-next-w06/</link><pubDate>Mon, 23 May 2022 22:46:23 +0900</pubDate><guid>https://nosubject.io/en/mineo-sim-wimax-wifi-next-w06/</guid><description>&lt;p&gt;This feels a little late, but I tried using a mineo SIM in a Speed Wi-Fi NEXT W06.&lt;/p&gt;
&lt;h3&gt;Background&lt;/h3&gt;
&lt;p&gt;Recently, I have liked mineo's 1GB data plan (880 yen/month) + Packet Unlimited Plus (385 yen/month).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you are fine with a maximum speed of 1.5 Mbps, you can get an unlimited-data environment for about 1,300 yen per month. (If you are thinking about joining mineo, you can sign up at a discount through the referral link below.)&lt;/p&gt;</description></item><item><title>WENRUI (ROYAL KLUDGE RK61) Key Setting Shortcuts</title><link>https://nosubject.io/en/wenrui-royal-kludge-rk61-key-settings/</link><pubDate>Sat, 21 May 2022 18:16:02 +0900</pubDate><guid>https://nosubject.io/en/wenrui-royal-kludge-rk61-key-settings/</guid><description>&lt;p&gt;Notes on switching keys on the WENRUI mechanical keyboard.&lt;/p&gt;
&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;I use a mechanical keyboard sold as the "&lt;a href="https://www.amazon.co.jp/gp/search/ref=as_li_qf_sp_sr_tl?ie=UTF8&amp;amp;tag=nosubjectio0d-22&amp;amp;keywords=WENRUI メカニカルキーボード&amp;amp;index=aps&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;linkCode=ur2&amp;amp;linkId=5a03c947d156c16d6b6830133d2a924f" target="_blank" rel="noreferrer noopener"&gt;WENRUI Mechanical Keyboard&lt;/a&gt;", but inside it is a ROYAL KLUDGE RK61.&lt;/p&gt;</description></item><item><title>Customizing the Key Layout of the WENRUI (ROYAL KLUDGE RK61) Mechanical Keyboard</title><link>https://nosubject.io/en/wenrui-royal-kludge-rk61-software/</link><pubDate>Tue, 08 Feb 2022 10:18:35 +0900</pubDate><guid>https://nosubject.io/en/wenrui-royal-kludge-rk61-software/</guid><description>&lt;p&gt;This is a note from when I tried customizing the key layout of the WENRUI mechanical keyboard (blue switches) that I bought on Amazon.&lt;/p&gt;
&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;I bought a gaming keyboard on Amazon called the "&lt;a target="_blank" href="https://www.amazon.co.jp/gp/search/ref=as_li_qf_sp_sr_tl?ie=UTF8&amp;amp;tag=nosubjectio0d-22&amp;amp;keywords=WENRUI メカニカルキーボード&amp;amp;index=aps&amp;amp;camp=247&amp;amp;creative=1211&amp;amp;linkCode=ur2&amp;amp;linkId=5a03c947d156c16d6b6830133d2a924f" rel="noreferrer noopener"&gt;WENRUI Mechanical Keyboard&lt;/a&gt;", and it was engraved ROYAL KLUDGE RK61.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] USB Boot: Stop Using an SD Card and Boot from an SSD</title><link>https://nosubject.io/en/raspberry-pi4-clone-from-microsd-to-ssd/</link><pubDate>Thu, 06 Jan 2022 17:12:07 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-clone-from-microsd-to-ssd/</guid><description>&lt;p&gt;This is a memo from migrating a Raspberry Pi web server that had been running from an SD card to an SSD with USB boot. I had written about &lt;a href="https://nosubject.io/raspberry-pi4-pi4-%e3%81%ae%e3%82%b9%e3%83%88%e3%83%ac%e3%83%bc%e3%82%b8%e3%82%92sd%e3%82%ab%e3%83%bc%e3%83%89%e3%81%8b%e3%82%89ssd%e3%81%b8%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/" target="_blank" rel="noreferrer noopener" title="[Raspberry Pi 4] Change the Pi 4 Storage from an SD Card to an SSD"&gt;something similar&lt;/a&gt; before; this time only the data-copying method is different. This procedure may be easier.&lt;br&gt;The steps are for Ubuntu, but I think almost the same method can be used with Raspberry Pi OS. This is amateur work, so follow it at your own risk if you use it as a reference.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Four-Channel Terrestrial Digital Recording Server on a Raspberry Pi: Docker + GPU Encoding Version</title><link>https://nosubject.io/en/raspberry-pi4-pios-docker-epgstation-gpu-encode/</link><pubDate>Sat, 18 Sep 2021 08:30:00 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-pios-docker-epgstation-gpu-encode/</guid><description>&lt;p&gt;This is a memo for enabling hardware encoding in EPGStation running on a Raspberry Pi. It continues from the previous article, &lt;a href="https://nosubject.io/raspberry-pi4-ubuntu-tv-recorder-pxq1ud/" title="[Raspberry Pi 4] Four-Channel Terrestrial Digital Recording Server on Ubuntu with PX-Q1UD" target="_blank" rel="noreferrer noopener"&gt;[Raspberry Pi 4] Four-Channel Terrestrial Digital Recording Server on Ubuntu with PX-Q1UD&lt;/a&gt;. Some parts still do not work perfectly, but the GPU appears to be usable, and it is mostly operational now.&lt;/p&gt;
&lt;p&gt;This is amateur work, so follow it at your own risk if you use it as a reference.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Headless Install of 64-bit Raspberry Pi OS (No Monitor or Keyboard Needed)</title><link>https://nosubject.io/en/raspberry-pi4-raspberry-pios-64bit-headless-install/</link><pubDate>Fri, 17 Sep 2021 00:24:18 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-raspberry-pios-64bit-headless-install/</guid><description>&lt;p&gt;I only recently noticed that Raspberry Pi OS has a 64-bit version, so I will install it on a Raspberry Pi 4. As usual, this assumes no keyboard, mouse, or display is connected to the Raspberry Pi.&lt;/p&gt;
&lt;p&gt;Like when &lt;a href="https://nosubject.io/raspberry-pi4-ubuntu-20-10-headless-install/" title="[Raspberry Pi 4] Headless Install of Ubuntu 20.10: How to Install Without a Keyboard or Display" target="_blank" rel="noreferrer noopener"&gt;installing Ubuntu&lt;/a&gt;, this records the steps up to installing the OS and logging in from the host PC (Windows) over SSH. This time I use an SSD for storage instead of an SD card.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Install Docker on the 64-bit Version of Raspberry Pi OS</title><link>https://nosubject.io/en/raspberry-pi4-raspberry-pi-os-64bit-docker-install/</link><pubDate>Tue, 14 Sep 2021 13:51:47 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-raspberry-pi-os-64bit-docker-install/</guid><description>&lt;p&gt;This is a memo. It is the same procedure as &lt;a href="https://nosubject.io/raspberry-pi4-ubuntu-install-docker/" target="_blank" rel="noreferrer noopener" title="[Raspberry Pi 4] Install Docker on Ubuntu Server 21.04"&gt;installing on Ubuntu&lt;/a&gt;. The repository URL is about the only difference.&lt;/p&gt;
&lt;h2&gt;Test Environment&lt;/h2&gt;
&lt;p&gt;Raspberry Pi 4, 8GB memory&lt;br&gt;*On this site, I use a &lt;a href="https://amzn.to/392CVa3" target="_blank" rel="noreferrer noopener"&gt;SanDisk SSD&lt;/a&gt; and a &lt;a href="https://amzn.to/3tNwD7s" target="_blank" rel="noreferrer noopener"&gt;Buffalo SSD&lt;/a&gt; for storage. (&lt;a href="https://nosubject.io/raspberry-pi4-pi4-%e3%81%ae%e3%82%b9%e3%83%88%e3%83%ac%e3%83%bc%e3%82%b8%e3%82%92sd%e3%82%ab%e3%83%bc%e3%83%89%e3%81%8b%e3%82%89ssd%e3%81%b8%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/" target="_blank" rel="noreferrer noopener" title="[Raspberry Pi 4] Change the Pi 4 Storage from an SD Card to an SSD"&gt;Reference: [Raspberry Pi 4] Change the Pi 4 Storage from an SD Card to an SSD&lt;/a&gt;)&lt;/p&gt;</description></item><item><title>[Raspberry Pi] Configure Ubuntu Server Wi-Fi from CUI Commands</title><link>https://nosubject.io/en/raspberry-pi-cui-ubuntu-server-wifi-configuration/</link><pubDate>Mon, 13 Sep 2021 18:22:14 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi-cui-ubuntu-server-wifi-configuration/</guid><description>&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;This is a note from installing Ubuntu Server on a Raspberry Pi, connecting a display and keyboard, and configuring Wi-Fi. With the Desktop edition, you can configure it from the GUI, so you probably do not need to do it from commands.&lt;/p&gt;
&lt;p&gt;If you want to install and configure it without connecting a display or keyboard, see "&lt;a href="https://nosubject.io/raspberry-pi4-install-ubuntu-server-21-04-headless/" title="[Raspberry Pi 4] Headless Install of Ubuntu Server 21.04 (No Monitor or Keyboard) Beginner-Friendly"&gt;[Raspberry Pi 4] Headless Install of Ubuntu Server 21.04 (No Monitor or Keyboard) Beginner-Friendly&lt;/a&gt;".&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Increase the Memory Allocated to the GPU</title><link>https://nosubject.io/en/raspberry-pi4-gpu-memory-configuration/</link><pubDate>Thu, 09 Sep 2021 17:50:49 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-gpu-memory-configuration/</guid><description>&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;The Raspberry Pi GPU memory is shared with system memory.&lt;/p&gt;
&lt;p&gt;I checked how to change the amount of memory allocated to the GPU.&lt;/p&gt;
&lt;h2&gt;Test Environment&lt;/h2&gt;
&lt;p&gt;Raspberry Pi 4 with 8GB RAM, running Ubuntu.&lt;/p&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;$ cat /proc/device-tree/model
Raspberry Pi 4 Model B Rev 1.4
&lt;p&gt;$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute
&lt;/code&gt;&lt;/pre&gt;
&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?ref=qf_sp_asin_til&amp;amp;t=nosubjectio0d-22&amp;amp;m=amazon&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;IS1=1&amp;amp;detail=1&amp;amp;asins=B08P4D6GS6&amp;amp;linkId=284ac55191927cdb388c8df8d7931dec&amp;amp;bc1=FFFFFF&amp;amp;lt1=_top&amp;amp;fc1=333333&amp;amp;lc1=0066C0&amp;amp;bg1=FFFFFF&amp;amp;f=ifr"&gt;&lt;/iframe&gt;
&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?ref=qf_sp_asin_til&amp;amp;t=nosubjectio0d-22&amp;amp;m=amazon&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;IS1=1&amp;amp;detail=1&amp;amp;asins=B08P4BMS46&amp;amp;linkId=d92fad309eda6a56b04dd40be36dd1e2&amp;amp;bc1=ffffff&amp;amp;lt1=_top&amp;amp;fc1=333333&amp;amp;lc1=0066c0&amp;amp;bg1=ffffff&amp;amp;f=ifr"&gt;&lt;/iframe&gt;

&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=nosubjectio0d-22&amp;amp;language=ja_JP&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=as_ss_li_til&amp;amp;asins=B095K5WTQ2&amp;amp;linkId=5b92f4a95c5d0e7e12e844dd34c4f9ec"&gt;&lt;/iframe&gt;
&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=nosubjectio0d-22&amp;amp;language=ja_JP&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=as_ss_li_til&amp;amp;asins=B07GBD3JLR&amp;amp;linkId=6646eb313663cee2bb93aaff0eeafe6d"&gt;&lt;/iframe&gt;
&lt;/p&gt;
&lt;h2&gt;Configuration&lt;/h2&gt;
&lt;p&gt;Check the current GPU memory size. By default, the allocation to the GPU seems to be 76MB.&lt;br&gt;There is plenty of system memory available, so I will increase the GPU allocation.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Change the Pi 4 Storage from an SD Card to an SSD</title><link>https://nosubject.io/en/raspberry-pi4-pi4-%E3%81%AE%E3%82%B9%E3%83%88%E3%83%AC%E3%83%BC%E3%82%B8%E3%82%92sd%E3%82%AB%E3%83%BC%E3%83%89%E3%81%8B%E3%82%89ssd%E3%81%B8%E5%A4%89%E6%9B%B4%E3%81%99%E3%82%8B/</link><pubDate>Thu, 05 Aug 2021 00:59:23 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-pi4-%E3%81%AE%E3%82%B9%E3%83%88%E3%83%AC%E3%83%BC%E3%82%B8%E3%82%92sd%E3%82%AB%E3%83%BC%E3%83%89%E3%81%8B%E3%82%89ssd%E3%81%B8%E5%A4%89%E6%9B%B4%E3%81%99%E3%82%8B/</guid><description>&lt;p&gt;When using a Raspberry Pi as a home server, you inevitably have to worry about the life of the SD card. Raspberry Pi 4 can also boot from a USB drive, so I tried it.&lt;br&gt;As a result, it now runs snappily and feels comfortable. It also removes the problem of SD cards failing from periodic log writes and similar activity, which makes operation easier.&lt;/p&gt;
&lt;h2&gt;Test Environment&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://amzn.to/3lAcG0z" target="_blank" rel="noreferrer noopener"&gt;Raspberry Pi 4 8GB&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Building a Compact Desktop PC with the Popular ASRock DeskMini Barebone Kit</title><link>https://nosubject.io/en/asrock-deskmini-pc-x300-ryzen/</link><pubDate>Mon, 12 Jul 2021 19:19:26 +0900</pubDate><guid>https://nosubject.io/en/asrock-deskmini-pc-x300-ryzen/</guid><description>&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;I built a compact, quiet PC. I could have bought Dospara's mini Regulus II AR5, but I already had an OS and SSD on hand, and I was able to buy memory cheaply on Mercari, so this time I bought an ASRock DeskMini X300 barebone kit and assembled it myself.&lt;/p&gt;
&lt;p&gt;The photos show the finished build. The front panel is just a little larger than an iPhone 8.&lt;/p&gt;
&lt;figure class="wp-block-gallery columns-3 is-cropped"&gt;&lt;ul class="blocks-gallery-grid"&gt;&lt;li class="blocks-gallery-item"&gt;&lt;figure&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2021/07/IMG_2944-1024x1024.jpg" alt="" data-id="809" data-full-url="https://nosubject.io/wp-content/uploads/2021/07/IMG_2944-scaled-1.jpg" data-link="/img_2944/" class="wp-image-809"/&gt;&lt;/figure&gt;&lt;/li&gt;&lt;li class="blocks-gallery-item"&gt;&lt;figure&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2021/07/IMG_2943-1024x1024.jpg" alt="" data-id="808" data-full-url="https://nosubject.io/wp-content/uploads/2021/07/IMG_2943-scaled-1.jpg" data-link="/img_2943/" class="wp-image-808"/&gt;&lt;/figure&gt;&lt;/li&gt;&lt;li class="blocks-gallery-item"&gt;&lt;figure&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2021/07/IMG_2942-1024x1024.jpg" alt="" data-id="807" data-full-url="https://nosubject.io/wp-content/uploads/2021/07/IMG_2942-scaled-1.jpg" data-link="/img_2942/" class="wp-image-807"/&gt;&lt;/figure&gt;&lt;/li&gt;&lt;li class="blocks-gallery-item"&gt;&lt;figure&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2021/07/IMG_2931-1024x1024.jpg" alt="" data-id="806" data-full-url="https://nosubject.io/wp-content/uploads/2021/07/IMG_2931-scaled-1.jpg" data-link="/img_2931/" class="wp-image-806"/&gt;&lt;/figure&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/figure&gt;
&lt;p&gt;If you want something even more compact and low-power, ASUS's &lt;a href="https://www.asus.com/jp/Displays-Desktops/Mini-PCs/PN-PB-series/Mini-PC-PN51/" target="_blank" rel="noreferrer noopener"&gt;Mini PC PN51&lt;/a&gt; looks good. If you do not want to build one yourself, I think buying a &lt;a href="https://www.dospara.co.jp/5info/cts_pc_mini" target="_blank" rel="noreferrer noopener" title="https://www.dospara.co.jp/5info/cts_pc_mini"&gt;finished mini PC&lt;/a&gt; such as Dospara's mini Regulus is probably the way to go.&lt;/p&gt;</description></item><item><title>[Emacs] I Tried nyan-mode</title><link>https://nosubject.io/en/emacs-nyan-mode-%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%81%BF%E3%81%9F/</link><pubDate>Wed, 30 Jun 2021 13:00:33 +0900</pubDate><guid>https://nosubject.io/en/emacs-nyan-mode-%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%81%BF%E3%81%9F/</guid><description>&lt;p&gt;I want to try LSP-mode, and when I read &lt;a href="https://qiita.com/Ladicle/items/feb5f9dce9adf89652cf" target="_blank" rel="noreferrer noopener"&gt;Emacs Modernization Plan - Cute Emacs Edition -&lt;/a&gt;, it introduced a lot of useful things, so I decided to try them little by little in my own environment.&lt;/p&gt;
&lt;p&gt;The first thing that catches the eye is the cat in the mode line. It seems to be called nyan-mode. Instead of showing your position in the buffer as a percentage, the cat shows roughly where you are.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Four-Channel Simultaneous Terrestrial Digital TV Recording Server on Ubuntu with PX-Q1UD</title><link>https://nosubject.io/en/raspberry-pi4-ubuntu-tv-recorder-pxq1ud/</link><pubDate>Sat, 19 Jun 2021 00:21:28 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-ubuntu-tv-recorder-pxq1ud/</guid><description>&lt;p&gt;These are notes. I tried something called a recording server. Since I already had a Docker environment, it was easy to create. I also tried hardware encoding, but it was not stable, so these notes only cover building the normal setup. This is amateur work, so if you use it as a reference, do so at your own risk.&lt;/p&gt;
&lt;p&gt;Update: In a separate article, I wrote about operating it with H/W encoding.&lt;br&gt; &lt;a href="https://nosubject.io/raspberry-pi4-pios-docker-epgstation-gpu-encode/" title="[Raspberry Pi 4] [Redo] Four-channel simultaneous terrestrial digital TV recording server on Raspberry Pi"&gt;[Raspberry Pi 4] [Redo] Four-channel simultaneous terrestrial digital TV recording server on Raspberry Pi&lt;/a&gt;&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Install Docker on Ubuntu Server 21.04</title><link>https://nosubject.io/en/raspberry-pi4-ubuntu-install-docker/</link><pubDate>Tue, 08 Jun 2021 02:10:55 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-ubuntu-install-docker/</guid><description>&lt;p&gt;This is a memo. Since &lt;a href="https://nosubject.io/raspberry-pi4-install-ubuntu-server-21-04-headless/" target="_blank" rel="noreferrer noopener" title="[Raspberry Pi 4] Headless Install of Ubuntu Server 21.04 (No Monitor or Keyboard) Beginner-Friendly"&gt;Ubuntu Hirsute 21.04 is already installed&lt;/a&gt; on the Raspberry Pi, installing Docker only requires following the procedure on the &lt;a href="https://docs.docker.com/engine/install/ubuntu/" target="_blank" rel="noreferrer noopener"&gt;official site&lt;/a&gt;.&lt;/p&gt;
&lt;h2 class="has-text-align-left"&gt;Test Environment&lt;/h2&gt;
&lt;p&gt;Raspberry Pi 4, 4GB memory&lt;/p&gt;
&lt;p&gt;Ubuntu Server 21.04&lt;/p&gt;
&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?ref=qf_sp_asin_til&amp;amp;t=nosubjectio-22&amp;amp;m=amazon&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;IS2=1&amp;amp;detail=1&amp;amp;asins=B082VVJCPT&amp;amp;linkId=d89e9da0c1b37a38c2d6409bb830aa73&amp;amp;bc1=000000&amp;amp;lt1=_blank&amp;amp;fc1=333333&amp;amp;lc1=0066c0&amp;amp;bg1=ffffff&amp;amp;f=ifr"&gt;&lt;/iframe&gt;
&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?ref=qf_sp_asin_til&amp;amp;t=nosubjectio-22&amp;amp;m=amazon&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;IS2=1&amp;amp;detail=1&amp;amp;asins=B07GBD3JLR&amp;amp;linkId=cba179e5586b5dbc6f247d13d85b0ee2&amp;amp;bc1=000000&amp;amp;lt1=_blank&amp;amp;fc1=333333&amp;amp;lc1=0066c0&amp;amp;bg1=ffffff&amp;amp;f=ifr"&gt;&lt;/iframe&gt;
&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?ref=qf_sp_asin_til&amp;amp;t=nosubjectio-22&amp;amp;m=amazon&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as1&amp;amp;IS2=1&amp;amp;detail=1&amp;amp;asins=B07N31JKN2&amp;amp;linkId=831bf2b68a90b619b5487e3cef4881f4&amp;amp;bc1=000000&amp;amp;lt1=_blank&amp;amp;fc1=333333&amp;amp;lc1=0066c0&amp;amp;bg1=ffffff&amp;amp;f=ifr"&gt;&lt;/iframe&gt;

&lt;h2&gt;Install Docker&lt;/h2&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;# 旧バージョン等のクリーンアップ
$ sudo apt-get remove docker docker-engine docker.io containerd runc&lt;/code&gt;&lt;/pre&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;# Set up the repository
$ sudo apt-get update
&lt;p&gt;$ sudo apt-get install -y &lt;br&gt;
apt-transport-https &lt;br&gt;
ca-certificates &lt;br&gt;
curl &lt;br&gt;
gnupg &lt;br&gt;
lsb-release&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Headless Installation of Ubuntu Server 21.04 Over Wi-Fi Only (No Monitor or Keyboard) 🐣 Beginner-Friendly 🐣</title><link>https://nosubject.io/en/raspberry-pi4-install-ubuntu-server-21-04-headless/</link><pubDate>Mon, 07 Jun 2021 11:48:41 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-install-ubuntu-server-21-04-headless/</guid><description>&lt;p&gt;I got a 4 GB memory version of the Raspberry Pi 4, so I tried a headless installation of Ubuntu Server 21.04. For now, I will record the steps from installing the OS to logging in by SSH from the host PC.&lt;/p&gt;
&lt;h2 class="has-text-align-left"&gt;Environment Tested&lt;/h2&gt;
&lt;p&gt;Raspberry Pi 4, 4 GB memory&lt;/p&gt;
&lt;p&gt;Transcend microSD 128GB&lt;/p&gt;
&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=nosubjectio0d-22&amp;amp;language=ja_JP&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=as_ss_li_til&amp;amp;asins=B08N4F3CVY&amp;amp;linkId=4ef891a3c0440537895c22878fb0c948"&gt;&lt;/iframe&gt;

&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=nosubjectio0d-22&amp;amp;language=ja_JP&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=as_ss_li_til&amp;amp;asins=B09CYCHR3D&amp;amp;linkId=5005a31bc0a1c0635f2a349cec4ee677"&gt;&lt;/iframe&gt;

&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=nosubjectio0d-22&amp;amp;language=ja_JP&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=as_ss_li_til&amp;amp;asins=B08M655CFF&amp;amp;linkId=16950d502a26f1fa91395fac452adb63"&gt;&lt;/iframe&gt;

&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=nosubjectio0d-22&amp;amp;language=ja_JP&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=as_ss_li_til&amp;amp;asins=B09379M37J&amp;amp;linkId=054562a67fcc5eca2f10eda81f0f8fe2"&gt;&lt;/iframe&gt;

&lt;iframe
 style="width:120px;height:240px;"
 marginwidth="0"
 marginheight="0"
 scrolling="no"
 frameborder="0"
 src="https://rcm-fe.amazon-adsystem.com/e/cm?lt1=_blank&amp;amp;bc1=000000&amp;amp;IS2=1&amp;amp;bg1=FFFFFF&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=nosubjectio0d-22&amp;amp;language=ja_JP&amp;amp;o=9&amp;amp;p=8&amp;amp;l=as4&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;ref=as_ss_li_til&amp;amp;asins=B085RXRM8X&amp;amp;linkId=725ae34f63abb9b875fac508e88860f6"&gt;&lt;/iframe&gt;

&lt;h2&gt;Write the Ubuntu Image to the SD Card&lt;/h2&gt;
&lt;p&gt;Prepare the environment on the host PC.&lt;br&gt;Write Ubuntu to the SD card from Windows, Mac, or Linux.&lt;/p&gt;</description></item><item><title>Trying an ahamo (docomo) SIM with Speed Wi-Fi HOME L02 / NEXT W06</title><link>https://nosubject.io/en/speed-wi-fi-home-l02-ahamo-docomo-sim/</link><pubDate>Mon, 12 Apr 2021 22:17:58 +0900</pubDate><guid>https://nosubject.io/en/speed-wi-fi-home-l02-ahamo-docomo-sim/</guid><description>&lt;p&gt;I canceled WiMAX 2+ because using an ahamo SIM seemed cheaper, so I tried whether an ahamo SIM could be used with Speed Wi-Fi HOME L02 / NEXT W06.&lt;/p&gt;
&lt;h3&gt;Background&lt;/h3&gt;
&lt;p&gt;When there is less than a year left before the contract renewal, WiMAX 2+ recommends another three-year contract renewal under the premise of changing the Wi-Fi router model and making the device fee free.&lt;br&gt;However, with mobile carriers competing to lower data communication prices, I do not feel eager to renew for three years just because the monthly fee becomes a little cheaper and I can get a new device.&lt;/p&gt;</description></item><item><title>[Emacs] After Trying Mew in Emacs 27 on Windows 10, I Wanted to Display X-Face Too</title><link>https://nosubject.io/en/windows10-emacs-27-mew/</link><pubDate>Wed, 24 Mar 2021 02:06:38 +0900</pubDate><guid>https://nosubject.io/en/windows10-emacs-27-mew/</guid><description>&lt;p&gt;This drifted a little off track, but while I was &lt;a href="https://nosubject.io/raspberry-pi4-docker-mailserver/" title="[Raspberry Pi 4] Build a Mail Server (Postfix + Dovecot) with Docker" target="_blank" rel="noreferrer noopener"&gt;migrating my home mail server&lt;/a&gt;, I also configured Emacs so I could read and write email there.&lt;/p&gt;
&lt;h4&gt;Test Environment&lt;/h4&gt;
&lt;p&gt;Windows 10 Pro version 20H2 (OS build 19042.868)&lt;br&gt;64-bit GNU Emacs 27.1 official build&lt;br&gt;"GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-22"&lt;br&gt;Mew 6.8 Windows&lt;/p&gt;
&lt;h3&gt;Overview&lt;/h3&gt;
&lt;p&gt;I use Mew as the mailer in Emacs. I have not used anything else. I think there was also something called Wanderlust. These days, I almost never read or write email in Emacs anymore. Still, back when email was the main communication tool, being able to write email in Emacs felt deeply impressive.&lt;/p&gt;</description></item><item><title>[Raspberry Pi] I Thought /var/log Was Safe on a Ramdisk, but Docker Logs Were Being Written to the SD Card</title><link>https://nosubject.io/en/raspberry-pi-ramdisk-docker-logging-driver/</link><pubDate>Tue, 23 Mar 2021 00:01:29 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi-ramdisk-docker-logging-driver/</guid><description>&lt;p&gt;To extend the life of the SD card, I &lt;a href="https://nosubject.io/raspberry-pi4-ubuntu-20-10-headless-install/#toc7" title="/raspberry-pi4-ubuntu-20-10-headless-install/#toc7" target="_blank" rel="noreferrer noopener"&gt;configured /var/log to live on a Ramdisk&lt;/a&gt;. But Docker logs are output to &lt;strong&gt;/var/lib/docker/containers&lt;/strong&gt;, so of course that did nothing for Docker logs.&lt;/p&gt;
&lt;h4&gt;Test Environment&lt;/h4&gt;
&lt;p&gt;Raspberry Pi 4 (8GB RAM)&lt;br&gt;Ubuntu 20.10 64-bit&lt;/p&gt;
&lt;pre class="wp-block-preformatted"&gt;$ cat /etc/fstab&lt;br&gt;LABEL=writable / ext4 defaults 0 0&lt;br&gt;LABEL=system-boot /boot/firmware vfat defaults 0 1&lt;br&gt;tmpfs /tmp tmpfs defaults,size=128m 0 0&lt;br&gt;tmpfs /var/tmp tmpfs defaults,size=128m 0 0&lt;br&gt;tmpfs /var/log tmpfs defaults,size=64m 0 0&lt;/pre&gt;
&lt;h3&gt;What I Changed&lt;/h3&gt;
&lt;p&gt;Change Docker's logging driver settings. Check the official site for details.&lt;br&gt;Reference: &lt;a href="https://docs.docker.jp/config/container/logging/configure.html#configure-logging-drivers" target="_blank" rel="noreferrer noopener"&gt;Configure logging drivers&lt;/a&gt;&lt;/p&gt;</description></item><item><title>[Raspberry Pi] After Setting Up a Ramdisk, nginx Stopped Starting, So I Handled It with rc-local</title><link>https://nosubject.io/en/raspberry-pi4-ramdisk-nginx-rc-local/</link><pubDate>Fri, 19 Mar 2021 08:06:00 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-ramdisk-nginx-rc-local/</guid><description>&lt;p&gt;This is just about trying an earlier article, &lt;a href="https://nosubject.io/ubuntu-raspberry-pi-ramdisk-nginx-mysql/" target="_blank" rel="noreferrer noopener" title="[Ubuntu] After Setting Up a Ramdisk on Raspberry Pi, nginx and MySQL Stopped Starting, So I Handled It with rc-local"&gt;[Ubuntu] After Setting Up a Ramdisk on Raspberry Pi, nginx and MySQL Stopped Starting, So I Handled It with rc-local&lt;/a&gt;, on a Raspberry Pi 4 as well. These days MySQL runs in a Docker container, so the only target this time is &lt;code&gt;/var/log/nginx&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Run WordPress with Docker</title><link>https://nosubject.io/en/raspberry-pi4-docker-wordpress/</link><pubDate>Sat, 13 Mar 2021 13:19:49 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-docker-wordpress/</guid><description>&lt;h3&gt;Overview&lt;/h3&gt;
&lt;p&gt;These are notes from setting up WordPress with Docker. Nginx is already running on the host side, and an SSL certificate has already been obtained, so WordPress will ride on that setup too.&lt;/p&gt;
&lt;h5&gt;Related Past Articles&lt;/h5&gt;
&lt;ol&gt;&lt;li&gt;&lt;a href="https://nosubject.io/ubuntu-19-10-pppoe/" target="_blank" rel="noreferrer noopener"&gt;Connect with PPPoE on Ubuntu 19.10 and open ports.&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://nosubject.io/raspberrypi-nuro-remove-pppoe/" target="_blank" rel="noreferrer noopener"&gt;[RaspberryPi] I switched from Docomo Hikari to Nuro Hikari, so I stopped using PPPoE and changed to normal port forwarding&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://nosubject.io/raspberry-pi4-ubuntu-20-10-headless-install/" target="_blank" rel="noreferrer noopener"&gt;[Raspberry Pi 4] Headless installation of Ubuntu 20.10. How to install without a keyboard or display&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://nosubject.io/raspberry-pi4-nginx-letsencrypt/" target="_blank" rel="noreferrer noopener"&gt;[Raspberry Pi 4] Install Nginx and obtain an SSL server certificate from Let's Encrypt&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://nosubject.io/raspberry-pi4-docker-mailserver/" target="_blank" rel="noreferrer noopener" title="[Raspberry Pi 4] Build a mail server (Postfix + Dovecot) with Docker"&gt;[Raspberry Pi 4] Build a mail server with Docker.&lt;/a&gt; &lt;/li&gt;&lt;li&gt;[Raspberry Pi 4] Run WordPress with Docker. ★ You are here&lt;/li&gt;&lt;/ol&gt;
&lt;h3&gt;Environment Tested&lt;/h3&gt;
&lt;p&gt;Raspberry Pi 4 Ubuntu 20.10 (arm64)&lt;/p&gt;</description></item><item><title>[Raspberry Pi] After Switching from docomo Hikari to NURO Hikari, I Stopped PPPoE and Switched to Normal Port Forwarding</title><link>https://nosubject.io/en/raspberrypi-nuro-remove-pppoe/</link><pubDate>Fri, 12 Mar 2021 21:08:17 +0900</pubDate><guid>https://nosubject.io/en/raspberrypi-nuro-remove-pppoe/</guid><description>&lt;p&gt;As the title says, NURO Hikari lets me open ports without particular restrictions, so I stopped PPPoE on the Raspberry Pi and exposed it externally using the ONU settings.&lt;/p&gt;
&lt;h3&gt;Overview&lt;/h3&gt;
&lt;p&gt;The flow is roughly like this.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Remove the PPPoE settings and change the network settings.&lt;/li&gt;&lt;li&gt;Configure the DMZ on the ONU (SGP200W).&lt;/li&gt;&lt;li&gt;Shut down the Raspberry Pi, then change the connection from the docomo Hikari TA to the NURO Hikari ONU.&lt;/li&gt;&lt;li&gt;Start the Raspberry Pi.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;The target Raspberry Pi is used for the following purpose.&lt;br&gt;&lt;a href="https://nosubject.io/raspberry-pi4-docker-mailserver/" target="_blank" rel="noreferrer noopener" title="[Raspberry Pi 4] Build a Mail Server (Postfix + Dovecot) with Docker"&gt;[Raspberry Pi 4] Build a Mail Server (Postfix + Dovecot) with Docker&lt;/a&gt;&lt;br&gt;(*Actually, with the settings above, I had been running it without noticing that unintended ports were open.)&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Build a Mail Server (Postfix + Dovecot) with Docker</title><link>https://nosubject.io/en/raspberry-pi4-docker-mailserver/</link><pubDate>Tue, 02 Feb 2021 09:55:54 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-docker-mailserver/</guid><description>&lt;p&gt;This time, I use Docker to start a mail server and handle the various settings around it.&lt;/p&gt;
&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;I use Postfix and Dovecot for my home mail server, but when installed as native packages, the initial configuration is complicated. When rebuilding the server or moving it to another PC, I completely forget what was configured and how. On top of that, I also need to configure other tools such as spam countermeasures and Fail2Ban, so it is a real hassle. This time the goal is an easy installation using Docker.&lt;/p&gt;</description></item><item><title>[Emacs] Try Configuring Fonts in Emacs 27 on Windows 10</title><link>https://nosubject.io/en/windows10-emacs-27-font-configuration/</link><pubDate>Sun, 31 Jan 2021 23:13:52 +0900</pubDate><guid>https://nosubject.io/en/windows10-emacs-27-font-configuration/</guid><description>&lt;p&gt;When using Emacs, it feels wrong if the fonts are not configured.&lt;/p&gt;
&lt;p&gt;I do not really understand the proper way to configure them, but I searched around and tried settings that suit me reasonably well.&lt;/p&gt;
&lt;h4&gt;Test Environment&lt;/h4&gt;
&lt;p&gt;Windows 10 Pro version 20H2 (OS build 19042.746)&lt;br&gt;64-bit GNU Emacs 27.1 official build&lt;br&gt;"GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-22"&lt;/p&gt;
&lt;h3&gt;Overview&lt;/h3&gt;
&lt;p&gt;The default state is hard to read, so I will start by configuring only the basic fonts. That said, I personally do not understand Emacs font configuration very well.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Install Nginx and Obtain an SSL Server Certificate from Let's Encrypt</title><link>https://nosubject.io/en/raspberry-pi4-nginx-letsencrypt/</link><pubDate>Sat, 23 Jan 2021 17:54:14 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-nginx-letsencrypt/</guid><description>&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;Since I &lt;a href="https://nosubject.io/raspberry-pi4-ubuntu-20-10-headless-install/" title="[Raspberry Pi 4] Headless installation of Ubuntu 20.10. How to install without a keyboard or display" target="_blank" rel="noreferrer noopener"&gt;installed Ubuntu 20.10 on a Raspberry Pi 4&lt;/a&gt;, I migrated the mail server and WordPress running on my current home server over to the Raspberry Pi. These are my notes.&lt;/p&gt;
&lt;h3&gt;Environment Tested&lt;/h3&gt;
&lt;p&gt;Raspberry Pi 4 Ubuntu 20.10 (arm64)&lt;/p&gt;
&lt;p&gt;$ nginx -v&lt;br&gt;nginx version: nginx/1.18.0 (Ubuntu)&lt;/p&gt;
&lt;p&gt;$ certbot --version&lt;br&gt;certbot 1.11.0&lt;/p&gt;
&lt;h3&gt;Prerequisites and Preparation&lt;/h3&gt;
&lt;p&gt;Complete the Ubuntu installation, PPPoE settings, and domain settings in advance. This is the same as what I did previously on the Pi 3, so I will omit the details.&lt;/p&gt;</description></item><item><title>[Emacs] Use Emacs 27 on Windows 10</title><link>https://nosubject.io/en/windows10-emacs-27-w32-ime/</link><pubDate>Wed, 20 Jan 2021 00:06:24 +0900</pubDate><guid>https://nosubject.io/en/windows10-emacs-27-w32-ime/</guid><description>&lt;p&gt;To use Emacs on Windows, GNU's official build was effectively hard to use, and comfortable Japanese input required a community build with the IME patch. I am truly grateful for those builds up to now.&lt;br&gt;This time, W32-IME became easy to use even with the official build, so I tried it.&lt;/p&gt;
&lt;h4&gt;Test Environment&lt;/h4&gt;
&lt;p&gt;Windows 10 Pro version 20H2 (OS build 19042.746)&lt;br&gt;64-bit GNU Emacs 27.1 official build&lt;br&gt;"GNU Emacs 27.1 (build 1, x86_64-w64-mingw32) of 2020-08-22"&lt;/p&gt;</description></item><item><title>[Raspberry Pi 4] Headless Installation of Ubuntu 20.10: Installing Without a Keyboard or Display</title><link>https://nosubject.io/en/raspberry-pi4-ubuntu-20-10-headless-install/</link><pubDate>Tue, 12 Jan 2021 08:07:00 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi4-ubuntu-20-10-headless-install/</guid><description>&lt;h2&gt;Overview&lt;/h2&gt;
&lt;p&gt;This is about installing Ubuntu 20.10 on a Raspberry Pi 4. I did not have a MicroHDMI cable, so I installed and performed the initial setup without connecting a keyboard or display.&lt;br&gt;I install Ubuntu and make it possible to log in by SSH from a PC, while using the Cloud-init (&lt;code&gt;user-data&lt;/code&gt;) mechanism so that as little work as possible is needed after boot.&lt;/p&gt;
&lt;p&gt;In a previous article, after installing and booting Ubuntu, various settings still had to be done. This procedure automates that part: &lt;a href="https://nosubject.io/raspberry-pi-ubuntu-18-04-lts-install/" title="[Raspberry Pi 3] Installing Ubuntu 18.04 LTS (no keyboard or display required)"&gt;[Raspberry Pi 3] Installing Ubuntu 18.04 LTS (no keyboard or display required)&lt;/a&gt;&lt;/p&gt;</description></item><item><title>How to Change the Search Engine in the New Chromium-Based Microsoft Edge from Bing to Google</title><link>https://nosubject.io/en/microsoft-edge-bing-to-google/</link><pubDate>Mon, 27 Jul 2020 19:11:58 +0900</pubDate><guid>https://nosubject.io/en/microsoft-edge-bing-to-google/</guid><description>&lt;div class="wp-block-media-text alignwide is-stacked-on-mobile" style="grid-template-columns:22% auto"&gt;&lt;figure class="wp-block-media-text__media"&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2020/07/RE4nqTh.png" alt="" class="wp-image-358"/&gt;&lt;/figure&gt;&lt;div class="wp-block-media-text__content"&gt;&lt;p&gt;Microsoft Edge became Chromium-based, so I have been trying it out. For now, searching with Bing feels odd to me, so this is about changing the default search engine from Bing to Google.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;h3&gt;Test Environment&lt;/h3&gt;
&lt;p&gt;Windows 10 Pro 2004 OS build 19041.388&lt;br&gt;Microsoft Edge version 84.0.522.44 (Official build) (64-bit)&lt;/p&gt;
&lt;h3&gt;Steps&lt;/h3&gt;
&lt;div class="wp-block-media-text alignwide is-stacked-on-mobile is-vertically-aligned-top"&gt;&lt;figure class="wp-block-media-text__media"&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2020/07/image-6.png" alt="" class="wp-image-352"/&gt;&lt;/figure&gt;&lt;div class="wp-block-media-text__content"&gt;&lt;p&gt;Open Settings from the menu in the upper-right corner of Edge.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Select Privacy and services, then click Address bar at the very bottom of the right pane.&lt;/p&gt;</description></item><item><title>[Windows] How to Move Docker Desktop's Disk Space from the C Drive to Another Drive</title><link>https://nosubject.io/en/windowsdocker-desktop-move-disk-image/</link><pubDate>Wed, 15 Jul 2020 14:59:30 +0900</pubDate><guid>https://nosubject.io/en/windowsdocker-desktop-move-disk-image/</guid><description>&lt;p&gt;Since WSL2 became available, I decided to try Docker on Windows too. When Docker Desktop is installed, it automatically creates its virtual environment on the C drive. My C drive started running low on free space, so I moved the Docker environment to the D drive.&lt;/p&gt;
&lt;h3&gt;Test Environment&lt;/h3&gt;
&lt;p&gt;Windows 10 Pro 2004 OS build 19041.329&lt;br&gt;Docker Desktop community 2.3.0.3&lt;br&gt;WSL2 (Windows Subsystem for Linux)&lt;/p&gt;
&lt;figure class="wp-block-image size-large"&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2020/07/image.png" alt="" class="wp-image-336"/&gt;&lt;/figure&gt;
&lt;p&gt;In Docker Desktop settings, I have WSL2 Integration enabled. Since I use Ubuntu 20.04 as the WSL distribution, integration with that distribution is also enabled. &lt;/p&gt;</description></item><item><title>[Ubuntu] After Setting Up a Ramdisk on Raspberry Pi, nginx and MySQL Stopped Starting, So I Handled It with rc-local</title><link>https://nosubject.io/en/ubuntu-raspberry-pi-ramdisk-nginx-mysql/</link><pubDate>Tue, 05 May 2020 09:16:00 +0900</pubDate><guid>https://nosubject.io/en/ubuntu-raspberry-pi-ramdisk-nginx-mysql/</guid><description>&lt;p&gt;To extend the life of the Raspberry Pi SD card, I made &lt;code&gt;/var/log&lt;/code&gt; a Ramdisk, and then nginx and MySQL stopped starting. The cause was simple: directories such as &lt;code&gt;/var/log/nginx&lt;/code&gt; and &lt;code&gt;/var/log/mysql&lt;/code&gt; did not exist when the processes started.&lt;/p&gt;
&lt;p&gt;When trying this on a Raspberry Pi 4: &lt;a href="https://nosubject.io/raspberry-pi4-ramdisk-nginx-rc-local/" title="[Raspberry Pi] After Setting Up a Ramdisk, nginx Stopped Starting, So I Handled It with rc-local"&gt;[Raspberry Pi] After Setting Up a Ramdisk, nginx Stopped Starting, So I Handled It with rc-local&lt;/a&gt;&lt;/p&gt;</description></item><item><title>[Raspberry Pi] apt Started Failing After I Put tmp on a Ramdisk</title><link>https://nosubject.io/en/raspberrypi-ramdisk-apt-error/</link><pubDate>Sun, 03 May 2020 12:03:34 +0900</pubDate><guid>https://nosubject.io/en/raspberrypi-ramdisk-apt-error/</guid><description>&lt;p&gt;I configured a Ramdisk to extend the life of the SD card.&lt;br&gt;After that, when I upgraded the kernel with apt, an error occurred because &lt;code&gt;/var/tmp&lt;/code&gt; did not have enough capacity.&lt;/p&gt;
&lt;p&gt;I did not record the error message, but I think it was &lt;code&gt;No space left on device&lt;/code&gt;.&lt;br&gt;I handled it by setting larger sizes for &lt;code&gt;/var/tmp&lt;/code&gt; and similar directories.&lt;/p&gt;
&lt;pre class="wp-block-preformatted"&gt;$ cat /etc/fstab&lt;br&gt;LABEL=writable / ext4 defaults 0 0&lt;br&gt;LABEL=system-boot /boot/firmware vfat defaults 0 1&lt;br&gt;tmpfs /tmp tmpfs defaults,size=128m 0 0&lt;br&gt;tmpfs /var/tmp tmpfs defaults,size=128m 0 0&lt;br&gt;tmpfs /var/log tmpfs defaults,size=64m 0 0&lt;/pre&gt;
&lt;p&gt;The site I used as a reference for extending the SD card life set &lt;code&gt;/var/tmp&lt;/code&gt; to 16MB, and anyone who copied that as-is will probably run into the same thing.&lt;/p&gt;</description></item><item><title>[Emacs] Cannot Send Mail with Mew 6.8 on Windows 10</title><link>https://nosubject.io/en/emacs-mew-6-8-on-windows10-smtp-ssl/</link><pubDate>Sat, 04 Apr 2020 09:33:52 +0900</pubDate><guid>https://nosubject.io/en/emacs-mew-6-8-on-windows10-smtp-ssl/</guid><description>&lt;p&gt;When I tried using Mew on Windows, I got stuck sending mail through the submission port.&lt;/p&gt;
&lt;p&gt;Even when I wrote an email in Mew and sent it with C-c C-c, it froze at "Creating an SSL/TLS connection...". The smtpd log also showed something like "smtpd lost connection after STARTTLS from xxx".&lt;/p&gt;
&lt;h3&gt;Cause&lt;/h3&gt;
&lt;p&gt;I found information from someone who had already solved this and fixed it.&lt;/p&gt;
&lt;blockquote class="wp-block-quote"&gt;&lt;p&gt;&lt;strong&gt;When using STARTTLS, specify both smtp-ssl-port and smtp-port.&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>[WordPress] Change VCCW's PHP Version to 7.4</title><link>https://nosubject.io/en/vccw-php74/</link><pubDate>Fri, 03 Apr 2020 12:25:13 +0900</pubDate><guid>https://nosubject.io/en/vccw-php74/</guid><description>&lt;p&gt;The VCCW environment I use to verify WordPress behavior had a different PHP version from production, so I aligned them.&lt;/p&gt;
&lt;h3&gt;Method&lt;/h3&gt;
&lt;p&gt;&lt;a rel="noreferrer noopener" aria-label="Change the PHP version installed in VCCW (opens in a new tab)" href="https://qiita.com/miya0001/items/2499917d7ec3bc905781" target="_blank"&gt;Change the PHP version installed in VCCW&lt;/a&gt;&lt;br&gt;The author of VCCW provides the method, so I followed it.&lt;/p&gt;
&lt;p&gt;To apply it to an already running VCCW environment, log in to the guest OS with &lt;code&gt;vagrant ssh&lt;/code&gt; and run the following command.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 3] Initial Ubuntu Settings on Raspberry Pi, Including How to Change the Hostname</title><link>https://nosubject.io/en/raspberry-pi-ubuntu-hostname-swap-tz-locale/</link><pubDate>Sun, 15 Mar 2020 00:27:03 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi-ubuntu-hostname-swap-tz-locale/</guid><description>&lt;p&gt;A memo series for Raspberry Pi-related work. This continues the initial setup: changing the hostname, setting a static IP address, and creating a swap file.&lt;/p&gt;
&lt;h3&gt;Test Environment&lt;/h3&gt;
&lt;p&gt;Raspberry Pi 3&lt;br&gt;Ubuntu 18.04.04 LTS 32-bit&lt;/p&gt;
&lt;h3&gt;Change the Hostname&lt;/h3&gt;
&lt;pre class="wp-block-preformatted"&gt;$ sudo hostnamectl set-hostname rpi3.nosubject.io&lt;/pre&gt;
&lt;h3&gt;Configure a Static IP Address&lt;/h3&gt;
&lt;p&gt;I wrote about configuring this from a PC before booting in &lt;a href="https://nosubject.io/wp-admin/post.php?post=8&amp;amp;action=edit"&gt;[Raspberry Pi 3] Installing Ubuntu 18.04 LTS (No Keyboard or Display Required)&lt;/a&gt;, but if you are already logged in to Ubuntu, do the following.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 3] How to Change Only the Ubuntu Username Without Changing the User ID (uid)</title><link>https://nosubject.io/en/ubuntu-uid-usermod-groupmod/</link><pubDate>Sat, 14 Mar 2020 20:09:17 +0900</pubDate><guid>https://nosubject.io/en/ubuntu-uid-usermod-groupmod/</guid><description>&lt;p&gt;This continues from &lt;a href="https://nosubject.io/raspberry-pi-ubuntu-18-04-lts-install/"&gt;[Raspberry Pi 3] Installing Ubuntu 18.04 LTS (No Keyboard or Display Required)&lt;/a&gt;.&lt;br&gt;Leaving the user and password as ubuntu/ubuntu is dangerous, so this is about changing them for now.&lt;br&gt;Creating a new user and then deleting the ubuntu user would be fine too, but I tried changing only the name while keeping uid=1000 and gid=1000.&lt;/p&gt;
&lt;h3&gt;Test Environment&lt;/h3&gt;
&lt;p&gt;Raspberry Pi 3&lt;br&gt;Ubuntu 18.04.04 LTS 32-bit&lt;/p&gt;
&lt;h3&gt;How to Do It&lt;/h3&gt;
&lt;p&gt;You need to log in as root before doing the work, so it may be a little more troublesome than adding a new user and deleting the ubuntu user.&lt;/p&gt;</description></item><item><title>[Raspberry Pi 3] Installing Ubuntu 18.04 LTS (No Keyboard or Display Required)</title><link>https://nosubject.io/en/raspberry-pi-ubuntu-18-04-lts-install/</link><pubDate>Sat, 14 Mar 2020 14:04:21 +0900</pubDate><guid>https://nosubject.io/en/raspberry-pi-ubuntu-18-04-lts-install/</guid><description>&lt;p&gt;A memo from setting up a home server on a Raspberry Pi.&lt;br&gt;This covers installing Ubuntu on the Raspberry Pi and logging in from a PC over SSH.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update: I wrote the memo from trying this on a Raspberry Pi 4 here.&lt;/strong&gt;&lt;a href="https://nosubject.io/raspberry-pi4-ubuntu-20-10-headless-install/" title="[Raspberry Pi 4] Headless Install of Ubuntu 20.10: How to Install Without a Keyboard or Display"&gt;[Raspberry Pi 4] Headless Install of Ubuntu 20.10: How to Install Without a Keyboard or Display&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Export PuTTY / Pageant Settings and Use Them on Another PC</title><link>https://nosubject.io/en/putty-pageant-export/</link><pubDate>Fri, 06 Mar 2020 00:58:13 +0900</pubDate><guid>https://nosubject.io/en/putty-pageant-export/</guid><description>&lt;p&gt;PuTTY does not have an export feature for settings, so when you switch PCs you may wonder what to do. PuTTY settings are stored in the registry, so you can extract them and move them over.&lt;/p&gt;
&lt;h3&gt;How to Do It&lt;/h3&gt;
&lt;p&gt;Open Command Prompt and run "reg export HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions Putty.reg" (administrator privileges are not required). The part after the space at the end is the output file name, so you can name it whatever you like.&lt;br&gt;In this case, a file named &lt;code&gt;Putty.reg&lt;/code&gt; is created, so copy it to the destination PC.&lt;/p&gt;</description></item><item><title>Use Emacs on Windows 10</title><link>https://nosubject.io/en/windows10-emacs-ime/</link><pubDate>Thu, 05 Mar 2020 11:25:55 +0900</pubDate><guid>https://nosubject.io/en/windows10-emacs-ime/</guid><description>&lt;p&gt;It seems inline IME display is possible even with the official build, but for now the following build is more comfortable to use. It supports W32-IME.&lt;br&gt;&lt;a href="https://github.com/mhatta"&gt;mhatta&lt;/a&gt;/&lt;strong&gt;&lt;a href="https://github.com/mhatta/emacs-26-x86_64-win-ime"&gt;emacs-26-x86_64-win-ime&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;figure class="wp-block-pullquote"&gt;&lt;blockquote&gt;&lt;p&gt;Update: Starting with Emacs 27, W32-IME can also be used with GNU's official build.&lt;br&gt;&lt;a href="https://nosubject.io/windows10-emacs-27-w32-ime/" title="[Emacs] Use Emacs 27 on Windows 10"&gt;[Emacs] Use Emacs 27 on Windows 10&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/figure&gt;
&lt;p&gt;I swap Caps and Ctrl with ChangeKey. It is old, but it still works. (There may already be a generation that does not know LZH.)&lt;br&gt;&lt;a href="http://satoshi3.sakura.ne.jp/f_soft/dw_win.htm"&gt;http://satoshi3.sakura.ne.jp/f_soft/dw_win.htm&lt;/a&gt; &lt;/p&gt;</description></item><item><title>I Tried Customizing What Emacs Shows in the Title Bar</title><link>https://nosubject.io/en/emacs-title-bar-customize/</link><pubDate>Sat, 29 Feb 2020 08:07:00 +0900</pubDate><guid>https://nosubject.io/en/emacs-title-bar-customize/</guid><description>&lt;p&gt;After I started &lt;a href="https://nosubject.io/windows-emacs-tramp-putty/"&gt;opening remote files with Tramp&lt;/a&gt;, I wanted a quick way to tell which host the file I was editing belonged to. I found someone who had written a useful article, so I tried applying the same setting to my Emacs.&lt;/p&gt;
&lt;h3&gt;Configuration&lt;/h3&gt;
&lt;p&gt;I used the settings described on this page. Much appreciated.&lt;br&gt;&lt;a href="https://qiita.com/fujimotok/items/28b03a05224cedd0cc5a"&gt;Show the time and file name in the Emacs title bar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;With settings like this, the full path of the file is displayed in the title bar. The time is shown too.&lt;br&gt;For files opened remotely, the path includes the host name, so this works well with Tramp.&lt;/p&gt;</description></item><item><title>How to Directly Edit Ubuntu or CentOS Files from Emacs for Windows - Emacs Tramp</title><link>https://nosubject.io/en/windows-emacs-tramp-putty/</link><pubDate>Fri, 28 Feb 2020 14:19:52 +0900</pubDate><guid>https://nosubject.io/en/windows-emacs-tramp-putty/</guid><description>&lt;p&gt;I use Ubuntu and CentOS with VirtualBox + Vagrant. Sometimes I need to edit files such as Java, JavaScript, or CSS files, and installing Emacs in a VM just for that felt tedious. Even if installed, an unconfigured Emacs does not feel very good to use.&lt;/p&gt;
&lt;h3&gt;Configuration&lt;/h3&gt;
&lt;p&gt;To edit files remotely from Emacs, use a mechanism called TRAMP. If the environment is accessible over SSH, you can edit files with the same feel as editing local files on Windows.&lt;/p&gt;</description></item><item><title>Install tmux on CentOS 6</title><link>https://nosubject.io/en/centos6-yum-install-tmux/</link><pubDate>Sun, 23 Feb 2020 03:10:05 +0900</pubDate><guid>https://nosubject.io/en/centos6-yum-install-tmux/</guid><description>&lt;p&gt;This is a note from when I installed tmux on a CentOS 6 minimal VM. If you run `yum` without thinking about it, you get &lt;code&gt;Error: Nothing to do&lt;/code&gt; because the package is not available. If you just want to install tmux quickly and do not mind that the version is a little old, the following is enough.&lt;/p&gt;
&lt;h3&gt;Installation&lt;/h3&gt;
&lt;p&gt;Install it with yum.&lt;/p&gt;
&lt;pre class="wp-block-preformatted"&gt;&lt;span class="bold-red"&gt;$ sudo yum install epel-release&lt;/span&gt;
...
&lt;span class="bold-red"&gt;$ sudo yum install tmux&lt;/span&gt;
&lt;h1 id="heading"&gt;&amp;hellip;&lt;/h1&gt;
&lt;h1 id="package---------arch--------------version----------------repository-------size"&gt;Package Arch Version Repository Size&lt;/h1&gt;
&lt;p&gt;Installing:
tmux x86_64 1.6-3.el6 epel 208 k&lt;/p&gt;</description></item><item><title>WordPress: How to Paste Code Between the &lt;head&gt; and &lt;/head&gt; Tags in the Cocoon Child Theme</title><link>https://nosubject.io/en/wordpress-cocoon-edit-header-tag/</link><pubDate>Sun, 23 Feb 2020 00:19:05 +0900</pubDate><guid>https://nosubject.io/en/wordpress-cocoon-edit-header-tag/</guid><description>&lt;p&gt;I use the Cocoon Child theme. I did not know how to put the Google Adsense code inside the &amp;lt;head&amp;gt; tag, so I looked it up.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;*Update: You can now change this from the settings screen, so I added notes about that too.&lt;/strong&gt;&lt;/p&gt;
&lt;h3&gt;Configuration&lt;/h3&gt;
&lt;ul&gt;&lt;li&gt;In the WordPress dashboard, open &lt;span class="bold"&gt;Appearance -&gt; Theme Editor&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;From the theme file list on the right, select &lt;span class="bold"&gt;tmp-user -&gt; head-insert.php&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;At the bottom there is a line that says &lt;span class="red"&gt;&amp;lt;? //全ての訪問者をカウントする場合は以下に挿入 ?&amp;gt;&lt;/span&gt;. Paste the code you want to insert below that line.&lt;/li&gt;&lt;li&gt;Press the &lt;span class="bold"&gt;Update File&lt;/span&gt; button at the bottom of the screen, and you are done.&lt;/li&gt;&lt;/ul&gt;
&lt;figure class="wp-block-image size-large"&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2020/02/image-5.png" alt="" class="wp-image-189"/&gt;&lt;/figure&gt;
&lt;h4&gt;head-insert.php Configuration Example&lt;/h4&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;&amp;lt;?php
//ヘッダー部分（&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;内）にタグを挿入したいときは、このテンプレートに挿入（ヘッダーに挿入する解析タグなど）
//子テーマのカスタマイズ部分を最小限に抑えたい場合に有効なテンプレートとなります。
//例：&amp;lt;script type="text/javascript"&amp;gt;解析コード&amp;lt;/script&amp;gt;
?&amp;gt;
&amp;lt;?php if (!is_user_administrator()) :
//管理者を除外してカウントする場合は以下に挿入 ?&amp;gt;
&lt;p&gt;&amp;lt;?php endif; ?&amp;gt;
&amp;lt;?php //全ての訪問者をカウントする場合は以下に挿入 ?&amp;gt;
&amp;lt;script data-ad-client=&amp;ldquo;ca-pub-XXXXXXX&amp;rdquo; async src=&amp;ldquo;&lt;a href="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js%22&amp;amp;gt;&amp;amp;lt;/script"&gt;https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"&amp;gt;&amp;lt;/script&lt;/a&gt;&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;</description></item><item><title>I Tried Using the Relaxed Kosugi Maru Web Font (Google Font) in a WordPress Theme</title><link>https://nosubject.io/en/wordpress-webfont-kosugi-maru-google-font/</link><pubDate>Sat, 22 Feb 2020 21:26:55 +0900</pubDate><guid>https://nosubject.io/en/wordpress-webfont-kosugi-maru-google-font/</guid><description>&lt;p&gt;I tried configuring a web font in WordPress. This time I used Kosugi Maru from Google Fonts.&lt;br&gt;The theme for this site is Cocoon Child, but I think the basics are the same for other themes.&lt;br&gt;No additional plugins are required.&lt;/p&gt;
&lt;h3&gt;Configuration&lt;/h3&gt;
&lt;ul&gt;&lt;li&gt;Open Appearance -&gt; Customize -&gt; Additional CSS from the dashboard.&lt;/li&gt;&lt;li&gt;There is an input area on the left, so add the font settings there.&lt;/li&gt;&lt;li&gt;A preview is displayed as soon as you enter it, which makes it easy to see what changed.&lt;/li&gt;&lt;/ul&gt;
&lt;figure class="wp-block-image size-large"&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2020/02/image.png" alt="" class="wp-image-154"/&gt;&lt;/figure&gt;
&lt;h4&gt;Configuration Example&lt;/h4&gt;
&lt;p&gt;This time I configured it as follows.&lt;br&gt;The only key points are "fetch the font with @import" and "apply it to the style with font-family:", so the setup is simple.&lt;/p&gt;</description></item><item><title>Comfortable BGM for Keyboard Fans</title><link>https://nosubject.io/en/hhkb-asmr/</link><pubDate>Tue, 10 Dec 2019 23:42:00 +0900</pubDate><guid>https://nosubject.io/en/hhkb-asmr/</guid><description>&lt;div class="wp-block-columns"&gt;&lt;div class="wp-block-column"&gt;&lt;a href="https://www.youtube.com/watch?v=fpwVavmNEbA" class="blogcard-wrap external-blogcard-wrap a-wrap cf" target="_blank" rel="noopener noreferrer"&gt;
 &lt;div class="blogcard external-blogcard eb-left cf"&gt;
 &lt;figure class="blogcard-thumbnail external-blogcard-thumbnail"&gt;
 
 &lt;img src="https://www.google.com/s2/favicons?domain=www.youtube.com" alt="" width="32" height="32" loading="lazy"&gt;
 
 &lt;/figure&gt;
 &lt;div class="blogcard-content external-blogcard-content"&gt;
 &lt;div class="blogcard-title external-blogcard-title"&gt;https://www.youtube.com/watch?v=fpwVavmNEbA&lt;/div&gt;
 &lt;div class="blogcard-snippet external-blogcard-snippet"&gt;リンク先を開く&lt;/div&gt;
 &lt;div class="blogcard-domain external-blogcard-domain"&gt;www.youtube.com&lt;/div&gt;
 &lt;/div&gt;
 &lt;/div&gt;
&lt;/a&gt;

&lt;/div&gt;
&lt;div class="wp-block-column"&gt;&lt;p&gt;This is the official HHKB ASMR.&lt;/p&gt;
&lt;p&gt;If you play it on loop, it makes you feel as if you are working briskly too.&lt;/p&gt;
&lt;p&gt;ASMR = Autonomous Sensory Meridian Response &lt;br&gt;ASMR refers to pleasant responses and sensations, such as tingling in the brain, that people feel from auditory or visual stimuli. (&lt;a href="https://ja.wikipedia.org/wiki/ASMR"&gt;Wikipedia&lt;/a&gt;)&lt;br&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;</description></item><item><title>Regularly Update Dynamic DNS for a Custom Domain Registered with Onamae.com from Ubuntu</title><link>https://nosubject.io/en/onamaecom-ddns-update/</link><pubDate>Sat, 07 Dec 2019 16:05:27 +0900</pubDate><guid>https://nosubject.io/en/onamaecom-ddns-update/</guid><description>&lt;p&gt;I registered a domain with Onamae.com, so I set up DDNS to automatically register the IP address of my home server.&lt;/p&gt;
&lt;h3&gt;Configuration&lt;/h3&gt;
&lt;p&gt;&lt;a href="https://blog.sky-net.pw/article/140"&gt;Updating Onamae.com DDNS from a script&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can do this easily by borrowing the knowledge from the site above.&lt;br&gt;(I modified it a little for my own use.)&lt;/p&gt;
&lt;script src="https://gist.github.com/kitter11/9377b7add035f4a1a7367b42cfc8d37a.js"&gt;&lt;/script&gt;
&lt;p&gt;Set it in cron and you are done.&lt;/p&gt;
&lt;pre class="wp-block-preformatted"&gt;*/15 * * * * root /usr/local/bin/onamae.com_dns_update.py &amp;gt; /var/log/onamae_dns_update.log 2&amp;gt;&amp;amp;1 &lt;/pre&gt;
&lt;h4&gt;Test Environment&lt;/h4&gt;
&lt;ul&gt;&lt;li&gt;Ubuntu 18.04&lt;/li&gt;&lt;li&gt;Raspberry Pi 3&lt;/li&gt;&lt;/ul&gt;
&lt;div class="wp-block-cocoon-blocks-balloon-ex-box-1 speech-wrap sb-id-3 sbs-think sbp-l sbis-cn cf block-box"&gt;&lt;div class="speech-person"&gt;&lt;figure class="speech-icon"&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2020/01/1038831.png" alt="Me" class="speech-icon-image"/&gt;&lt;/figure&gt;&lt;div class="speech-name"&gt;Me&lt;/div&gt;&lt;/div&gt;&lt;div class="speech-balloon"&gt;&lt;p&gt;Thanks for the convenient script. It makes this very easy.&lt;/p&gt;</description></item><item><title>Add the Japanese Locale to Ubuntu 19.10</title><link>https://nosubject.io/en/ubuntu-19-10-locale-gen/</link><pubDate>Sat, 07 Dec 2019 13:56:23 +0900</pubDate><guid>https://nosubject.io/en/ubuntu-19-10-locale-gen/</guid><description>&lt;p&gt;Even if you set &lt;code&gt;LANG=ja_JP.UTF-8&lt;/code&gt;, if the locale definition does not exist you will see error messages like the following.&lt;/p&gt;
&lt;pre class="wp-block-preformatted"&gt;locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory &lt;/pre&gt;
&lt;p&gt;Add the Japanese locale with the &lt;code&gt;locale-gen&lt;/code&gt; command.&lt;/p&gt;
&lt;pre class="wp-block-preformatted"&gt;$ sudo locale-gen ja_JP.UTF-8&lt;/pre&gt;
&lt;p&gt;You can see that it has been added.&lt;/p&gt;</description></item><item><title>Firewall Settings on Ubuntu 19.10</title><link>https://nosubject.io/en/ubuntu-19-10-firewall/</link><pubDate>Fri, 06 Dec 2019 21:14:37 +0900</pubDate><guid>https://nosubject.io/en/ubuntu-19-10-firewall/</guid><description>&lt;p&gt;Since the machine connects directly to an external network over PPPoE, I enable the firewall.&lt;/p&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;$ sudo ufw allow 80
$ sudo ufw allow 443
$ sudo ufw limit 22
$ sudo ufw enable&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I exposed the web server and SSH. SSH password login was disabled beforehand.&lt;/p&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;/etc/ssh/sshd_config
PasswordAuthentication no&lt;/code&gt;&lt;/pre&gt;
&lt;div class="wp-block-cocoon-blocks-balloon-ex-box-1 speech-wrap sb-id-3 sbs-think sbp-l sbis-cn cf block-box"&gt;&lt;div class="speech-person"&gt;&lt;figure class="speech-icon"&gt;&lt;img src="https://nosubject.io/wp-content/uploads/2020/01/1038831.png" alt="Me" class="speech-icon-image"/&gt;&lt;/figure&gt;&lt;div class="speech-name"&gt;Me&lt;/div&gt;&lt;/div&gt;&lt;div class="speech-balloon"&gt;&lt;p&gt;Check the settings with an online &lt;a rel="noreferrer noopener" aria-label="nmap (opens in a new tab)" href="https://pentest-tools.com/network-vulnerability-scanning/tcp-port-scanner-online-nmap" target="_blank"&gt;nmap &lt;/a&gt; site or similar.&lt;/p&gt;</description></item><item><title>Connect with PPPoE and Open Ports on Ubuntu 19.10</title><link>https://nosubject.io/en/ubuntu-19-10-pppoe/</link><pubDate>Fri, 06 Dec 2019 20:51:41 +0900</pubDate><guid>https://nosubject.io/en/ubuntu-19-10-pppoe/</guid><description>&lt;p&gt;This is a memo from researching what to do when I wanted to run a home server in an environment with IPv6 but could not open arbitrary ports.&lt;br&gt;If you want to run a mail server, web server, or similar, the easiest approach was to create a separate PPPoE session and expose that.&lt;/p&gt;
&lt;h6&gt;Test Environment&lt;/h6&gt;
&lt;ul&gt;&lt;li&gt;docomo Hikari&lt;/li&gt;&lt;li&gt;Provider: GMO Tokutoku BB&lt;/li&gt;&lt;li&gt;HGW: PR-S300HI&lt;/li&gt;&lt;li&gt;Wi-Fi router: WXR-1750DHP2&lt;/li&gt;&lt;li&gt;OS: Ubuntu 19.10 EOAN &lt;/li&gt;&lt;/ul&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.10
DISTRIB_CODENAME=eoan
DISTRIB_DESCRIPTION="Ubuntu 19.10"&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Install PPPoE&lt;/h2&gt;
&lt;pre class="wp-block-code"&gt;&lt;code&gt;$ sudo apt-get install -y pppoe pppoeconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
 ifupdown
Suggested packages:
 rdnssd xdialog
The following NEW packages will be installed:
 ifupdown pppoe pppoeconf
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 149 kB of archives.
After this operation, 632 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu eoan/universe amd64 ifupdown amd64 0.8.35ubuntu1 &amp;#91;60.5 kB]
Get:2 http://archive.ubuntu.com/ubuntu eoan/universe amd64 pppoe amd64 3.12-1.2ubuntu2 &amp;#91;73.2 kB]
Get:3 http://archive.ubuntu.com/ubuntu eoan/universe amd64 pppoeconf all 1.21ubuntu1 &amp;#91;14.8 kB]
Fetched 149 kB in 2s (77.3 kB/s)
Selecting previously unselected package ifupdown.
(Reading database ... 155407 files and directories currently installed.)
Preparing to unpack .../ifupdown_0.8.35ubuntu1_amd64.deb ...
Unpacking ifupdown (0.8.35ubuntu1) ...
Selecting previously unselected package pppoe.
Preparing to unpack .../pppoe_3.12-1.2ubuntu2_amd64.deb ...
Unpacking pppoe (3.12-1.2ubuntu2) ...
Selecting previously unselected package pppoeconf.
Preparing to unpack .../pppoeconf_1.21ubuntu1_all.deb ...
Unpacking pppoeconf (1.21ubuntu1) ...
Setting up pppoe (3.12-1.2ubuntu2) ...
Setting up ifupdown (0.8.35ubuntu1) ...
Creating /etc/network/interfaces.
Created symlink /etc/systemd/system/multi-user.target.wants/networking.service → /lib/systemd/system/networking.service.
Created symlink /etc/systemd/system/network-online.target.wants/networking.service → /lib/systemd/system/networking.service.
Setting up pppoeconf (1.21ubuntu1) ...
Processing triggers for man-db (2.8.7-3) ...
Processing triggers for mime-support (3.63ubuntu1) ...
Processing triggers for systemd (242-7ubuntu3.2) ...
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Configure and Connect&lt;/h2&gt;
&lt;p&gt;With one command, it handles connection settings, the first connection attempt, and automatic execution on reboot.&lt;/p&gt;</description></item></channel></rss>