BforBenny

A place where my messy thoughts lived

Linux base build

Update Packages and OS Run the command to update the installation If you are on a laptop Battery saving use tlp package for better battery savings Configure default settings Timezone Set timezone and check settings NTP Client Add NTP server in /etc/systemd/timesyncd.conf file Unattended Upgrade Sudo without password Password Requirements Proceed at your own risk

Disable Unattended sleep on windows OS

Check unattended sleep Run the following in elevated PowerShell Disable Unattended sleep Show Advanced option Change Unattended System sleep setting In the Control Panel navigate to this path: Control Panel -> Hardware and Sound -> Power Options -> Change Plan Settings Click on Change advanced power settings. Navigate to item System unattended sleep timeout and... » read more

Upgrading Active Directory from 2008 R2 to 2022

Requirements Features The following features will be installed: System Requirements We will configure AD with the following Virtual Machine (VM) specs: Resource: Capacity planning for Active Directory Domain Services | Microsoft Learn Installation OS Installation Proceed with Windows Server 2022 installation. In our case, we will install non GUI Datacenter edition of Windows Server. Change... » read more

Windows Remote from any web browser

Concept Allow remote desktop from any web browser from internet, without exposing RDP or port forwarding Install VNC Server In this guide, we’ll install TightVNC. By default, it will be using port :5900 on all interface noVNC NodeJS – websockify Mime type error fix There’s a bug for mime type in the package: Cloudflare Tunnel... » read more

Dew Point

What is Dew Point Temperature? Extracted from Dew point – Wikipedia Definition Dew point is the temperature at which air must be cooled to become saturated with water vapor. When the temparature is below freezing point of water, the dew point is called the frost point. Relationship to human comfort When the air temperature is... » read more

System Platform Communication

OI Server Generic On System Platform Management Console, the following settings are recommended. Setting Value Remarks Case Sensitive Unchecked Device Group Cache Unchecked System Items Check For troubleshooting Unique Device Group Check For DDE connectivity Poke Mode Optimization Mode Control Mode – for Batch / sequence sensitive applicationOptimization Mode – for normal operation Device Group... » read more

Docker Swarm + Cloudflare Tunnel

Why Tunnel? Although using proxied DNS by Cloudflare is good, we still need to punch holes (notably 80 and 443) on our firewall or router. With tunnel, our “agent” will reach out to Cloudflare instead of HTTP request coming through our firewall. Cloudflare Tunnel Preparation Cloudflare Team Before we can proceed with setting up tunnel,... » read more

Adding Xiaomi Temp and Humidity Monitor to HomeAssistant
Adding Xiaomi Temp and Humidity Monitor to HomeAssistant

Objective To link Xiaomi Mi Temperature and Humidity Monitor to Home Assistant Tested Hardware Xiaomi Mi Temperature and Humidity Monitor (Hardware Version: LYWSD03MMC) Resources Telink Flasher v4.4 (pvvx.github.io) Issues · pvvx/ATC_MiThermometer · GitHub Flashing Firmware Connecting to Sensor Use your laptop (with BT device) and go to Telink flasher (link in resource above) In the... » read more

Event Log Filtering

Security Log – Specific User logon To filter logon and log off of specific user. Event will be available on target client machine. Explanation EventID Description 4624 Logon 4634 Logoff LogonType Description 2 Console 10 Remote Desktop Security Log – Account Locked Out To filter account lock out “source”. Event will be available in Domain... » read more