My Network Setup

In this blog entry, I will cover how badly I over-engineered home network. Site VLANs So for each “site” (house/flat/car/boat/portable router), I keep constant VLAN schema. VLANs are always implemented on edge router and switches. VLAN Description Interface Remarks and use-case 1 Default LAN eth1 This is always untagged on all Ethernet LAN ports 2 Vendor Reserved My Netgear Switch reserves those 3 Vendor Reserved My Netgear Switch reserves those 4 IPv4 Only (DMZ) eth1....

July 2, 2022 · 4 min · Bart Prokop

Fix Broken Broadband

Substandard service So it is mid-2022 and my broadband is: PPPoE No IPv6 MTU at 1492 locked down router based on OpenWRT that provider thinks is awesome no static IP Time to fix as many things as can be fixed. Prerequisites There are two: Call ISP and get your PPPoE username and password. Quite often you need make few calls/online chats. Bin the provided “router” and connect something decent to ONT....

June 25, 2022 · 9 min · Bart Prokop

My Arch Linux Tweaks

Switching my shell to zsh First, zsh usually does not come pre-installed. sudo pacman -S zsh chsh -l chsh -s /usr/bin/zsh Then after re-logging, I go with “do nothing”: This is the Z Shell configuration function for new users, zsh-newuser-install. You are seeing this message because you have no zsh startup files (the files .zshenv, .zprofile, .zshrc, .zlogin in the directory ~). This function can help you with a few settings that should make your use of the shell easier....

June 25, 2022 · 2 min · Bart Prokop

Backing BTRFS filesystem with Restic to Storj.

I’m using BTRFS on my home server. One of subvolumes is called media and is used to store curated collection of personal and professional photos, movies, books, etc. for whole family. In this post, I will share my experience with backing the whole media NAS share (currently 116 GiB). Backup procedure Consistency - preparing backup source First snapshot btrfs subvolume snapshot -r /mnt/t20raid/svols/media /mnt/t20raid/snaps/media/2022-05-31 Create a readonly snapshot of '/mnt/t20raid/svols/media' in '/mnt/t20raid/snaps/media/2022-05-31' restic backup to Storj via S3 gateway...

June 5, 2022 · 2 min · Bart Prokop

Btrfs on Luks

Further maintenance Scrubbing Regularly scrub your drive… # btrfs scrub start /mnt/t20raid # btrfs scrub status /mnt/t20raid # watch 'btrfs scrub status /mnt/t20raid' This is example “work in progress”: Every 2.0s: btrfs scrub status /mnt/t20raid t20: Sun Aug 14 14:39:52 2022 UUID: 9f65175e-ec44-4fbf-a28d-cc10ef1a799e Scrub started: Sun Aug 14 14:32:07 2022 Status: running Duration: 0:07:40 Time left: 0:09:38 ETA: Sun Aug 14 14:49:30 2022 Total to scrub: 302.91GiB Bytes scrubbed: 134.13GiB (44....

June 5, 2022 · 1 min · Bart Prokop