Académique Documents
Professionnel Documents
Culture Documents
t=40552
Compleet howto install a CCcam server compleet with scripts !!!!!
a compleet howto install a CCcam server compleet with scripts and a lot of tips!!
hello to all,
I saw a lot of questions on howto do some things.
So I have made a Howto for making a succesfull stable CCcam Server,
I use the Ubuntu 8.04.1 or 3 LTS is a good stable release.
Code:
http://releases.ubuntu.com/hardy/
a compleet howto install a CCcam server compleet with scripts and a lot of tips!!
hello to all,
I saw a lot of questions on howto do some things.
So I have made a Howto for making a succesfull stable CCcam Server,
I use the Ubuntu 8.04.1 or 3 LTS is a good stable release.
Code:
http://releases.ubuntu.com/hardy/
But you can also use other versions.
when you have installed Ubuntu and given it a static IP address this is very important!!
and after that do the things written below.
first open the therminal.
then type sudo i
fill in your password
when you see this # written it means do as root. (sudo i)
Install SSH;
[/url]# apt-get install openssh-server
# vim /etc/apt/sources.list
remove all the #
infront of the deb
# deb (close with :wq enter)
Update de sources.list;
code;
# apt-get update
Install FTP server;
# apt-get install proftpd (standalone&undefined)
Make directorys;
code;
# mkdir /var/etc
# mkdir /var/keys
# mkdir /var/script
# mkdir /var/config
# mkdir /var/backup
# mkdir /var/cccamlog
when you download a new CCcam version set then there is always a default config read that very carfull !!
Now the scripts we have to place in the /var/scripts
because of every script writes his own log it will fill up some space on your HDD
and to not let it go full this script cleans the log and it writes his own log to see if CCcam did have problems.
This script cleans your logfile ones a week , every mody at 4:01 AM
OWNER= yourusername frome the distro you use
#############################################
scriptname = LogCleanup.sh
#############################################
#!/bin/sh
# Script to cleanup log files
# Script written by Youknowhoo.
OWNER=
TARGETDIR_1=/tmp
TARGETDIR_2=/var/cccamlog
FILE_1=warnings.txt
FILE_2=cccam.check
FILE_3=CCcam.log
FILE_4=configupdate.log
echo && date
if test -f $TARGETDIR_1/$FILE_1 ; then
echo "warning text present!"
chown $OWNER $TARGETDIR_1/$FILE_1
rm $TARGETDIR_1/$FILE_1
else
echo "No warning text present?!?! Nothing to remove"
fi
if test -f $TARGETDIR_2/$FILE_2 ; then
echo "Check File present!"
chown $OWNER $TARGETDIR_2/$FILE_2
rm $TARGETDIR_2/$FILE_2
else
echo "No Check File present?!?! Nothing to remove"
fi
if test -f $TARGETDIR_2/$FILE_3 ; then
echo "CCcam Debug Log precent!"
chown $OWNER $TARGETDIR_2/$FILE_3
rm $TARGETDIR_2/$FILE_3
else
echo "No! CCcam Debug log present, CCcam did run perfect !!"
fi
if test -f $TARGETDIR_2/$FILE_4 ; then
echo "Configupdate file present!"
chown $OWNER $TARGETDIR_2/$FILE_4
rm $TARGETDIR_2/$FILE_4
else
echo "No Configupdate log present?!?! Nothing to remove"
fi
Thanks
The Following 3 Users Say Thank You to antox For This Useful Post:
hal8000 (11-01-2012), pinky2 (21-01-2010), tuicaru44 (06-05-2011)
#7 Report Post
Old 03-01-2010, 20:50 - Add Post To Favorites Translate from English to Italian Translate from English to French
Translate from English to German Translate from English to Spanish Translate from English to Dutch Translate
from English to Greek Translate from English to Portuguese Translate from English to Russian Translate from
English to Russian
antox's Avatar
antox antox is offline
Senior Member
Join Date: Dec 2009
Posts: 92
Thanks: 93
Thanked 168 Times in 51 Posts
Country: Country Flag
Default
This script checks if CCcam is still running.
this script is running every 5 min do not change that its more then enough.
#############################################
scriptname= configupdate.sh
#############################################
#!/bin/bash
#Script to process new config and backup old one
#Script designed and written by CC_Share
SOURCE=/var/config
TARGET=/var/etc
FILE=CCcam.cfg
BACKUPDIR=/var/backup
CONFIGOLD=CCcam.old
if test -f $SOURCE/$FILE ; then
echo "New Config Present"
if test -d $BACKUPDIR ; then
if test -f $BACKUPDIR/$CONFIGOLD ; then
echo "Removing OLD config file from backup directory"
rm $BACKUPDIR/$CONFIGOLD
else
echo "No OLD config to remove."
fi
if test -f $BACKUPDIR/$FILE ; then
echo "Renaming Backup to old config"
cp $BACKUPDIR/$FILE $BACKUPDIR/$CONFIGOLD
rm $BACKUPDIR/$FILE
else
echo "No Backupfile present yet"
fi
if test -f $TARGET/$FILE ; then
echo "Copying Original config to Backup directory"
cp $TARGET/$FILE $BACKUPDIR
rm $TARGET/$FILE
else
echo "No Original Config File Present!?!?"
fi
else
echo "Backup directory does not exist."
echo "making new directory"
mkdir $BACKUPDIR
if test -f $TARGET/$FILE ; then
echo "Copying Original config to Backup directory"
cp $TARGET/$FILE $BACKUPDIR
else
echo "No Original Config File Present!?!?"
fi
fi
echo "Moving New config file to "$TARGET
cp $SOURCE/$FILE $TARGET
rm $SOURCE/$FILE
else
echo "No New Config present, Nothing to process"
fi
exit
-----------------------------------------------------------------------------------------------------------------------------the last script is for the key updates that is be done every night ones at 3:58 AM
you have to change some * to make it comlpeet!
I can and will not post complete links.
##########################################
scriptname= keyupdater.sh
##########################################
#!/bin/bash
Code:
wget -qO /var/keys/SoftCam.Key http://w*w.uydu.ws/deneme6.p*p?file=SoftCam.*ey
wget -qO /var/keys/AutoRoll.Key http://w**.softcam.tv/deneme6.*hp?file=AutoRoll.K*y
----------------------------------------------------------------------------------------------------------------------------when you use a program to add the scripts please use the program WinSCP because you get problems with the
scripts.
Thanks
The Following 2 Users Say Thank You to antox For This Useful Post:
pinky2 (21-01-2010), tuicaru44 (06-05-2011)
#8 Report Post
Old 03-01-2010, 20:53 - Add Post To Favorites Translate from English to Italian Translate from English to French
Translate from English to German Translate from English to Spanish Translate from English to Dutch Translate
from English to Greek Translate from English to Portuguese Translate from English to Russian Translate from
English to Russian
antox's Avatar
antox antox is offline
Senior Member
Join Date: Dec 2009
Posts: 92
Thanks: 93
Thanked 168 Times in 51 Posts
Country: Country Flag
Default
I will try to compile in one thread what I found related to Smargo, compiled from different sources.
I'm not the author, I will just add comments from what I discovered testing this amazing device.
First of all, a short presentation of this device.
- Powerfull ARM 91 Thumb Processor
- High-performance 32-bit RISC Architecture
- High-density 16-bit Instruction Set
- 64 Kbytes, organized in 512 Pages of 128 Bytes (Single Plane)
- 16 Kbytes Internal High-speed SRAM, Single-cycle Access at Maximum Speed
developer/ manual
Smartreader+ integraters manual
* Smartreader modes
The Smartreader+ had two modes, command mode and data mode.
Till the CMD mode is entered the smartreader+ is working as a phoenix device at 3,57Mhz.
After entering CMD mode and returning to DATA mode the reader is configured as Smartreader+
and will probably not work as a phoenix till the next time it's cold started by removing the device from the USB
port.
In the CMD mode it's possible to program the settings like frequency, protocol, etu, N and inversion.
* Mode selection
To enter the CMD mode set the reader to 5 databits.
example:
/* set smartreader in CMD mode */
struct termios term;
tcgetattr(deviceFd, &term);
term.c_cflag &= ~CSIZE;
term.c_cflag |= CS5;
tcsetattr(deviceFd, TCSANOW, &term);
To enter the DATA mode set the reader to 8 databits.
example:
/* set smartreader in DATA mode */
DM800/cccam.cfg
CCcam configuration sample:
SERIAL READER : /dev/ttyUSB0 smartreader+
SMARTCARD CLOCK FREQUENCY: /dev/ttyUSB0 6860002
SERVER LISTEN PORT : 20000
WEBINFO LISTEN PORT : 21000
WEBINFO USERNAME : username
WEBINFO PASSWORD : password
SHOW TIMING : yes
The DM800 comes with 2 USB ports already. However if you wish to add a usb hub you can.
The above cfg's assume that the reader is set to autoswitch mode and dreambox kernel.
You can choose any of the following frequencies: 3.20, 3.43, 3.69, 4.00, 4.36, 4.80, 5.34, 6.00, 6.86, 8.00, 9.61,
12.0 and 16.0
Examples:
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/0 6000002 runs the card at 6mhz.
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/0 6860002 runs the card at 6.86mhz.
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/0 8000002 runs the card at 8mhz.
SMARTCARD CLOCK FREQUENCY: /dev/usb/tts/0 9610002 runs the card at 9.61mhz.
Most cards run at 6000002 or 6860002.
Ofcourse the reader can be used with other images such as Gemini etc. Feel free to experiment
Smartreadplus Drivers.zip download..
Code:
http://www.mediafire.com/file/bymmhtj3tmj/Smartreadplus Drivers.zip
Thanks
The Following 3 Users Say Thank You to antox For This Useful Post:
1lang (13-02-2012), pinky2 (21-01-2010), tuicaru44 (06-05-2011)
#9 Report Post
Old 03-01-2010, 20:54 - Add Post To Favorites Translate from English to Italian Translate from English to French
Translate from English to German Translate from English to Spanish Translate from English to Dutch Translate
from English to Greek Translate from English to Portuguese Translate from English to Russian Translate from
English to Russian
antox's Avatar
antox antox is offline
Senior Member
Join Date: Dec 2009
Posts: 92
Thanks: 93
Thanked 168 Times in 51 Posts
Country: Country Flag
Default
Linux server with Ubuntu and a Smargo smartreader+ with CCCam
INXTC
DREAMCRYPT
FREE-X-TV
VIACCESS
DIGIALB
CONAX
DIGITAL+
SECA 2 / NAGRA ( tunneled ) CAID : 0100 > 4001 & 4101
( no EMM update sa verzijom 2.0.4 )
TV VLAANDERN
SECA 2
CANAL DIGITAAL NL
SECA 2
CANALSAT FRANCE
SECA 2 - Thalescrypt
AB SAT
SECA 2
CANALSAT HORIZONS
SECA 2 - Thalescrypt
CYFRA+
SECA 2
TPS
VIACCESS
SKY ITALIA
CCcam 2.0.X
***/VIDEOGUARD
samo sa "starom" verzijom CAID 919
SKY UK
***/VIDEOGUARD
( aktivizacija u original Sky box )
TOTAL-TV
***/VIDEOGUARD
( *** CARD 1327 )
MCT / REDLIGHT
VIACCESS
SEX VIEW
VIACCESS
PINK PLUS
CAID 602 ASC 505 - IRDETO 2
CANAL DIGITAL NORDIC
CONAX
( ALL OK : ECM & EMM )
MAX TV
VIACCESS
NTV HAYAT
VIACCESS
HRT Croatia
VIACCESS
Evo za sve buduce korisnike CCcam, ali i sve one koji nevide neku karticu na hop1, spisak trenutno poznatih
kartica koje rade direkt u cccam ili pod newcs.
cards CCcam read direct..
- Sky(Germany, Nagra3, Rom 181)
- Sky(Germany, ***, V13)
- SRG (Viaccess 2.6)
- ORF (Cryptoworks, REV3)
- Sex On Tv (Viaccess version?)
- Sex On Tv (Irdeto version?)
- SexView (Viaccess version?)
- SexView (Irdeto version?)
- SexView (Conax version?)
- Dorcel / FreexTV / Xdream (Viaccess)
- Private Spice (Viaccess version?)
- Private Spice (Irdeto version?)
- MTV Unlimited (Conax version?)
- Nova (Irdeto version?)
- MCT (Viaccess version?)
- MCT (Irdeto version?)
- ArenaSat Cryptoworks (Problem sa Youghtprotection Code)
- Bulsatcom (Irdeto2 Caid 604 ACS 605)
- Canal Digitaal (Netherlands, Seca 3 v10)
- TV Vlaanderen (Netherlands, Seca 3 v10)
- KabelDeutschland (Germany, Nagra3, Rom?)
- Cyfra+ (Poland, Seca3 v10)
- Digital+ tunneled Seca (aka v10)
- BSkyB (UK, ***, cita direktno na DM 500, 7000, 7020 i 7025 i sad takodjer DM800 i 600)
- HRT (Viaccess 3.0)
- Svt Europa 9E (Viaccess)
- Digiturk (Cryptworks? )
- Digiturk (Irdeto2 v5.4 card revision acs607, novi acs608 NE RADI u nijednom cardsharing)
- Digitalb (Conax)
- TotalTV ( Serbia, *** )
- Bis TV ( viaccess France )
- Viasat 5E (Scandinavia, NDS2, CAID 90F)
Quote:
Typical F line,
F: username password 2 1 1 { 0:0:1 }
* Your friend will get all the shares from you that are up to 2 hops away from you
* He will be allowed to use your emu keys
* He is allowed to send emm's
* He will get any share available on your server and he is not allowed to give any of them to anybody
Quote:
Typical F line if your friend has a linux server,
F: username password 2 1 1 { 0:0:2 }
* Your friend will get all the shares from you that are up to 2 hops away from you
* He will be allowed to use your emu keys
* He is allowed to send emm's
* He will get any share available on your server and he is allowed to re-share them but his friend is not allowed to
share them again
Quote:
Another typical F Line
F: username password 2 1 1 { 0:0:3 }
* Your friend will get all the shares from you that are up to 2 hops away from you
* He will be allowed to use your emu keys
* He is allowed to send emm's
* He will get any share available on your server and he is allowed to re-share them, his friend is also allowed to
sahre them once again
Quote:
Advanced F line
F: username password 2 1 1 { 0:0:3, 093b:0:1 }
* Your friend will get all the shares from you that are up to 2 hops away from you
* He will be allowed to use your emu keys
* He is allowed to send emm's
* He will get any share available on your server and he is allowed to re-share them, his friend is also allowed to
share them once again
* He will get provider 093b for him self only and he is not allowed to re share it
Quote:
Advanced F line
F: username password 2 1 1 { 0:0:3, 093b:0:1 } { 0100:000080:15df }
* Your friend will get all the shares from you that are up to 2 hops away from you
* He will be allowed to use your emu keys
* He is allowed to send emm's
* He will get any share available on your server and he is allowed to re-share them, his friend is also allowed to
share them once again
* He will get provider 093b for him self only and he is not allowed to re share it
* He is also not allowed to view or share channel 0100:000080:15df
Quote: