PaperMod

Welcome to demo of hugo’s theme PaperMod.

  • PaperMod is a simple but fast and responsive theme with useful feature-set that enhances UX.
  • Do give a 馃専 on Github !
  • PaperMod is based on theme Paper.

Sunday, 17th November 2024

Few nice command lines Post sysupgrade OpenWrt package fix I鈥檝e 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

Saturday, 19th October 2024

Aligning IPv4 and IPv6 numbering I use following Class C for three network location: 192.168.16.0/20 - location 1 192.168.32.0/20 - location 2 192.168.48.0/20 - location 3 That gives 16 subnets per location, e.g. main network, guest network, IoT, DMZ, etc. The VLAN id is added to third octet, so if I use VLAN 1 and VLAN 5, it will give: 192.168.17.0/24 - main network in location 1, VLAN 1. 192.168.21.0/24 - guest netwoek in location 1, VLAN 5....

October 19, 2024 路 8 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

Saturday, 5th October 2024

Local IP addresses in public DNS and OpenWRT rebind protection, fix address resolution First of all, I have noticed that I cannot resolve private IP addresses (RFC1918) defined in my CloudFlare DNS zone. While on the network served by OpenWRT router, I got this error: $ nslookup ****.prokop.dev *** No internal type for both IPv4 and IPv6 Addresses (A+AAAA) records available for zt33.prokop.dev Server: OpenWrt.lan Address: fd**:****:****::1 And it of course works when using network in my Belfast鈥檚 home office, which is currently served by EdgeRouter 4 (to be soon replaced by custome OpenWRT built on RPi5)....

October 5, 2024 路 4 min 路 Bart Prokop