Pages

Wednesday, March 24, 2010

My OSCAM Project

http://oscam.ump2002.net/board/hmportal.php

http://www.ump2002.net/index.php?direction=0&order=mod&directory=OSCam&


OSCAM Startup script
1. upload oscam binary in /usr/bin (chmod 0755)

2. create empty file /etc/plimgr/cardservers/oscam
# touch /etc/plimgr/cardservers/oscam

3. create script /etc/plimgr/scripts/oscam to start oscam (chmod 0755)


#!/bin/sh

case "$1" in
start)
echo "Starting oscam"
/usr/bin/oscam -b -c /etc/tuxbox/config
;;
stop)
echo "Stopping oscam"
killall oscam 2>/dev/null
;;
*)
$0 stop
exit 1
;;
esac

exit 0

#######################################

Working procedure in OSCAM


!. Generate Box key on your Red card
http://www.filsat.com/forum/viewtopic.php?t=8960

remove 38383 and yung last digit, resultant 10-digit = 8digit BK
then use any Decimal to Hex converter.
http://www.permadi.com/tutorial/numConvJs/index.html

or Calc in windows…


2. Download and extract

Build 2046 latest version
http://www.ump2002.net/index.php?direction=0&order=mod&directory=OSCam&



3. rename

oscam-svn2046-powerpc-tuxbox-without_smartreader to oscam (497 kb)


4. put oscam to /var/bin/ directory


5. change oscam attribute to 755

5.5 Create Oscam.log to /var/log and change attrib to 755


6. Create 5 files (oscam.conf, oscam.server , oscam.user , oscam.services , oscam.srvid)

Sample:
#############################
oscam.conf

[global]
Nice = -19
WaitForCards = 0

logfile = /var/log/oscam.log

[newcamd]
Key = 0102030405060708091011121314
Port = 11001@09b4:000000
allowed = 127.0.0.1,192.168.0.0-192.168.255.255
##################################
oscam.server

[reader]
Label = Cignal TV
Protocol = internal
Detect = CD
Device = /dev/sci0
mhz = 500
EMMCache = 1,1,2
BoxID = BABAEE <----------------( from step 1 )
Group = 1
Fallback = 0
CAID = 09b4
#####################################
oscam.user

[account]
user = user1
pwd = password1
monlevel = 0
uniq = 1
group = 1
au = Cignal TV
CAID = 09b4
#############################
oscam.services

[myservice]
CAID=09b4
provid=000000
srvid=0001,0002,0000,0003

###############################

oscam.srvid

8138: TV5
485B: CH1
03F1:Ch2
1885: Ch3
7644:Ch4
3EAE: Ch5
7A9F: Ch6
4870: Ch7
A4E5: Ch8
DDD8: Ch9

7. Put 5 files (oscam.conf, oscam.server , oscam.user , oscam.services , oscam.srvid)
into /var/tuxbox/config/ directory

8. Change attribute of 5 files (oscam.conf, oscam.server , oscam.user , oscam.services , oscam.srvid)
to 755

9. add line in CCcam.cfg
N: 127.0.0.1 11001 user1 password1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 1 4

10. stop all Emu in Software softcam in Dm500 using Remote Controll
11. Killall CCcam
12. Killall Oscam
13. cd /var/bin
14. ./oscam -b
15. start CCcam Emu in Software softcam in Dm500 using Remote Controll or ./CCcam -dv
send me the oscam.log in /var/log/
share and send me the correction....


############################################

My Actual Files
Oscam.conf

[global]
Nice = -1
WaitForCards = 1
showecmdw = 1
[monitor]
port = 988
aulow = 120
monlevel = 0

[newcamd]
Key = 0102030405060708091011121314
Port = 11001@09b4:000000
allowed = 127.0.0.1,192.168.0.0-192.168.255.255

oscam.server
# reader configuration#
[reader]
label = RED511
protocol = internal
detect = CD
device = /dev/sci0
mhz = 500
fallback = 0 group = 1
emmcache = 1,1,2
caid = 09b4
boxID = B1143B9B
blockemm-u = 0
blockemm-s = 1
blockemm-g = 1
blockemm-unknown = 1
mhz = 357
cardmhz = 357
ident =
group = 1
emmcache = 1,3,2
ecmcache = 1
lb_weight = 100

###########################
Oscam.user
[account]
user = user1
pwd = password1
monlevel = 0
uniq = 1
group = 1
au = RED511
CAID = 09b4
#####################
CCcam.cfg
N: 127.0.0.1 11001 user1 password1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

SERVER LISTEN PORT : 109800
WEBINFO LISTEN PORT : 76001
WEBINFO USERNAME : root
WEBINFO PASSWORD : .......
ZAP OSD TIME : 3
DEBUG : no
DISABLE EMM : no
EXTRA EMM LEVEL : yes
B: /dev/sci0 07
#SERIAL READER : /dev/sci/0
#SMARTCARD CLOCK FREQUENCY: /dev/sci/0 3750000
SECA HANDLER: 2
SOFTKEY FILE : /var/keys/SoftCam.Key
AUTOROLL FILE : /var/keys/AutoRoll.Key
STATIC CW FILE : /var/keys/constantcw
CAID PRIO FILE : /var/CCcam.prio
PROVIDERINFO FILE : /var/CCcam.providers
CHANNELINFO FILE : /var/CCcam.channelinfo



##########################################################


EXAMPLE from other Forum :


my conf files:
---------------------------------------------------------------------------

-----------------------------
oscam.conf
---------------------------------------------------------------------------

-----------------------------
[global]
pidfile = /tmp/oscam.pid
usrfile = /tmp/oscamuser.log
logfile = stdout
cwlogdir = /tmp/oscam/cw
disablelog = 0
disableuserfile = 0
usrfileflag = 0
clienttimeout = 120
fallbacktimeout = 120
clientmaxidle = 1
bindwait = 10
netprio = 0
clientdyndns = 0
resolvedelay = 30
unlockparental = 0
nice = 0
serialreadertimeout = 120
maxlogsize = 100
waitforcards = 0
preferlocalcards = 0
saveinithistory = 0
readerrestartseconds = 5
readerautoloadbalance = 0
readerautoloadbalance_save = 0

[newcamd]
port = 20001@0604:000000;20002@0604:000000;20003@0604:000000
key = 0102030405060708091011121314
allowed =
keepalive = 1
mgclient = 0

[webif]
httpport = 8081
httpuser = user
httppwd = pass
httprefresh = 25
httpallowed = 10.8.62.0-10.8.62.50
httphideidleclients = 0
httpreadonly = 0

[anticasc]
enabled = 1
numusers = 0
sampletime = 2
samples = 10
penalty = 0
aclogfile = ./oscam_ac.log
denysamples = 8
fakedelay = 1000
---------------------------------------------------------------------------

----------------------------
oscam.server
---------------------------------------------------------------------------

----------------------------
[reader]
label = petrann
enable = 1
protocol = newcamd
device =oscamtest.com,15010
key = 0102030405060708091011121314
account =user,pass
services = petran
caid = 0604&FFFF
ident = 0604:000000
chid = 0604:000014
detect = NONE
group = 1
ecmcache = 1
blockemm-unknown = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
lb_weight = 100
audisabled = 1
reconnecttimeout = 1

[reader]
label = dimitris-cry
enable = 1
protocol = newcamd
device = oscamtest,15011
key = 0102030405060708091011121314
account = user,passs
services = dimcry
caid = 0604&FFFF
ident = 0604:000000
chid = 0604:000066,000069,0000AD
detect = NONE
group = 2
ecmcache = 1
blockemm-unknown = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
lb_weight = 100
audisabled = 1
reconnecttimeout = 1

---------------------------------------------------------------------------

----------------------------
oscam.services
---------------------------------------------------------------------------

----------------------------
[petran]
caid = 0604
provid = 000000
srvid = 1D54,015F,1D52,1BBF

[dimcry]
caid = 0604
provid = 000000
srvid = 1BD1,1BD0
---------------------------------------------------------------------------

----------------------------
oscam.users
---------------------------------------------------------------------------

----------------------------
[account]
user = oscam test user
pwd = test1
disabled = 0
expdate =
group = 1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,18,31
hostname =
uniq = 0
sleep = 0
monlevel = 2
#services = petran,dimcry
caid = 0604&FFFF
betatunnel =
ident = 0604:000000
cccmaxhops = 3
cccreshare = 2
keepalive = 1
numusers = 0
penalty = 0
---------------------------------------------------------------------------

----------------------------
and the disconect
---------------------------------------------------------------------------

----------------------------
2010/07/11 15:05:06 9954 s client(15) connect from 1.1.1.1 (pid=12439, pipfd=46)
2010/07/11 15:05:06 12439 c15 encrypted newcamd:20001-client 1.1.1.1 granted (lazos, au=0)
2010/07/11 15:05:06 12439 c15 user lazos authenticated successfully (CCcam)
2010/07/11 15:05:06 12439 c15 AU disabled for user lazos

all my clients stat this on the log if any peer is down :-/
---------------------------------------------------------------------------

-----------------------------

i have 10 n lines of friend this is a example of only 2 n lines , sorry for my bad English and thanks a lot to the developer to build this nice emu :-)
thanks a lot to all

big thanks to the oscam teem the problem solved with the last reversion

#########add this command on the reader session:##############

cccdisableretryecm = 0
cccdisableautoblock = 0
cccforceresendecm = 0
cccwantemu = 1

http://streamboard.gmc.to/wiki/OSCam/en/Config/oscam.server

OSCam/en/Config/oscam.server
OSCam Übersicht OSCam Home OSCam Accueil OSCam Home
Inhaltsverzeichnis [Verbergen]
1 oscam.server
1.1 [reader]
1.1.1 device
1.1.2 device_out_endpoint
1.1.3 enable
1.1.4 key
1.1.5 user
1.1.6 password
1.1.7 mg-encrypted
1.1.8 services
1.1.9 inactivitytimeout
1.1.10 reconnecttimeout
1.1.11 disableserverfilter
1.1.12 smargopatch
1.1.13 sc8in1_dtrrts_patch
1.1.14 label
1.1.15 description
1.1.16 fallback
1.1.17 cacheex
1.1.17.1 cacheex-modes
1.1.17.2 cacheex = 1 - cachepull
1.1.17.3 cacheex = 2 - cachepush
1.1.17.4 cacheex = 3 - reversecachepush
1.1.18 logport
1.1.19 caid
1.1.20 audisabled
1.1.21 auprovid
1.1.22 ecmwhitelist
1.1.23 detect
1.1.24 cardmhz
1.1.25 mhz
1.1.26 deprecated
1.1.27 cool_timeout_init
1.1.28 resetcycle
1.1.29 mode
1.1.30 cool_timeout_after_init
1.1.31 protocol
1.1.32 ident
1.1.33 class
1.1.34 group
1.1.35 emmcache
1.1.36 ratelimitecm
1.1.37 ratelimitseconds
1.1.38 cooldown
1.1.39 blocknano
1.1.40 blockemm-u
1.1.41 blockemm-s
1.1.42 blockemm-g
1.1.43 blockemm-unknown
1.1.44 blockemm-bylen
1.1.45 saveemm-u
1.1.46 saveemm-s
1.1.47 saveemm-g
1.1.48 saveemm-unknown
1.1.49 savenano
1.1.50 dropbadcws
1.1.51 readnano
1.1.52 disablecrccws
1.1.53 lb_weight
1.1.54 cccversion
1.1.55 cccmaxhops
1.1.56 ccchop
1.1.57 cccreshare
1.1.58 cccwantemu
1.1.59 ccckeepalive
1.1.60 cccreconnect
1.1.61 cccmindown
1.1.62 pincode
1.1.63 chid
1.1.64 ins7e
1.1.65 ins7e11
1.1.66 force_irdeto
1.1.67 nagra_read
1.1.68 rsakey
1.1.69 fix9993
1.1.70 boxkey
1.1.71 aeskeys
1.1.72 showcls
1.1.73 boxid
1.1.74 ndsversion
oscam.server

The server configuration file for OSCam contains reader parameters. Sections in oscam.server are recurring (more than one reader possible). At least one [reader] section is required. Examples for reader configuation you will find here [[1]]
[reader]
device =
device_out_endpoint =
enable =
key =
user =
password =
mg-encrypted =
services =
inactivitytimeout =
reconnecttimeout =
disableserverfilter =
smargopatch = NEU - NEW - NOUVEAU - NUOVO svn6402:02/16/2012
sc8in1_dtrrts_patch = NEU - NEW - NOUVEAU - NUOVO svn6402:02/16/2012
label =
description =
fallback =
cacheex = NEU - NEW - NOUVEAU - NUOVO svn6039:11/26/2011
logport =
caid =
audisabled =
auprovid =
ecmwhitelist =
detect =
cardmhz =
mhz =
deprecated =
cool_timeout_init = NEU - NEW - NOUVEAU - NUOVO svn6286:01/23/2012
resetcycle = NEU - NEW - NOUVEAU - NUOVO svn5821:08/12/2011
mode =
cool_timeout_after_init= NEU - NEW - NOUVEAU - NUOVO svn6253:01/17/2011
protocol =
ident =
class =
group =
emmcache =
ratelimitecm =
ratelimitseconds =
cooldown = NEU - NEW - NOUVEAU - NUOVO svn5946:09/09/2011
blocknano =
blockemm-u =
blockemm-s =
blockemm-g =
blockemm-unknown =
blockemm-bylen =
saveemm-u = NEU - NEW - NOUVEAU - NUOVO svn5947:09/09/2011
saveemm-s = NEU - NEW - NOUVEAU - NUOVO svn5947:09/09/2011
saveemm-g = NEU - NEW - NOUVEAU - NUOVO svn5947:09/09/2011
saveemm-unknown = NEU - NEW - NOUVEAU - NUOVO svn5947:09/09/2011
savenano = VERALTET - OBSOLETE - OBSOLÈTE - ANTIQUATO svn5947:09/09/2011
dropbadcws = ÄNDERUNG - CHANGE - MODIFICATIONS - MODIFICA svn5992:10/22/2011
readnano =
disablecrccws = NEU - NEW - NOUVEAU - NUOVO svn6004:10/26/2011
lb_weight =
cccversion =
cccmaxhops =
ccchop =
cccreshare =
cccwantemu =
ccckeepalive =
cccreconnect = NEU - NEW - NOUVEAU - NUOVO svn6370:02/10/2012
cccmindown =
pincode =
chid =
ins7e = NEU - NEW - NOUVEAU - NUOVO svn5959:09/22/2011
ins7e11 = NEU - NEW - NOUVEAU - NUOVO svn6064:12/06/2011
force_irdeto =
nagra_read =
rsakey =
fix9993 =
boxkey =
aeskeys =
showcls =
boxid =
ndsversion =
[reader]
Define local or remote reader
device
parameter is required
|Serial:Reader serial|,[,]|pcsc|<0|1>|constantcw
device: device name (eg myreader)

bus:device: bus name and device name of the Smartreader+
(get the names with lsusb 'Bus' and 'Device')

device:slot: device name and slot number sc8in1 or MCR [1-8]

serial: serial number of Smartreader+
(get the serial number while starting OSCam)

lport: remapping to local port

PCSC: number of PCSC reader, starting with 0

0|1: for Coolstream HD-1 STB only: select reader 0 or reader 1

constantcw: constant CW file name
constant CW file format:
CA (4 digits):
ID (6 digits):
SID (4 digits):
PMT PID (4 digits):
ECM PID (4 digits)::
key (16 Bytes separated by spaces)
eg: 1234:123456:1234:1234:1234::00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

Examples
device = /dev/ttyS0 # (Reader on COM1 (Linux i386 and Windows))
device = /dev/tts/1 # (Reader on COM2 (Linux dbox2 with multicam))
device = /dev/ttyUSB0 # (Reader on USB (Linux i386))
device = /dev/ttyUSB0:1 # Slot 1 SC8in1 or MCR 4/8 (Linux i386)
Attention: Counting begins with 0, that means number of device is one less than number of COM-Port! Eg ttyS0 = COM1, tts/1 = COM2.
device_out_endpoint
parameter depends on setup/programversion
set endpoint address for FTDI chips
0x81: Infinity USB Smart
0x82: Smartreader+ (default)
enable
parameter is optional
deactivate reader
0 = off
1 = On (default)
key
parameter depends on setup/programversion
key for newcamd remote reader encryption
key = DES key
user
parameter is optional
user for remote reader (name)
password
parameter is optional
password for remote reader
mg-encrypted
parameter is optional
mgcamd encrypted gbox line
format:
{ { { { } address> }
default:
MAC address=eth0
services
Parameter ist optional
Attention: If loadbalancing is enabled in oscam.conf [global] among lb_mode, then there may be no entries!
Attention: The number of services that will be considered based reader, is limited to 64, or 64 times [[service-name][CAID][provid][srvid]]!
What services can the reader. This requires a oscam.services be present. The logic here is as follows (in this order):
If the field is empty (or invalid), the request is allowed.
When a negative service (ie, those with "!") is applicable, the request is rejected.
If a positive service is applicable or there is no positive service, the request is allowed.
If none of the previous points, the request is rejected.
This means that negative Services are only necessary in individual cases. Namely, if and when services has positive, but it wants to exclude some back. This is not recommended, because here comes quickly to misconfigurations. Instead, an additional service to be created that contains all the relevant channels.
[de]assignment to service group
services = [!]services[,[!]]...
= [blank] is default
inactivitytimeout
parameter depends on setup/programversion
inactivity timeout in seconds
inactivitytimeout = 2 # timeout in 2 seconds
= # [blank] default
reconnecttimeout
parameter is optional
TCP reconnect, if missing answers in seconds
Example
reconnecttimeout = 20 # after 20 seconds new connection
= # [blank] default
disableserverfilter
parameter is optional
ignore caid and ident settings of reader due faulty clients
disableserverfilter = 1 # ignore
= 0 # not ignore (default)
smargopatch
parameter is optional
NEW svn6402:02/16/2012
smargopatch = 0|1
enable workaround for smartreader+ and reader until native mode works, default = 0

sc8in1_dtrrts_patch
parameter is optional
NEW svn6402:02/16/2012
sc8in1_dtrrts_patch = 0|1
enable fix for SC8in1/MCR DTR/RTS kernel bug, default = 0

label
parameter is required
name for reader
Example:
label = easymouse2
description
parameter is optional
description = text
description of reader, default: [blank] none
fallback
parameter is optional
Define reader as fallback, standard and fallback reader must have the same group, see group!
fallback = 1 # fallbackreader
= 0 # no fallbackreader (default)
cacheex
parameter is optional
NEW svn6044:11/27/2011
cacheex = 0|1|2|3
1 = enable cache exchange pull mode
2 = enable cache exchange push mode
3 = enable cache exchange reversepush mode
0 = default
for camd 3.5x and CCcam protocol
see also on oscam.user!
Identical cache exchange modes must be set on local OSCam server and remote OSCam user account!
cacheex-modes
cacheex = 1 - cachepull
Situation:
OSCam A reader1 has cacheex = 1
OSCam B account1 has cacheex = 1
OSCam A gets a ECM request, reader1 send this request to OSCam B,
OSCam B checks his cache:
Not found in cache: return NOK
Found in cache: return OK+CW
Not found in cache, but found pending request: wait cacheexwaittime in oscam.conf [global] and check again. OSCam B never requests new EMMs.
CW-flow = B ---> A
cacheex = 2 - cachepush
Situation:
OSCam A reader1 has cacheex = 2
OSCam B account1 hastcacheex = 2
If OSCam B gets a CW, its pushed to OSCam A, reader has normal functionality and can request ECMs.
Problem: OSCAM can only push CW's if OSCam A is connected
Problem or feature?: OSCam A reader can request ECMs from OSCam B
CW-flow = B ---> A
cacheex = 3 - reversecachepush
Situation:
OSCam A reader 1 has cacheex = 3
If OSCam A gets a CW, its pushed to OSCam B. OSCam A never requests new ECMs.
CW-flow = A ---> B
logport
parameter is optional
Camd 3.x reader logport, camd 3.x UDP must be activated, only works if there's no camd 3.x cascading
logport = # port number
= 0 # disabled (default)
caid
parameter is optional
caid = [&][:][,[&][:target ]]...
define and mapping of CAIDs for reader, default:all CAIDs with mask FFFF
example:
caid = 0100
caid = 0200&ffee:0300
caid = 0400&ff00:0500,0600
caid = 0702,0722
caid = 0702&ffdf (shortcut for the example above)
audisabled
parameter is optional
exclude reader from auto AU (auto update)
audisabled = 1 # excludet
= 0 # not excludet (default)
auprovid
parameter is optional
set provider ID to use the right reader for auto AU
Example
auprovid = # 123456
= # [blank] default
ecmwhitelist
parameter is optional
ecmwhitelist = [CAID[@ident]:]lenght[,lengtht]...[;[CAID[@ident]:]lenght[,lengtht]...]...
define valid ECM length in hex and ident for physical reader
example
ecmwhitelist = 10,20,30,0a,0b,0c
= 0100:10,20;0200@12345:0a,4b
[blank] = none (default) and ident 000000
In normal operation mode this parameter ist not required!
List of ECM lengths
detect
parameter depends on setup/programversion
status detect of card is in
Detect = CD (Carrier Detect) - default -
Detect = DSR (Data Set Ready)
Detect = CTS (Clear To Send)
Detect = RING (Ring Indicator)
Detect = NONE (detect switched off, but signal "card is in"
Detect = gpio1 ... gpio7 (neu für mipsel-uclibc)
Inverse = prefix "!"(eg "detect=!CTS")
cardmhz
parameter depends on setup/programversion
set standard SC frequency in units of 10 kHz, for Irdeto SC set to 600, refer to OVERCLOCKING Example:
cardmhz = 600 # Irdeto card
= # [blank] 357 (default)
mhz
parameter is optional
set reader frequency in units of 10 kHz, if mhz > cardmhz you are in overclocking mode, refer to OVERCLOCKING
Example:
# Default 357
cardmhz = 600 # ( 6000 KHz = 6 MHz)
mhz = 1000 # (10000 KHz = 10 MHz)
deprecated
parameter is optional
First the SC will be initialized in normal mode. If it fails, the SC will be automatically reverted to deprecated mode, so that the SC speed will not be changed and the communication will remain on normal ATR speed of 9600 baud.
deprecated = 1 use deprecated SC mode only
= 0 default
cool_timeout_init
parameter is optional
NEW svn6286:01/23/2012
cool_timeout_init = timeout
set card init mode for AZBox internal reader

resetcycle
parameter is optional
NEW svn5821:08/12/2011
resetcycle = count
number of ECMs until SC reset ist performerd
Hint: Valid for physical readers only!
example:
resetcycle = 0 # disabled [default]
= 5 # reset after 5 ECM's
mode
parameter depends on setup/programversion
set card init mode for AzBox reader
mode = 1 # AzBox-Reader
= 0 # none (default)
cool_timeout_after_init
parameter is optional
NEW svn6253:01/17/2012
Attention: only for Coolstream!
cool_timeout_after_init = timeout
set read/transmit timeout after SC init in milli-seconds for Coolstream internal reader only, default:150
protocol
parameter is required
reader protocol
protocol = mouse (local cardreader)
= internal (all cardreader with "device=/dev/sciX")
= camd35|cs357x (cascading - camd 3.5-compatible remote server)
= mp35
= smartreader
= serial
= cs378x
= gbox
= newcamd|newcamd525
= newcamd524
= cccam
= radegast
= pcsc
= constcw
= sc8in1
ident
parameter is optional
Attention: If in oscam.conf [global] loadbalancing is enabled among lb_mode, then there may be no entries!

define CAID and ident SC specific for reader:
ident 0 :[,ident]...[;:[,ident]...]...
Example
ident = # 0100:123456,234567;0200:345678,456789
= # [blank] no definition (default)
class
parameter is optional
define class in hex SC specific for reader:
class = 01,02,!1b,!2b # 01 and 01 yes, 1b and 2b no
= # [blank] no definition (default)
group
parameter is required
CHANGE svn6103:12/21/2011
Reader assingment to group. Each reader must be listed in one or more groups. This will determine, which client has access on what reader. Valid values 1-64
group = 1....64[,1....64]....

set required = [blank] default not allowed!
Example:
Group = 1 # (one group)
Group = 1,4,5 # (more groups)
emmcache
parameter is optional
set EMM cache of local reader
Attention:
Without this parameter, no EMM are shown in the log!

Format:
emmcache = ,,
* 0 = # disabled EMM caching (default)
* 1 = # enabled EMM caching
* n = # determines how often one and the same EMM is written. only if = 1
* 0 = # EMM logging disabled
* 1 = # logging EMM errors
* 2 = # logging written EMMs
* 4 = # logging skipped EMMs
* 8 = # logging blocked EMMs
* 16 = # logging audisabled EMMs
Sumarizing this values is possible. 31 shows all kinds of messages
Example
emmcache = 1,3,10 # Cache on, write 3 x, log written (2) and blocked (8) = 10
emmcache = 1,2,6 # Cache on, write 2 x, log written (2) and skipped (4) = 6
ratelimitecm
parameter is optional
number of different SIDs in ECMs allowed for an interval
ratelimitecm = # number
= 0 # (default)
ratelimitseconds
parameter is optional
interval for rate limit in seconds
ratelimitseconds = # seconds
= 0 # (default)
cooldown
parameter is optional
NEW svn5946:09/09/2011
cooldown = delay, duration
= [blank] none (default)
activate ratelimitecm and ratelimitseconds parameters after specified delay for specified duration in seconds. ratelimitecm and ratelimitseconds are required!
blocknano
parameter is optional
list of EMM-nanos to block (in hex w/o 0x) or all EMM-nanos, only valid for physical readers!
Example:
blocknano = 45,93,7a,ff
= all
= # [blank] (default)
blockemm-u
parameter is optional
block unique EMMs
blockemm-u = 0 # (no block) default
blockemm-u = 1 # (block EMMs, which are addressed to card immediatly) )
blockemm-s
parameter is optional
block shared EMMs
blockemm-s = 0 # (no block) default
blockemm-s = 1 # (block EMMs, which are addressed to certain groups of cards)
blockemm-g
parameter is optional
block global EMMs
blockemm-g = 0 # (no block) default
blockemm-g = 1 # (block EMMs, which are addressed to all cards)
blockemm-unknown
parameter is optional
block unknown types of EMMs
blockemm-unknown = 0 # (no block) default
blockemm-unknown = 1 # (block all unknown kinds of EMMs)
blockemm-bylen
parameter is optional
blockemm-bylen = [length,length]... (decimal)
block all types of EMMs by length, maximum 10 values, default: none
saveemm-u
parameter is optional
NEW svn5947:09/09/2011
saveemm-u = file name
= 0 (default)
save unique EMMs to file
saveemm-s
parameter is optional
NEW svn5947:09/09/2011
saveemm-s = file name
= 0 (default)
save shared EMMs to file
saveemm-g
parameter is optional
NEW svn5947:09/09/2011
saveemm-g = file name
= 0 (default)
save global EMMs to file
saveemm-unknown
parameter is optional
NEW svn5947:09/09/2011
saveemm-unknown = file name
= 0 (default)
save unkown EMMs to file
savenano
parameter is optional
OBSOLETE svn5947:09/09/2011
list of EMM-nanos to save to emmlogdir (in hex w/o 0x) or all EMM-nanos, only valid for physical readers
Format
nano[,nano]....|all
Beispiel
savenano = 45,93,7a,ff
= all
= # [blank] default
dropbadcws
parameter is optional
CHANGE svn5992:10/22/2011
dropbadcws = 0|1
dropbadcws = 1 # reject bad CWs, send "not found" instaed of bad CWs
= 0 # default
readnano
parameter is optional
Write file (usually a copy of a file saved by savenano) to your smartcard, if no path is specified, the specified file is searched for in the configuration directory, only valid for physical readers!
Example:
readnano = write.emm
= /var/oscam/write.emm
= # [blank] (default)
disablecrccws
parameter is optional
NEW svn6004:10/26/2011
disablecrccrws = 1 # disable cw checksum test
= 0 # enable (default)
lb_weight
parameter is optional
The higher the value the higher the probability for reader selection. It's an divider for the average responstime.
lb_weight = weight
= # [blank] Default-Wert 100
See here
cccversion
parameter depends on setup/programversion
Only for CCcam
define CCcam version
,,
Example
cccversion = 1.2.34
cccmaxhops
parameter depends on setup/programversion
define CCcam maximum SC distance hops
0 = local SCs only
1 = local SCs and + 1 hop
2 = local SCs and + 2 hops
and so on
default = 10
ccchop
parameter depends on setup/programversion
ccchop = hop
Set hop for non CCCam readers
default = 0

cccreshare
parameter depends on setup/programversion
Define reader's CCcam reshare hop
cccreshare = -1 # use reshare level defined in oscam.conf - default
cccreshare = x # resharing for direct peer and share level x
reshare could be defined on 2 ways:
reader ("cccreshare")
user-account ("cccreshare")
A cards reshare value is set to the smallest value of the 2 parameters !
cccwantemu
parameter depends on setup/programversion
Request to provide emu from CCCam server, too.
cccwantemu = 1 # yes
= 0 # no (default)
ccckeepalive
parameter depends on setup/programversion
Send keepalive messages to keep connection to remote CCCam server up
ccckeepalive = 1 # yes
= 0 # no (default)
cccreconnect
parameter is optional
NEW svn6370:02/10/2012
cccreconnect = timeout (milli-seconds)
reconnect again after ECM request timeout in milli-secons, default = 4000 milliseconds
cccmindown
parameter depends on setup/programversion
cccmindown = # number
= 0 # default
Filters all readers with hops smaller than number
pincode
parameter is optional
pincode for Conax and Cryptoworks SCs
pincode = pincode
= # [blank] default
chid
parameter is optional
define Irdeto ChID for reader
Example:
chid = 0100:12
chid = 0100:12;0604:0000BA,000101,00010E,000141
= # [blank] default
ins7e
parameter is optional
NEW svn5959:09/22/2011
ins7e = payload
= [none] default
Add 26 hex-bytes payload for NDS Videoguard 2 SCs
Attention: valid for physical readers only
ins7e11
parameter is optional
NEW svn6064:12/06/2011
ins7e11 = TA1 Byte
= [none] default
Add TA1 Byte for NDS Videoguard 2 SCs
Attention: valid for physical readers only
force_irdeto
parameter is optional
force Irdeto SC mode even if RSA key is set for Irdeto tunneled Nagravion SC
force_irdeto = 1 # yes
= 0 # no (default)
nagra_read
parameter is optional
read Nagravison records (on NCMED cards only):
nagra_read = 0 # disabled (default)
= 1 # read all records with expired rights
= 2 # read records with valid rights only
rsakey
parameter is optional
RSA key for Nagravision/Tiger SCs / CAM key data for Irdeto SCs

fix9993
parameter is optional
fix9993 = 0|1
enabled fix for 9993 error with CAID 0919 SCs.
fix9993 = 1 # enabled
= 0 # disabled (default)

boxkey
parameter is optional
box key for Nagravision SCs / CAM key for Irdeto SCs

aeskeys
parameter is optional
multiple 16 bytes AES keys for Viaccess SCs (the used postprocessing AES key is specified through the D2 nano of the ECM)
CAID #ident:AES key #0 CAID #0[,AES key #1 CAID #0],...[;CAID #1@ident::AES key #0 CAID #1[,AES key #1 CAID #1],...]...
special AES keys:
00 = do not return any CW, no AES key specified
FF = return CW received from the S, no AES key specified
Example:
aeskeys = 0100@012345:000102030405060708090a0b0c0d0e0f;0200@543210:0,0,0f0e0d0c0b0a090807060504030201
showcls
parameter is optional
number of classes subscriptions to show for Viacces-SCs
schowcls = quantity
= 0 # (default)
boxid
parameter is optional
NDS receiver box id
boxid = NDS box ID
ndsversion
parameter is optional
set NDS Videoguard version
0 = # autodetection (default)
1 = # NDS Videoguard 1
12 = # NDS Videoguard 1+
2 = # NDS Videoguard 2

Diese Seite in anderen Sprachen - This page in other languages - Cette page dans d'autres langues - Queste pagine in altre Lingue
Deutsch English Français Italiano
Kategorie: OSCam
Seite Diskussion Quelltext anzeigen Versionen/Autoren
Anmelden / Benutzerkonto erstellen
Navigation
Hauptseite
Letzte Änderungen
Kategorie HowTos
Kategorie Tools
Kategorie Cardserver
Zufällige Seite
Suche

Werkzeuge
Links auf diese Seite
Änderungen an verlinkten Seiten
Spezialseiten
Druckversion
Permanenter Link

Diese Seite wurde zuletzt am 17. Februar 2012 um 00:08 Uhr geändert. Diese Seite wurde bisher 142.926-mal abgerufen. Der Inhalt ist verfügbar unter der Lizenz Namensnennung-Keine kommerzielle Nutzung 2.5 . Datenschutz Über Streamboard Wiki Impressum

Tuesday, March 23, 2010

Clone PowerSupply PPoE of Canopy PROJECT

I was successfully cloned the PowerSupply PPoE of Canopy and it really works.

I have 3 different RJ-45 Modular Box as shown:


I chose the cheaper one for this project



after tracing the cable connection of the original PPOE.

These are the final results.






I would like to thank the Following Persons who helps made this small project be a successful;

Torviks for his Original PowerSupply PPoE of Canopy
Brian Lariosa for Technical documentation
Arcel for his Canopy
Pareng IAN for IP and Proxy
Boyet05 for his dedication and support.

Saturday, March 13, 2010

My Solar Panel and Preparation on Manny Pacquiao Fight

Ready na rin po setup ko sa TVone and CTN





http://www.sophilcor.com/index_files/SOLARSTARsolarpanel.htm





Tuesday, March 9, 2010

Setting NTP on my Ubuntu server

date -s '03/02/2010 11:25:25'
clock -w
echo "clock -s" /sbin/hwclock
date
chmod +x /sbin/hwclock
nano /etc/ntp.conf

dpkg-reconfigure tzdata

crontab -e

50 23 * * * /usr/sbin/ntpdate ntp.irri.org
1 0 * * * /sbin/shutdown -r 0
5 0 * * * sh /var/fw.sh
1 11 * * * /sbin/shutdown -r 0
3 11 * * * sh /var/fw.sh
1 06 * * * /sbin/shutdown -r 0
3 06 * * * sh /var/fw.sh

DM90-S Voltage Check !

Voltage Check on CN2











Monday, March 8, 2010

Mini TV B/W with AM/FM

Cost effective.. nakita ko lang sa tapat ng office namin sa may South Supermarket





Tuesday, March 2, 2010

Hex to Decimal and Decimal to Hex Conversion

http://www.statman.info/conversions/hexadecimal.html