Ansible on Google Cloud Shell

The Google Cloud Shell is fantastic power tool. Unfortunately for me it comes without Ansible preinstalled. Google Cloud Shell is basically Debian, so Ansible can be easily added using apt-get command. However it has drawback of any changes to underlying VM being wiped-up frequently as underlying machine is ephemeral one. Installation There is a better way, though. Use pip. python3 -m pip install --user ansible Collecting ansible Downloading ansible-6.6.0-py3-none-any.whl (42.3 MB) |████████████████████████████████| 42....

November 13, 2022 · 2 min · Bart Prokop

Install Arch Linux on Kimsufi Ovh Eco

In this post, I will cover my learnings from installing Arch Linux on OVH dedicated server. I’ve also shared what I learnt on Arch Linux on a VPS. Installation procedure Prerequisites: Obviously a dedicated server from Kimsufi (any OVH dedicated server should be fine). You also must have public SSH key to SSH to the server after installation is completed. Steps below covers installation of “Cloud Ready” images, that are available here....

November 13, 2022 · 4 min · Bart Prokop

Deterministic PGP key generation

Passphrase I wrote small utility to generate BIP-39 compatible passphrases. One needs Java runtime to run it. # Note - when downloading, check for latest version $ wget https://repo1.maven.org/maven2/dev/prokop/crypto/crypto-bips/1.0.2/crypto-bips-1.0.2-standalone.jar $ java -jar crypto-bips-1.0.2-standalone.jar bip39 -l 512 trim mango orphan craft together topic unique merry autumn little economy actress brief dog deny syrup turkey mother slab detail crucial doll water rug original trash course bid option assume pulse witness upon steak ranch whisper great beach enhance delay junior couple twelve bargain rib mass hazard panther The above uses 512 bits for seed and then convert it to a pass phrase....

August 13, 2022 · 2 min · Bart Prokop

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