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, 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

Certbot, DNS, and CloudFlare

Certbot on Arch Linux In this post, I cover how to configure Let鈥檚 Encrypt DNS challenge with DNS-01 challenge. Setup Install the following packages (certbot and CloudFlare plug-in): pacman -S certbot pacman -S certbot-dns-cloudflare Navigate to https://dash.cloudflare.com/profile/api-tokens and create API Token. Then preserve that token in local file: $ vi .secrets/certbot-cloudflare.ini # Cloudflare API token used by Certbot dns_cloudflare_api_token = <YOUR_TOKEN_HERE> To avoid seeing Unsafe permissions on credentials configuration file: /root/....

August 3, 2024 路 4 min 路 Bart Prokop

Site To Site VPN

Installation To install ZeroTier on OpenWRT, Execute the following from shell: opkg update opkg install zerotier restart You should see something similar to the below: Installing zerotier (1.12.2-2) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mips_24kc/packages/zerotier_1.12.2-2_mips_24kc.ipk Installing libstdcpp6 (12.3.0-4) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/targets/ath79/generic/packages/libstdcpp6_12.3.0-4_mips_24kc.ipk Installing kmod-tun (5.15.150-1) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/targets/ath79/generic/packages/kmod-tun_5.15.150-1_mips_24kc.ipk Installing ip-tiny (6.3.0-1) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mips_24kc/base/ip-tiny_6.3.0-1_mips_24kc.ipk Installing libminiupnpc (2.2.3-1) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mips_24kc/packages/libminiupnpc_2.2.3-1_mips_24kc.ipk Installing libnatpmp1 (20150609-3) to root... Downloading https://downloads.openwrt.org/releases/23.05.3/packages/mips_24kc/packages/libnatpmp1_20150609-3_mips_24kc.ipk Installing libatomic1 (12.3.0-4) to root....

March 30, 2024 路 2 min 路 Bart Prokop

Migration of Unifi Controller

The needs This post describes how I鈥檝e configured a Cloud Storage bucket to host a static assets (shared) for various websites across my domains. The aim is to have something like https://assets.prokop.dev to offer from single URL all assets, I might ever need to handle my WEB stuff. Using Google Cloud Storage The following is everything what was required to create fully operational, CDN powered, backed by object bucket asset distribution facility....

August 26, 2023 路 3 min 路 Bart Prokop