Fixing pacman in an outdated Arch Linux system

GPG and pacman errors are annoying So, I was trying ungleich.ch’s IPv6 VPS. It is apparently cheap, and I wanted to host a Matrix server of some sort. It does come preinstalled with Arch Linux, which is good. That means I can get the latest software without relying Docker. However, it apparently comes with an outdated copy of Arch Linux. The kernel version is 4.19, while an up-to-date kernel should be 5....

June 12, 2021 · 2 min · bhat
cover image about installing libcamera

How to Install Open Camera Software for Raspberry Pi

An open alternative to propriety libbcm_host.so everyone hates For the longest time I’ve hated on the propriety Raspberry Pi camera stack. It is propriety, it is non-standard, and it is propriety. It depends on the slow and niche Broadcomm GPU that everyone hates. Even more, only Raspberry Pi OS is supported, which means 32-bit operating system only. It is not a good experience for me. Some people might say: “Raspberry Pi OS had a 64-bit beta version a year ago!...

May 31, 2021 · 2 min · bhat
cover image about fixing 5GHz WiFi on Raspberry Pi

How to Fix 5GHz WiFi for Raspberry Pi 4

For some reason, my Manjaro ARM install on the Raspberry Pi 4 is missing my 5GHz WiFi. It can scan some 5GHz networks, but not my home network. This never happened before on my Arch Linux install, and is very weird. I am aware that this is probably due to wireless country code being set up incorrectly. In Raspberry Pi OS, there is a way to setup country codes for wireless devices through raspi-config....

May 22, 2021 · 1 min · bhat
cover image about hosting Wireguard with IPv6.

Sharing IPv6 Access with Wireguard

Update Mar 23 ‘21: Improve the stability of IPv6 tunnel. I like IPv6, but Cox’s IPv6 network is suboptimal. I like the idea of a VPN providing millions of IPv6 addresses to its clients. Wireguard, it seems, is the obvious choice for creating an IPv6 VPN. Yes, I did set up Wireguard servers before using Debian, /etc/network/interfaces and wg-quick. It was not the best experience. Since I was using Hurricane Electric’s IPv6 tunnel broker to provide public IPv6 addresses to clients, I need to write the tunnel configuration in /etc/network/interfaces, and then set up Wireguard with wg-quick....

January 9, 2021 · 4 min · bhat
cover image about connect to Raspberry Pi with USB-C cables

Ethernet Gadget: Sharing Internet to Raspberry Pi 4 via USB-C

So I was testing some code on my loyal Raspberry Pi 4, ver. 1.2. The Pi is directly connected to my router in another room. Cuz, like, Pi’s ethernet is so much more stable than its wireless. The downside is that every time the Pi had an issue, I had to run over to the other room to recover it. Let’s just say it’s not a pleasant experience. Plugging in and out the microSD card, just to find out the Pi still didn’t work....

January 3, 2021 · 3 min · bhat