miércoles, 29 de febrero de 2012

Mgcamd como cliente camd35

En Oscam tenemos por ejemplo:

oscam.conf
[cs357x]
port =17050

oscam.user
[account]
user = user
pwd = pass
group = 1
au = 1



Mgcamd no usa L líneas como CCcam este usa líneas CWS.

cs357x protocolo se incluye en una línea CWS en el fichero newcamd.list.

Ejemplo:

CWS = 127.0.0.1 17050 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14  lan newcs


Solo utilizamos el puerto,user y password los demás datos son inventados para completar la línea CWS.

Y ponemos en mg_cfg la G: 04 para indicarle que trabaje como cliente camd35.


Aclaración:
camd35 = cs357x   ---  y utiliza puerto udp
cs378x  ---  utiliza puerto tcp


Esto es todo.

sábado, 25 de febrero de 2012

Sbox 0.0.5-2 actualizar tarjeta a través de CCcam

En sbox conf


cccam=1:xxxx pon el puerto en xxxx para conectar con cccam

En users.sbox


CC=dummy dummy 2 0 1 { 0:0:2 }

En CCcam.cfg


C: 127.0.0.1 xxxx dummy dummy (xxxx el mismo puerto del sbox.conf)



DISABLE EMM : no
EMM THREADS : 1
EXTRA EMM LEVEL : yes



y asi te actualiza sin ningun problema la local a través de un cliente con CCcam.


Esto es todo.

miércoles, 22 de febrero de 2012

OScam configuración ejemplo 01

How to : Oscam Server or Cardreader with CCcam2.1.3 Digital+
Here are working configs for Digital+ using Oscam + CCcam 2.1.3 or DVBAPI
Oscam files can be found in folder;
/var/tuxbox/config (Enigma1)
/etc/tuxbox/config (Enigma2)


Oscam + CCcam config

####oscam.conf####

[global]
nice = -1
logfile = /dev/null
clienttimeout = 5000
fallbacktimeout = 2500
clientmaxidle = 120
cachedelay = 120
bindwait = 120
resolvedelay = 30
serialreadertimeout = 1500
maxlogsize = 10
waitforcards = 1
preferlocalcards = 1
saveinithistory = 1
keepalive = 1

[webif]
httpport = 8888
httpuser =
httppwd =
httprefresh = 5
httphideidleclients = 0
httpallowed = 192.168.0.0 - 255.255.255.255
debug = 255

[newcamd]
key = 0102030405060708091011121314
port = 34000@1810:004001,004101,000000

####oscam.server####

[reader]
label = DIGITAL
protocol = internal
device = /dev/sci0
emmcache = 1,3,2
group = 1
caid = 1810
ident = 1810:004001,004101,000000
boxkey = xxxxxxx <- Insert your boxkey
rsakey = xxxxxxxxx <- Insert your rsakey

####oscam.user####

[account]
user = linux
pwd = support
monlevel = 0
uniq = 0
group = 1
au = DIGITAL
caid = 1810
ident = 1810:004001,004101,000000





Oscam.dvapi config

####oscam.conf####

global]
nice = -1
logfile = /dev/null
clienttimeout = 5000
fallbacktimeout = 2500
clientmaxidle = 120
cachedelay = 120
bindwait = 120
resolvedelay = 30
serialreadertimeout = 1500
maxlogsize = 10
waitforcards = 1
preferlocalcards = 1
saveinithistory = 1
keepalive = 1

[dvbapi]
enabled = 1
user = server
boxtype = dreambox
au = 1
pmt_mode = 0

[cccam]
port = 12000
version = 2.1.3
build = 3165
reshare = 1

[webif]
httpport = 8888
httpuser =
httppwd =
httprefresh = 5
httphideidleclients = 0
httpallowed = 192.168.0.0 - 255.255.255.255
debug = 255

[monitor]
appendchaninfo = 1

####oscam.server####

[reader]
label = DIGITAL
protocol = internal
detect = cd
device = /dev/sci0
caid = 1810
ident = 1810:004001,004101,000000
EMMCache = 1,1,0
group = 1
boxkey = xxxxxxx <- Insert your boxkey
rsakey = xxxxxxxxx <- Insert your rsakey

[reader]
label      = remote
protocol = cccam
device   = peers.dyndns.org,12000
account = user,pass
group    = 1
caid      = 1810
ident = 1810:004001,004101,000000
cccversion = 2.1.4
reconnecttimeout = 5

####oscam.user####

[account]
user = server
group = 1
caid = 1810
ident = 1810:004001,004101,000000 
au = DIGITAL
monlevel = 0

[account]
user =
pwd =
group = 1
caid = 1810
ident = 1810:004001,004101,000000
cccreshare = 1
cccmaxhops = 2





Esto es todo.

oscam.server y plataformas made in Spain

[reader]
label = Digital_N3
protocol = internal
detect = cd
device = /dev/sci0
group = 1
caid = 1810
ident = 1810:004001,004101,000000
boxkey = xxxxxxxxxxxxxxxxxxxx <- Insert your boxkey
rsakey = xxxxxxxxxxxxxxxxxxxx <- Insert your rsakey
mhz = 500
cardmhz= 368
emmcache = 1,3,2
ecmwhitelist = 1810@004001,004101,000000:89

[reader]
label = Tiger_N3
protocol = internal
detect = cd
device = /dev/sci0
group = 2
caid = 1812
ident = 1812:000000,006E11
rsakey = xxxxxxxxxxxxxxxxxxxxxxx <- Insert rsa tigern3
mhz = 500
cardmhz = 368
emmcache = 1,3,2
ecmwhitelist = 1812:000000,006E11:91

[reader]
label = Digital_SECA
protocol = internal
detect = cd
device = /dev/sci0
group = 3
caid = 0100
ident = 0100:004106
mhz = 357
cardmhz = 357
emmcache = 1,3,2
ecmwhitelist = 0100@004106:64

domingo, 19 de febrero de 2012

Mgcamd como cliente radegast

Ejemplo de linea radegast en el servidor:

 R: 127.0.0.1 9000 1801 4101

Ahora vemos como la utilizamos en el cliente:

Se puede configurar desde dos ficheros, el newcamd.conf (etc/tuxbox/config) y el newcamd.list (usr/k**s) dependiendo de la versión que tengamos de la Mgcamd, con hacerlo en uno es suficiente.

La línea es la misma para los dos ficheros:

CWS = 127.0.0.1 9000 user password 00 00 00 00 00 00 00 00 00 00 00 00 00 00 lan newcs

en este caso los datos que no conocemos los inventamos respetando su colocación y con la DESKEY a 00. Los conocidos van en negrita.

Hay que configurar la Mgcamd para el protocolo Radegast (/usr/k**s/mg_cfg) con G: { 02 }.


Esto es todo.

sábado, 18 de febrero de 2012

Sbox 0.0.5-1#3 + Mgcamd

Sbox= sbox.conf,users.sbox
Mgcamd= mg_cfg,newcamd.list

sbox.conf

[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.26.0.1:3354            # server ip:server port
userspath=/var/bin/users.sbox        # users list
channelinfo=/var/bin/sbox.channelinfo    # channel info
webinterface=1                # 1=web interface on 0=web interface off
webadmin=admin:edk            # user:pass for webinterface
webport=8181                # web interface port
rdgserver=0                # 0=radegast server off 1=radegast server on
rdgport=16050                # radegast server port
use_nagra=1              # 1=use as nagra card 0=use as irdeto card (only for nagra over irdeto cards)
cccam=0:18000                # 0=cccam server off - 1=cccam server on : cccam server port
betatunnel=1                # 0=betatunnel support disabled 1=betatunnel support enabled

[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=15050                # 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
cache=0                    # how many ecms can be cached, 0 or less=cache disabled

 #Nagra2/3 Example
[CCCCCCCC]                # nagra2 camid (4 bytes)
rsa=                    # rsa "n" from this card (like newcs)
boxkey=                    # boxkey from this card
emm=0                    # 0=accept all 1=block emms 2=block emmu 4=block emmg
portlist=0                # use portlist or no
portlistpath=/var/keys/port.list    # path from port.list


users.sbox

NC=local local slot0 1


mg_cfg


# EMM messages
M: { 01 }

# ECM messages
C: { 01 }

# AU
A: { 01 }

# key update (sum 01 or 02 with 04)
U: { 01 } 0x12c0

# config files folder (softcam, autoroll, ignore/priority)
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
N: { 07 } 5 30

# network ecm timeout in seconds
K: { 05 }

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

# network shares priority
P: { 00 }

# on screen display type
O: { 00 } user pass

# on screen display Options, summ of:
S: { 11 } 80

# Log option, summ of:
L: { 03 } 172.16.1.1 28007 /tmp/mgcamd.log
# L: { 04 } 127.0.0.1 21000 /var/log/mgcamd.log

# keep ecm cache, seconds
E: { 15 }

# cache option, summ of:
H: { 07 }

# reread files, summ of: 
R: { 00 }

# debug, summ of
D: { 00 }

# box type
B: { 00 }

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








































newcamd.list

CWS_KEEPALIVE = 300
CWS_INCOMING_PORT = 21000
CWS = 127.0.0.1 15050 local local 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan
CWS = otras Nlines si se necesitan
 

viernes, 3 de febrero de 2012

ecmwhitelist providers in OScam.server

Providers



Digital+ Seca card


ecmwhitelist = 0100@004106:64


Digital+ N3 card

ecmwhitelist = 1810@004001,004101,000000:89
 

Goltv N3 dvb-t

ecmwhitelist = 1812:000000,006E11:91


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

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


***link ICE Cryptoworks

ecmwhitelist = 0D96@000004:80


Dolly Buster + HD

ecmwhitelist = 0500@042200:30,35


Private Spice

ecmwhitelist = 0500@032500:2A

ContoTV

ecmwhitelist = 0B01@000000:4C,77,86,8C,8E,A4


Viasat 93E

ecmwhitelist = 093E@000000:88,84


UPC Direct

ecmwhitelist = 0b02@000000:4C


Tv Vlaanderen

ecmwhitelist = 0100@00006C:64


Tring

ecmwhitelist = 0baa@000000:67,6C



TNTSAT

ecmwhitelist = 0500@030B00:EC,57,D8,10D,12A,142


Tivusat

ecmwhitelist = 183d@005411,000000:8C,B7


SRG Suisse

ecmwhitelist = 0500@040810:30


***link

ecmwhitelist = 0D96@000004:80


SKyuk

ecmwhitelist = 0963@000000:3E,4E,7D,7E,45,47,62,68,72


SKyItalia

ecmwhitelist = 093B@000000:B7,51


SKyGermany

ecmwhitelist = 09c4@000000:46,90


SatelliteBG

ecmwhitelist = 0b01@00000:B4,9F


RAI Seca

ecmwhitelist = 0100@000030:31,64


Polsat

ecmwhitelist = 1803@007001,007101,000000:92



ORF ICE 0D95

ecmwhitelist = 0D95@000004,000008,00000C,000010:80,B8


Orange Viaccess 3.0

ecmwhitelist = 0500@FFF400,032900,032910,032920,032930,032940,032950:5E,82,97,9F,AC,AE,B5,B8,BD,CC


MTV Unlimited

ecmwhitelist = 0b00@000000:67


DigiTV N3 1880

ecmwhitelist = 1880@002011,002111,002113:89


BiS Viaccess

ecmwhitelist = 0500@020810:4D




Esto es todo.