How to setup Mgcamd-Oscam-Cccam

Setup Mgcamd-Oscam-Cccam


Oscam.conf

Code:
[global]
nice  = -1
WaitForCards = 1
# logging
logfile  = /dev/console
pidfile  = /tmp/oscam.pid
usrfile  = /tmp/oscam-user.log
cwlogdir = /var/log/oscam/cw
# monitor
[monitor]
port  = 988
aulow  = 120
monlevel = 1
# protocols
Code:
[newcamd]
key = 000102030405060708090A0B0C0D
port = 10000@0111:000000;10001@0515:000000;10002@0999:000000;10003@0688:000000
You can add as much caids as you want, although from what I've noticed oscam has a limit set at 23 or 24 connections.

In oscam.server you define a connection to cccam server and what caids you want to get from it:

Oscam.server

Code:
[reader]
reconnecttimeout = 5
label = remote
protocol = cccam
device = server-ip,server-port
account = user,pass
group = 1
caid = 0111,0515,0999,0688
cccversion = 2.1.3
cccbuild = 3165
Again you replace the above with your details.

In oscam.user you define a user settings for newcamd client. Not really sure what betatunnel values should be, haven't bothered much to look into it either.
You can restrict a user to certain caids and idents buts since this is an example for local connection on the same box it is assumed you want to get everything and I left it empty.

Oscam.user

Code:
[account]
user = user1
pwd = password1
monlevel = 0
uniq = 0
group = 1
hostname = 127.0.0.1
au = reader1
services = services1
betatunnel = 0300:0001:0100,0400.0005:0100
ident = 
caid =
Then you edit newcamd.list file of mgcamd according to configuration in oscam.conf and oscam.user:

Code:
CWS_KEEPALIVE = 300
CWS_INCOMING_PORT = 12000
CWS = 127.0.0.1 10000 user1 password1 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D lan newcs
CWS = 127.0.0.1 10001 user1 password1 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D lan newcs
CWS = 127.0.0.1 10002 user1 password1 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D lan newcs
CWS = 127.0.0.1 10003 user1 password1 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D lan newcs
You have to make sure that newcamd client is enabled in mg_cfg either

[HTML]G: { 01 } for mgcamd to use only newcamd client or
G: { 33 } to use both cccam and newcamd or you can use some other combination.

That should let you open 4 defined caids from cccam over oscam to mgcamd. ''


Thanks 





No comments:
Write comments

Recently Updated