Home

Sharing OScam info: the "HOW TO" for it all... ALL CARDS CONFIG FILES HERE, PLEASE!

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
OScam is a Card Reader/Server for our boxes, including the AZbox HD. Some latter versions include support for the internal card reader!

It is an Open Source project, for which any and all can contribute if they know how to and have the good will to...

Follow these links and contribute, if you can/please...
Código:
http://streamboard.gmc.to:8001/
Código:
http://oscam.ump2002.net/board/board.php?boardid=26
Edit /PLUGINS/OpenXCAS module.seq
Código:
#MultiCAS
oscamCAS
Make a new folder /PLUGINS/OpenXCAS/oscamCAS

Here you put your files:
oscam (bin file)
oscam.conf
oscam.server
oscam.user
oscam.services
oscam.srvid
openxcas.conf

settings in openxcas.conf
Código:
[module]
name = oscamCAS
daemon = oscam
version = 2947
settings in oscam.server
Código:
[reader]
label                         = azbox-internal
enable                        = 1
protocol                      = internal
device                        = 0
module                        = 9 (or settings for your card)
services                      = 
caid                          = 
detect                        = cd
mhz                           = 500
cardmhz                       = 357
ident                         = 
group                         = 1
emmcache                      = 1,1,3
ecmcache                      = 0
blockemm-unknown              = 1
blockemm-s                    = 1
blockemm-g                    = 1
lb_weight                     = 100
auprovid                      =
Settings in oscam.conf
Código:
[global]
logfile                       = stdout
disablelog                    = 0
disableuserfile               = 0
usrfileflag                   = 0
clienttimeout                 = 5
fallbacktimeout               = 2500
clientmaxidle                 = 120
cachedelay                    = 1
bindwait                      = 120
netprio                       = 0
clientdyndns                  = 1
resolvedelay                  = 30
unlockparental                = 1
nice                          = -1
serialreadertimeout           = 1500
maxlogsize                    = 10
waitforcards                  = 1
preferlocalcards              = 1
saveinithistory               = 1
readerrestartseconds          = 5
readerautoloadbalance         = 0
readerautoloadbalance_save    = 0
Código:
[newcamd]
port                          = 34000@0xxxx:000000
key                           = 0102030405060708091011121314
allowed                       = 127.0.0.1,192.168.0.0-192.168.255.255
keepalive                     = 1
mgclient                      = 0
Código:
[cccam]
port                          = 12000
reshare                       = 5
version                       = 2.1.3
Código:
[dvbapi]
enabled                       = 1
au                            = 1
boxtype                       = none
user                          = local
pmt_mode                      = 0
Código:
[webif]
httpport                      = 88
httpuser                      = user
httppwd                       = pass
httprefresh                   = 5
httpallowed                   = 192.168.0.1-192.168.255.255
httphideidleclients           = 0
httpreadonly                  = 0
Código:
[anticasc]
enabled                       = 0
numusers                      = 0
sampletime                    = 2
samples                       = 10
penalty                       = 0
aclogfile                     = ./oscam_ac.log
denysamples                   = 8
fakedelay                     = 1000

Settings in oscam.user

Código:
[account]
user                          = local
pwd                           = 
disabled                      = 0
expdate                       = 
group                         = 1
hostname                      = 
uniq                          = 0
sleep                         = 0
monlevel                      = 2
au                            = azbox-internal
services                      = 
caid                          = 0xxx
betatunnel                    = 
ident                         = 0xxx:000000
cccmaxhops                    = 10
cccreshare                    = 5
keepalive                     = 0
numusers                      = 0
penalty                       = 0
You can find config samples here:

Código:
http://streamboard.gmc.to/svn/oscam/trunk/Distribution/doc/txt/
Regards
Jumbotroll


In addition:

All files are created with notepad.

Here is all needed files to get oscam work with internal reader.

Remember to chmod oscam (bin file) to 755 and all config files to 644.


I would use Notepadd++!
thumbsup.gif


My edit...
cool.gif


/tmp/ecm.info

Try either of these versions with included openxcas.conf

They should create a /tmp/ecm.info as below :

/tmp/ecm.info
Código:
caid: 0x0963
pid: 0x0517
prov: 0x000000
reader: cccam1
from: 192.168.0.1
protocol: cccam
hops: 2
ecm time: 0.256
cw0: 00 00 00 00 00 00 00 00
cw1: 00 00 00 00 00 00 00 00

/PLUGINS/OpenXCAS/oscamCAS/openxcas.conf
Código:
[module]
name = oscamCAS
daemon = oscam_module
#daemon = oscam_module -255
version = 1
INFO = /tmp/ecm.info
REFRESH = 2


Now, how do we deal with various cards etc.? We need detailed config files in this thread, guys... Let's share and help each other with simple info and explanations...