Grub2 and WindSLIC: insert WindSLIC entry instead of the Windows Bootloader one

We can customize the Grub2 to boot Windows via WindSLIC. We have to create the grub's configuration /etc/grub.d/25_windslick: #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry 'Windows Boot Manager (su /dev/sda1)' --class...

Vodafone Station: find and use the Vodafone DDNS

The Vodafone Station can be reached remotely by smartphone with its own app and for make this possible the Vodafone uses a proprietary DDNS. Knowing the above info we can get this DDNS and we can use it for our needs. To know what is the DDNS that our Vodafone Station uses we can simply reach with the browser this address: vodafone.station/main.cgi?action=getconf to download the Vodafone Station'...

zmodopipe: connect Zoneminder with several DVR

Thanks to zmodopipe we can connect Zoneminder with several commercial DVR as the Zmodo ones, this is a project that have been started on the Zoneminder forum by the user Phoenix84 and has been continued on github by the user pbeyl . I'm simply copying it here for backup purposes. Here the code of zmodopipe.c: /***************************************** * Read QSee/Zmodo cameras * * Forward stream...

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...

Vodafone Station: allow http access at a new headless device

The first time that we try to access in internet with our browser using the http protocol with a new device in our LAN behind a Vodafone Station, we are welcomed by a page that is used to get the mac address of the new device and register it in the Vodafone Station. Usually this isn't a problem but if the new device is an headless device as a server this procedure becomes a problem because the...

Puppy Linux: change DNS

This simply is a my personal memorandum because when I needed to change the DNS on Puppy Linux I always waste some time for remembering how to do also if this is a really simple procedure. To change the DNS on any Puppy Linux distro we have simply to create the file /etc/resolv.conf.head as following: # Cloudflare DNS servers nameserver 1.1.1.1 nameserver 1.0.0.1

Linux: convert mdadm raid0 in raid5

Reading the wiki Linux Raid doesn't seem possible convert a raid0 in raid5 without formatting and without losing the data but instead we can do this quickly and with a single command, for example we will convert a raid0 with two disks in a raid5 with three disks: mdadm --grow /dev/md0 --level=5 --raid-devices=3 --add /dev/sdc --backup-file=/tmp/grow_md0.bak

Puppy Linux: Frugal Install on USB with Syslinux

Puppy Linux is a special Linux version meant for old computers and for totally run in ram. Further than for bein installed on aged computers Puppy Linux is great to be used as portable OS installed in an usb flash drive and differently from a live distro it can also save the data if it is installed with a persistence file. For me is really very comfortable always having with me a Linux OS ready...

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...

Pages