Saturday, November 30, 2019

Setting Static IP on CoreOS

  1. Connect to CoreOS shell then type:
    sudo vi /etc/systemd/network/static.network
  2. Set the static IP
    [Match]
    Name=eth0
    
    [Network]
    Address=10.0.0.16/24
    Gateway=10.0.0.1
    DNS=10.0.0.1
    

  3. Apply the new network configuration:
    sudo systemctl restart systemd-networkd
    

Saturday, November 23, 2019

Converting PuttyGen private key to OpenSsh in Ubuntu

I recently had a need to convert a private key generated in Windows 10 using PuttyGen. I am using the private key to connect to my remote server. When I log in to my Ubuntu box, I also would like to use the same private key. Here's what I did:

Convert ppk to OpenSsh format:

puttygen <path-to-your.ppk> -O private-openssh -o <path-to-your-private-key>

You will be prompted to enter your private key password (if you had it).

To use the converted private key to connect to the server:
ssh -i <path-to-your-private-key> <username@yourhost>

Saturday, December 02, 2017

Tinkering with Raspberry Pi 3 - bind9 and bindgraph

Well, I guess I'm back. Not sure for how long, or how frequent, but I think I should keep tab of how I configured my Raspberry Pi 3 as DNS Cache, as well as configure a DNS zone for my local network.

For me, the easiest option to do implement DNS caching is using BIND9 for Raspbian stretch. I am also using bindgraph to gather some cool graphs of DNS queries.

Perhaps, I'll share my process installation, challenges and solutions later. For now, here's a screenshot of my DNS Cache presented using bindgraph:


I am accessing this website from my Windows 10 computer on the same network. The site is configured to be viewable only inside the same subnet.

Sunday, March 19, 2017

Adsum

I realized that I haven't posted on this blog for a very looooong time. I guess this is just here to memorialized some thoughts, trivial or not that happen to cross my mind from time to time. So much has happend since the last time I made a post. Right back then, it was just Jelly Bean that is available on Android. Apple got their iPone 4S and iPad 3 and it has been a fierce competition to being the best mobile device producers. From small players to giant tech companies.

Five years later, I'm still here, on the sideline while I bear witness on how things come by. From being an "office worker" in Makati, to a consultant in a big financial company in District of Columbia. Several winters, springs, summers and falls. And also witnessed Brexit and Trump events, which I think will be remembered for a long time, be it for being the best, or the worst, depending on which side of "the wall" you are in.

We'll here's my few five cents. Until then.