I have an oscam server (Ubuntu 12.04, svn R9660), but all versions it seems behave this way for me, at least since r9705. I have 7 local cards, 3 Via (2 identical load-balanced ), 2 Nagra, 2 Conax. I share these cards, and also get some shares from others. I have several receivers, with both cable and SAT tuners. When I tune one of the receivers to a channel where I have the card locally, I get the ECMs from the local card, at least for awhile, but eventually (I can see this on the web interface), oscam will get ECMs from some other remote card, with a different CAID (and with several hundred millisecond slower response time), even though the local card (this happens to be a Redlight Elite HD V4 card, 0500:043800) can decrypt this channel. If I switch channels and then switch back, the local card will be used again. I have not changed configuration in quite some time, but I know that SVN 9705 and lower do not exhibit this behavior! Excerpts below
oscam.conf
#
#
[global]
serverip = XX
pidfile = /var/run/oscam.pid
logfile = syslog
usrfile = /var/log/oscamuser.log
disablelog = 0
disableuserfile = 0
clienttimeout = 3000 # Default 5000
clientmaxidle = 120
cachedelay = 0
bindwait = 120
netprio = 0
#clientdyndns = 0
#resolvedelay = 30
unlockparental = 0
serialreadertimeout = 800
maxlogsize = 1024
waitforcards = 1
preferlocalcards = 2 # 0=local like remote, 1=prefer cacheex, 2=preferlocal
saveinithistory = 1
readerrestartseconds = 5
#
lb_mode = 1
lb_save = 500
lb_savepath = /var/oscam/stat
fallbacktimeout = 2600
#lb_nbest_readers = 1
#lb_nfb_readers = 2
#lb_min_ecmcount = 5
#lb_max_ecmcount = 500
#lb_reopen_seconds = 300
#lb_retrylimit = 800
[cache]
delay = 10
max_time = 10
max_hit_time = 15
# wait_time =
cachexenablestats = 0
# cacheex_cw_check =
# cwcycle_check_enable = 0
# cwcycle_check_caid =
cwcycle_maxlist = 4000
cwcycle_keeptime = 15
cwcycle_onbad = 1
cwcycle_dropold = 1
cwcycle_sensitive = 4
# cwcycle_allowbadfromffb = 0
# cwcycle_usecwcfromce = 0
# wait_until_ctimeout = 0
[anticasc]
enabled = 0
numusers = 1
sampletime = 2
samples = 10
penalty = 0
aclogfile = /var/log/oscam_ac.log
denysamples = 9
fakedelay = 2500
[monitor]
port = 988
serverip = XXX
nocrypt = 127.0.0,1,0.0.0.0-255.255.255.255
aulow = 30
monlevel = 4
hideclient_to = 15
appendchaninfo = 0
[webif]
httpport = 8081
httpuser = oscam
httppwd = oscam
httpallowed = 0.0.0.0-255.255.255.255
httprefresh = 12
httppollrefresh = 12
#httpsavefullcfg = 1
#httphelplang = en
[cccam]
nodeid = XX
port = 12000
version = 2.1.4
reshare = 2
forward_origin_card = 0
ignorereshare = 1
minimizecards = 0
keepconnected = 1
stealth = 1
#reshare_mode = 0
updateinterval = 240
#recv_timeout = 2000
Display More
oscam.server (only relevant card shown)
[reader]
label = RedlightHD
description =
enable = 1
protocol = smartreader
device = Serial:Reader XXXXXX
detect = cd
mhz = 600
cardmhz = 600
caid = 0500
#ident = 0500:43800,fff8f0
#ecmwhitelist = 0500@043800:3A,3E,4D,4E,34,35,39,43,44,46,48,4D,
58,5C,5D,61,66,67,69,6B,70
#ecmheaderwhitelist = 0500@043800:817032,807032,817041,807041,817045,
807 045,81703B,80703B,81704A,80704A,817040,807040,8170 36,807036,817037,807037,8
17043,807043
#emmreassembly = 0
blockemm-unknown = 1
blockemm-g = 0
blockemm-s = 0
blockemm-u = 0
group = 5
emmcache = 1,3,2
lb_weight = 500
Display More
oscam.dvbapi on receiver
P: 0500:043800 continue
P: 0500:023800 continue
P: 1843:000000 continue
P: 0B00:000000 continue
P: 0B02:000000 continue
P: 0648:000000 continue
Basically, wheveer I am asking for any channel on any of the 6 local cards, oscam should always use the local card, and never ask one of my peers to decrypt (isnt that the purpose of preferlocalcards=2 in oscam.conf ?) Any help appreciated.