Configurar Mgcamd + Sbox para actualizar Gris

Consulta 
D

dioxcid

Amigo de Lonas
Joined
Jun 14, 2014
Messages
75
Reaction score
0
Points
9
Buenas, tengo ahora mismo SBox en una DM 500 leyendo y enganchado a CCCAM 2.1.3 con una linea N para compartir.

Luego he instalado Mgcamd para visionar en local y actualizar. Le he puesto otra linea N en el newcamd.list y en users.sbox un usuario con AU=1 para que me permita recibir EMM'S.

He dejado puesto un canal de los contratados y la cuestión es que recibo muchos EMM's pero se ve que son todos malos o algo falla porque no me actualiza la fecha de caducidad de la tarjeta.

Archivo mg_cfg:

Code:
# 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: { 01 }


# 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: { 01 }


# 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 } 0x12c0


# 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
#    32	cccamd netclient, card list saved as /tmp/cccamd.info 
#    	(ECM only, supported server version up to 2.1.1, later not work)
G: { 01 }


# 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 } 5 00


# network ecm timeout in seconds
K: { 02 }


# newcamd dead routes connect retry, sec
Q: { 10 }


# network shares priority
# 00 gbox, newcamd, cccamd, radegast, camd3 (default)
# 01 camd3, radegast, cccamd, gbox, newcamd
# 02 cccamd, newcamd, camd3, gbox, radegast
P: { 02 }


# on screen display type
#    00 No OSD (default)
#    01 neutrino
#    02 enigma
#    03 relook
#    + user password for http auth
O: { 00 } username password


# 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: { 03 } 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: { 02 } 172.16.1.1 28007 /tmp/mgcamd.log


# 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: { 00 }


# 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: { 04 }


# 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: { 11 }


# box type
# 00 autodetect, change only if you think wrong type detected.
# 01 dbox2
# 02 dreambox
# 03 triple-dragon
# 04 relook
# 05 openbox
# 06 dreambox/mips
# 08 stapi/kathrein
# 09 stapi/ipbox
# 11 stapi/openbox
B: { 02 }


# map all 180x nagra caids to 1801
# default is 01
#F: { 00 }

Archivo newcamd.list:

Code:
CWS_KEEPALIVE = 300
CWS_INCOMING_PORT = 21000
CWS = 127.0.0.1 XXXXX mgcamd mgcamdpass 01 02 03 04 05 06 07 08 09 10 11 12 13 14 slot0

Archivo sbox.conf:

Code:
[main]
server_only=1				# 0=mixed mode 1=only server
log=0					# 1=no log 1=log to /tmp/sbox.log	//ALWAYS USE 0//
logudp=192.168.1.11:3354		# server ip:server port
userspath=/var/bin/users.sbox		# users list
channelinfo=/var/bin/sbox.channelinfo	# channel info
providers=/var/bin/sbox.providers	# channel info
webinterface=1				# 1=web interface on 0=web interface off
webadmin=root:pass			# user:pass for webinterface
webport=8181				# web interface port
radegast=0:16050			# 0=radegast server off - 1=radegast server on : radegast server port
use_nagra=1				# 1=use as nagra card 0=use as irdeto card (only for nagra over irdeto cards)
prio=1800:0000;0100:1111:2222		# prio caid for dvbapi, caid1:prov1;caid2:prov2:prov1
cccam=0:12000			# 0=cccam server off - 1=cccam server on : cccam server port
betatunnel=1				# 0=betatunnel support disabled 1=betatunnel support enabled
#autorestart=				# if you want, sbox can auto-restart every day, example: autorestart=05:15


[slot0]
active=1				# 0=inactive 1=active
sci=/dev/sci0				# lower
ncdserver=1				# 0=newcamd server off 1=newcamd server on
deskey=0102030405060708091011121314	# newcamd deskey
port=XXXXX				# newcamd port
mhz=500					# Mhz for card in this reader, DON'T WORK ON PHOENIX INTERFACE. Example: mhz=357, mhz=368 
reader=1				# 0=phoenix, 1=sci (internal reader), 2=smartreader, 3=omnikey pcsc reader
cache=18				# how many ecms can be cached, 0 or less=cache disabled


#Seca Example
[XXXXXXXX]								# seca camid (4 bytes)
ok_view=1								# if ok_view=1 sbox simulates the "ok view this season" on seca smartcards
emm=0									# 0=accept all 1=block emms 2=block emmu 4=block emmg
portlist=0								# use portlist or no
portlistpath=/var/keys/10000.list							# path from port.list
controlsid=0:0							# X:Y X=max sids allowed at same time, Y=seconds needed to allow new sid

Archivo user.sbox:

Code:
NC=mgcamd mgcamdpass slot0 1

He probado con Mgcamd 1.38 y 1.35a con el mismo resultado.

A ver si me podéis echar una mano que se me caduca dentro de unos días :'(

Saludos.
 
Top