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:
https://www.satnigmo.com/forum/index.php?threads/optimal-settings-for-oscam-cache-ex.495/
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:
https://www.satnigmo.com/1261/optimal-settings-for-oscam-cache-ex-mode-3/
FOR DISCUSSION ABOUT THIS ARTICLE VISIT THIS THREAD ON FORUM:
https://www.satnigmo.com/forum/index.php?threads/how-to-use-cache-ex-mode-3.488/