Archive for September, 2011
CCcam C-line Tutorial
Source: http://linuxsat-support.com/cccam-support-tutorials/4907-cline-setting.html
Syntax : C: <hostname> <port> <username> <password> <wantemus> { caid:id:uphops, caid:id:uphops, … }
In a C line we can have :
1. Instructions where to look for a server <hostname>
2. Which port that server is using <port>
3. Username to connect to that server <username>
4. Password to connect to that server <password>
5. If you like to recieve Emulator shares from keys <wantemus> (i recommend using “no” here)
6. Limiting what to get from that particular server { caid:id:uphops, caid:id:uphops, … }
Examples
Basic C line that most users will use :
C: server.noip.com 12000 username password
C line that is more appropriate if you do not want to recieve key Emulators:
C: server.noip.com 12000 username password no
C line that is more appropriate if you want to recieve key Emulators (NOT recommended) :
C: server.noip.com 12000 username password yes
Cline that will limit to receive all shares that are only up to 2 hops away (Recommended!!):
C: server.noip.com 12000 username password no { 0:0:2 }
Cline that will get all shares but does not get a specific provider:
C: server.noip.com 12000 username password no { 0:0:2, 093b:0 }
Cline that will get all shares but does not get specific providers:
C: server.noip.com 12000 username password no { 0:0:2, 100:3, 100:4, 100:5, 100:9, 100:A, 100:c }
Optimized mg_cfg file for MGcamd
MGcamd mg_cfg
First you need to make new file “mg_cfg”. Use notepad 2 or notepad ++. Then copy/paste all these lines into this new file. Config is optimized for use with CCcam and these boxes: Dreambox, VU+ and Xtrend. Debugging and logging are disabled!
# EMM messages
# 00 don’t show any EMMs (default)
# 01 show only valid EMMs
# 02 show valid and bad EMMs with complete data display
M: { 02 }
# ECM messages
# 00 don’t show anything about ecm
# 01 normal mode, show pids processed, decoded ecm and cw
# 02 verbose mode, show valid and bad ECMs with data
C: { 02 }
# AU
# 00 disable, no emm pids processed
# 01 enable, emm pids always processed for soft-au and shared cards
# 02 auto, emm started only if channel cant be decoded
# 03 process emm pids for network cards update only
A: { 01 }
# key update (sum 01 or 02 with 04)
# 01 update only new keys, default setting
# 02 update all keys (used for valid PMK checking)
# 04 enable TPS au
# + tps SID, which pmt pid contains au pid
U: { 01 }
# config files folder (softcam, autoroll, ignore/priority)
# 00 files in /var/keys
# 01 files in /tmp
T: { 00 }
# network mode, use summ for several clients
# 00 no network (default)
# 01 newcamd netclient
# 02 radegast netclient
# 04 camd3 netclient
# 08 gbox netclient
G: { 32 }
# network retry, use summ for several options
# 00 disable
# 01 retry every new ecm
# 02 try to connect to offline shares every Q: seconds
# 04 try to detect and fast reconnect to lost (and not used atm) server
# + XX messages number and YY seconds to reconnect
# mg will reconnect to server, if no answer to last XX ecm/keepalive or
# if no answer for last ecm or keepalive sent for YY seconds
# set to 0 to disable
N: { 07 }
# network ecm timeout in seconds
K: { 02 }
# newcamd dead routes connect retry, sec
Q: { 10 }
# network shares priority
# 00 gbox, newcamd, radegast, camd3 (default)
# 01 camd3, radegast, newcamd, gbox
# 02 newcamd, camd3, gbox, radegast
P: { 01 }
# on screen display type
# 00 No OSD (default)
# 01 neutrino
# 02 enigma
# 03 relook
# + user password for http auth
O: { 00 }
# on screen display Options, summ of:
# 01 show emu ecm
# 02 show network shares messages
# 04 show decoding failed / fta
# 08 show emm keys update
# + web port to use for osd
S: { 11 } 80
# Log option, summ of:
# 00 off
# 01 network udp log
# 02 log to console
# 04 file, appended ! delete it by yourself, before it eat all your hdd
# + IP udp-port log-file-name
L: { 00 }
# keep ecm cache, seconds
# every cache entry takes 28 bytes, so 24h cache will take *only* 240-400kb of memory,
# for openbox/elanvision users with remote shares make sense to set it higher than default value,
# to not hammer cards while timeshifting or playing crypted recordings.
E: { 15 }
# cache option, summ of:
# 00 Off (default)
# 01 Ecm pids cache, store pids used to decode in /tmp/ca_cache.list at exit, load at startup, same syntax as restore.list
# 02 Ecm data cache, remember CW for (E:) time
# 04 Emm cache for network cards, do not resend the same emm twice, cache not cleared until restart
H: { 04 }
# reread files, summ of:
# 00 No (default)
# 01 reread config file on channel change (including priority and ignore, but not replace/cache)
# 02 reread SoftCam.Key on channel change
# 04 reread SoftCam.Key if file changed
R: { 00 }
# debug, summ of
# 00 off (default)
# 01 debug ecm
# 02 debug emm
# 04 debug network ecm
# 08 debug network emm
# 16 debug network login
# 32 show mem/cpu stats every 1 min
# 64 add timestamp to log messages
D: { 00 }
# box type
# 00 autodetect, change only if you think wrong type detected.
# 01 dbox2
# 02 dreambox
# 03 triple-dragon
# 04 relook
# 05 openbox
B: { 06 }
# Mapping 18xx
# 00 disable mapping
# 01 map 18xx to 1801
F: { 00 }
FOR DISCUSSION ABOUT THIS ARTICLE VISIT THIS THREAD ON FORUM:
https://www.satnigmo.com/forum/index.php?threads/optimized-mg_cfg-file.531/
Files location for all important softcams (CCcam, MGcamd)
Source: http://cs-kings.net/thread100.html
Newcamd
o Keys directory: /var/tuxbox/scce -keylist, ppua, constancw, rsakeylist, tpscrypt (/var/scce for versions < 6.01)
o Program files: /var/bin – newcamd, cardserv, cardspider, betadserv
o Config files: /var/tuxbox/config/newcamd – newcamd.conf, cardserv.cfg, betad.cfg (/var/tuxbox/config for versions < 6.02)
o AU files: /var/tuxbox/scce/ – nagrarom3.bin, nagraram3.bin, nagraepr3.bin, sttestrom3.bin, stmaprom3.bin, nagrarom7.bin, nagraram7.bin, nagraepr7.bin, nagrarom10.bin, nagraram10.bin, nagraepr10.bin, nagrarom11.bin, nagraram11.bin, nagraepr11.bin, rsakeylist (/var/scce for versions < 6.01)
UCAS/SCAM
o Keys directory: /var/keys – ‘SoftCam.Key’, seca2,nagra,via, irdeto,conax
o Program files: /var/bin – scam
o Config files: /var/keys – softcam.cfg
o AU files: /var/keys/ – seca2 /nagra_rom
Cam X
o Keys directory: /var/keys – ‘SoftCam.Key’
o Program files: /var/bin – camx server
o Config files: /var/etc – camx.config
o AU files: var/keys/ – AutoRoll.key
Evocamd
o Keys directory: /var/keys – Autoupdate.Key & Keylist.txt
o Program files: /var/bin – evocamd
o Config files: /var/keys – camd_cfg
o AU files: /var/keys – Autoupdate.Key, /var/scce/ – nagraepr3.bin, nagraepr7.bin, nagraepr10.bin, nagraepr11.bin, nagraram3.bin, nagraram7.bin, nagraram10.bin, nagraram11.bin, nagrarom3ext.bin
Radegast
o Keys directory: /var/keys – SoftCam.Key & AutoRoll.key
o Program files: /var/bin – rdgd, camd.rdgd, netpilot
o Config files: /var/etc – radegast.cfg
o AU files: Need a patched driver for older conax cards
Camd 3
o Keys directory: /var/keys – camd3.keys
o Program files: /var/bin – camd3, pcamd
o Config files: /var/keys – camd3.conf, camd3.config, camd3.servers, camd3.users, pw_start.services, camd3.conf only needed for older camd3
o AU files: /var/keys/ – seca_hash.bin, seca2_hash_0070.bin, seca2_mask_0070.bin, camd3.keys
MGcamd
o Keys directory: /var/keys – SoftCam.Key, AutoRoll.key, tps
o Program files: /var/bin – mgcamd
o Config files: /var/keys – mg_cfg
o AU files:
Xcamd
o Keys directory: /var/keys – Keys.txt, AutoRoll.key
o Program files: /var/bin – xcamd
o Config files: /var/etc – xcamd.conf
o AU files: /var/roms/ – eeprom10.bin, eeprom11.bin, eeprom3.bin, eeprom7.bin, ram_10.bin, ram_11.bin, ram_3.bin, ram_7.bin, rom10.rom, rom11.rom, rom3.rom, rom7.rom
CCcam
o Keys directory: /var/keys – SoftCam.Key, AutoRoll.key, constant.cw
o Program files: /var/bin – CCcam
o Config files: /var/etc – CCcam.cfg
o AU files: uknown
The latest Cam X:
o Keys directory: /var/keys – SoftCam.Key
o Program files: /var/bin – camx(ng) + server(ng)
o Config files: /var/etc – camx.config
o AU files: var/keys/ – AutoRoll.key
Compile OSCam on Fedora
You need to connect to your PC using telnet (putty). Select all lines below at the same time and copy paste them in putty (telnet). OS will start to install packages.
yum install cvs subversion autoconf libccid automake libtool gettext make cmake tar bzip2 gzip patch ncurses-bin gcc g++ flex bison pkg-config wget libpng2 libpng3 zlib gcc-c++ pcsc-perl pcsc-tools pcsc-lite pcsc-lite-devel pcsc-lite-doc pcsc-lite-libs ccid ctapi-cyberjack-pcsc monosim pcsc-lite-openct pkg-config wget libpng3 libpcsclite1 libpcsclite-dev libusb-dev libssl-dev libpng12-0 libpng12-dev libpng3 libpng-sixlegs-java libpnglite-dev pngquant libpngwriter0-dev libpngwriter0c2 zlib-bin zlib1g-dbg zlib1g-dev zlib1g zlibc dialog build-essential mercurial hal
Use this command if you have omnikey readers:
yum remove openct
Install this package if you have Smargo cardreader:
wget http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.8/libusb-1.0.8.tar.bz2
tar xjf libusb-1.0.8.tar.bz2
cd libusb-1.0.8
./configure; make; make install
Now we are ready for final steps!
cd .. (you need to come to the root of your sistem)
svn co http://streamboard.de.vu/svn/oscam/trunk oscam-svn # you can also add -r xxxx at the end, if you want to download specific version of oscam. Lets say 7190. Very useful, especially if newer versions of OScam are very unstable!
cd oscam
mkdir build
cd build
cmake ..
make
make install (this command will install oscam file to /usr/local/bin)
This is it! Your oscam should support pcsc (omnikey) and smargo cardreaders!
For discussion please visit this thread:
https://www.satnigmo.com/forum/index.php?threads/compiling-oscam-in-fedora.549/