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.
Welcome to demo of hugo’s theme PaperMod.
Weekend migration from EdgeRouter Lite to Raspberry Pi 5 Clean (re)install cd /tmp/ wget https://downloads.openwrt.org/releases/24.10.0/targets/bcm27xx/bcm2712/openwrt-24.10.0-bcm27xx-bcm2712-rpi-5-squashfs-sysupgrade.img.gz sysupgrade -v -n openwrt-24.10.0-bcm27xx-bcm2712-rpi-5-squashfs-sysupgrade.img.gz + add factory reset option First connect The eth0 interface is configured that way it has static 192.168.1.1 IP address. ssh-keygen -R 192.168.1.1 ssh [email protected] passwd Then update lan to use DHCP: vi /etc/config/network config interface 'lan' option device 'br-lan' option proto 'dhcp' Configure USB Ethernet adapter as WAN opkg update opkg install kmod-usb-net-rtl8152 Then add the following to /etc/config/network....
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....
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....
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....
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:...