ST and SG Voice Switch Pinouts
Hello future self, here is that cool document you created that includes all of the pin-outs for the Mitel ST and legacy ShoreTel SG voice switches. Oh, don’t forget that it references the 25 pair color code.
ST and SG voice switch pin-outs PDF download
ST and SG Voice switch pin-outs ODS source download
Current Mitel ST (ShoreTel) Voice switches include the ST-50A, ST100A, ST100DA, ST24A, and ST48A.
Legacy ShoreTel SG (ShoreGear) voice switches include the SG-30, SG-50, SG-50V, SG-90, SG-90V, SG-220T1A, SG-24A, SG-60/12, and SG-120/24.
Cloudflare’s 1.1.1.1 DNS
For my future self,
Cloudflare’s primary DNS server is
1.1.1.1
Cloudflare’s secondary DNS server is
1.0.0.1
Sincerely,
Present self
How to get the Chromecast to play nice across VLANs with an Edge Router Lite
Background
My reason for compiling this information is simple, I couldn\’t find one source that let the Chromecast play nice across VLANs on my Edge Router.
Equipment
- Ubiquiti Edge Router Lite 3
- Ubiquiti UniFi AP AC Pro
- HP ProCurve 2810-48G
Problem
- Chromecast cannot be seen across isolated VLANs
Resources
- Crosstalk Solution’s video on simple Ubiquiti VLAN configuration. This provides a good overview of setting up VLANs and firewall rules on the ER-Lite.
- Crosstalk Solution’s video on secure IoT network configuration. This provides detailed info on creating firewall rules to make sure traffic stays isolated between VLANs.
- The Hook Up’s video on setting up IoT VLAN rules with UniFi equipment. This video provided an insite into configuring settings on the UAP-AC-PRO.
- xdeb.org’s article Setup guest and IOT VLAN with UniFi and a EdgeRouter. This is useful for enabling DNS forwarding for VLANs.
- Cron Blog’s article Edgerouter and Chromecast. This is where I knew I was getting close to the solution. Specifically, setting up the mdns repeater and broadcast relay.
- Multicast, Sonos, Phorus & Play-Fi Broadcast 255.255.255.255: Discovery Solution found on Ubiquiti\’s forums. This post contains the instructions for downloading and installing the broadcast relay service onto the ER-Lite.
Takeaways
It was a long road to get the Chromecast to be seen across VLANs, but it’s working now. I hope these resources can help someone else on this journey.
Sync iCloud Contacts and Calendars with Thunderbird
There are only two add-ons needed to sync iCloud contacts and Calendars with Thunderbird: Provider for CalDAV & CardDAV and TbSync. Together, both of these add-ons provide everything necessary to enable iCloud Contact and Calendar syncing for Thunderbird.
Setup of both these add-ons is straightforward. In Thunderbird, navigate to Tools -> Add-on Preferences -> TbSync. In the TbSync Account Manager, click Account Actions -> Add Account -> CalDAV & CardDAV. Select iCloud for the account type and follow the wizard to completion.
Once finished, enable the account, and select which calendars and contacts to sync. Be sure to set a synchronization time as well.
Another useful add-on is CardBook. CardBook’s iCloud sync is independent from TbSync. TbSync puts iCloud contacts in the Thunderbird address book, while CardBook uses its own address book which opens in its own tab.
Setting up TRIM under Manjaro Linux
Manjaro Linux is based on Arch Linux, and Arch includes a package "util-linux" which provides two services for TRIM, "fstrim.service" and "fstrim.timer".
From my brief research I found that it is reccomended by the Linux community to run "fstrim" no more than once per week. This is to prevent excessive wear and tear on the SSD.
To enable automatic Trimming, run the following commands in a terminal.
systemctl enable fstrim.timer
systemctl start fstrim.timer
To check the status of "fstrim.timer", run the following command.
systemctl status fstrim.timer
The status output should show:
Active: active (waiting)
That’s it! TRIM is now enabled and will run once per week with the fstrim.timer service.
Source: Arch Wiki – Solid state drive
TextEdit and Blank Documents
From Mountain Lion and beyond, launching TextEdit results in being confronted with the Document Picker. Fortunately, the old behavior can be restored by running a simple defaults write command in Terminal.
defaults write -g NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
The post-Lion behavior can be re-enabled by running a defaults delete command in Terminal.
defaults delete -g NSShowAppCentricOpenPanelInsteadOfUntitledFile
O’ahu, Hawai’i
Valid DVD Drive could not be found -70012
Long story made short, I use my SuperDrive in an external USB enclosure.
When opening DVD Player.app, it will present an error stating: Valid DVD Drive could not be found [70012]
A little web search turns up a thread with a great solution on tonymacx86.com.
Step one is making a backup copy of DVDPlayback.framework with this command in Terminal.
sudo cp /System/Library/Frameworks/DVDPlayback.framework/Versions/A/DVDPlayback /System/Library/Frameworks/DVDPlayback.framework/Versions/A/DVDPlayback.bak
Step two is to patch the DVDPlayback.framework file with this command in Terminal.
sudo perl -pi -e 's|\x49\x6E\x74\x65\x72\x6E\x61\x6C|\x45\x78\x74\x65\x72\x6E\x61\x6C|g' /System/Library/Frameworks/DVDPlayback.framework/Versions/A/DVDPlayback
The thread on tonymacx86.com didn’t explain what the above command does exactly, so being the curious type, I wanted to find out what operations the command performs. The simple explanation is that the command uses Perl to add a line of text to the DVDPlayback.framework file.
The more detailed explanation of the flags used with the perl command are below, found on StackOverflow.
- -p: Places a printing loop around your command so that it acts on each
line of standard input. Used mostly so Perl can beat the
pants off awk in terms of power AND simplicity. - -i: Modifies your input file in-place (making a backup of the
original). Handy to modify files without the {copy,
delete-original, rename} process. - -e: Allows you to provide the program as an argument rather
than in a file. You don’t want to have to create a script
file for every little Perl one-liner.
If for some reason the DVDPlayback.framework file needs to be restored from the backup that was created in step one, just reverse the command. The restoration command is below for easy copypasta into Terminal.
sudo cp /System/Library/Frameworks/DVDPlayback.framework/Versions/A/DVDPlayback.bak /System/Library/Frameworks/DVDPlayback.framework/Versions/A/DVDPlayback
This issue occurs and is resolved for myself on macOS High Sierra.
Issue with Deluge not seeing all torrent data
I have ran into this issue a couple of times, and each time it happens, I forget the solution.
On occaision, when I create a new .torrrent file and open it in Deluge, not all of the data will be seen or accounted for. This happens in spite of knowing that all of the correct .torrent data is in the proper location.
After much head scratching, I realized that Deluge does not like accents in any file name in the torrent. After removing any accents and creating a new .torrent file, Deluge will now see all of the .torrent data.
This issue occured for me with Deluge version 1.3.13 running as a service on Debian Stretch.