Monday, 27 February 2012
Friday, 24 February 2012
Cron configuration instruction to the receiver of Enigma2
Cron configuration instruction to the receiver of Enigma2
Cron configuration instruction to the receiver of Enigma 2
Hi
Enigma 2 Receivers facilities are superb and the same potential that I know many of these capabilities.
Cron is the name of one of these capabilities.
We have a program or command in a Cron job to run automatically provide a point of time.
Now that our program is a shell script that I rebooted the server, or even instead of a command to give, For example, "every seven days, a date that represents the time and date command is run.
All this is done by Cron.
Cron service always runs in the Background and permanently.
Cron is the sex of my files in your /etc/cron.d/ is located, to understand this in your server address enter the following command in SSH:
Cron service always addresses /etc/cron.d and /var/spool/cron/ checks.Code:ls -la cron
How to install and create Cronjobs:
Using Cronjobs:Code:crontab -e
orCode:1 2 3 4 5 /path/to/command arg1 arg2
Description:Code:1 2 3 4 5 /root/script.sh
1 minutes (0-59)
2: Time (0-23)
3 days (0-31)
4: Month (0-12 [12 == December])
5: Day of week (0-7)
Command: /path/to/command/ - Script or command must be run.
View all Crontab jobs:
Clear CronTab Jobs:Code:crontab -l crontab -u username -l
Contents of a file /etc/crontab/:Code:crontab -r crontab -r -u username
Code:SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly
Description directories:
All scripts that want to run here and leave their name in the /etc/cron.d/ are.Code:/etc/crontab file.
All scripts that are executed only once a day:Code:/etc/cron.daily/
All scripts that are executed each only once per hour:Code:/etc/cron.hourly/
All scripts that are executed at once:Code:/etc/cron.monthly/
How to use this directory to run our script?Code:/etc/cron.weekly/
We want the script with clean.cache delete the cache will run every 10 days. This script file in /etc/cron.daliy/ put.
So we have a file with this address: /etc/cron.daily/clean.cache/ that its contents are as follows:
Code:#!/bin/bash # A sample shell script to clean cached file from lighttpd web server CROOT=”/tmp/cachelighttpd/” DAYS=10 LUSER=”lighttpd” LGROUP=”lighttpd” # start cleaning /usr/bin/find ${CROOT} -type f -mtime +${DAYS} | xargs -r /bin/rm # if directory deleted by some other script just get it back if [ ! -d $CROOT ] then /bin/mkdir -p $CROOT /bin/chown ${LUSER}:${LGROUP} ${CROOT} fi
How to backup Cronjob Started:
I hope to be useful.Code:crontab -l > /backup/cron/cronjobs.bakup crontab -u username -l > /backup/cron/cronjobs_username.bakup
by Eminem
Good luck
Thursday, 23 February 2012
Tutorial : Lock smargo card reader to specific usb port
To fix smargos on specific ports you have to load smargos with 1.5 firmware.
When you compile oscam on Yr pc You have also a small bin called list_smargo. Give this bin chmod 755 and insert the smargos (as much as You want) in Yr pc.
Run list_smargo and on terminal you have:
Looking for smartreader with an out endpoint = 0x82 :
bus 003, device 002 : 0403:6001 Smartreader (Device=003:002 EndPoint=0x82 insert in oscam.server 'Device = Serial:Reader 6CD3C34')
bus 003, device 003 : 0403:6001 Smartreader (Device=003:003 EndPoint=0x82 insert in oscam.server 'Device = Serial:Reader 3A0E6AB')
bus 008, device 002 : 0403:6001 Smartreader (Device=008:002 EndPoint=0x82 insert in oscam.server 'Device = Serial:Reader 878FB20')
bus 008, device 003 : 0403:6001 Smartreader (Device=008:003 EndPoint=0x82 insert in oscam.server 'Device = Serial:Reader C2AC705'
I.e each smargo has now a serial number of its own.
In oscam server use this syntax in reader part:
protocol = smartreader
device = Serial:Reader C2AC705
and bind any card you want
do the rest for other cards and now You have fixed smargos and the cards and they never mix even if on restart or changing them from pc to pc.
How to "Oscam check script"
How to "Oscam check script"
Thanks arber for the script, i have made ipk file for BlackHole image, to restart EMU at 8am and run oscamcheck script every 10 minutes.
FTP to /tmp > Green button > Yellow button > Manual Install IPK Packages
You can test the script is working by telnet command, killall -9 oscam wait a few minutes and check var/log/oscam_restart_log.
You should get process was not working, which means the script is working and oscam was restarted.
Enjoy..
Thanks arber for the script, i have made ipk file for BlackHole image, to restart EMU at 8am and run oscamcheck script every 10 minutes.
FTP to /tmp > Green button > Yellow button > Manual Install IPK Packages
You can test the script is working by telnet command, killall -9 oscam wait a few minutes and check var/log/oscam_restart_log.
You should get process was not working, which means the script is working and oscam was restarted.
Enjoy..
Thursday, 16 February 2012
Monday, 13 February 2012
VTI Image Softcam Collection
Download VTI Image Softcam Collection
Camd v3908-VTI CCcam v2.0.11+Mgcamd v138-VTI CCcam v2.0.9-VTI CCcam v2.1.0-VTI CCcam v2.1.1-VTI CCcam v2.1.3-VTI CCcam v2.1.4-VTI CCcam v2.2.1-VTI CCcam v2.3.0-VTI CCcam v2.1.3+NewCS v171-VTI Evocamd v217-VTI Gbox v800-VTI Hypercam v218-VTI Mgcamd v138-VTI Mgcamd v138+NewCS v171-VTI oscam v6380-VTI oscam v6380+CCcam v2.1.3-VTI oscam v6380+Mgcamd v138-VTI rqcs v1.11+CCcam v2.1.3-VTI Sbox v0051-3-VTI Sbox v0051-3+CCcam v2.1.3-VTI Sbox v0051-3+Mgcamd v138-VTI Scam v360-VTI
Subscribe to:
Posts (Atom)
