Category: Linux

Raspberry Pi Mount USB Thumb Driver permanently

I always search the web for that. So here is the simple solution: sudo ls -laF /dev/disk/by-uuid find your device uuid  for example : c2eced36-13e6-4dcd-82a4-c6ecdfb16ec1 then add to fstab UUID=c2eced36-13e6-4dcd-82a4-c6ecdfb16ec1 /path/toMountpoint sudo reboot done!

Posted in Linux

Hikvision Camera DS-2CD2042WD NAS Storage does not initialize Solution

Hello I bought a camera HIKVISION , but data storage initialization does not work. Therefor here is the solution for nfs share: On your NAS Server: Create a simple image with filesize 50 gb: dd if=/dev/zero of=<imagefilename>.img bs=1 count=0 seek=50G

Posted in ipcamera, Linux

Create a cronjob on Ubuntu

Today about doing cronjobs:: crontab -l shows you the current cronjobs     crontab -e if no file exists a new one is created. insert a rule to active the new job   for example 30 3 * * *

Posted in bananapi, Linux, Raspberry PI

Check mount for available capacity

Fist we need a shell script that does the checking:   Then as your system trys to mail you the alert and the mailutil is not install. install it using: sudo apt-get install mailutils Now configure mail using ssmtp Install

Posted in Linux

Video about Mapping Services to channels in TVheadend

Hi folks, here the new tutorial about channels and services

Posted in Linux, Raspberry PI, tvheadend

Make Image from Raspberry pi SD Card Put it back on. Mount an Image

Quite simple works with dd command: first insert the sdcard into an linux computer. perhaps it gets automatically mounted. if so unmount every partition. therefor its useful to check on which mountpoints the crad is mounted do that with the

Posted in Linux, Raspberry PI Tagged with: , , , ,

Script for running ssh backup with rsync

How to: backup a single folder on a remote server onto this machine with a folder name specified by the back update. put the following into a back.sh script.   NOW=$(date +”%m-%d-%Y-%T”) FOLDER=/path/to/backup/dir/$NOW-folder mkdir -p $FOLDER sshpass -p ‘<passwordforsshuser>’ rsync

Posted in Linux

Filecount in folder

He folks, here is how to count files in a specified folder: find /path/to/folder -type f | wc -l

Posted in Linux

install zoneminder surveillance software on Ubuntu server

Best software to connect to multiple security ip cameras https://zoneminder.com/ Install is easy to use: apt-get install zoneminder   during the installation process note the passwords you hve been prompted for! after the installation check the running state with service

Posted in Linux Tagged with: , , ,

Mount truecrypt volume linux commandline

truecrypt –fs-options=”utf8″,uid=<username>,file_mode=0755,dir_mode=0775  –mount /home/username/tcfilename /mnt/tcmountpoint

Posted in Linux, Uncategorized Tagged with: , ,

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close