script

Install the Melopero FAN HAT on a Raspberry Pi 4 with LibreELEC

Yesterday a friend asked me for help to make the fan Melopero work on a Raspberry Pi 4 with LibreELEC. The Melopero fan installation procedure is designed for Raspbian and this is the python script that manages the fan. To make the fan working on LibreELEC it is necessary to perform the following steps: Install the Addon Raspberry Pi Tools in LibreELEC Connect to the Raspberry via ssh: ssh root@...

Voipblock for modem-router Technicolor: calls blacklist for several devices provided by italian ISP

Thanks to the joint effort of an entire community it has been possible to unlock many modems/routers produced by Technicolor and based on OpenWrt Chaos Calmer 15.05.1, including the Smart Modem Plus DGA4130 (AGTEF), the FastGate DGA4131, the TIM HUB DGA4132 (AGTHP) and also several other devices: TG589vac TG788vn v2 TG789vac v2 HP TG789vac v1 TG789vac v2 TG789vac XTREAM 35B TG799vac TG799vac XTREAM TG800vac After unlocking it is also possible to install a GUI that allows access to all the features of the device. More info can be found here , here and here . The hard-working community has also proposed several implementations of a system to create a calls blacklist, some implementations use the iptables firewall, other implementations use asterisk. Below is a new solution called Voipblock...

How to download and install Windows 10 LTSC

Asimov is the code name of the telemetry system that Microsoft introduced with Windows 10 and that shamelessly tracks everything a user does with a PC and it sends and stores everything on Microsoft servers with unique identifiers that allow to recognize each device. Officially it is needed to allow the correct functioning of the OS and softwares like Cortana, but we really do not know what is...

Bash script to send Bulk email with Postfix and Gmail

Sometime it is needed send the same email at several people, unfortunately ours email services providers doesnt' allow this, usually there is a daily limit for the outgoing emails and if we put a lot of recipients in the Ccn field the email is marked as spam and it is blocked. For sending Bulk email there are a lof of professional services but if we don't have to accomplish this task regularly and we don't need that all the recipients receive the email in the same time then we can use a different approach. Gmail, for example, allow us to send an email at 500 recipients every 24 hours, but if we use the field CCn with a lot of recipients then the email si blocked. With these considerations we can send our email at 500 recipients, wait 24 hours and then send the same email at others 500...

zm_auto: a bash script to totally automate Zoneminder

This is a bash script with several functions to totally automate Zoneminder and is also present a service to install to automatically start this script at boot. With this script you can: automatically switch the Day and Night states based on hour automatically switch to the Armed state if a bluetooth device isn't more detected automatically move the ptz cameras in two different preset when changing state automatically restart Zoneminder if it goes in the Inactive state Here the code of zm_auto.sh: #!/bin/bash # License: GPL # # Author: Mentor <[email protected]> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or...

Zoneminder: control module for Bosesh SD13W

Perl module to control the Bosesh SD13W with Zoneminder. SD13W.pm: # ========================================================================== # # ZoneMinder Bosesh SD13W IP Control Protocol Module, $Date: 2017-05-30 01:18:22 +0100 (Wed, 04 Nov 2009) $, $Revision: 1 $ # Copyright (C) 2017 Mentor (http://www.internauta37.altervista.org) # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General...

Zoneminder: control module for Vstarcam C7816WIP

Perl module to control the Vstarcam C7816WIP with Zoneminder. C7816WIP.pm: # ========================================================================== # # ZoneMinder Vstarcam C7816WIP IP Control Protocol Module, $Date: 2017-01-15 01:18:10 +0100 (Wed, 04 Nov 2009) $, $Revision: 1 $ # Copyright (C) 2017 Mentor (http://www.internauta37.altervista.org) # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the...

Zoneminder: control module for Vstarcam C7824WIP

Perl module to control the Vstarcam C7824WIP with Zoneminder. C7824WIP.pm: # ========================================================================== # # ZoneMinder Vstarcam C7824WIP IP Control Protocol Module, $Date: 2017-01-15 01:17:54 +0100 (Wed, 04 Nov 2009) $, $Revision: 1 $ # Copyright (C) 2017 Mentor (http://www.internauta37.altervista.org) # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the...

Bash script to change the Zoneminder's state

Script to change the Zoneminder's state via crontab and to check at boot if the correct state is set. zoneminder_state.sh: #!/bin/bash # License: GPL # # Author: Mentor <[email protected]> # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if...

Linux: bash script to backup the OS

This is a really simple command/script to backup via rsync an entire Linux OS: #!/bin/bash rsync -aAXv --delete --exclude={"/dev/","/home/","/lost+found/","/media/","/mnt/","/proc/","/run/","/sys/","/tmp/"} / /media/Data_Backup/OS/ Source: wiki.archilinux.com

Pages

Subscribe to RSS - script