Opened 8 years ago

Closed 19 months ago

#4325 closed defect (fixed)

Remote reader 1802 doesn't work with Oscam?

Reported by: hpapagaj Owned by:
Priority: Please fill in Component: ! Please select...
Severity: Please fill in Keywords:
Cc: Sensitive: no

Description

Revision

10630-11031

Issue Description

I checked everything, but I can't get work dvbapi with remote 1802 card (remote server is Oscam too).

My client config:

oscam.conf:
[dvbapi]
enabled = 1
au = 1
pmt_mode = 0
user = localuser
boxtype = dreambox

oscam.server:

[reader]
label = test
protocol = newcamd
device = ip,1000
key = 0102030405060708091011121314
user = name
password = pwd
caid = 1802
group = 1

oscam.user

[account]
user = localuser
pwd = localuser
hostname = 127.0.0.1
monlevel = 4
au = othercard
group = 1

The same card works with no problem in CCcam:

N: ip 1000 name pwd 01 02 03 04 05 06 07 08 09 10 11 12 13 14

When the issue occurs

when I switch to 1802 channel.

Attachments (2)

oscam.txt (6.4 KB ) - added by hpapagaj 8 years ago.
oscam log
oscam_initlevel_client.txt (14.2 KB ) - added by hpapagaj 8 years ago.

Download all attachments as: .zip

Change History (13)

by hpapagaj, 8 years ago

Attachment: oscam.txt added

oscam log

comment:1 by Aeon, 8 years ago

please post config + log of server.
oscam.user & oscam.server

Last edited 8 years ago by Aeon (previous) (diff)

comment:2 by hpapagaj, 8 years ago

Server:

oscam.user

[account]
user                          = xy
pwd                           = xy
group                         = 1

oscam.server

[reader]
label                         = test
protocol                      = internal
device                        = /dev/sci1
caid                          = 1802
boxkey                        = key
rsakey                        = key
detect                        = cd
mhz                           = 540
cardmhz                       = 2700
group                         = 1
auprovid                      = 002111

oscam.conf:

[newcamd]
port                          = 1000@1802:002111
key                           = 0102030405060708091011121314

oscam.log:

Interesting. It possible that I don't see any request from the client? All what I see is the client login.

2015/10/04 11:32:04   E42650 c  (newcamd) client connected to 34301 port
2015/10/04 11:32:04   E42650 c   (client) encrypted newcamd:34301-client IP granted (testad, au=off)
2015/10/04 11:32:04   E42650 c  (newcamd) user name authenticated success

No requests received.

From the client side request are sent:

2015/10/04 11:38:55 1C04963A c   (dvbapi) Demuxer 0 restarting decodingrequests after 0 ms with 1 enabled and 1 disabled ecmpids!
2015/10/04 11:38:55 1C04963A c   (dvbapi) Demuxer 0 no suitable readers found that can be used for decoding!
2015/10/04 11:38:55 1C04963A c   (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 1802 PROVID 000000 ECMPID 18A2 ANY CHID PMTPID 1018 VPID 0FEC
2015/10/04 11:38:56 1C04963A c      (ecm) localuser (1802@000000/0000/0FB4/92:F41A6E1800CB3D6746C5DAE444CF4D67): not found (1 ms) by test - xy 1 HD
2015/10/04 11:38:56 1C04963A c   (dvbapi) Demuxer 0 restarting decodingrequests after 1 ms with 1 enabled and 1 disabled ecmpids!
2015/10/04 11:38:56 1C04963A c   (dvbapi) Demuxer 0 no suitable readers found that can be used for decoding!
2015/10/04 11:38:57 1C04963A c   (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 1802 PROVID 000000 ECMPID 18A2 ANY CHID PMTPID 1018 VPID 0FEC

Same server, same client: 0D97 works nicely.

Last edited 8 years ago by hpapagaj (previous) (diff)

comment:3 by Aeon, 8 years ago

please try

[newcamd]
port = 1000@1802:000000
key = 0102030405060708091011121314

if it does not work, please post a log with initial_debuglevel = 8

Last edited 8 years ago by Aeon (previous) (diff)

comment:4 by hpapagaj, 8 years ago

With port = 1000@1802:000000 - I see invalid request (0ms) at LB Value/Reader.

initial_debuglevel from server?

edit: on the server is 10631 and I can't change that. :( If am not wrong this setting is from 10791.

Here it is from client:

Last edited 8 years ago by hpapagaj (previous) (diff)

by hpapagaj, 8 years ago

Attachment: oscam_initlevel_client.txt added

comment:5 by hpapagaj, 8 years ago

One more info: on the same server for this card mgcamd (with newcamd line) clients are OK.

Version 0, edited 8 years ago by hpapagaj (next)

comment:6 by Aeon, 8 years ago

this is your problem:

(chk) no match, 1802@000000 rejected by server 'ip' filters

so try on server:
[newcamd]
port = 1000@1802:000000,002111
key = 0102030405060708091011121314

comment:7 by hpapagaj, 8 years ago

Don't ask how or why, but it's working now. :)

I added port = 1000@1802:000000,002111 -> result in invalid (1 ms) request and I changed back to the original 1802:002111 and it's working now?! I can not explain this.

Yesterday we tried all possible combination without success, now it's working.

Last edited 8 years ago by hpapagaj (previous) (diff)

comment:8 by hpapagaj, 8 years ago

After a few hours it is stopped working, problem is the same. It is possible that this bug is in r10631 (server)?

comment:9 by Aeon, 8 years ago

port = 1000@1802:000000,002111
should be good, if you get "invalid" you need to update your ident/services

comment:10 by Aeon, 8 years ago

the client will see provid 000000, because nagra provid can only be extracted from ecm for caid 1801, you have 1802.

so in order to make the client send the ecm to the server, the server needs to tell the client provid 000000.

comment:11 by Opti, 19 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.