Categories
linux

random snippets

Moving the 5 oldest items from current folder to DIR2:

ls -Qrt | head -5 | xargs -i mv -v ./{} DIR2/

Setting screen resolution on MacOS (VMware) with VMware Tools installed:

sudo /Library/Application\ Support/VMware\ Tools/vmware-resolutionSet WIDTH HEIGHT

View IPMI information from ESXi Shell:

localcli hardware ipmi bmc get

Using exiftool, rename images with date/time filenames based on when they were taken/created:

exiftool -d '%Y-%m-%d %H.%M.%S%%-c.%%e' '-filename<CreateDate' .

Additionally, to update the creation timestamp of the file based on when the photo was taken/created:

exiftool "-filecreatedate<datetimeoriginal" .

Categories
networking

comcast ipv6 + pfsense

These are some notes that helped get IPv6 working on pfSense with Comcast Business as the ISP using IPs dynamic IPs. Some of the configuration below is arbitrary and unique to my preferences for the particular setup involved. This setup assumes that IPv4 works, pfSense in general works, and IPv6 firewall rules are in place to allow traffic as appropriate.

This particular setup involves multiple VLANs and a single WAN.

  1. Navigate to: Interfaces > "your WAN interface"
  2. Change IPv6 Configuration Type to DHCP6
  3. Under “DHCP6 Client Configuration”:
    1. Change DHCPv6 Prefix Delegation size to 60
    2. ☑️ Send IPV6 prefix hint
    3. ☑️ Do not wait for RA
    4. ☑️ Do not allow PD/Address release
    5. Save and Apply Settings
  4. For each LAN/VLAN, navigate to their respective interfaces under the Interfaces menu and do the following:
    1. Change DHCPv6 Configuration Type to Track Interface
    2. Under Track IPv6 Interface, change IPv6 Interface to your WAN interface
    3. Change IPv6 Prefix ID to 0, and increment per interface.
    4. Save and Apply Settings
  5. For each LAN/VLAN, navigate to their respective interfaces under the Services menu > DCHPv6 Server & RA
    1. Select the Router Advertisements tab
    2. Change Router mode to Stateless DHCP
    3. Change Router priority to High
    4. Save and Apply Settings

At this point, you should see IPv6 address show up for each interface configured on the Status > Dashboard. You may need to reboot the router and/or modem as well. Additionally, connected devices should receive IPv6 addresses.

Categories
currents

desktop audio

current setup

Over a year has gone by working from home, and I felt the need to upgrade my desktop audio. This is probably because of a culmination my music listening enjoyment, refreshing my work-from-home desk and workspace, but mostly because of a renewed interest in r/battlestations, r/macsetups, r/budgetaudiophile, and various work related mailing lists.

Following some pretty thorough research on the matter, the following comprises my desktop audio setup:

Edit October 2021:

I’ve removed the JDS Labs Atom Amp+ from the mix because this was really only to use with my headphones. While I ran my speakers through this as well, it was redundant to have 3 different ways to adjust the volume (via computer, amp, and speakers). Since I use my headphones seldomly, I’ve decided to use a Google USB-C to 3.5mm (Audio Science Review) when needed. Removing the amp has simplified my setup.

Edit November 2021:

I added the Jamo S 808 subwoofer to the mix mostly because of finding a pretty solid deal and phenomenal reviews for a shallow subwoofer great for small rooms. With the Kanto speakers, it is more or less sprinkles on the cake, that already has icing.

previous setups

Google Home Max

I connected two Google Home Max speakers together via Google Home grouping, but there was a notable lag with audio and video using this method. A then split my audio output from an Audioengine D1 DAC using this and this, running a 3.5mm cable to each speaker without the Google Home Max speakers paired. This method worked, but had the following annoyances:

  • Sometimes the volume in the speakers would slightly differ during playback (didn’t really troubleshoot too much).
  • Keeping the volume the same for each speaker was a manual effort. Since I have other Google Home speakers, it was easy enough to accidentally change volume levels of the desk speakers.
  • I wanted to keep these speakers as just speakers (mute the microphone). Without doing any physical modification of the Google Home Max speakers, you cannot turn off the red lights that appear when the speaker is muted, only dim it.

Audioengine P4 + N22 + S8

I’ve had the following setup for years, and it was quite good. I didn’t love the amount of cables, and I felt that the amplifier was lacking in functionality mostly because of no remote and no built in DAC for its size. Additionally, the S8 began developing an annoying jitter in audio that I was not able to fix through various means of troubleshooting. I moved these away from the desktop and began using them as TV speakers, but the lack of a remote for the amplifier became more of a hassle than the setup was worth in the long run.

These speakers have since found a new home.

Other