Installing Armbian Buster on Orange Pi PC2 with full-disk encryption and sysvinit
I'm using Orange Pi PC2 here, but this should work for other sunxi boards as well. This article is based on this awesome post, but has some additions and corrections. You will need two identical (in terms of storage size) microSD cards....
Self hosted Rutracker proxy using nginx
server { listen 1.2.3.4:443 ssl; server_name your-domain.tld; ssl_certificate /etc/ssl/your-domain-tld.crt; ssl_certificate_key /etc/ssl/private/your-domain-tld.key; # optionally: protect it with Basic auth auth_basic "Restricted"; auth_basic_user_file /etc/nginx/rutracker-proxy.htpasswd; locatio...
Removing SPI chip protection on xx20 ThinkPads
In order to be able to flash BIOS on SandyBridge Lenovo ThinkPads (X220, T420, T520), all SPI Protected Range registers (SPIBAR+0x74) must have WP bit set to 0 (or they must protect something else, but not the bios region). Other security measures, such as BLE and SMM_BWP are not enabled on these...
Software BIOS/coreboot flashing on xx30 ThinkPads
Old versions of stock BIOS for IvyBridge ThinkPad models have several security issues. Two of them can be used for flashing coreboot internally (without using external SPI programmer)....
Using Orange Pi One as an SPI programmer with flashrom
That's quite simple. I was using Armbian Buster with 4.19.62-sunxi kernel. You need to enable the spi-spidev overlay, which you can do by using armbian-config utility (go to System -> Hardware and enable spi-spidev), or by adding overlays=spi-spidev line to /boot/armbianEnv.txt....
Swapping all clients between Awesome tags
Default Awesome config has a shortcut to move a single client to another tag by pressing modkey+Shift+# where # is the tag number (1-9): for example, pressing modkey+Shift+3 will move current client to 3rd tag....
How to reload Awesome and preserve layout
Sometimes you may need to reload awesome to apply a new config, and that resets all your tags configuration state such as layouts, mwfacts, and other things. Here I will show you how to preserve all that state....
WiFi hotspot with hidden SSID on LineageOS
If you want to hide the SSID of your AP, one way to do that is to patch frameworks/opt/net/wifi/service/java/com/android/server/wifi/SoftApManager.java file in LineageOS sources:...
Configuring mail server on OpenBSD 6.5
This guide is mostly notes for myself rather than something readable, but it may be useful anyway. It contains an example of working configuration for OpenSMTPD, SpamPD, SpamAssassin, DKIM Proxy and Dovecot with Sieve support on OpenBSD....
Capturing coreboot console with FTDI FT2232H Mini Module
FT2232H Mini Module is a USB-to-serial/FIFO multipurpose development module. I will briefly show you how to use it as a USB EHCI debug device to retrieve coreboot debug messages....