zigford.org

About | Links | Scripts
Sharing linux/windows scripts and tips

Printing on Linux

August 05, 2021 — Jesse Harris

Printing on Linux has sometimes been a nightmare for me. The problem is usually worse depending on the printer you have. For me I have a brother MFC-J4620DW. Today, that nightmare is over.

Read more...

Openfortivpn on Gentoo with OpenRC

April 14, 2021 — Jesse Harris

I recently setup a low-powered HP Stream laptop with Gentoo. Given it's lower spec, I opted for configuring it with a more conservative set of packages and decided to try OpenRC instead of systemd.

One of the default use flags for systemd, is resolvconf. On my other systems with Systemd, connecting to a FortiNet VPN usually results in DNS being automatically configured.

The Openfortivpn client uses resolvconf, but with OpenRC I don't have it installed, so I went about exploring how to configure the openfortivpn and ppp client to setup DNS automatically.

Read more...

r8152 resume from suspend

January 19, 2021 — Jesse Harris

I recently upgraded my Precision 5510 to a Precision 5550. I was able to use btrfs send to transfer my existing Gentoo install to the new machine and used genkernel for my kernel config until I can get around to fine tuning. I have noticed an odd quirk where resuming from suspend, the ethernet port on my TB16 thunderbolt dock does not work.

Read more...

When it's not cool to use PowerShell.

October 10, 2020 — Jesse Harris

PowerShell is an extremely productive language. The pipeline looping combined with regular expressions and custom objects allow you to quickly build a one-liner that make it tempting to use for data processing. But when it comes to larger data sets, your better off looking to something else.

Read more...

Transfer BTFS snapshots with netcat

July 19, 2020 — Jesse Harris

Netcat, the swiss army knife of TCP/IP can be used for many tasks. Today, I'll breifly demonstrate sending btrfs snapshots between computers with it's assistance.

Read more...