†
††LUCIFER††
-------->OSCAM<--------
- La podemos utilizar como lector de nuestra tarjeta de abonado.
- La podemos utilizar como cliente de los protocolos mas utilizados CCcam y Newcamd.
==============================================
ARCHIVOS
==============================================
Los archivos van en la carpetas:
var/oscam--->archivos de la emu
var/etc--->archivo script para que salga en el softcam panel, el archivo se llama oscam.emu
Los archivos que necesitaremos editar los encontraremos en:
/var/oscam/conf/
==============================================
CONFIGURACION COMO CLIENTE CCCAM
==============================================
Para ello debemos editar dos archivos:
oscar.conf
Donde deberemos tener sin las comillas esta parte del archivo:
Código:
[cccam]
port = 12000
version = 2.0.14
build = 1234
reshare = 2
Donde:
Port-->El puerto que estemos utilizando
version--> Version de CCcam del servidor
build-->version de CCcam
reshare-->reenvio
oscar.server
Deberemos tener sin las comillas:
Código:
[B]
[reader]
enable = 1
label = remote_ccc
protocol = cccam
device = xxxxxxx,12000
cccversion = 2.0.14
cccbuild = 6789
cccmaxhop = 5
account = moco,moco
group = 1
Donde:
Device---> ip o cuenta del servidor y luego numero de puerto
account--> user y pass asignado
Una vez editado esos archivos pues arrancamos la emu y como vemos en el log tendriamos visionado, enmarco en rojo como se realiza la conexion.
Código:
-------------------------------------------------------------------------------
>> OSCam << cardserver started at Wed Oct 27 18:34:41 2010
-------------------------------------------------------------------------------
2010/10/27 18:34:41 298335A8 s version=1.00-unstable_svn, build #3714, system=sh4-qboxhd-linux, nice=-1
2010/10/27 18:34:41 298335A8 s client max. idle=120 sec, debug level=0
2010/10/27 18:34:41 298335A8 s max. logsize=1000 Kb
2010/10/27 18:34:41 298335A8 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
2010/10/27 18:34:41 298335A8 s auth size=4788
2010/10/27 18:34:41 298335A8 s services reloaded: 0 services freed, 2 services loaded
2010/10/27 18:34:41 298335A8 s userdb reloaded: 0 accounts freed, 1 accounts loaded, 0 expired, 0 disabled
2010/10/27 18:34:41 298335A8 s signal handling initialized (type=sysv)
2010/10/27 18:34:41 298335A8 s 459 service-id's loaded
2010/10/27 18:34:41 298335A8 s can't open file "/var/oscam/conf/oscam.tiers" (err=2), no tier-id's loaded
2010/10/27 18:34:41 298335A8 s 702 provid's loaded
2010/10/27 18:34:41 298335A8 s 1 lengths for caid guessing loaded
2010/10/27 18:34:41 298335A8 s monitor: disabled
2010/10/27 18:34:41 298335A8 s camd33: disabled
2010/10/27 18:34:41 298335A8 s camd35: disabled
2010/10/27 18:34:41 298335A8 s cs378x: disabled
2010/10/27 18:34:41 298335A8 s newcamd: disabled
[COLOR="red"]2010/10/27 18:34:41 298335A8 s cccam: initialized (fd=7, port=12000, crypted)[/COLOR]
2010/10/27 18:34:41 298335A8 s radegast: disabled
2010/10/27 18:34:41 298335A8 s creating thread for device /dev/sci0 slot 0
2010/10/27 18:34:41 2A0D84E8 r reader thread started (thread=2A0D84E8, device=/dev/sci0, detect=cd, mhz=357, cardmhz=357)
2010/10/27 18:34:41 298335A8 s creating thread for device /dev/sci1 slot 0
2010/10/27 18:34:41 2A8D84E8 r reader thread started (thread=2A8D84E8, device=/dev/sci1, detect=cd, mhz=357, cardmhz=357)
2010/10/27 18:34:41 298335A8 s creating thread for device 192.168.1.15 slot 0
2[COLOR="red"]010/10/27 18:34:41 2B0D84E8 p proxy thread started (thread=2B0D84E8, server=xxxxxx)[/COLOR]
[COLOR="red"]2010/10/27 18:34:41 2B0D84E8 p proxy reader: remote_ccc (xxxxxxxxx:12000) cccam v2.1.14 build 2971, maxhop: 5
2010/10/27 18:34:41 2B0D84E8 p connecting to xxxxxxx
2010/10/27 18:34:41 2B0D84E8 p xxxxxxxxx5: resolved ip=xxxxxxx[/COLOR]
2010/10/27 18:34:41 298335A8 s anti cascading disabled
2010/10/27 18:34:41 2B8D84E8 c plain dvbapi-client granted (dvbapi_qboxhd, au=auto)
2010/10/27 18:34:41 2B8D84E8 c dvbapi: can't open priority file /var/oscam/conf/oscam.dvbapi
[COLOR="red"]2010/10/27 18:34:41 2B0D84E8 p cccam(r) remote_ccc: sending own version: 2.1.14, build: 2971[/COLOR]
2010/10/27 18:34:41 2B8D84E8 c dvbapi: found pmt file /tmp/pmt.tmp
2010/10/27 18:34:41 2B0D84E8 p cccam(r) remote_ccc: MSG_SRV_DATA (payload=72, hex=48)
2010/10/27 18:34:41 2B0D84E8 p cccam(r) remote_ccc: srv 42EC93D166FBFAFF running v2.1.4 (3191)
2010/10/27 18:34:41 2B8D84E8 c dvbapi: new program number: 0374 (0000:0374 unknown)
2010/10/27 18:35:04 2B8D84E8 c dvbapi: stoping demux for pmt file /tmp/pmt.tmp
2010/10/27 18:35:05 2B8D84E8 c dvbapi: [ADD PID 0] CAID: 1810 ECM_PID: 0848 PROVID: 000000
2010/10/27 18:35:05 2B8D84E8 c dvbapi: [ADD PID 1] CAID: 0100 ECM_PID: 0460 PROVID: 004106
2010/10/27 18:35:05 2B8D84E8 c dvbapi: [ADD STREAM 0] CAID: 1810 ECM_PID: 0848 PROVID: 000000
2010/10/27 18:35:05 2B8D84E8 c dvbapi: [ADD STREAM 1] CAID: 0100 ECM_PID: 0460 PROVID: 004106
2010/10/27 18:35:05 2B8D84E8 c dvbapi: [ADD STREAM 0] CAID: 1810 ECM_PID: 0848 PROVID: 000000
2010/10/27 18:35:05 2B8D84E8 c dvbapi: [ADD STREAM 1] CAID: 0100 ECM_PID: 0460 PROVID: 004106
2010/10/27 18:35:05 2B8D84E8 c dvbapi: new program number: 76C0 (1810:76C0 unknown)
2010/10/27 18:35:05 2B8D84E8 c dvbapi_qboxhd (1810&000000/76C0/89:84A2): not found (3 ms) (of 0 avail 3)
2010/10/27 18:35:05 2B0D84E8 p cccam(r) remote_ccc: sending ecm for sid 76C0(100) to card 00000064, hop 1, ecmtask 1
[COLOR="red"]2010/10/27 18:35:06 2B8D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:D2C1): found (408 ms) by remote_ccc (of 1 avail 3)
2010/10/27 18:35:06 2B8D84E8 c dvbapi: Start descrambling PID #1 (CAID: 0100)
2010/10/27 18:35:12 2B0D84E8 p cccam(r) remote_ccc: sending ecm for sid 76C0(100) to card 00000064, hop 1, ecmtask 2
2010/10/27 18:35:13 2B8D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:D37B): found (407 ms) by remote_ccc (of 1 avail 3)[/COLOR]
2010/10/27 18:35:22 2B0D84E8 p cccam(r) remote_ccc: sending ecm for sid 76C0(100) to card 00000064, hop 1, ecmtask 3
2010/10/27 18:35:23 2B8D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:E60F): found (477 ms) by remote_ccc (of 1 avail 3)
2010/10/27 18:35:32 2B0D84E8 p cccam(r) remote_ccc: sending ecm for sid 76C0(100) to card 00000064, hop 1, ecmtask 4
2010/10/27 18:35:33 2B8D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:EB5A): found (408 ms) by remote_ccc (of 1 avail 3)
2010/10/27 18:35:42 2B0D84E8 p cccam(r) remote_ccc: sending ecm for sid 76C0(100) to card 00000064, hop 1, ecmtask 5
2010/10/27 18:35:43 2B8D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:C8D3): found (408 ms) by remote_ccc (of 1 avail 3)
2010/10/27 18:35:52 2B0D84E8 p cccam(r) remote_ccc: sending ecm for sid 76C0(100) to card 00000064, hop 1, ecmtask 6
2010/10/27 18:35:53 2B8D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:6B11): found (407 ms) by remote_ccc (of 1 avail 3)
2010/10/27 18:36:02 2B0D84E8 p cccam(r) remote_ccc: sending ecm for sid 76C0(100) to card 00000064, hop 1, ecmtask 7
2010/10/27 18:36:03 2B8D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:46E5): found (414 ms) by remote_ccc (of 1 avail 3)
==============================================
CONFIGURACION COMO CLIENTE NEWCAMD
==============================================
Para ello debemos editar dos archivos:
oscar.conf
Donde deberemos tener sin las comillas esta parte del archivo:
Código:
[newcamd]
key = 0102030405060708091011121314
port = 15050
Donde:
key-->Nos los proporciona el servidor
port--> el puerto a utilizar
oscar.server
Deberemos tener sin las comillas:
Código:
[B]
[reader]
enable = 1
label = remote_newcamd
protocol = newcamd
device = xxxxx,xxxxx
account = xxxx,xxxx
key = 0102030405060708091011121314
group = 1
Donde:
Device---> ip o cuenta del servidor y luego numero de puerto
account--> user y pass asignado
key--> Nos la proporciona el servidor
Una vez editado esos archivos pues arrancamos la emu y como vemos en el log tendriamos visionado, enmarco en rojo como se realiza la conexion.
Código:
-------------------------------------------------------------------------------
>> OSCam << cardserver started at Wed Oct 27 19:19:00 2010
-------------------------------------------------------------------------------
2010/10/27 19:19:00 298335A8 s version=1.00-unstable_svn, build #3714, system=sh4-qboxhd-linux, nice=-1
2010/10/27 19:19:00 298335A8 s client max. idle=120 sec, debug level=0
2010/10/27 19:19:00 298335A8 s max. logsize=1000 Kb
2010/10/27 19:19:00 298335A8 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
2010/10/27 19:19:00 298335A8 s auth size=4788
2010/10/27 19:19:00 298335A8 s services reloaded: 0 services freed, 2 services loaded
2010/10/27 19:19:00 298335A8 s userdb reloaded: 0 accounts freed, 1 accounts loaded, 0 expired, 0 disabled
2010/10/27 19:19:00 298335A8 s signal handling initialized (type=sysv)
2010/10/27 19:19:00 298335A8 s 459 service-id's loaded
2010/10/27 19:19:00 298335A8 s can't open file "/var/oscam/conf/oscam.tiers" (err=2), no tier-id's loaded
2010/10/27 19:19:00 298335A8 s 702 provid's loaded
2010/10/27 19:19:00 298335A8 s 1 lengths for caid guessing loaded
2010/10/27 19:19:00 298335A8 s monitor: disabled
2010/10/27 19:19:00 298335A8 s camd33: disabled
2010/10/27 19:19:00 298335A8 s camd35: disabled
2010/10/27 19:19:00 298335A8 s cs378x: disabled
[COLOR="red"]2010/10/27 19:19:00 298335A8 s newcamd: initialized (fd=7, port=15050, crypted)[/COLOR]
2010/10/27 19:19:00 298335A8 s cccam: disabled
2010/10/27 19:19:00 298335A8 s radegast: disabled
2010/10/27 19:19:00 298335A8 s creating thread for device /dev/sci0 slot 0
2010/10/27 19:19:00 2A0D84E8 r reader thread started (thread=2A0D84E8, device=/dev/sci0, detect=cd, mhz=357, cardmhz=357)
2010/10/27 19:19:00 298335A8 s creating thread for device /dev/sci1 slot 0
2010/10/27 19:19:00 2A8D84E8 r reader thread started (thread=2A8D84E8, device=/dev/sci1, detect=cd, mhz=357, cardmhz=357)
[COLOR="red"]2010/10/27 19:19:00 298335A8 s creating thread for device xxxxxx slot 0[/COLOR]
[COLOR="red"]2010/10/27 19:19:00 2B0D84E8 p proxy thread started (thread=2B0D84E8, server=xxxxxx)
2010/10/27 19:19:00 2B0D84E8 p proxy xxxxxx:15050 newcamd525 (fd=16)[/COLOR]
2010/10/27 19:19:00 298335A8 s anti cascading disabled
2010/10/27 19:19:00 2B8D84E8 c plain dvbapi-client granted (dvbapi_qboxhd, au=auto)
2010/10/27 19:19:00 2B8D84E8 c dvbapi: can't open priority file /var/oscam/conf/oscam.dvbapi
2010/10/27 19:19:00 2B8D84E8 c dvbapi: found pmt file /tmp/pmt.tmp
2010/10/27 19:19:00 2B8D84E8 c dvbapi: new program number: 0376 (0000:0376 unknown)
2010/10/27 19:19:05 2B8D84E8 c dvbapi: stoping demux for pmt file /tmp/pmt.tmp
2010/10/27 19:19:05 2B8D84E8 c dvbapi: [ADD PID 0] CAID: 1810 ECM_PID: 0849 PROVID: 000000
2010/10/27 19:19:05 2B8D84E8 c dvbapi: [ADD PID 1] CAID: 0100 ECM_PID: 0461 PROVID: 004106
2010/10/27 19:19:05 2B8D84E8 c dvbapi: [ADD STREAM 0] CAID: 1810 ECM_PID: 0849 PROVID: 000000
2010/10/27 19:19:05 2B8D84E8 c dvbapi: [ADD STREAM 1] CAID: 0100 ECM_PID: 0461 PROVID: 004106
2010/10/27 19:19:05 2B8D84E8 c dvbapi: [ADD STREAM 0] CAID: 1810 ECM_PID: 0849 PROVID: 000000
2010/10/27 19:19:05 2B8D84E8 c dvbapi: [ADD STREAM 1] CAID: 0100 ECM_PID: 0461 PROVID: 004106
2010/10/27 19:19:05 2B8D84E8 c dvbapi: new program number: 76CA (1810:76CA unknown)
[COLOR="red"]2010/10/27 19:19:05 2B0D84E8 p connecting to xxxxxxx
2010/10/27 19:19:05 2B0D84E8 p xxxx: resolved ip=xxxxxx
2010/10/27 19:19:05 2B0D84E8 p Newcamd Server: xxxxx5:15050 - UserID: 1[/COLOR]
2010/10/27 19:19:05 2B0D84E8 p CAID: 0100 - UA: 000012A137700000 - Provider # 3
2010/10/27 19:19:05 2B0D84E8 p Provider ID: 005001 - SA: 12A13770
2010/10/27 19:19:05 2B0D84E8 p Provider ID: 004106 - SA: 12A13770
2010/10/27 19:19:05 2B0D84E8 p Provider ID: 004108 - SA: 12A13770
2010/10/27 19:19:05 2B8D84E8 c dvbapi_qboxhd (1810&000000/76CA/89:A472): rejected server ident (75 ms) (of 0 avail 3)
2010/10/27 19:19:06 2B8D84E8 c dvbapi_qboxhd (0100&004106/76CA/64:273F): found (463 ms) by remote_newcamd (of 1 avail 3)
2010/10/27 19:19:06 2B8D84E8 c dvbapi: Start descrambling PID #1 (CAID: 0100)
==============================================
CONFIGURACION COMO LECTOR DE TARJETAS
==============================================
En este ejemplo para tarjeta gris de digital +, lo mas recomendable es en el tarjetero inferior y el chip hacia abajo.
Para ello debemos editar dos archivos:
oscar.conf
Donde deberemos tener sin las comillas esta parte del archivo:
Código:
[global]
#-------------
# general
nice = -1
waitforcards = 1
preferlocalcards = 1
oscar.server
Deberemos tener sin las comillas:
Código:
# QboxHD internal cardreader (lower slot)
[reader]
enable = 1
label = lower_slot
protocol = internal
device = /dev/sci0
cardmhz = 357
mhz = 357
group = 1
Donde:
Una vez editado esos archivos pues arrancamos la emu y como vemos en el log tendriamos visionado, enmarco en rojo como se realiza la conexion.
Código:
-------------------------------------------------------------------------------
>> OSCam << cardserver started at Wed Oct 27 19:36:32 2010
-------------------------------------------------------------------------------
2010/10/27 19:36:32 298335A8 s version=1.00-unstable_svn, build #3714, system=sh4-qboxhd-linux, nice=-1
2010/10/27 19:36:32 298335A8 s client max. idle=120 sec, debug level=0
2010/10/27 19:36:32 298335A8 s max. logsize=1000 Kb
2010/10/27 19:36:32 298335A8 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=0 ms
2010/10/27 19:36:32 298335A8 s auth size=4788
2010/10/27 19:36:32 298335A8 s services reloaded: 0 services freed, 2 services loaded
2010/10/27 19:36:32 298335A8 s userdb reloaded: 0 accounts freed, 1 accounts loaded, 0 expired, 0 disabled
2010/10/27 19:36:32 298335A8 s signal handling initialized (type=sysv)
2010/10/27 19:36:32 298335A8 s 459 service-id's loaded
2010/10/27 19:36:32 298335A8 s can't open file "/var/oscam/conf/oscam.tiers" (err=2), no tier-id's loaded
2010/10/27 19:36:32 298335A8 s 702 provid's loaded
2010/10/27 19:36:32 298335A8 s 1 lengths for caid guessing loaded
2010/10/27 19:36:32 298335A8 s monitor: disabled
2010/10/27 19:36:32 298335A8 s camd33: disabled
2010/10/27 19:36:32 298335A8 s camd35: disabled
2010/10/27 19:36:32 298335A8 s cs378x: disabled
2010/10/27 19:36:32 298335A8 s newcamd: disabled
2010/10/27 19:36:32 298335A8 s cccam: disabled
2010/10/27 19:36:32 298335A8 s radegast: disabled
2010/10/27 19:36:32 298335A8 s creating thread for device /dev/sci0 slot 0
[COLOR="red"]2010/10/27 19:36:32 2A0D84E8 r reader thread started (thread=2A0D84E8, device=/dev/sci0, detect=cd, mhz=357, cardmhz=357)[/COLOR]
2010/10/27 19:36:32 298335A8 s creating thread for device /dev/sci1 slot 0
[COLOR="red"]2010/10/27 19:36:32 298335A8 s waiting for local card init
2010/10/27 19:36:32 2A8D84E8 r reader thread started (thread=2A8D84E8, device=/dev/sci1, detect=cd, mhz=357, cardmhz=357)
2010/10/27 19:36:32 2A0D84E8 r card detected
2010/10/27 19:36:35 2A0D84E8 r ATR: xxxxxxxxxxxxxxxxxx
2010/10/27 19:36:36 2A0D84E8 r Maximum frequency for this card is formally 5 Mhz, clocking it to 5.00 Mhz
2010/10/27 19:36:37 2A0D84E8 r type: SECA, caid: 0100, serial: xxxxxxxx, card: Canal+ NL v10.0
2010/10/27 19:36:37 2A0D84E8 r [seca-reader] provider: 1, valid: 1, name: DIGITAL+, expiry date: 2010/12/23
2010/10/27 19:36:37 2A0D84E8 r [seca-reader] SA: xxxxxxx
2010/10/27 19:36:38 2A0D84E8 r [seca-reader] provider: 2, valid: 1, name: DIGITAL+, expiry date: 2010/12/23
2010/10/27 19:36:38 2A0D84E8 r [seca-reader] SA: xxxxxxxx
2010/10/27 19:36:38 2A0D84E8 r [seca-reader] provider: 3, valid: 1, name: SPARE, expiry date: 2010/12/23
2010/10/27 19:36:38 2A0D84E8 r [seca-reader] SA: xxxxxxx[/COLOR]
2010/10/27 19:36:38 2A0D84E8 r providers: 3 (5001,4106,4108)
2010/10/27 19:36:38 2A0D84E8 r [seca-reader] parental locked
2010/10/27 19:36:38 2A0D84E8 r [seca-reader] ready for requests
2010/10/27 19:36:38 2A0D84E8 r found cardsystem
2010/10/27 19:36:38 2A0D84E8 r [seca-reader] no PBM for provider 1
2010/10/27 19:36:38 2A0D84E8 r [seca-reader] PBM for provider 2: 8400040080800020
2010/10/27 19:36:38 2A0D84E8 r [seca-reader] PBM for provider 3: 8000000000000000
2010/10/27 19:36:39 298335A8 s init for all local cards done
2010/10/27 19:36:39 298335A8 s anti cascading disabled
2010/10/27 19:36:39 2B0D84E8 c plain dvbapi-client granted (dvbapi_qboxhd, au=auto)
2010/10/27 19:36:39 2B0D84E8 c dvbapi: can't open priority file /var/oscam/conf/oscam.dvbapi
2010/10/27 19:36:39 2B0D84E8 c dvbapi: found pmt file /tmp/pmt.tmp
2010/10/27 19:36:39 2B0D84E8 c dvbapi: new program number: 0376 (0000:0376 unknown)
2010/10/27 19:36:50 2B0D84E8 c dvbapi: stoping demux for pmt file /tmp/pmt.tmp
2010/10/27 19:36:50 2B0D84E8 c dvbapi: [ADD PID 0] CAID: 1810 ECM_PID: 0848 PROVID: 000000
2010/10/27 19:36:50 2B0D84E8 c dvbapi: [ADD PID 1] CAID: 0100 ECM_PID: 0460 PROVID: 004106
2010/10/27 19:36:50 2B0D84E8 c dvbapi: [ADD STREAM 0] CAID: 1810 ECM_PID: 0848 PROVID: 000000
2010/10/27 19:36:50 2B0D84E8 c dvbapi: [ADD STREAM 1] CAID: 0100 ECM_PID: 0460 PROVID: 004106
2010/10/27 19:36:50 2B0D84E8 c dvbapi: [ADD STREAM 0] CAID: 1810 ECM_PID: 0848 PROVID: 000000
2010/10/27 19:36:50 2B0D84E8 c dvbapi: [ADD STREAM 1] CAID: 0100 ECM_PID: 0460 PROVID: 004106
2010/10/27 19:36:50 2B0D84E8 c dvbapi: new program number: 76C0 (1810:76C0 unknown)
[COLOR="red"]2010/10/27 19:36:51 2B0D84E8 c dvbapi_qboxhd (1810&000000/76C0/89:C7CC): not found (2 ms) (of 0 avail 2)
2010/10/27 19:36:51 2B0D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:B93B): found (517 ms) by lower_slot (of 1 avail 2)
2010/10/27 19:36:51 2B0D84E8 c dvbapi: Start descrambling PID #1 (CAID: 0100)
2010/10/27 19:36:52 2B0D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:8915): found (514 ms) by lower_slot (of 1 avail 2)
2010/10/27 19:37:02 2B0D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:1F78): found (419 ms) by lower_slot (of 1 avail 2)
2010/10/27 19:37:12 2B0D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:C070): found (423 ms) by lower_slot (of 1 avail 2)
2010/10/27 19:37:22 2B0D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:E892): found (426 ms) by lower_slot (of 1 avail 2)[/COLOR]
2010/10/27 19:37:32 2B0D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:481C): found (425 ms) by lower_slot (of 1 avail 2)
2010/10/27 19:37:42 2B0D84E8 c dvbapi_qboxhd (0100&004106/76C0/64:CC8F): found (418 ms) by lower_slot (of 1 avail 2)