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

Retrieving PGP key from protonmail using gpg

It seems that Proton Mail publishes its customers public keys using at leasts two methods: WKD (Web Key Distribution) Exposes hkps server (host name: api.protonmail.ch) Using WKD Just retrieve public key using by issues the following command: $ gpg --locate-keys [email protected] gpg: key 6C74835C42CEF599: public key "[email protected] <[email protected]>" imported gpg: Total number processed: 1 gpg: imported: 1 pub rsa2048 2018-05-26 [SC] 49148230F11C0458BD19F45C6C74835C42CEF599 uid [ unknown] [email protected] <[email protected]> sub rsa2048 2018-05-26 [E] Of course it would be good to sign the key and distribute signed one to some public key server....

June 15, 2022 · 1 min · Bart Prokop

WKD setup for your domain

I have recently tried and was keen to see that Proton Mail supports WKD. $ gpg --locate-key [email protected] gpg: key 4DE32C2A10A7EBC2: public key "[email protected] <[email protected]>" imported gpg: Total number processed: 1 gpg: imported: 1 pub ed25519 2021-10-13 [SC] 67731B189D0908618DF665144DE32C2A10A7EBC2 uid [ unknown] [email protected] <[email protected]> sub cv25519 2021-10-13 [E] So here is quick instruction how to setup WKD for any email (i.e. not hosted by Proton Mail). First you need to create empty file relative to your webserver ROOT....

June 13, 2022 · 2 min · Bart Prokop