Sunday, 17th November 2024

Few nice command lines Post sysupgrade OpenWrt package fix I’ve upgraded OpenWRT to latest version, but despite configuration files being preserved, I need to reinstall packages. Here is my latest customization command for my own easy reference. # opkg update # opkg install zerotier msmtp-mta wireguard-tools luci-proto-wireguard \ prometheus-node-exporter-lua Undo rebind protection on EdgeRouter X As I still not migrated to my new Pi5 router at my Belfast home, I needed to waste time to add my domain to whitelist private IP addresses....

November 17, 2024 · 2 min · Bart Prokop

Saturday, 26th October 2024

Getting Docker on Arch Linux My old Gist is still relevant: https://gist.github.com/bartprokop/15b07ec2502c59cf8020b1541ad57d5c but be comfortable to switch to volumes for data persistence. pacman -S docker systemctl start docker.service docker info I will need genfstab - https://wiki.archlinux.org/title/Genfstab # mount root BTRFS volume and create Docker dedicated subvolume mkdir /mnt/sda2 mount /dev/sda2 /mnt/sda2 cd /mnt/sda2 btrfs subvolume create svols/docker pacman -S arch-install-scripts mkdir /var/lib/docker mount -o subvol=/svols/docker /dev/sda2 /var/lib/docker genfstab / /dev/sda2 /var/lib/docker btrfs rw,noatime,ssd,discard=async,space_cache=v2,subvol=/svols/docker 0 0 # Reboot and ensure all filesystems are mounted as expected....

October 26, 2024 · 4 min · Bart Prokop

Sunday, 13th October 2024

Few nice command lines How to check processor you have on your Linux box There is lscpu command, but in case it is not availabe, the following will do the trick: cat /proc/cpuinfo | grep 'model name' | head -n 1 model name : Intel(R) Atom(TM) CPU E3827 @ 1.74GHz Changes in last git commit This is mega usefull to show last commit changes: git diff HEAD^ HEAD Fixing this blog on CloudFlare pages I updated the PaperMod theme and got CloudFlare build failing with:...

October 13, 2024 · 4 min · Bart Prokop

EFI Improvements

I use rEFInd as my EFI Boot Manager. This post is about taking some extreme measures to achieve best possible boot experience across all my machines - both servers, PCs and laptops. Why bother about boot? For me it is important to have the following features available: Some pre-boot environment that might be useful, if I brick my main OS. Ability to boot alternative syste. EFI partition I decided to always reserve 1 GB for EFI partition....

December 4, 2022 · 2 min · Bart Prokop

Install Arch Linux on Kimsufi Ovh Eco

In this post, I will cover my learnings from installing Arch Linux on OVH dedicated server. I’ve also shared what I learnt on Arch Linux on a VPS. Installation procedure Prerequisites: Obviously a dedicated server from Kimsufi (any OVH dedicated server should be fine). You also must have public SSH key to SSH to the server after installation is completed. Steps below covers installation of “Cloud Ready” images, that are available here....

November 13, 2022 · 4 min · Bart Prokop