Post

Connect OScam with MGcamd

First we need to enable CCcam function in OScam. Add these lines into oscam.conf file on your server:

[cccam]
port                          = 35699 or something else
version                       = 2.3.0
ignorereshare                 = 1 #this enables you to control reshare on account level

CCcam is now enabled and now you need to create user in oscam.user file!

[account]
user                          = mguser
pwd                           = mguser
group                         = 1 #this depends on your oscam.server settings.
cccmaxhops                    = 1
cccreshare                    = 1

Now we need to configure MGcamd which will be client to OScam server. I suggest that you read this article where you can also find correct files for running MGcamd on receiver. Remember this. MGcamd only understands CCcam if you use this setting in mg_cfg file:

G: { 32 }

Then you need to create cccamd.list file where you copy/paste C line. In our case it should look something like this:

C: 192.168.1.100 35699 mguser mguser

192.168.1.100 is IP of server where we are running OScam.

This should be it. I hope you will be able to configure OScam and MGcamd and start to watch TV 🙂

You can discuss about this article here:

http://www.satnigmo.com/forum/index.php?threads/oscam-to-mgcamd.540/

For other “connect” tutorials, visit these links:

Post

Optimal settings for OScam Cache-EX MODE 3

OScam Cache-EX is very CPU/RAM intensive  and can also consume a lot of your internet bandwith. Therefore you need to have proper settings and proper version of OScam.

If you DO NOT want to have memory problems, please use OScam version 7190! Later versions have stability problems and are not recommended.  Latest versions of OScam should be already OK, so i strongly recommend you start using them!!

For internet bandwith problems, please follow this guide. I made it with the help of users on satfriends.com forum and my own mind of course 🙂

Optimal Settings for Camd35

oscam.server

[reader]
label                         = xxx
protocol                      = camd35
device                        = xxx,17835
user                          = xxx
password                      = xxx
cacheex                       = 3
cacheex_maxhop                = 2
group                         = 1,4,5,6,10,20 # 20 is group which is intended to be used only for cacheex
dropbadcws                    = 1
audisabled                    = 1

oscam.user

[account]
user                          = xx
pwd                           = xxx
group                         = 20
uniq                          = 3
cacheex                       = 3
cacheex_maxhop                = 2
allowedprotocols              = camd35

Bolded lines are important if you want to control internet bandwith consumption. At first i used 4 instead of 2. Well, not a good decision, because OScam was sometimes using more that 200KB/s of my internet bandwith!! And i only have 3Mbit of upload. With setting “2”, consumption dropped to around 30KB/s which is alot lower number. Browsing internet sites is also faster now.

Optimal Settings for CCcam (recommended protocol)

oscam.server

[reader]
label                         = xx
protocol                      = cccam
device                        = xx,20000
user                          = sfxxTV-ca
password                      = xx
cacheex                       = 3
cacheex_maxhop                = 2
group                         = 1,4,5,6,10,20
dropbadcws                    = 1
cccversion                    = 2.3.0
ccckeepalive                  = 1
cccreconnect                  = 0
cccreshare                    = 0
cccmaxhops                    = 0
audisabled                    = 1

oscam.user

[account]
user                          = tuxrbxx
pwd                           = txx
uniq                          = 3
group                         = 20
cacheex                       = 3
cacheex_maxhop                = 2
cccmaxhops                    = -1 #important, because you dont want, that your cache-ex peer sees your CCcam cards!!
cccreshare                    = 0

You should also use these settings for oscam.conf file:

[global]
clienttimeout                 = 10000
nice                          = -1
dropdups                      = 1
cacheexwaittime               = 0 # this setting is not indented to be used with mode 3 cacheex!
max_cache_time                = 12
max_cache_count               = 7500

[csp]
port                          = 12464 #doesnt matter just choose one number.
wait_time                     = 100 #currently this is the best settings for cacheex. Yes i know, this section is for CSP but you need to use it for cacheex in mode 3! Very important!!

Additional info about some new settings that were added in recent versions of OScam!

[csp]
wait_time = global for csp,cacheex mode 2 and mode 3
csp_ecm_filter = block incoming ecm (csp only)

oscam.user
[account]
cacheex_ecm_filter = block incoming ecm (mode 3 only) from current user
caid = block outgoing ecm (mode 3) from you to selected user

oscam.server
[reader]
cacheex_ecm_filter = block incoming ecm (mode 2 only) from current reader

I got this info from user TNe-Two on streamboard forum!

FOR DISCUSSION ABOUT THIS ARTICLE VISIT THIS THREAD ON FORUM:

http://www.satnigmo.com/forum/index.php?threads/optimal-settings-for-oscam-cache-ex.495/

Post

OScam Cache-EX Mode 3 Tutorial

Cache-EX function enable us to exchange cache that is created in OScam. More users and local cards you have, more cache you produce. Cache is then used to releave stress on our local cards. This is especially useful for Sky UK (and other providers which use NDS encryption) which is very popular package.

In this tutorial I am using mode 3 (there are three modes: mode 0, mode 1 and mode 3) and CCcam protocol. At first almost all used Camd35 but then CCcam became preferable option because of its stability! Setting mode 3 can be a bit challenging, therefore you need to follow this tutorial very carefully! I will try to explaing cache-ex (mode 3) on various examples.

USER A
oscam.conf

[cccam]
port = 12444 or something else

oscam.server

[reader]
label = reader1
description = your local card, SKY UK for example
group = 11

[reader]
label = reader2
description = your local card, SKY Italia for example
group = 12

[reader]
label = userb
protocol = cccam
device = IP or DNS address,12555
user = usera
password = usera
cacheex  = 3
cacheex_maxhop = 2
dropbadcws = 1
cccmaxhops = 0
ccckeepalive = 1
cccreconnect = 0
audisabled = 1
group = 11,12,20 # use all groups where you want to get ecms from. Include your local cards and other external clients/peers (Cccam, Newcamd, etc.)! Also add group 20 here which was created in oscam.user for cache-ex users!

oscam.user

[account]
user = userb
pwd = userb
group = 20 # Use unique number here. Remember, this account is made for cache-ex only!
uniq = 3
cacheex = 3
cacheex_maxhop = 2
cccmaxhops = -1
cccreshare = 0

USER B
oscam.conf

[cccam]
port = 12555 or something else

oscam.server

[reader]
label = reader1
description = your local card, Cyfra+ for example
group = 11

[reader]
label = usera
protocol = cccam
device = IP or DNS address,12444
user = userb
password = userb
cacheex = 3
cacheex_maxhop                = 2
dropbadcws                    = 1
cccmaxhops                    = 0
ccckeepalive                  = 1
cccreconnect                  = 0
audisabled                    = 1
group = 11,30 # use all groups where you want to get cache from them. Include your local cards and other clients (Cccam, Newcamd, etc.)! Also add group 20 here which was created in oscam.user for cache-ex users!

oscam.user

[account]
user = usera
pwd = usera
group = 30 # Use unique number here. Remember, this account is made for cache-ex only!
uniq = 3
cacheex = 3
cacheex_maxhop = 2
cccmaxhops = -1
cccreshare = 0

IF YOU HAVE MORE THAN 1 CACHE-EX PEER/USER, CHECK THIS CONFIG

oscam.user

[account]
user = bigcar
pwd = bigcar
group = 20
uniq = 3
cacheex = 3
cacheex_maxhop = 2
cccmaxhops = -1
cccreshare = 0

[account]
user = smallcar
pwd = smallcar
group = 20
uniq = 3
cacheex = 3
cacheex_maxhop = 2
cccmaxhops = -1
cccreshare = 0

[account]
user = verysmallcar
pwd = verysmallcar
group = 20
uniq = 3
cacheex = 3
cacheex_maxhop = 2
cccmaxhops = -1
cccreshare = 0

oscam.server

[reader]
label = bigcar
protocol = cccam
device = ddd.zapto.org,12222
user = asdasdasd
password = asdasdasdads
cacheex = 3
group = 5,6,10,20
cacheex_maxhop                = 2
dropbadcws                    = 1
cccmaxhops                    = 0
ccckeepalive                  = 1
cccreconnect                  = 0
audisabled                    = 1

[reader]
label = smallcar
protocol = cccam
device = xx.dyndns.ws,56666
user = xx
password = xxx
cacheex = 3
group = 5,6,10,20
cacheex_maxhop                = 2
dropbadcws                    = 1
cccmaxhops                    = 0
ccckeepalive                  = 1
cccreconnect                  = 0
audisabled                    = 1

[reader]
label = verysmallcar
protocol = cccam
device = xx.dyndns.ws,60000
user = xxx
password = xxx
cacheex = 3
group = 5,6,10,20
cacheex_maxhop                = 2
dropbadcws                    = 1
cccmaxhops                    = 0
ccckeepalive                  = 1
cccreconnect                  = 0
audisabled                    = 1

IMPORTANT

5,6 and group 10 are groups where you have your local cards and external clients. In this way you will generate some decent cache. You can also use only local cards for generating cache, but i do not recommend this option.

IF YOU WANT OPTIMAL SETTINGS FOR YOUR OSCAM AND CACHEEX, ALSO CHECK THIS ARTICLE:

http://www.satnigmo.com/1261/optimal-settings-for-oscam-cache-ex-mode-3/

FOR DISCUSSION ABOUT THIS ARTICLE VISIT THIS THREAD ON FORUM:

http://www.satnigmo.com/forum/index.php?threads/how-to-use-cache-ex-mode-3.488/

 

Post

Connect OScam with CCcam using CCcam protocol

This tutorial will be short. It is intended for people who have CCcam central server (Linux PC for example) and receivers with OScam which act as clients. Protocol which is used between OScam and CCcam is good old CCcam 🙂

Put these lines in oscam.server:

[reader]
label                         = remote
protocol                      = cccam
device                        = 192.168.1.119,12333  #Change these two settings according to your setup. 12333 is port of my CCcam server. If OScam and CCcam runs on same receiver, just use 127.0.0.1 instead of regular 192.168.x.x IP address!
user                          = test #You will have to create F line in CCcam.cfg with username and password that you used here!
password                      = testxxx
group                         = 1
emmcache                      = 1,3,2

This config is basic but you dont need additional (more advanced) settings. It works just fine! If you want faster zapping, then i recommend that you setup oscam.dvbapi file!

In CCcam.cfg create this line:

F: test testxxx 2 0 0 { 0:0:1 }

2 0 0 means that your receiver will get your local cards (if you have them), hop 1 and hop 2 cards. If you have server with only hop1 cards, you can just use 1 0 0

0 0 1 means that your receivers cannot share to other receivers. Thats ok, because you dont need reshare in your house. Reshare (0 0 2) is usually needed if you are sharing with clients outsite your house.

Thats it, for more info use comments.

For discussion please visit this thread:

http://www.satnigmo.com/forum/index.php?threads/oscam-to-cccam-cccam-protocol.541/

For other “connect” tutorials, visit these links:

Post

ins7e11 = 15 for NDS cards

This is example for Smargo cardreader but you can use ins7e11 = 15 line on PCSC and internal cardreaders too! I had excellent results with Omnikey 1021 and Sky Italia 09CD card. ECM dropped to amazing low 70ms!

[reader]
label = skyde
protocol = mouse #you can also use smartreader
device = /dev/ttyUSB0
caid = 09C4
boxid = 12345678
detect = cd
mhz = 357
cardmhz = 357
ident = 09C4:000000
group = 1
emmcache = 1,3,2
ins7e11 = 15

[reader]
label = skyit
protocol = mouse #you can also use smartreader
device = /dev/ttyUSB0
caid = 09CD
boxid = 12345678
detect = cd
mhz = 357
cardmhz = 357
ident = 09CD:000000
group = 1
emmcache = 1,3,2
ins7e11 = 15

And this is for PCSC reader:

[reader]
label                         = SkyIT
protocol                      = pcsc
device                        = 0
caid                          = 09cd
detect                        = cd
mhz                           = 357
cardmhz                       = 357
ident                         = 09cd:000000
group                         = 1
emmcache                      = 1,3,2
ins7e11 = 15

Powered by moviekillers.com.com