Most basic setup you need 3 config files for oscam and those are oscam.conf, oscam.server and oscam.user.
Oscam.conf
PHP 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
[newcamd]
key = 000102030405060708090A0B0C0D
port = 10000@0111:000000;10001@0515:000000;10002@0999:000 000;10003@0688:000000
In oscam.server you define a connection to cccam server and what caids you want to get from it:
oscam.server
PHP Code:
[reader]
reconnecttimeout = 5
label = remote
protocol = cccam
reshare = 1
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
PHP 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:
PHP 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
PHP Code:
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.
How to : Mgcamd config for connecting Oscam+CCcam
-
- Registered Member
- Posts: 80
- Joined: 26 Aug 2014, 12:40 am
- Location: holland
- Has thanked: 2 times
- Been thanked: 4 times
Re: How to : Mgcamd config for connecting Oscam+CCcam
i dont not for sure
Connect OScam with OScam using Camd35
You can share between two Oscam servers using camd35 protocol on UDP. This is my preferred protocol.
Activate camd35 protocol in oscam.conf on your server and use camd35 reader on your client.
On the server
oscam.conf
[cs357x]
port = 27550 #choose any number here
oscam.user
[account]
user = user1
pwd = pass1
group = 1 #here you need to put all your local cards that you have under oscam.server file. If you do not do this, your other OScam wont be able to use your local cards! I also assume that every local has its own group, therefore use multiple numbers here: group=1,2,3,4,5
au = 1
Client receiver
Oscam.server
[reader]
label = box1
protocol = camd35
device = ipserver,27550
user = user1
password = pass1
group = 1
emmcache = 1,3,2
services = x,x,x,x,x #i strongly suggest that you also use services. In my experience, camd35 works correctly only after setting services for different providers!
Here is my config on client:
oscam.server
[reader]
label = server_cccam
protocol = cccam
device = 192.168.1.119,1xxx
user = xxx_vuduo
password = xxx_vuduo
services = !mtvunlimited,!hdplus,!tntsat_sd,!tntsat_hd
group = 1
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
cccversion = 2.1.1
ccckeepalive = 1
audisabled = 1
[reader]
label = server_locals
protocol = camd35
device = 192.168.1.119,15xxx
user = xxx_locals
password = xxx_locals
services = mtvunlimited,cyfra,hdplus,tntsat_sd,tntsat_hd
group = 1
Why i use !mtvunlimited, !hdplus, etc.? Because i dont want that OScam takes these cards from my CCcam server. I want that OScam uses local cards from my OScam server. This config also ensures that cards get regular updates. As you probably know, CCcam is not reliable protocol for updating cards (in OScam). With camd35 protocol, there usually arent any problems sending EMMs.
Connect OScam with OScam using Camd35
You can share between two Oscam servers using camd35 protocol on UDP. This is my preferred protocol.
Activate camd35 protocol in oscam.conf on your server and use camd35 reader on your client.
On the server
oscam.conf
[cs357x]
port = 27550 #choose any number here
oscam.user
[account]
user = user1
pwd = pass1
group = 1 #here you need to put all your local cards that you have under oscam.server file. If you do not do this, your other OScam wont be able to use your local cards! I also assume that every local has its own group, therefore use multiple numbers here: group=1,2,3,4,5
au = 1
Client receiver
Oscam.server
[reader]
label = box1
protocol = camd35
device = ipserver,27550
user = user1
password = pass1
group = 1
emmcache = 1,3,2
services = x,x,x,x,x #i strongly suggest that you also use services. In my experience, camd35 works correctly only after setting services for different providers!
Here is my config on client:
oscam.server
[reader]
label = server_cccam
protocol = cccam
device = 192.168.1.119,1xxx
user = xxx_vuduo
password = xxx_vuduo
services = !mtvunlimited,!hdplus,!tntsat_sd,!tntsat_hd
group = 1
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
cccversion = 2.1.1
ccckeepalive = 1
audisabled = 1
[reader]
label = server_locals
protocol = camd35
device = 192.168.1.119,15xxx
user = xxx_locals
password = xxx_locals
services = mtvunlimited,cyfra,hdplus,tntsat_sd,tntsat_hd
group = 1
Why i use !mtvunlimited, !hdplus, etc.? Because i dont want that OScam takes these cards from my CCcam server. I want that OScam uses local cards from my OScam server. This config also ensures that cards get regular updates. As you probably know, CCcam is not reliable protocol for updating cards (in OScam). With camd35 protocol, there usually arent any problems sending EMMs.
Who is online
Users browsing this forum: Bing [Bot],
Claude [Bot],
Yandex [Bot] and 8 guests