QuoteI have cron daily/ cron weekly in etc
I would check the "cron daily" since it is a daily reboot/update you want to edit/remove.
The script may have been modified since the op posted on how to edit the crontab.
QuoteI have cron daily/ cron weekly in etc
I would check the "cron daily" since it is a daily reboot/update you want to edit/remove.
The script may have been modified since the op posted on how to edit the crontab.
In cron daily/ update I found this script. I have put # in front of the 2nd line on this script. I haven't a clue about cron and really need help with this please
#!/bin/sh
set -e
[ -x /usr/lib/update-notifier/package-data-downloader ] || exit 0
# Try to rerun any package data downloads that failed at package install time.
#/usr/lib/update-notifier/package-data-downloader
i don't think its linked to your problem, you can leave it like it was
in a terminal : sudo crontab -e
you should see every cron jobs on your server
Bigdes _
Cron is for daily tasks and it seems your install has a job for restart daily _
It perfectly normal _ Though you dont have to restart daily you can set it weekly or never if you maintain it yourself.
Below taken from the cron wiki.
QuoteThe software utility Cron is a time-based job scheduler in Unix-like computer operating systems. People who set up and maintain software environments use cron to schedule jobs (commands or shell scripts) to run periodically at fixed times, dates, or intervals. It typically automates system maintenance or administration—though its general-purpose nature makes it useful for things like connecting to the Internet and downloading email at regular intervals.[1] The name cron comes from the Greek word for time, χρόνος chronos
:rikjaard1:
Yes i know what it is i just want it to stop doing it daily do i just remove the commands in the crontab/ update daily folder?
Is it possible to upgrade the script to work with ubuntu server 14.04 and 15.04??
so we avoid do-release-upgrade
Ola Boa tarde
Gostaria de mais informação servidor Ubuntu 14.04 e 15.04 para montar um servidor cccam
Excellent tutorial from thatfellow.
I used this twice recently with no problems running a sly card in cccam. I now want to take this server a step further by running my card in oscam but still use cccam to share. I have never used oscam before so I am completely dumb in this regard. I have noticed that the oscam.server file is blank. Is this normal. I am currently using a smargo which is running fine locked to the card using its ID. I have the following line in my cccam.cfg file but am not sure of the next step. N: 127.0.0.1 10000 cccam cccam 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
Any advise would be greatly appreciated.
well after a week of trying to get a server to work and following this guide i am no further forward
i have latest version of server on and running and oscam/cccam working but wont detect omnikey reader
tried to update drivers etc nothing worked
so started again with version 12.10 64 bit got it installed got oscamm script to run and then it wouldnt install card reader again
/$ sudo apt-get install opensc pcscd libccid
Reading package lists...
Building dependency tree...
Reading state information...
Package libccid is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package opensc
E: Package 'pcscd' has no installation candidate
E: Package 'libccid' has no installation candidate
Package pcscd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
i am at a loss do i just forget it i am ready for snapping computers in 2 here
on later versions 13."" 14.04 ect, i found that you have to install pcsc it
should detect it in setup and sort it self if your setup detects it
in your current setup try lsusb in putty (ect) if it can see it updating/upgrading should do the trick
Display Morewell after a week of trying to get a server to work and following this guide i am no further forward
i have latest version of server on and running and oscam/cccam working but wont detect omnikey reader
tried to update drivers etc nothing worked
so started again with version 12.10 64 bit got it installed got oscamm script to run and then it wouldnt install card reader again
/$ sudo apt-get install opensc pcscd libccid
Reading package lists...
Building dependency tree...
Reading state information...
Package libccid is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package opensc
E: Package 'pcscd' has no installation candidate
E: Package 'libccid' has no installation candidate
Package pcscd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
i am at a loss do i just forget it i am ready for snapping computers in 2 here
I have attached a edited opensc config file for you, this works with omnikey readers..... there is also a guide of how to install the reader.
Use this command when you have installed your omnikey to see it connected.... sudo lsusb
thanks for your reply i tried everything with this guide and never got the reader to work, i have it to work on deb 8, i have oscamm and cccam istalled and working, im stuck on what to do next, there is a link to take you to config files but it is dead and i dont know where to send them
i have a sly uk card and omnikey 3021
local box is v8s and zgemma h1
cheers
- - - Updated - - -
also im unsure of how to eactly set up dydns on deb 8
Hello All.. I have question on the OScam. Do this support Bisskey / softkey setup.. :)
thanks for guide, mucho appreciated.
got as far as trying to Step 3.. Install oscam/cccam autoscript.
copied folders using mozilla with no worries. keep seeing permission error which is blocking further advancement.
any help appreciated.
sorted! wasn't logged in as root.
Does this work on Ubuntu 14.04 - 64 Bit?
Does this work on Ubuntu 14.04 - 64 Bit?
Now you can run the script on ubuntu 14 and 15.
oscam-cccam-script also works now on Ubuntu 14.04 and 15.04 with some adjustments!
I deleted this in the script and performed either manual installation of these:
deleted:##########################Instal Packages#########################echo "${txtred}Step 8 ${txtrst}"echo "${txtgreen}installing the software needed for cccam/oscam server ${txtrst}"sleep 3apt-get updatesleep 4yes | apt-get install openssh-serversleep 2yes | apt-get install php5 sleep 2yes | apt-get install libpcsclite1sleep 2yes | apt-get install libpcsclite-devsleep 2yes | apt-get install opensslsleep 2yes | apt-get install libssl-devsleep 2yes | apt-get install pcscdsleep 2yes | apt-get install pcsc-toolssleep 2########################Instal Simplebuild########################echo "${txtred}Step 9 ${txtrst}"echo "${txtgreen}Instal Simplebuild for compiling your own oscam ${txtrst}"sleep 3cd /opt/mkdir simplebuildcd simplebuildwget ss4200.homelinux.com/oscam/simplebuildchmod 777 simplebuild./simplebuild debinstall
Then installation in telnet, one by one:
sudo apt-get update
sudo apt-get upgrade
apt-get install php5
apt-get install libpcsclite-dev
apt-get install libssl-dev
apt-get install pcscd
apt-get install pcsc-tools
cd /opt/
mkdir simplebuild
cd simplebuild
wget ss4200.homelinux.com/oscam/simplebuild
chmod 777 simplebuild
./simplebuild debinstall
Display More
Then run the script in the usual way and should be seen like this:
#!/bin/sh
#Automated Installation script
#Purpose: Installing CCcam & Oscam Ubuntu 64 Bit system.
#Originally written by: Youknowhoo (R.I.P) updated by thatfellow, updated to work on ubuntu 14-15 by hacked.
#
#Requirements: Ubuntu 64Bit
# Installation Package.
#put the cccamoscam_install_package in /tmp
#put this script in /tmp then chmod 755 this script
OWNER=$(grep 1000:1000: /etc/passwd|cut -f1 -d':')
txtrst=$(tput sgr0) # Text reset
txtred=$(tput setab 1) # Red Background
textpurple=$(tput setab 5) #Purple Background
txtgreen=$(tput bold ; tput setaf 2) # GreenBold
arch=$(getconf LONG_BIT)
######################
#Check Files Prestnt##
######################
echo "${txtgreen}Script for automated CCcam/Oscam installation ${txtrst}"
sleep 2
chown $OWNER /tmp/cccamoscam_install_package
sleep 2
if [ ! -e /tmp/cccamoscam_install_package ] ; then
echo "${txtgreen}WARNING !!!!!!! ${txtrst}"
echo "${txtgreen}Install package is not in tmp directory ${txtrst}"
echo "${txtgreen}please check if its there ${txtrst}"
fi
######################
#Check linux x86 x64##
######################
echo "${txtred}Initial OS Test ${txtrst}"
echo "${txtgreen}Check linux architecture x32-bit or x64-bit ${txtrst}"
echo "${textpurple}$arch-bit OS Detected${txtrst}"
echo " "
sleep 3
mv /tmp/cccamoscam_install_package/oscam-x$arch /tmp/cccamoscam_install_package/oscam
mv /tmp/cccamoscam_install_package/CCcam-x$arch /tmp/cccamoscam_install_package/cccam_2.1.3
######################
##Make Directories####
######################
echo "${txtred}Step 1 ${txtrst}"
echo "${txtgreen}make directorys and show them to the owner ${txtrst}"
sleep 3
#
mkdir /var/etc
chown $OWNER /var/etc
#
mkdir /var/keys
chown $OWNER /var/keys
#
mkdir /var/script
chown $OWNER /var/script
#
mkdir /var/config
chown $OWNER /var/config
#
mkdir /var/backup
chown $OWNER /var/backup
#
mkdir /var/cccamlog
chown $OWNER /var/cccamlog
#
chown $OWNER /usr/local/bin
sleep 2
mkdir /var/oscam-configs-backup
######################
######Move CCcam######
######################
echo "${txtred}Step 2 ${txtrst}"
echo "${txtgreen}Moving CCcam executable to correct folder ${txtrst}"
sleep 3
mv /tmp/cccamoscam_install_package/cccam_2.1.3 /usr/local/bin
chmod 755 /usr/local/bin/cccam_2.1.3
sleep 2
######################
######Move Oscam######
######################
echo "${txtred}Step 3 ${txtrst}"
echo "${txtgreen}Moving oscam executable to correct folder ${txtrst}"
sleep 3
mv /tmp/cccamoscam_install_package/oscam /usr/local/bin
chmod 755 /usr/local/bin/oscam
######################
#####Move Scripts#####
######################
echo "${txtred}Step 4 ${txtrst}"
echo "${txtgreen}Move the scripts to /var/script ${txtrst}"
sleep 3
mv /tmp/cccamoscam_install_package/*.sh /var/script
######################
####Chmod Scripts#####
######################
echo "${txtred}Step 5 ${txtrst}"
echo "${txtgreen}chmod 755 the scripts ${txtrst}"
sleep 3
chmod 755 /var/script/oscam-backup.sh
chmod 755 /var/script/configupdate.sh
chmod 755 /var/script/LogCleanUp.sh
chmod 755 /var/script/CCcamCheck.sh
chmod 755 /var/script/OscamCheck.sh
chmod 755 /var/script/keyupdater.sh
######################
##Autostart rc.local##
######################
echo "${txtred}Step 6 ${txtrst}"
echo "${txtgreen}make rc.local for autostart at boot ${txtrst}"
sleep 3
chown $OWNER /etc/rc.local
rm /etc/rc.local
sleep 2
mv /tmp/cccamoscam_install_package/rc.local /etc
mv /tmp/cccamoscam_install_package/CCcam.channelinfo /var/etc
mv /tmp/cccamoscam_install_package/CCcam.providers /var/etc
mv /tmp/cccamoscam_install_package/CCcam.prio /var/etc
mv /tmp/cccamoscam_install_package/CCcam.cfg /var/etc/
mv /tmp/cccamoscam_install_package/oscam.conf /usr/local/etc
mv /tmp/cccamoscam_install_package/oscam.server /usr/local/etc
mv /tmp/cccamoscam_install_package/oscam.user /usr/local/etc
mv /tmp/cccamoscam_install_package/oscam.services /usr/local/etc
mv /tmp/cccamoscam_install_package/oscam.srvid /usr/local/etc
sleep 1
chmod 755 /etc/rc.local
sleep 1
chown root /etc/rc.local
######################
####Setup Crontab#####
######################
echo "${txtred}Step 7 ${txtrst}"
echo "${txtgreen}making crontabs in /etc/crontab, remember no crontab -e!!!! ${txtrst}"
sleep 3
echo "59 23 * * * root /var/script/oscam-backup.sh" >> /etc/crontab
echo "57 06 * * * root killall cccam_2.1.3" >> /etc/crontab
echo "57 06 * * * root killall oscam" >> /etc/crontab
echo "57 06 * * * root /var/script/configupdate.sh >> /var/cccamlog/configupdate.log" >> /etc/crontab
echo "57 06 * * * root /var/script/keyupdater.sh" >> /etc/crontab
echo "58 06 * * * root /usr/local/bin/oscam -b" >> /etc/crontab
echo "59 06 * * * root /usr/local/bin/cccam_2.1.3" >> /etc/crontab
echo "*/5 * * * * root /var/script/CCcamCheck.sh" >> /etc/crontab
echo "*/5 * * * * root /var/script/OscamCheck.sh" >> /etc/crontab
echo "03 07 * * 6 root /var/script/LogCleanUp.sh >> /var/cccamlog/CleanUp.log" >> /etc/crontab
######################
####Restart System####
######################
echo "${txtred}Job Done! Restarting Server ${txtrst}"
echo "${txtgreen}cowntdown to restart ${txtrst}"
sleep 2
echo "${txtgreen}3 ${txtrst}"
sleep 1
echo "${txtgreen}2 ${txtrst}"
sleep 1
echo "${txtgreen}1 ${txtrst}"
echo "${txtgreen}rebooting now see you in a minute ${txtrst}"
reboot
Display More
It looks like this:
root@ubuntu:~# chmod 755 /tmp/CCcamOscamInstall.sh
root@ubuntu:~# /tmp/CCcamOscamInstall.sh
Script for automated CCcam/Oscam installation
Initial OS Test
Check linux architecture x32-bit or x64-bit
64-bit OS Detected
Step 1
make directorys and show them to the owner
Step 2
Moving CCcam executable to correct folder
Step 3
Moving oscam executable to correct folder
Step 4
Move the scripts to /var/script
Step 5
chmod 755 the scripts
Step 6
make rc.local for autostart at boot
Step 7
making crontabs in /etc/crontab, remember no crontab -e!!!!
Job Done! Restarting Server
cowntdown to restart
3
2
1
rebooting now see you in a minute
Display More
Oscam is updated to the latest svn 11182-webif-ssl-libusb-pcsc in script
have server and cccam setup,is there an easy way to use mgcamd with it?
Cheers for that, thatfellow!
I had two little probs along the way: (I'm using Ubuntu Server 14.04, and PuTTY from a Ubuntu laptop)
As well as doing
[CODEsudo ]passwd root blahblah[/CODE]
to set a root pw, and
to unlock it, I also had to do this to enable the account
http://linuxconfig.org/allow-s…ubuntu-14-04-linux-server
And then when the script got to the first (y/n) prompt, the whole terminal filled with yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy down the left!
I removed the
commands from the script, and it then ran perfectly (with me manually choosing 'y' - what a chore!)
One question, as I ran it about 4 times before I realised the problem, with this mess anything up in the future?
(the only errors I spotted was
saying the directories already existed...
Thanks again mate!
hello is dear any way to see de pic please on page1 when i click them got this message .....Sorry, the requested page does not exist.
Please check the URL for correct spelling and capitalization.
used this tutorial to set up Ubuntu server 13.04 all up and working but having trouble installing omnikey reader cardman 3121 when run cmd sudo lsusb the reader shows up and in oscam web when scan for reader used tut at bottom on 1st page to install but don't not work any help pls I new to this
Don’t have an account yet? Register yourself now and be a part of our community!