Posts

Showing posts from August, 2024

Great technology links - September 2024

Image
Fake News Introduction In this edition of GTL, we explore the topic of fake news. Fake news refers to false or misleading information presented as news. Nowadays, the majority of people consume news through electronic devices. Advances in AI and the evolution of apps have made it easy for practically anyone to manipulate audio, video, and text. These tools can create scenarios where people appear to be in places they've never been, say things they've never uttered, and generate text in their style that they've never produced. Once disinformation is created, it spreads rapidly, potentially reaching billions of people within seconds. Companies and individuals, for a fee, promote and disseminate this information, pushing it to the top of the targeted audience lists. Fake news serves the purpose of controlling public opinion. It can either favour the originator, making their case appear more favourable than it is in reality, or target opponents, portraying then and their ag

Fake News Catwalk of World Leaders

Image
The ying or the yang of society?

Poem for this day

Image
The sun begins its climb,  Gathering strength,  Pushing on,  Replacing the incumbent. Its golden rays start stretching wide,  Dispelling night’s embrace,  Building energy inside,  To light the world with grace. This daily feat, we hope, Inspires readers of these lines, As soon as they awoke, To have a day that shines. So let this be the start, Of a day both bold and kind, Grant strength within one’s heart, And peace within one’s mind. x

Proxmox-NUT Homelab HOWTO : Step 0 : The Proxmox-NUT HomeLab HowTo: Introduction

Image
Step 0: The Proxmox-NUT HomeLab HowTo: Introduction The series includes this article, a 7-part video series, and a VMWare archive. In this HowTo, I cover the following steps: Configure a VM on VMWare Workstation Pro to install Proxmox on it; Install a Windows Server 2022 VM as a VM in Proxmox; Install the NUT (Network UPS Tools) UPS Software. I also configure Proxmox, Windows Server 2022, and NUT to use a Gmail SMTP relay. This will be used by Proxmox and Windows server to send emails when they start and stop. Proxmox and NUT will provide additional status information. Windows Server is configured to start automatically when Proxmox starts and will shut down cleanly without manual intervention when Proxmox is shutdown or rebooted. Every stage is tested out to verify that everything is working as expected. Any limitations are highlighted. A snapshot of the VM state after every Step is taken. You can download the entire archive and run it on your own hardware. If you decide yo

Proxmox-NUT Homelab HOWTO - Step 2: Setup email using gmail.smtp.com as relay / Test Email from shell and Proxmox GUI / Test Proxmox startup / shutdown notification

Image
Step 2: Setup email using gmail.smtp.com as relay / Test Email from shell and Proxmox GUI / Test Proxmox startup / shutdown notification We will set up Gmail as a relay within Debian (the OS on which Proxmox runs). We will look at the options within Proxmox that allow us to configure email communication on this SMTP. We will also configure Debian so that whenever it starts and stops it alerts us with an email. Generate a Gmail app password setup   Log into Gmail, click on the cog and click on "Manage Google Account". In the search bar, type "App Passwords". Enter a name that describes where the password is used. This step is very important because this name is the only way to remember where this app password is being used. If you have many app passwords, you can easily recognise which password is used where. Furthermore, if you decide to disengage an SMTP relay all you have to do is delete the app associated with that service. Copy the generated password into

Proxmox-NUT Homelab HOWTO - Step 5 : Install NUT UPS Solution / Configure NUT for Email Alerts and System Shutdown / Test

Image
Step 5: Install NUT UPS Solution / Configure NUT for Email Alerts and System Shutdown / Test NUT will be installed on Debian (Proxmox) and will be linked to a single APC UPS. When there is a power failure, NUT will send an email. Its status will change from Online ( OL ) to On Battery ( OB ). When either the remain battery percentage charge goes below a certain value (85% in this example) or the remaining run time goes below a certain amount (15 minutes in this example), the UPS status will change from OB to Low Battery ( LB ). When the status becomes LB , NUT will send out an email and start shutting down Debian. As part of the Proxmox shutdown process it will shut down all guests running with it and then shut down itself. After that the OS shuts down. If the LB condition does not trigger within 5 minutes the UPS will shut down Proxmox. This is discussed further below. NUT manages other UPS status such as whether it is discharging and if the battery needs replacing. These set

Proxmox-NUT Homelab HOWTO - Step 99: Conclusion and going forward

Image
Step 99: Conclusion and going forward We've reached the end of this How-To, and I hope you found it informative and helpful. Feel free to download the VM with its snapshots to experiment and expand upon what's been covered. For instance, if you crack the email shutdown mechanism, want to explore Proxmox backups, or demonstrate ACPI usage on Linux, you can start from a suitable snapshot. To make it easier for others, please take a snapshot of your work on a specific topic. If you share the enhanced VM, I'll distribute it to others. We're also looking for someone to temporarily share 50GB of fast server space. Let me know if you can help. Thank you for following along. Please consider sharing, liking, and subscribing to support our work. Take Care   Video     Links YouTube     https://www.youtube.com/@chribonn   Blog     https://www.AlanBonnici.com      Medium     https://medium.com/@chribonn      Mastodon     @chribonn@twit.social      Telegram     https://t.me/TT_M

Proxmox-NUT Homelab HOWTO - Step 4 : sendEmail / STunnel / Windows Notification / Test

Image
Step 4: sendEmail / STunnel / Windows Notification / Test Download and extract sendEmail Download sendEmail zip file from http://caspian.dotconf.net/menu/Software/SendEmail/ and extract it to a folder. Extract the zip file to the folder c:\sendEmail . Download and install Stunnel and review Gmail SMTP settings Download STunnel and install it. Accept defaults. STunnel comes preconfigured to connect to Gmail. The STunnel service will listen on port 25. Install the STunnel service, by clicking on the option stunnel Service Install in the stunnel menu. Run the STunnel service, by clicking on the option stunnel Service Start in the stunnel menu. Create a command file calling it cmd with the following: C:\sendEmail\sendEmail.exe -s 127.0.0.1:25 -f <your gmail email> -xu <your gmail email> -xp <your gmail app password> -t <recipient_email_addr> -u “Proxmox-NUT VM 100 has %1" -m "For Information Purposes" -o tls=auto Test out the so