[HowTo] Windows 11 Setup –

3DP Net NIC driver – https://www.3dpchip.com/3dpchip/3dp/net_down_en.php
3DP Net detects ethernet card automatically and provides the newest or the most suitable drier. It supports off-line installation.

Winaero Tweaker – https://winaero.com/winaero-tweaker/
Winaero Tweaker is a free app for all versions of Windows that lets you adjust (i.e. tweak) hidden secret settings that Microsoft does not let you adjust from the user interface. In addition, it allows you to add extra value to existing Windows apps and tools with advanced context menus, options, and handy commands.

PotPlayer – https://potplayer.daum.net/

HoneyView – https://en.bandisoft.com/honeyview/

Everything – https://www.voidtools.com/

EarTrumpet – https://eartrumpet.app/

CBX Shell – https://www.softpedia.com/get/System/OS-Enhancements/CBX-Shell.shtml

Parsec – https://parsec.app/

CCleaner Portable – https://www.ccleaner.com/ccleaner/builds

TreeSize – https://www.jam-software.com/treesize_free?ca=1

AppCheck – https://www.checkmal.com/

Malware Zero – https://malzero.xyz/

[HowTo] APC Masterswitch AP9211 with AP9606 Firmware Upgrade

I have a few old APC Masterswitch Power Controller with AP9606 Web/SNMP Management Card stored away in my garage for years…

Finally I found some use for them and I wanted to update the firmwares before I install them for good.

What’s needed:
Tripp-Lite USB to DB9 Adapterhttps://www.tripplite.com/support/usa19hs
Plugable USB Serial Adapter – https://plugable.com/products/pl2303-db9
DB9 Null Modem Female to Female adapter – https://a.co/d/dl8Q76C

On MacOS(Monterey v12.5), I had to download and install the driver for Tripp-Lite USB to DB9 adapter and use the following command to connect to APC Masterswitch:

screen /dev/tty.usbserial-1410 2400,cs8,-ixon

I did some web searching and found the following firmwares:

  • aos309a.bin – APC OS for AP9606(download link below)
  • ms225a.bin – Masterswitch Application(download link below)

I followed the ftp instruction for firmware update – https://www.apc.com/us/en/faqs/FA156047/

First, once I get logged into the AP9606 via Serial connection, I figured out the MAC address then assigned IP via BOOTP with:

apc -s 192.168.?.? <MAC Address>

Then uploaded MasterSwitch APP, v2.2.5.a via ftp then Web/SNMP Management Card AOS v3.0.9.a then disabled BOOTP and configured static IP TCP/IP

[HowTo] NAS – How to flash HP Z840 to IT mode for XigmaNAS

After 10+ years of using custom build ZFS NAS Server hardware, I have decided to go with either Dell or HPe Workstation H/W for my home ZFS NAS server running XigmaNAS/FreeNAS

Making the long story short, I decided on HPe Z840 Workstation which has built-in SAS 9207-8i with LSI 2308 controller.

From the factory, it is configured with RAID Mode(RI) and in order to be used with ZFS NAS Server, it needs to be converted to Target Mode(TI)

I did some searching and found some good information and instructions but I had to do some deep-searching to get all the files that I need to create the bootable USB with all three(3) firmware/BIOS

YouTube link for the SAS 9207-8i IT mode Flashing – https://www.youtube.com/watch?v=boK6UcCFx2Q

P20 Broadcom Drivers download link – https://www.broadcom.com/support/download-search?pg=Legacy+Products&pf=Legacy+Host+Bus+Adapters&pn=SAS+9207-8i+Host+Bus+Adapter&pa=Firmware&po&dk&pl

Here are some packages that I download to create a bootable USB stick for the IT mode flash:
Installer_P20_for_UEFI.zip
sas2flash.efi
9207_8i_Package_P20_IR_IT_FW_BIOS_for_MSDOS_Windows.zip
9207-8.bin and mptsas2.rom

Knowledge base – https://www.broadcom.com/support/knowledgebase/1211161501344/flashing-firmware-and-bios-on-lsi-sas-hbas

Save SAS Address:
> SAS2FLASH.EXE -c 0 -list > Z840.TXT
-c 0 : first controller
Erasing Firmware:
> SAS2FLASH.EXE -c 0 -o -e 6
-e 6 : erase for firmware flash
Flashing:
> SAS2FLASH.EXE -c 0 -o -f 9207-8-IT.BIN -b MPTSAS2.ROM -b X64SAS2.ROM
-b 9207-8-IT.BIN: IT mode firmware
-b MPTSAS2.ROM: LSI BIOS ROM
-b X64SAS2.ROM: UEFI ROM
Updating SAS Address:
> SAS2FLASH.EXE -c 0 -o -sasadd <address_no_dashes>

Here is before and after of the SAS list of Z840 box, Before & After:

LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved

Adapter Selected is a LSI SAS: SAS2308_1(D1)

Controller Number : 0
Controller : SAS2308_1(D1)
PCI Address : 00:01:00:00
SAS Address : 5001438-0-36c5-6fb0
NVDATA Version (Default) : 11.00.00.10
NVDATA Version (Persistent) : 11.00.00.10
Firmware Product ID : 0x2714 (IR)
Firmware Version : 18.10.00.00
NVDATA Vendor : LSI
NVDATA Product ID : SAS2308
BIOS Version : 07.35.02.00
UEFI BSD Version : N/A
FCODE Version : N/A
Board Name : LSISAS2308
Board Assembly : N/A
Board Tracer Number : N/A

Finished Processing Commands Successfully.
Exiting SAS2Flash.
LSI Corporation SAS2 Flash Utility
Version 20.00.00.00 (2014.09.18)
Copyright (c) 2008-2014 LSI Corporation. All rights reserved

Adapter Selected is a LSI SAS: SAS2308_2(D1)

Controller Number : 0
Controller : SAS2308_2(D1)
PCI Address : 00:01:00:00
SAS Address : 5001438-0-36c5-6fb0
NVDATA Version (Default) : 14.01.00.06
NVDATA Version (Persistent) : 14.01.00.06
Firmware Product ID : 0x2214 (IT)
Firmware Version : 20.00.07.00
NVDATA Vendor : LSI
NVDATA Product ID : SAS9207-8i
BIOS Version : 07.39.02.00
UEFI BSD Version : 07.27.01.01
FCODE Version : N/A
Board Name : SAS9207-8i
Board Assembly : N/A
Board Tracer Number : N/A

Finished Processing Commands Successfully.
Exiting SAS2Flash.

Here is the zip file containing all of the files that I used to flash my card:

[Windows] How to transfer Windows license

How to see the current Windows License Key:
1. run ‘regedit’
2. capture Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\BackupProductKeyDefault

Deactivating Windows License:
1. run Command Prompt with ‘Run as administrator’
2. type ‘slmgr /upk’
3. type ‘slmgr /cpky’ (to clear registry)

Activating Windows from Command Prompt:
1. run Command Prompt with “Run as administrator’
2. type ‘slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx’
3. type ‘slmgr /dlv’ (to verify)

[macOS] Ripping CD and Converting to FLAC

It has been a long time since I rip a CD to FLAC files and I used to do this on Windows. Now my primary system is macOS, I want to find out how to do this on a Mac.

(https://xiph.org/flac/links.html#software)

I decided to use macOS Music/iTunes to extract tracks from CD to Apple Lossless Audio Codec(AAC):

A Better CD Encoder(ABCDE)
with Homebrew installed, “brew install abcde”

X Lossless Decoder(XLD) – just run it once and set the Output format and directory then open the AAC files with XLD and it will convert them to FLAC automatically

[macOS] Must-have Apps

Amphetamine – https://apps.apple.com/us/app/amphetamine/id937984704?mt=12

Appcleaner – https://freemacsoft.net/appcleaner/

Encrypto – https://apps.apple.com/us/app/encrypto-secure-your-files/id935235287?mt=12

Helium 3 – https://apps.apple.com/us/app/helium-3/id1294059664?mt=12

IINA – https://iina.io/

Itsycal – https://www.mowglii.com/itsycal/

VLC – https://www.videolan.org/vlc/

Keka – https://www.keka.io/en/

Weather Bug – https://apps.apple.com/us/app/weatherbug-weather-forecasts-and-alerts/id1059074180?mt=12

[HowTo] OS X – How to change hostname

(Source: https://knowledge.autodesk.com/support/smoke/learn-explore/caas/sfdcarticles/sfdcarticles/Setting-the-Mac-hostname-or-computer-name-from-the-terminal.html)

Procedure

Perform the following tasks to change the workstation hostname using the scutil command.

  1. Open a terminal.
  2. Type the following command to change the primary hostname of your Mac:
    This is your fully qualified hostname, for example myMac.domain.com
    sudo scutil –set HostName <new host name>
  3. Type the following command to change the Bonjour hostname of your Mac:
    This is the name usable on the local network, for example myMac.local.
    sudo scutil –set LocalHostName <new host name>
  4. Optional: If you also want to change the computer name, type the following command:
    This is the user-friendly computer name you see in Finder, for example myMac.
    sudo scutil –set ComputerName <new name>
  5. Flush the DNS cache by typing:
    dscacheutil -flushcache
  6. Restart your Mac.

Gigabit on Volumio 2.0 Raspberry Pi 3

I have been using Raspberry Pi+(Version 1) for years with Volumio 1.x and it has been great but since most of my tracks are FLAC, Gigabit can help.

I almost bought Odroid C2 which has built-in Gigabit network but for the price and purpose of my main usage, I settled with Raspberry Pi+ 3 with USB Gigabit Adapter.

I tried two(2) different USB Gigabit Adapter for Volumio 2.0, Linksys USB 3.0(https://amzn.com/B00LIW8TBG) and TRENDnet USB 3.0(https://amzn.com/B00FFJ0RKE).

The TRENDnet USB 3.0 Gigabit adapter works fine but it has a bit of issue with providing steady stream of the data so I hear “chirps” during play.

The Linksys USB 3.0 Gigabit adapter does not have that problem.

Here is what I had to do to Volumio 3.0 in order to recognize and use USB Gigabit adapter:

/etc/network/interfaces:
auto eth1
allow-hotplug eth1
iface eth1 inet dhcp