Home

AZ HD Elite + original FW (4890) + OSCam(???) + embedded reader + Conax OSC (CD Swe)?

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
As the devil lies in the detail, I better give you what I work with...

Firstly, I do not know if I use the correct format/other files, in relation to the "trunk" (= "main file" in OSCam jargon?) I use, from the sticky thread in the OSCam forum AZbox HD section.

Honestly, I wouldn't know where to start, getting the correct complete package, so that everything is correctly teamed up... I mean, even when one goes into the trunk and starts reading - different parts have at the very top that they refer to an earlier version of OSCam, not the latest, so that is a bit confusing to a newbie like myself, who is also not from IT/technical science...

I must point out that I do know a few things about GBox, MBox, CCcam, how to configure them, to forward ports etc. I have no problems being a client to my Leete las normas. But getting an OSC going and setting up a server seems a good challenge... Especially, as OSCam itself is growing every day - which is great to see!!! However, it makes it more difficult, more complex for newbies like myself. Ergo, I need help, please!

And the correct, careful configuration of it all is not exactly unimportant, as we all know... So, as I am NOT lazy and I LOVE LEARNING, here is the lot I use:

module.seq [in OpenXCAS folder]

mgcamd
oscamCAS
#newcs
#MboxCAS
#SboxCAS
#MultiCAS

oscam.conf [all that follow are in oscamCAS folder]

# oscam.conf generated automatically by Streamboard OSCAM 0.99.4svn build #2940
# Read more: http://streamboard.gmc.to/oscam/browser/trunk/Distribution/doc/txt/oscam.conf.txt

[global]
logfile = stdout
disablelog = 0
disableuserfile = 0
usrfileflag = 0
clienttimeout = 5
fallbacktimeout = 2500
clientmaxidle = 120
cachedelay = 1
bindwait = 120
netprio = 0
clientdyndns = 1
resolvedelay = 30
unlockparental = 1
nice = -1
serialreadertimeout = 1500
maxlogsize = 10
waitforcards = 1
preferlocalcards = 1
saveinithistory = 1
readerrestartseconds = 5
readerautoloadbalance = 0
readerautoloadbalance_save = 0

[newcamd]
port = 20000@0B00:000000
key = 0102030405060708091011121314
allowed = 127.0.0.1,192.168.0.0-192.168.255.255
keepalive = 1
mgclient = 1

[cccam]
port = 12000
reshare = 2
version = 2.1.3

[dvbapi]
enabled = 1
au = 1
boxtype = azbox
user = local
pmt_mode = 0
priority =

[webif]
httpport = 80
httpuser = user
httppwd = pass
httprefresh = 5
httpallowed = 192.168.0.1-192.168.255.255
httphideidleclients = 0
httpreadonly = 0

[anticasc]
enabled = 1
numusers = 0
sampletime = 2
samples = 10
penalty = 0
aclogfile = ./oscam_ac.log
denysamples = 8
fakedelay = 1000

=

oscam.server

# oscam.server generated automatically by Streamboard OSCAM 0.99.4svn build #2978
# Read more: http://streamboard.gmc.to/oscam/browser/trunk/Distribution/doc/txt/oscam.server.txt

[reader]
label = azbox-internal
enable = 1
protocol = internal
device = 0
mode = 10
services = 0B00
caid = 0B00
detect = cd
mhz = 357
cardmhz = 357
ident = 0B00:000000
group = 1
emmcache = 1,1,3
ecmcache = 0
blockemm-unknown = 0
blockemm-s = 0
blockemm-g = 0
lb_weight = 100
auprovid =

=

oscam.srvid

#Canal Digital Sweden
0B00:000000

=

oscam.user

# oscam.user generated automatically by Streamboard OSCAM 0.99.4svn build #2947
# Read more: http://streamboard.gmc.to/oscam/browser/trunk/Distribution/doc/txt/oscam.user.txt

[account]
user = username
pwd = pass
disabled = 0
expdate =
group = 1
hostname = xxxx.dyndns.org
uniq = 1
sleep = 0
monlevel = 0
au = azbox-internal|0
services = myservices
caid = 0B00
betatunnel = 0
ident = 0B00:000000
cccmaxhops = 2
cccreshare = 2
keepalive = 0
numusers = 0
penalty = 0

openxcas.conf

[module]
name = oscamCAS
daemon = oscam
argument = c /PLUGINS/OpenXCAS/oscamCAS/
version = 1.00
api=Yes
wait =5sec

=

oscam.provid

# provider table
#
# format: <caid>:<provid>|<provider>|<satellite>|<language>
0B00:000000|Canal Digital|Sweden

=

oscam.services

[Canal Digital]
caid=0B00
srvid=0B00

=

oscam.srvid

#Canal Digital Sweden
0B00:000000

=

oscam.tiers

0B00:0B00|Canal Digital

=

dvbapi_fix-v3.diff

Código:
Index: module-dvbapi.c
=
--- module-dvbapi.c    (revisión: 4114)
+++ module-dvbapi.c    (copia de trabajo)
@@ -1865,7 +1865,7 @@
while ((ret = openxcas_get_message(&msg, 0)) >= 0) {
cs_sleepms(10);

-        process_client_pipe(dvbapi_client, NULL, 0);
+        /* process_client_pipe(dvbapi_client, NULL, 0); */
chk_pending(tp);

if (ret) {
Index: oscam.c
=
--- oscam.c    (revisión: 4114)
+++ oscam.c    (copia de trabajo)
@@ -2632,6 +2632,13 @@

for (--i; i>=0; i--) {
if (cl->ecmtask[i].rc>=99) { // check all pending ecm-requests
+            er=&cl->ecmtask[i];
+            if (check_cwcache1(er, cl->grp)) { //Schlocke: caching dupplicate requests from different clients
+                er->rc = 1;
+                send_dcw(cl, er);
+            }
+        }
+        if (cl->ecmtask[i].rc>=99) { // check all pending ecm-requests 
int act, j;
er=&cl->ecmtask[i];
tpc=er->tps;
Index: oscam-config.h
=
--- oscam-config.h    (revisión: 4114)
+++ oscam-config.h    (copia de trabajo)
@@ -12,7 +12,7 @@

#ifndef HAVE_DVBAPI
#if !defined(OS_CYGWIN32) && !defined(OS_HPUX) && !defined(OS_FREEBSD) && !defined(OS_MACOSX)
-//#define HAVE_DVBAPI
+#define HAVE_DVBAPI
#endif
#endif

=

I use the latest MGcamd to connect to OSCam, as a client. Here is the newcamd.list

CWS = 127.0.0.1 20000 mgcamd mgcamd 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan local
CWS_INCOMING_PORT = 12000

Just to add that MGcamd works as a CS client via the net, i.e. from my Leete las normas but as you can see - not a sausage in terms of connecting to OSCam Newcamd as card reader/server, sadly...

=

This is the log with latest OSCam trunk 4798, from the binaries sticky thread in this section:

AZBox[oscamCAS]$ ./oscam -d 255
Warning: keyword 'clientdyndns' in global section not recognized
Warning: keyword 'resolvedelay' in global section not recognized
2011/03/07 10:46:52 400 s >> OSCam << cardserver started version 1.00-unstable_svn, build #4798 (mips-azbox-linux)
2011/03/07 10:46:52 400 s version=1.00-unstable_svn, build #4798, system=mips-azbox-linux, nice=-1
2011/03/07 10:46:52 400 s client max. idle=120 sec, debug level=255
2011/03/07 10:46:52 400 s max. logsize=10 Kb
2011/03/07 10:46:52 400 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=1 ms
2011/03/07 10:46:52 400 s share updater thread started
2011/03/07 10:46:52 400 s auth size=4976
2011/03/07 10:46:52 400 s services reloaded: 0 services freed, 1 services loaded
2011/03/07 10:46:52 400 s reader 'azbox-internal' provid filter(s):
2011/03/07 10:46:52 400 s CAID #0: 0B00
2011/03/07 10:46:52 400 s provid #0: 000000
Warning: keyword 'ecmcache' in reader section not recognized
2011/03/07 10:46:52 400 s user 'xxxx' provid filter(s):
2011/03/07 10:46:52 400 s CAID #0: 0B00
2011/03/07 10:46:52 400 s provid #0: 000000
2011/03/07 10:46:52 400 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2011/03/07 10:46:52 400 s signal handling initialized (type=sysv)
2011/03/07 10:46:52 400 s oscam.srvid loading failed, old format
2011/03/07 10:46:52 400 s 1 tier-id's loaded
2011/03/07 10:46:52 400 s 1 provid's loaded
2011/03/07 10:46:52 400 s can't open file "/PLUGINS/OpenXCAS/oscamCAS/oscam.ird" (errno=2) irdeto guessing not loaded
[OPENXCAS_API:Mon Mar 7 10:46:52.669] load_xcas_control:98 ## loaded controller ID = 0x19760507
osdep_msq_server_open : key_request 0x62C4B094 key_response 0x62C4B095
osdep_msq_server_open : request msq is already created
osdep_msq_server_open : response msq is already created
osdep_msq_client_connect : key_request 0x62C4B094 key_response 0x62C4B095
2011/03/07 10:46:52 400 s monitor: disabled
2011/03/07 10:46:52 400 s camd33: disabled
2011/03/07 10:46:52 400 s camd35: disabled
2011/03/07 10:46:52 400 s cs378x: disabled
2011/03/07 10:46:52 400 s newcamd: Bind request failed, waiting another 119 seconds
2011/03/07 10:46:53 0 share-update 2139094304 2139094308
2011/03/07 10:46:53 0 reported/updated +0/-0/dup 0 of 0 cards to sharelist
2011/03/07 10:46:53 400 s newcamd: Bind request failed, waiting another 118 seconds

etc. etc. etc.

2011/03/07 10:50:51 400 s cccam: Bind request failed, waiting another 1 seconds
2011/03/07 10:50:52 400 s cccam: Bind request failed, giving up
2011/03/07 10:50:52 400 s radegast: disabled
2011/03/07 10:50:52 400 s http thread started
2011/03/07 10:50:52 400 s creating thread for device 0
2011/03/07 10:50:52 400 s loadbalancer: can't read from file /tmp/.oscam/stat
2011/03/07 10:50:52 400 s waiting for local card init
2011/03/07 10:50:52 C04 h HTTP Server couldn't bind on port 80 (errno=125). Not starting HTTP!
2011/03/07 10:50:52 1005 r reader thread started (thread= 1005, label=azbox-internal, device=0, detect=cd, mhz=357, cardmhz=357)
2011/03/07 10:50:52 1005 r IFD: Opening device 0

2011/03/07 10:50:52 1005 r openxcas sc: init
2011/03/07 10:50:52 1005 r openxcas sc: init failed (-1)
2011/03/07 10:50:52 400 s init for all local cards done
2011/03/07 10:50:52 400 s can't open file "/PLUGINS/OpenXCAS/oscamCAS/oscam.ac" (errno=2) anti-cascading table not loaded
2011/03/07 10:50:52 400 s anticascader thread started
2011/03/07 10:50:52 1806 c plain dvbapi-client granted (anonymous, au=off)
2011/03/07 10:50:52 1806 c dvbapi: can't open priority file /PLUGINS/OpenXCAS/oscamCAS/oscam.dvbapi

=

So, can we have a clean start, please, because it seems from reading here:

http://streamboard.gmc.to/oscam/browser/trunk/Distribution/doc/txt/oscam.conf.txt

I may have mismatched files, i.e. old format. That is, the new trunk I use and my older trunk accompanying files are not on speaking terms...

In other words, as I already asked,
-the complete file package and then
-some sorting out of this mess I seem to have started with, thanx to my lack of information...

Meanwhile, MGcamd is working fine as a CS client, from the net...

Please, help me give my 'local' back to my Leete las normas...:llorar:

Thanx in advance!!!:rosas:
 

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
Success!!!!!!!!!!!!!!!!!!

Well, OSCam 4799 with dvbapi support works!!!!!!!!!!!!

Thanx to our m8, hperez, his script here http://http://www.azboxhd.es/foro/showthread.php/7682-Script-para-convertir-cccam.cfg-en-formato-oscam?p= and his advice...

One thing I must correct him: the whole thing wouldn't start untill I completely removed various "obsolete/old format stuff, like "ecmcache".

Without changing anything else OSCam started then!

1) If you have a cccam.cfg file and are using his script - rename it to CCcam.cfg. In it you should have your C and N lines to connect to your Leete las normas/mates...

2) opencas.conf

[module]
name = oscamCAS
daemon = oscam
argument = c /PLUGINS/OpenXCAS/oscamCAS/
version = 1.00
api=Yes
wait =5sec
INFO = /tmp/ecm.info
REFRESH = 2

3) oscam.conf

[global]
serverip = 127.0.0.1,192.168.x.x
usrfile = /tmp/oscamuser.log
logfile = /tmp/oscam.log
disablelog = 0
disableuserfile = 1
usrfileflag = 0
clienttimeout = 5
fallbacktimeout = 2500
clientmaxidle = 120
failbantime = 60
failbancount = 0
cachedelay = 1
bindwait = 120
netprio = 1
unlockparental = 1
nice = -1
serialreadertimeout = 1500
maxlogsize = 10
waitforcards = 1
preferlocalcards = 1
saveinithistory = 1
readerrestartseconds = 5
readerautoloadbalance = 0
readerautoloadbalance_save = 0

[newcamd]
port = xxxxx@0B00:000000
key = xxxxxxxxxxxxxxxxxxxx
allowed = 127.0.0.1,192.168.0.0-192.168.255.255
keepalive = 1
mgclient = 0

[cccam]
port = xxxxx
reshare = 1
ignorereshare = 0
forward_origin_card = 0
version = 2.2.1
minimizecards = 0
keepconnected = 1
stealth = 1
reshare_mode = 0

[dvbapi]
enabled = 1
au = 1
boxtype = none
user = xxxxx
pmt_mode = 0

[webif]
httpport = xx
httphelplang = en
httpuser = xxxxx
httppwd = xxxxx
httprefresh = 5
httpallowed = 192.168.0.1-192.168.255.255
httphideidleclients = 0
httpreadonly = 0

[anticasc]
enabled = 1
numusers = 0
sampletime = 2
samples = 10
penalty = 0
aclogfile = ./oscam_ac.log
denysamples = 8
fakedelay = 1000

4) oscam.server

# Automatically generated by ccc_to_oscam v. 1.0

# internal reader

[reader]
label = cardreader
enable = 1
protocol = internal
device = 0
group = 1
lb_weight = 500
audisabled = 1
fallback = 0


[reader]
label = cs-xxxxxx.dyndns.biz
protocol = cccam
device = cs-xxxxxx.dyndns.biz,xxxxxx
account = xxxxxx,xxxxxx
group = 1
lb_weight = 100
audisabled = 1
enable = 1
fallback = 1


[reader]

9 more x like this

[reader]
label = 127.0.0.1
protocol = newcamd
device = 127.0.0.1,xxxxxx
key = xxxxxxxxxxxxxxxxxx
account = xxxxxx,xxxxxx
group = 1
lb_weight = 500
audisabled = 1
enable = 1
fallback = 1

[reader]
label = 192.168.x.x
protocol = newcamd
device = 127.0.0.1,xxxxxx
key = xxxxxxxxxxxxxxxxxx
account = xxxxxx,xxxxxx
group = 1
lb_weight = 500
audisabled = 1
enable = 1
fallback = 1

5) And oscam.user:

# Automatically generated by ccc_to_oscam v. 1.0

[account]
user = xxxxxx
pwd = xxxxxx
monlevel = 1
uniq = 1
group = 1

6) Then I edited a little according to hperez advice, like "weight" to 500 for the card reader and the rest to 100 [your mates on the net]:

ecm.info

caid: 0x0B00
pid: 0x006A
prov: 0x000000
reader: cardreader
from: local
protocol:
hops: 0
ecm time: 0.342
cw0: 6F 8E 98 95 54 0E D9 3B
cw1: 8E 79 E1 E8 16 4A 59 B9

PLEASE TELL ME IF I LEFT ANY PRIVATE/SENSITIVE DETAILS IN THESE LOGS!!!!

Restarted OSCam by remote => "Logs" from /tmp:

-------------------------------------------------------------------------------
>> OSCam << cardserver started at Tue Mar 8 09:24:19 2011
-------------------------------------------------------------------------------
08/03/2011 9:24:19 4813 c >> OSCam << cardserver started version 1.00-unstable_svn, build #4799 (mips-azbox-linux)
08/03/2011 9:24:19 4813 c version=1.00-unstable_svn, build #4799, system=mips-azbox-linux, nice=-1
08/03/2011 9:24:19 4813 c client max. idle=120 sec, debug level=0
08/03/2011 9:24:19 4813 c max. logsize=10 Kb
08/03/2011 9:24:19 4813 c client timeout=5000 ms, fallback timeout=2500 ms, cache delay=1 ms
08/03/2011 9:24:19 4813 c dvbapi: [ADD PID 0] CAID: 0B00 ECM_PID: 0027 PROVID: 000000
08/03/2011 9:24:19 4813 c dvbapi: new program number: 0135 (0B00:0135 unknown)
08/03/2011 9:24:19 1005 r card ejected

-------------------------------------------------------------------------------
>> OSCam << cardserver started at Tue Mar 8 09:24:20 2011
-------------------------------------------------------------------------------
08/03/2011 9:24:20 400 s >> OSCam << cardserver started version 1.00-unstable_svn, build #4799 (mips-azbox-linux)
08/03/2011 9:24:20 400 s version=1.00-unstable_svn, build #4799, system=mips-azbox-linux, nice=-1
08/03/2011 9:24:20 400 s client max. idle=120 sec, debug level=0
08/03/2011 9:24:20 400 s max. logsize=10 Kb
08/03/2011 9:24:20 400 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=1 ms
08/03/2011 9:24:20 400 s auth size=4976
08/03/2011 9:24:20 400 s services reloaded: 0 services freed, 1 services loaded
08/03/2011 9:24:20 400 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
08/03/2011 9:24:20 400 s signal handling initialized (type=sysv)
08/03/2011 9:24:20 400 s oscam.srvid loading failed, old format
08/03/2011 9:24:20 400 s 1 tier-id's loaded
08/03/2011 9:24:20 400 s 9 provid's loaded
08/03/2011 9:24:20 400 s can't open file "/PLUGINS/OpenXCAS/oscamCAS/oscam.ird" (errno=2) irdeto guessing not loaded
08/03/2011 9:24:20 400 s monitor: disabled
08/03/2011 9:24:20 400 s camd33: disabled
08/03/2011 9:24:20 400 s camd35: disabled
08/03/2011 9:24:20 400 s cs378x: disabled
08/03/2011 9:24:20 400 s newcamd: initialized (fd=19, port=xxxxxx, ip=255.255.255.255, prio=1, crypted)
08/03/2011 9:24:20 400 s CAID: 0B00
08/03/2011 9:24:20 400 s provid #0: 000000
08/03/2011 9:24:20 400 s cccam: initialized (fd=20, port=xxxxxx, ip=255.255.255.255, prio=1, crypted)
08/03/2011 9:24:20 400 s radegast: disabled
08/03/2011 9:24:20 400 s http thread started
08/03/2011 9:24:20 400 s creating thread for device 0
08/03/2011 9:24:20 400 s creating thread for device cs-xxxxxx.dyndns.biz
08/03/2011 9:24:20 400 s creating thread for device xxxxxx.dyndns.org
08/03/2011 9:24:20 400 s creating thread for device xxxxxx.dyndns.org
08/03/2011 9:24:20 400 s creating thread for device xxxxxx.hobby-site.com
08/03/2011 9:24:20 C04 h HTTP Server listening on port xxxx
08/03/2011 9:24:20 1005 r reader thread started (thread= 1005, label=cardreader, device=0, detect=cd, mhz=357, cardmhz=357)
08/03/2011 9:24:20 1406 p proxy thread started (thread= 1406, label=cs-xxxxxx.dyndns.biz, server=cs-xxxxxx.dyndns.biz)
08/03/2011 9:24:20 1406 p connecting to cs-xxxxxx.dyndns.biz
08/03/2011 9:24:20 1807 p proxy thread started (thread= 1807, label=xxxxxx.dyndns.org, server=xxxxxx.dyndns.org)
08/03/2011 9:24:20 1807 p connecting to xxxxxx.dyndns.org
08/03/2011 9:24:20 1406 p cs-xxxxxx.dyndns.biz: resolved ip=xxxxxx
08/03/2011 9:24:21 1005 r cardreader card detected
08/03/2011 9:24:21 1005 r openxcas sc: set mode 0
08/03/2011 9:24:24 400 s creating thread for device xxxxxx.mine.nu
08/03/2011 9:24:24 400 s creating thread for device xxxxxx
...
08/03/2011 9:24:24 400 s creating thread for device 127.0.0.1
08/03/2011 9:24:20 1C08 p proxy thread started (thread= 1C08, label=xxxxxx.dyndns.org, server=xxxxxx.dyndns.org)
08/03/2011 9:24:24 1C08 p connecting to xxxxxx.dyndns.org
08/03/2011 9:24:24 2009 p proxy thread started (thread= 2009, label=xxxxxx.hobby-site.com, server=xxxxxx.hobby-site.com)
08/03/2011 9:24:24 240A p proxy thread started (thread= 240A, label=xxxxxx.mine.nu, server=xxxxxx.mine.nu)
08/03/2011 9:24:24 240A p connecting to xxxxxx.mine.nu
08/03/2011 9:24:24 1807 p xxxxxx.dyndns.org: resolved ip=xxxxxx
08/03/2011 9:24:24 280B p proxy thread started (thread= 280B, label=xxxxxx, server=xxxxxx)
08/03/2011 9:24:24 1C08 p xxxxxx.dyndns.org: resolved ip=xxxxxx
08/03/2011 9:24:24 400 s loadbalancer: can't read from file /tmp/.oscam/stat
08/03/2011 9:24:24 400 s waiting for local card init
08/03/2011 9:24:24 2C0C p proxy thread started (thread= 2C0C, label=xxxxxx, server=xxxxxx)
08/03/2011 9:24:24 2C0C p connecting to xxxxxx
08/03/2011 9:24:24 3C10 p proxy thread started (thread= 3C10, label=127.0.0.1, server=127.0.0.1)
...
08/03/2011 9:24:24 1005 r ATR: 3B 24 00 30 42 30 30
...
08/03/2011 9:24:24 1005 r Maximum frequency for this card is formally 5 Mhz, clocking it to 5.00 Mhz
...
08/03/2011 9:24:24 3C10 p proxy 127.0.0.1:20000 newcamd525 (fd=62)
...
08/03/2011 9:24:24 4011 p proxy thread started (thread= 4011, label=192.168.x.x, server=127.0.0.1)
08/03/2011 9:24:24 4011 p proxy 127.0.0.1:xxxxxx newcamd525 (fd=57)
08/03/2011 9:24:25 1005 r type: Conax, caid: 0B00, serial: xxxxxx, hex serial: xxxxxx, card: v64
08/03/2011 9:24:25 1005 r Providers: 1
08/03/2011 9:24:25 1005 r Provider: 1 Provider-Id: 000000
08/03/2011 9:24:25 1005 r Provider: 1 SharedAddress: 00000000
08/03/2011 9:24:25 1005 r found cardsystem conax
08/03/2011 9:24:26 1005 r Package: 1, id: 6010, date: xxxxxx, name: Canal+
08/03/2011 9:24:26 1005 r Package: 2, id: 6020, date: xxxxxx, name: Nordic 1
08/03/2011 9:24:26 1005 r Package: 3, id: 6030, date: xxxxxx, name: Nordic 2
08/03/2011 9:24:26 1005 r Package: 4, id: 6040, date: xxxxxx, name: Nordic 3
08/03/2011 9:24:26 1005 r Package: 5, id: 6050, date: xxxxxx, name: TSS
08/03/2011 9:24:26 1005 r Package: 6, id: 6060, date: xxxxxx, name: Nordic 4
08/03/2011 9:24:26 1005 r Package: 7, id: 6070, date: xxxxxx, name: Nordic 5
08/03/2011 9:24:26 1005 r Package: 8, id: 6080, date: xxxxxx, name: Family HD
08/03/2011 9:24:26 1005 r [conax-reader] ready for requests
08/03/2011 9:24:26 280B p cccam(r) xxxxxx: login failed, pwd ack not received (n = -2)
08/03/2011 9:24:26 400 s init for all local cards done
08/03/2011 9:24:26 400 s can't open file "/PLUGINS/OpenXCAS/oscamCAS/oscam.ac" (errno=2) anti-cascading table not loaded
08/03/2011 9:24:26 400 s anticascader thread started
08/03/2011 9:24:26 4813 c plain dvbapi-client granted (anonymous, au=off)
08/03/2011 9:24:26 4813 c dvbapi: can't open priority file /PLUGINS/OpenXCAS/oscamCAS/oscam.dvbapi
08/03/2011 9:24:26 4813 c dvbapi: openxcas: channel change: sid = 135, vpid = 206. apid = 2ae
08/03/2011 9:24:26 4813 c dvbapi: [ADD PID 0] CAID: 0B00 ECM_PID: 0027 PROVID: 000000
08/03/2011 9:24:26 4813 c dvbapi: new program number: 0135 (0B00:0135 unknown)
08/03/2011 9:24:27 4813 c anonymous (0B00&000000/0135/50:xxxxxx): cache2 (302 ms) by cardreader (of 1 avail 1)
08/03/2011 9:24:27 4813 c anonymous (0B00&000000/0135/50:xxxxxx): cache2 (289 ms) by cardreader (of 1 avail 1)
08/03/2011 9:24:38 4813 c anonymous (0B00&000000/0135/50:xxxxxx): cache2 (340 ms) by cardreader (of 1 avail 1)
08/03/2011 9:24:47 4813 c anonymous (0B00&000000/0135/50:xxxxxx): cache2 (326 ms) by cardreader (of 1 avail 1)
08/03/2011 9:24:58 4813 c anonymous (0B00&000000/0135/50:xxxxxx): cache2 (451 ms) by cardreader (of 1 avail 1)
switch log file

Plus:

-------------------------------------------------------------------------------
>> OSCam << cardserver started at Tue Mar 8 09:24:19 2011
-------------------------------------------------------------------------------
08/03/2011 9:24:19 4813 c >> OSCam << cardserver started version 1.00-unstable_svn, build #4799 (mips-azbox-linux)
08/03/2011 9:24:19 4813 c version=1.00-unstable_svn, build #4799, system=mips-azbox-linux, nice=-1
08/03/2011 9:24:19 4813 c client max. idle=120 sec, debug level=0
08/03/2011 9:24:19 4813 c max. logsize=10 Kb
08/03/2011 9:24:19 4813 c client timeout=5000 ms, fallback timeout=2500 ms, cache delay=1 ms
08/03/2011 9:24:19 4813 c dvbapi: [ADD PID 0] CAID: 0B00 ECM_PID: 0027 PROVID: 000000
08/03/2011 9:24:19 4813 c dvbapi: new program number: 0135 (0B00:0135 unknown)
08/03/2011 9:24:19 1005 r card ejected

-------------------------------------------------------------------------------
>> OSCam << cardserver started at Tue Mar 8 09:24:20 2011
-------------------------------------------------------------------------------
08/03/2011 9:24:20 400 s >> OSCam << cardserver started version 1.00-unstable_svn, build #4799 (mips-azbox-linux)
08/03/2011 9:24:20 400 s version=1.00-unstable_svn, build #4799, system=mips-azbox-linux, nice=-1
08/03/2011 9:24:20 400 s client max. idle=120 sec, debug level=0
08/03/2011 9:24:20 400 s max. logsize=10 Kb
08/03/2011 9:24:20 400 s client timeout=5000 ms, fallback timeout=2500 ms, cache delay=1 ms
08/03/2011 9:24:20 400 s auth size=4976
08/03/2011 9:24:20 400 s services reloaded: 0 services freed, 1 services loaded
08/03/2011 9:24:20 400 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
08/03/2011 9:24:20 400 s signal handling initialized (type=sysv)
08/03/2011 9:24:20 400 s oscam.srvid loading failed, old format
08/03/2011 9:24:20 400 s 1 tier-id's loaded
08/03/2011 9:24:20 400 s 9 provid's loaded
08/03/2011 9:24:20 400 s can't open file "/PLUGINS/OpenXCAS/oscamCAS/oscam.ird" (errno=2) irdeto guessing not loaded
08/03/2011 9:24:20 400 s monitor: disabled
08/03/2011 9:24:20 400 s camd33: disabled
08/03/2011 9:24:20 400 s camd35: disabled
08/03/2011 9:24:20 400 s cs378x: disabled
08/03/2011 9:24:20 400 s newcamd: initialized (fd=19, port=xxxxxx, ip=255.255.255.255, prio=1, crypted)
08/03/2011 9:24:20 400 s CAID: 0B00
08/03/2011 9:24:20 400 s provid #0: 000000
08/03/2011 9:24:20 400 s cccam: initialized (fd=20, port=xxxxxx, ip=255.255.255.255, prio=1, crypted)
08/03/2011 9:24:20 400 s radegast: disabled
08/03/2011 9:24:20 400 s http thread started
08/03/2011 9:24:20 400 s creating thread for device 0
...
08/03/2011 9:24:20 C04 h HTTP Server listening on port xxxx
08/03/2011 9:24:20 1005 r reader thread started (thread= 1005, label=cardreader, device=0, detect=cd, mhz=357, cardmhz=357)
...
08/03/2011 9:24:21 1005 r cardreader card detected
08/03/2011 9:24:21 1005 r openxcas sc: set mode 0
...
08/03/2011 9:24:24 400 s creating thread for device 127.0.0.1
08/03/2011 9:24:24 400 s creating thread for device 127.0.0.1
...
08/03/2011 9:24:24 400 s loadbalancer: can't read from file /tmp/.oscam/stat
08/03/2011 9:24:24 400 s waiting for local card init
...
08/03/2011 9:24:24 3C10 p proxy thread started (thread= 3C10, label=127.0.0.1, server=127.0.0.1)
...
08/03/2011 9:24:24 1005 r ATR: 3B 24 00 30 42 30 30
...
08/03/2011 9:24:24 1005 r Maximum frequency for this card is formally 5 Mhz, clocking it to 5.00 Mhz
...
08/03/2011 9:24:24 3C10 p proxy 127.0.0.1:20000 newcamd525 (fd=62)
...
08/03/2011 9:24:24 4011 p proxy thread started (thread= 4011, label=192.168.x.x, server=127.0.0.1)
08/03/2011 9:24:24 4011 p proxy 127.0.0.1:xxxxxx newcamd525 (fd=57)
08/03/2011 9:24:25 1005 r type: Conax, caid: 0B00, serial: xxxxxx, hex serial: xxxxxx, card: v64
08/03/2011 9:24:25 1005 r Providers: 1
08/03/2011 9:24:25 1005 r Provider: 1 Provider-Id: 000000
08/03/2011 9:24:25 1005 r Provider: 1 SharedAddress: 00000000
08/03/2011 9:24:25 1005 r found cardsystem conax
08/03/2011 9:24:26 1005 r Package: 1, id: 6010, date: xxxxxx, name: Canal+
08/03/2011 9:24:26 1005 r Package: 2, id: 6020, date: xxxxxx, name: Nordic 1
08/03/2011 9:24:26 1005 r Package: 3, id: 6030, date: xxxxxx, name: Nordic 2
08/03/2011 9:24:26 1005 r Package: 4, id: 6040, date: xxxxxx, name: Nordic 3
08/03/2011 9:24:26 1005 r Package: 5, id: 6050, date: xxxxxx, name: TSS
08/03/2011 9:24:26 1005 r Package: 6, id: 6060, date: xxxxxx, name: Nordic 4
08/03/2011 9:24:26 1005 r Package: 7, id: 6070, date: xxxxxx, name: Nordic 5
08/03/2011 9:24:26 1005 r Package: 8, id: 6080, date: xxxxxx, name: Family HD
08/03/2011 9:24:26 1005 r [conax-reader] ready for requests
...
08/03/2011 9:24:26 400 s init for all local cards done
08/03/2011 9:24:26 400 s can't open file "/PLUGINS/OpenXCAS/oscamCAS/oscam.ac" (errno=2) anti-cascading table not loaded
08/03/2011 9:24:26 400 s anticascader thread started
08/03/2011 9:24:26 4813 c plain dvbapi-client granted (anonymous, au=off)
08/03/2011 9:24:26 4813 c dvbapi: can't open priority file /PLUGINS/OpenXCAS/oscamCAS/oscam.dvbapi
08/03/2011 9:24:26 4813 c dvbapi: openxcas: channel change: sid = 135, vpid = 206. apid = 2ae
08/03/2011 9:24:26 4813 c dvbapi: [ADD PID 0] CAID: 0B00 ECM_PID: 0027 PROVID: 000000
08/03/2011 9:24:26 4813 c dvbapi: new program number: 0135 (0B00:0135 unknown)
08/03/2011 9:24:27 4813 c anonymous (0B00&000000/0135/50:xxxxxx): cache2 (302 ms) by cardreader (of 1 avail 1)
08/03/2011 9:24:27 4813 c anonymous (0B00&000000/0135/50:xxxxxx): cache2 (289 ms) by cardreader (of 1 avail 1)
08/03/2011 9:24:38 4813 c anonymous (0B00&000000/0135/50:xxxxxx): cache2 (340 ms) by cardreader (of 1 avail 1)
08/03/2011 9:24:47 4813 c anonymous (0B00&000000/0135/50:xxxxxx): cache2 (326 ms) by cardreader (of 1 avail 1)
08/03/2011 9:24:58 4813 c anonymous (0B00&000000/0135/50:xxxxxx): cache2 (451 ms) by cardreader (of 1 avail 1)
switch log file

Card response is between a little bit more 250 msec and mainly less than 400 msec. No crashing, at least in Conax!

Now, I need to learn to make N and C lines, what goes where etc.

Then, I am missing a priority file dvbapi... To speed it all up...

Etc. etc.

Once again, thanx, m8!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:oka:

And others who helped!!!!!:okb:

So, here's the package, above, plus the MODULE itself attached here!!!:regalo:
 

Adjuntos

  • oscam-1.00-trunk-svn4799-azbox-mips_dvbapi-fix.tar.zip
    352,1 KB · Visitas: 22

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
Mini-HOWTO oscam+dvbapi on Dreambox HERE !!!

This is a complete minimal-configuration of oscam running on a Dreambox.
Oscam is reading the card from internal reader
Oscam is also decrypting the channels using the built-in softcam "dvbapi".

Oscam even updates the card using these settings.
(Supported cards "EMM: OK" -> http://streamboard.gmc.to:8001/wiki/CardsList)

No other softcam necessary!

All you've got to do is CHANGE THE CAID (cardID) AND IDENT(Providers)
in the reader (in oscam.server) to match your card.

You can find an overview of cards and their providers here:
http://streamboard.gmc.to:8001/wiki/CardsList

This is a basic configuration which runs out of the box.

oscam.conf

- global configuration
- all listeners ("server processes") are here
- could be newcamd- cccam- camd3x- web-server or dvbapi, the "built-in softcam" of oscam

[global]
Nice = -10
WaitForCards = 1
PreferLocalCards = 1
saveinithistory = 1

[monitor]
port = 988
monlevel = 4
nocrypt = 127.0.0.1

[webif]
httpport = 10001
httprefresh = 5
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255

[dvbapi]
enabled = 1
boxtype = dreambox
user = localuser
au = 1

oscam.server

- reader configuration
- where oscam finds it's cards
- could be real card-readers, or remote servers on any protocol

[reader]
label = myreadername
enable = 1
protocol = internal
device = /dev/sci0
detect = cd
caid = 0123 <--- put your caid here
ident = 0123:123456,234567 <--- put your caid:ident,ident,... here
group = 1
emmcache = 1,3,2


oscam.user

- user configuration
- users who are allowed to connect to this oscam
- like our local dvbapi-user, or remote users for any protocol

[account]
user = localuser
group = 1
au = myreadername


MANY MANY MANY other functions can be added to this configuration to enhance or add features.

If you'd like to share your card, you have to add server-processes in oscam.conf,
like a newcamd-protocol-server or cccam-protocol-server or other protocol server.
Doing so, different remote cardservers or softcams like oscam, cccam, newcs,...
are allowed to connect using the corresponding protocols.
Then add accounts in oscam.user so that our oscam accepts connections
from these remotes.

If you want to connect to remote cardservers, you have to add readers in oscam.server,
like newcamd-protocol connections or cccam-protocol connections or other protocol connections.
Doing so, your oscam reads cards from remote cardservers or softcams like oscam, cccam, newcs,...
using the corresponding protocols.

For more information it's strongly recommended to read the documentation

which came with oscam or read the always up-to-date documentation here:
http://streamboard.gmc.to/svn/oscam/trunk/Distribution/doc/txt/

And configuration examples here:
http://streamboard.gmc.to/svn/oscam/trunk/Distribution/doc/example/

PLEASE CONSULT THE DOCUMENTATION!

The latest version is 4800 and the docs are attached to this message!!!:regalo:
 

Adjuntos

  • Dokumentacija uz OScam v1.00_r4800.zip
    50,6 KB · Visitas: 8