Data Recovery (macOS)

This is a quick reference of different data recovery software (macOS). I had to use these after I accidentally deleted quite a lot of photos on my external drive. Many of the photos were from our recent India trip incl. birthday celebration for Oliver, and site-seeing (Jaipur, Delhi). Needless to say it was quite a debacle to have lost those photos. Most software allow you to see file names, sizes, timestamps of recovered files, and …

Read moreData Recovery (macOS)

Move from Plex to Apple Music

Over the weekend I decided to try out Apple Music. We’re invested in Apple ecosystem – have 2 Apple TVs, both wife and I have iPhones, and Apple Watches. I own MacBook Air, and a Mac Pro, and recently we bought a HomePod mini getting rid of all Alexa’s. With the HomePod mini, received a 6 month trial of Apple Music so decided it is time to try. Wife had already been trialing Apple Music, …

Read moreMove from Plex to Apple Music

Create user, group and edit group membership in macOS

Quick commands to create user and group in macOS with specific uid and gid, and to add a specific user to newly created group. Add group sudo dscl . -create /Groups/<name> gid <gid> Add user sudo dscl . -create /Users/<name> sudo dscl . -create /Users/<name> UniqueID “<uid>” sudo dscl . -create /Users/<name> PrimaryGroupID <gid> Add existing user to new group sudo dscl . append /Groups/<name> GroupMembership <user> Wish macOS actually used useradd/groupadd like linux systems, …

Read moreCreate user, group and edit group membership in macOS

Restarting HDHomeRun Quattro

If you have an immediate need to reboot your TV Tuner but are feeling lazy to not go down to basement to your server room, then fear not, there’s a CLI called hdhomerun_config Download the binary from HDHR site: https://info.hdhomerun.com/info/hdhomerun_config Run the command hdhomerun_config 1076C29C set /sys/restart self

My Homelab

Current Modem Xfinity xb7 Firewall / Router / DHCP eero 2nd gen mesh wifi (6x units throughout the house) Local DNS & Ad Blocker (pi-hole) Dell 9020 SFF Intel i5-4570 8GB RAM 120GB SSD Network distribution HPE V1910-48G JE009A Switch (48-ports Gigabit) for wired ethernet eero 2nd gen mesh wifi (6x units throughout the house) Cat5e Ethernet wiring to home office, media room and living room Primary Server HP Proliant DL380p G8 2x Intel Xeon …

Read moreMy Homelab

Wondering Why Settings aren’t getting saved in HP V1910?

HP V1910 is an excellent enterprise grade managed switch for homelab usage. You can easily get it for cheap on eBay. Now, as I was messing with management UI, I noticed my settings weren’t being saved. Well, it turned out that I needed to hit the Save button (!) This took me several frustrating hours to figure out, after my settings weren’t being persisted post-reboots. You’re welcome.

Hostname Pings Don’t Work Post Eero – How to make ’em work

Just got Eero to replace Google Onhub Routers. Quickly found out that Eero lacks a DNS server which means I cannot access any of my home servers using their hostnames. Also, all my home servers were not showing any hostnames in Eero App which was very weird. Ping from my macOS computer wasn’t registering Why do I need hostname access? I’ve management URLs and Shared drives that use hostname. I’m not going to use IP …

Read moreHostname Pings Don’t Work Post Eero – How to make ’em work

Trick 3: Bulk Download 4K Wallpapers (Updated)

Way way back in 2015, I wrote this post about auto downloading huge amount of 4k wallpapers. That trick worked very well. Now this trick is essentially an enhanced version of that trick. Previously, with downloading, the file names were pretty insignificant, representing only the ID of the file on the site. In addition to this, everything was downloaded in one single folder, i.e. no organization. As a result, identify what file shows what was …

Read moreTrick 3: Bulk Download 4K Wallpapers (Updated)

Fixing Net View on Windows 10

I had a really frustrating time fixing errors related to Windows “net view” command as well as seeing  other computers running SMB service in the “Windows Network” explorer. Issue Network explorer will not show any Computers “net view” command would result in “System Error 1231” Solution Ensure all the computers are set to the same WORKGROUP. In my case, it is “HOME”

MySQL upgrade done right

Ok, so out of a random urge to get a new version of mysql for my docker image which was showing  last updated 12 months ago, I changed the Dockerfile build to use the latest version of mysql. This means that I would go from 5.7 to 8.x. Well, of course I thought it would be as easy as using mysql:latest, restarting the container and all my databases would magically appear, guess not! So, if …

Read moreMySQL upgrade done right