Dies ist eine mobil optimierte Seite, die schnell lädt. Wenn Sie die Seite ohne Optimierung laden möchten, dann klicken Sie auf diesen Text.

Risolto Oscam + m7 + Raspberry PI + Omnikey

Status
Für weitere Antworten geschlossen.

WikiZell

Newbie
Registriert
9. September 2013
Beiträge
13
Reaktionspunkte
0
Punkte
1
Ciao a tutti,

Il mio scopo è quello di utilizzare Oscam su un rasberry PI con lettore Omnikey e scheda m7 ricaricabile.

il lato client è composto da DVBVIEWER PRO in un altro PC in LOCALE con ACAMD (Va bene come plugin o devo usare altro)

Ma ho bisogno del vostro aiuto per far funzionare la baracca.

Sono riuscito ad installare Oscam e a far vedere il reader.

Appena Avvio Oscam ottengo il seguente LOG:

LOG AVVIO:

2013/09/10 20:16:13 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r8907 (arm-linux-gnueabihf)
2013/09/10 20:16:13 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 18036
2013/09/10 20:16:13 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2013/09/10 20:16:13 0 s signal handling initialized
2013/09/10 20:16:13 0 s newcamd: initialized (fd=4, port=13000)
2013/09/10 20:16:13 0 s -> CAID: 1805 PROVID: 008D11
2013/09/10 20:16:13 0 s mediaset [pcsc] creating thread for device 0
2013/09/10 20:16:13 0 s loadbalancer: can't read from file /tmp/.oscam/stat
2013/09/10 20:16:13 0 s waiting for local card init
2013/09/10 20:16:13 137B538 r mediaset [pcsc] Reader initialized (device=0, detect=cd, mhz=368, cardmhz=368)
2013/09/10 20:16:13 137D230 h webif: decompressed 51524 bytes back into 152168 bytes
2013/09/10 20:16:13 137D230 h HTTP Server running. ip=0.0.0.0 port=8888
2013/09/10 20:16:14 137B538 r mediaset [pcsc] PCSC was opened with handle: 2018058386
2013/09/10 20:16:14 137B538 r mediaset [pcsc] card detected
2013/09/10 20:16:15 137B538 r mediaset [pcsc] ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 4E 43 4D 45 44 30 30 39 20 52 65 76 39 31 30 6C
2013/09/10 20:16:16 137B538 r mediaset [pcsc] detect nagra tiger card
2013/09/10 20:16:16 137B538 r mediaset [pcsc] card system not supported
2013/09/10 20:16:16 137B538 r mediaset [pcsc] Normal mode failed, reverting to Deprecated Mode
2013/09/10 20:16:16 137B538 r mediaset [pcsc] ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 4E 43 4D 45 44 30 30 39 20 52 65 76 39 31 30 6C
2013/09/10 20:16:17 137B538 r mediaset [pcsc] detect nagra tiger card
2013/09/10 20:16:17 137B538 r mediaset [pcsc] card system not supported
2013/09/10 20:16:17 137B538 r mediaset [pcsc] card initializing error
2013/09/10 20:16:18 0 s init for all local cards done
2013/09/10 20:16:18 0 s anti cascading disabled

oscam.conf

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


[global]
logfile = stdout
fallbacktimeout = 2000
failbantime = 5
cachedelay = 120
nice = -1
maxlogsize = 512
preferlocalcards = 1
saveinithistory = 1


[newcamd]
port = 13000@1805:008D11
key = QUI HO INSERITO UNA KEY TROVATA IN GIRO ... (va bene o devo trovare qualcosa di specifico ?)

oscam.user

[account]
user = reneg
pwd = reneg
group = 1
uniq = 0
caid = 1805
ident = 1805:000000;1805:008D11
au = 1

Oscam.server

[reader]


label = mediaset
protocol = pcsc
device = 0
caid = 1805
mhz = 368
cardmhz = 368
group = 1
emmcache = 1,1,2
blockemm-u = 0
blockemm-unknown = 1
blockemm-s = 0
blockemm-g = 1
rsakey= (Dove recupero la rsakey ??)

Per quanto riguarda ACAMD l'ho configurato cosi:

newcamd:192.168.1.25:13000:1/0000/0000:reneg:reneg:0102030405060708091011121314

Questo è il LOG di quando il client comunica con OSCAM:

2013/09/10 20:23:03 1388C00 c client connected to 13000 port
2013/09/10 20:23:03 1388C00 c encrypted newcamd:13000-client 192.168.1.7 granted (reneg, au=auto (1 reader))
2013/09/10 20:23:03 1388C00 c user reneg authenticated successfully (ACamd)
2013/09/10 20:23:03 1388C00 c AU disabled for user reneg
2013/09/10 20:23:04 1388C00 c reneg (1805&008D11/0000/0097/91:BF6363507882D709E16F131B600DA1AC): rejected group (1 ms) (no matching reader)
2013/09/10 20:23:04 1388C00 c reneg (1805&008D11/0000/0097/91:BF6363507882D709E16F131B600DA1AC): rejected group (0 ms) (no matching reader)
2013/09/10 20:23:10 1388C00 c reneg (1805&008D11/0000/0097/91:9325F65A52B449F156ECDFA46D44CF19): rejected group (0 ms) (no matching reader)
2013/09/10 20:23:20 1388C00 c reneg (1805&008D11/0000/0097/91:328300B9B92FF01D920822F809F496C1): rejected group (0 ms) (no matching reader)

Mi aiutate a FIXARE ??

Grazie
 
AW: Oscam + m7 + Raspberry PI + Omnikey

Allora per la sezione newcamd ai di sicuro messo la key default che sarebbe 0102030405060708091011121314. La puoi lasciare cosi. La rsakey te la mando in PM.
 
Bene, grazie per le risposte e per i PM. Stasera provo, e poi vi faccio sapere.


Sent from my iPhone using Tapatalk
 
ok, ho aggiornato i file di config inserendo i dati che mi avete dato. Ora ho il seguente LOG:

2013/09/11 15:26:25 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r8907 (arm-linux-gnueabihf)
2013/09/11 15:26:25 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 22736
2013/09/11 15:26:25 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2013/09/11 15:26:25 0 s signal handling initialized
2013/09/11 15:26:25 0 s newcamd: initialized (fd=4, port=13000)
2013/09/11 15:26:25 0 s -> CAID: 1805 PROVID: 008D11
2013/09/11 15:26:25 0 s mediaset [pcsc] creating thread for device 0
2013/09/11 15:26:25 0 s loadbalancer: can't read from file /tmp/.oscam/stat
2013/09/11 15:26:25 0 s waiting for local card init
2013/09/11 15:26:25 137B538 r mediaset [pcsc] Reader initialized (device=0, detect=cd, mhz=368, cardmhz=368)
2013/09/11 15:26:25 137D230 h webif: decompressed 51524 bytes back into 152168 bytes
2013/09/11 15:26:25 137D230 h HTTP Server running. ip=0.0.0.0 port=8888
2013/09/11 15:26:26 137B538 r mediaset [pcsc] PCSC was opened with handle: 248740408
2013/09/11 15:26:26 137B538 r mediaset [pcsc] card detected
2013/09/11 15:26:27 137B538 r mediaset [pcsc] ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 4E 43 4D 45 44 30 30 39 20 52 65 76 39 31 30 6C
2013/09/11 15:26:28 137B538 r mediaset [pcsc] detect nagra tiger card
2013/09/11 15:26:28 137B538 r mediaset [pcsc] type: NAGRA, caid: 1803, IRD ID: ############
2013/09/11 15:26:28 137B538 r mediaset [pcsc] ProviderID: 00 00 8D 11
2013/09/11 15:26:28 137B538 r mediaset [pcsc] Negotiate sessionkey was not successfull! Please check tivusat rsa key
2013/09/11 15:26:28 137B538 r mediaset [pcsc] card system not supported
2013/09/11 15:26:28 137B538 r mediaset [pcsc] Normal mode failed, reverting to Deprecated Mode
2013/09/11 15:26:28 137B538 r mediaset [pcsc] ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 4E 43 4D 45 44 30 30 39 20 52 65 76 39 31 30 6C
2013/09/11 15:26:29 137B538 r mediaset [pcsc] detect nagra tiger card
2013/09/11 15:26:30 137B538 r mediaset [pcsc] type: NAGRA, caid: 1803, IRD ID: ############
2013/09/11 15:26:30 137B538 r mediaset [pcsc] ProviderID: 00 00 8D 11
2013/09/11 15:26:30 137B538 r mediaset [pcsc] Negotiate sessionkey was not successfull! Please check tivusat rsa key
2013/09/11 15:26:30 137B538 r mediaset [pcsc] card system not supported
2013/09/11 15:26:30 137B538 r mediaset [pcsc] card initializing error
2013/09/11 15:26:31 0 s init for all local cards done
2013/09/11 15:26:31 0 s anti cascading disabled
2013/09/11 15:27:49 1388410 c client connected to 13000 port
2013/09/11 15:28:37 1388410 c anonymous disconnected from 192.168.1.7
2013/09/11 15:28:45 138A108 c client connected to 13000 port
2013/09/11 15:28:45 138A108 c encrypted newcamd:13000-client 192.168.1.7 granted (reneg, au=auto (1 reader))
2013/09/11 15:28:45 138A108 c user reneg authenticated successfully (ACamd)
2013/09/11 15:28:45 138A108 c AU disabled for user reneg
2013/09/11 15:28:45 138A108 c reneg (1805&008D11/0000/0097/91:6CD7FC0890F6662B248E3D1CF90BB529): rejected group (0 ms) (no matching reader)
2013/09/11 15:28:45 138A108 c reneg (1805&008D11/0000/0097/91:6CD7FC0890F6662B248E3D1CF90BB529): rejected group (1 ms) (no matching reader)
2013/09/11 15:28:52 138A108 c reneg (1805&008D11/0000/0097/91:41D05C23D087702B3C433472AEC4A1FF): rejected group (0 ms) (no matching reader)
2013/09/11 15:29:02 138A108 c reneg (1805&008D11/0000/0097/91:2B9B9D4348965FC3F524FBAA43D3BBB5): rejected group (0 ms) (no matching reader)

Ma ancora il messaggio NO MATCHING READER ...
 
Ok , dopo aver letto altri post sparsi per il forum , qualcosa è migliorato. Il log attuale è il seguente:

2013/09/11 17:34:25 0 s loadbalancer: can't read from file /tmp/.oscam/stat
2013/09/11 17:34:25 0 s waiting for local card init
2013/09/11 17:34:25 137D230 h webif: decompressed 51524 bytes back into 152168 bytes
2013/09/11 17:34:25 137B538 r mediaset [pcsc] Reader initialized (device=0, detect=cd, mhz=368, cardmhz=368)
2013/09/11 17:34:25 137D230 h HTTP Server running. ip=0.0.0.0 port=8888
2013/09/11 17:34:26 137B538 r mediaset [pcsc] PCSC was opened with handle: 332436444
2013/09/11 17:34:26 137B538 r mediaset [pcsc] card detected
2013/09/11 17:34:27 137B538 r mediaset [pcsc] ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 4E 43 4D 45 44 30 30 39 20 52 65 76 39 31 30 6C
2013/09/11 17:34:28 137B538 r mediaset [pcsc] detect nagra tiger card
2013/09/11 17:34:28 137B538 r mediaset [pcsc] card system not supported
2013/09/11 17:34:28 137B538 r mediaset [pcsc] Normal mode failed, reverting to Deprecated Mode
2013/09/11 17:34:28 137B538 r mediaset [pcsc] ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 4E 43 4D 45 44 30 30 39 20 52 65 76 39 31 30 6C
2013/09/11 17:34:29 137B538 r mediaset [pcsc] detect nagra tiger card
2013/09/11 17:34:30 137B538 r mediaset [pcsc] card system not supported
2013/09/11 17:34:30 137B538 r mediaset [pcsc] card initializing error
2013/09/11 17:34:30 0 s init for all local cards done
2013/09/11 17:34:30 0 s anti cascading disabled
2013/09/11 17:34:31 1388378 c client connected to 13000 port
2013/09/11 17:34:31 1388378 c encrypted newcamd:13000-client 192.168.1.7 granted (reneg, au=auto (1 reader))
2013/09/11 17:34:31 1388378 c user reneg authenticated successfully (ACamd)
2013/09/11 17:34:31 1388378 c AU disabled for user reneg
2013/09/11 17:34:31 1388378 c reneg (1805&008D11/0000/0097/91:150F76926A266071F6A1157BF40E80C7): rejected group (1 ms) (no matching reader)
2013/09/11 17:34:41 1388378 c reneg (1805&008D11/0000/0097/91:0E11497B5C0DA403B17C37885446DB91): rejected group (0 ms) (no matching reader)
2013/09/11 17:34:51 1388378 c reneg (1805&008D11/0000/0097/91:2770BF3D328155740F41246099DD4BAF): rejected group (0 ms) (no matching reader)
2013/09/11 17:35:01 1388378 c reneg (1805&008D11/0000/0097/91:CACE5EB4B851F51AEE3E9556F701CD5D): rejected group (0 ms) (no matching reader)
2013/09/11 17:35:11 1388378 c reneg (1805&008D11/0000/0097/91:B359D5E9E63EE25D279DB88D77C1C930): rejected group (1 ms) (no matching reader)
2013/09/11 17:35:49 1388378 c client connected to 13000 port
2013/09/11 17:35:49 1388378 c encrypted newcamd:13000-client 192.168.1.7 granted (reneg, au=auto (1 reader))
2013/09/11 17:35:49 1388378 c user reneg authenticated successfully (ACamd)
2013/09/11 17:35:49 1388378 c AU disabled for user reneg
2013/09/11 17:35:50 1388378 c reneg (1805&008D11/0000/0097/91:8C248E53B44A935CDE16B7A1FEE66BC8): rejected group (0 ms) (no matching reader)
2013/09/11 17:35:51 0 --- Skipped 1 duplicated log lines ---
2013/09/11 17:35:51 1388378 c reneg (1805&008D11/0000/0097/91:E8958EC6F6CF53346F5FE9D58B686A91): rejected group (0 ms) (no matching reader)
2013/09/11 17:36:01 1388378 c reneg (1805&008D11/0000/0097/91:B7177A9D95F0CFA6D0332558D9ACE5C6): rejected group (1 ms) (no matching reader)
2013/09/11 17:36:11 1388378 c reneg (1805&008D11/0000/0097/91:86F935023A689A4D8119B0BCFD691AA8): rejected group (0 ms) (no matching reader)
2013/09/11 17:36:21 1388378 c reneg (1805&008D11/0000/0096/91:6AAD02BAC0150802542F257F1F315E7B): rejected group (0 ms) (no matching reader)
2013/09/11 17:36:26 1388378 c reneg (1805&008D11/0000/0096/91:92145488B847DC9BAB11378E09B2F452): rejected group (0 ms) (no matching reader)
 
AW: Oscam + m7 + Raspberry PI + Omnikey

Sembra essere un problema di group...
prova a mettere in oscam.user solo caid=1805 e non ident e togliere cardmhz e mhz

- - - - - - - - - -

E soprattutto ricontrolla la rsakey se ha spazi
 


[global]
logfile = stdout
fallbacktimeout = 2000
nice = -1
maxlogsize = 512
failbantime = 5


[newcamd]
port = 13000@1805:008D11
key = 0102030405060708091011121314


[cccam]
port = 13001
nodeid = 513A13A2106013E4
version = 2.0.11


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

.user

[account]user = reneg
pwd = reneg
group = 1
uniq = 0
caid = 1805
au = 1
cccrescare= 1

.server

[reader]

label = mediaset
protocol = pcsc
device = 0


caid = 1805
detect = cd
group = 1
emmcache = 1,1,2
blockemm-unknown = 1
blockemm-g = 1

rsakey = (ho provato sia con gli spazi che senza) (con gli spazi non mi da errore)

Questi vanno compilati in modo particolare??:

oscam.srvid oscam.provido scam.tiers oscam.whitelist
 
AW: Re: Oscam + m7 + Raspberry PI + Omnikey

Prova prima a sostituire in oscam.conf
[newcamd]
port = 13000@1805:008D11,000000
key = 0102030405060708091011121314

Poi prova anche(dopo la prima modifica di oscam.conf)
[account]
user = reneg
pwd = reneg
group = 1
caid = 1805
au = 1


Per srvid , provido , tiers e whitelist , ci sono tutti gli aggiornamenti in questo forum
 
AW: Oscam + m7 + Raspberry PI + Omnikey

Ti posto la mia oscam.conf , magari puoi rubacchiare per prova qua e la...
Premessa.. uso Oscam pura
######### Web IF #########

[monitor]
hideclient_to = 10

[webif]
httpport = porta
httphelplang = it
httpuser =
httppwd =
httpallowed = 0.0.0.0-255.255.255.255
httphideidleclients = 1

#CCcam###

[newcamd]
port = porta@1805:008D11,000000
key = 0102030405060708091011121314

[cccam]
port =
reshare = 1
ignorereshare = 0
version = 2.2.1
updateinterval = 240
minimizecards = 0
keepconnected = 1
stealth = 1
reshare_mode = 0

[global]
logfile = stdout
fallbacktimeout = 2000
failbantime = 5
cachedelay = 120
nice = -1
maxlogsize = 512
preferlocalcards = 1
saveinithistory = 1

[dvbapi]
enabled = 1
au = 0
boxtype = dreambox
user = dvbapi
pmt_mode = 0
 
sempre lo stesso errore

2013/09/11 21:52:33 17AB68 h webif: decompressed 51524 bytes back into 152168 bytes
2013/09/11 21:52:33 17AB68 h HTTP Server running. ip=0.0.0.0 port=8888
2013/09/11 21:52:34 13E778 r mediaset [pcsc] PCSC was opened with handle: 1783403265
2013/09/11 21:52:34 13E778 r mediaset [pcsc] card detected
2013/09/11 21:52:35 13E778 r mediaset [pcsc] ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 4E 43 4D 45 44 30 30 39 20 52 65 76 39 31 30 6C
2013/09/11 21:52:36 13E778 r mediaset [pcsc] detect nagra tiger card
2013/09/11 21:52:36 13E778 r mediaset [pcsc] card system not supported
2013/09/11 21:52:36 13E778 r mediaset [pcsc] Normal mode failed, reverting to Deprecated Mode
2013/09/11 21:52:36 13E778 r mediaset [pcsc] ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 4E 43 4D 45 44 30 30 39 20 52 65 76 39 31 30 6C
2013/09/11 21:52:37 13E778 r mediaset [pcsc] detect nagra tiger card
2013/09/11 21:52:38 13E778 r mediaset [pcsc] card system not supported
2013/09/11 21:52:38 13E778 r mediaset [pcsc] card initializing error
2013/09/11 21:52:38 0 s init for all local cards done
2013/09/11 21:52:38 0 s anti cascading disabled
2013/09/11 21:52:38 181480 c client connected to 13000 port
2013/09/11 21:52:38 181480 c encrypted newcamd:13000-client 192.168.1.7 granted (reneg, au=auto (1 reader))
2013/09/11 21:52:38 181480 c user reneg authenticated successfully (ACamd)
2013/09/11 21:52:38 181480 c AU disabled for user reneg
2013/09/11 21:52:38 181480 c reneg (1805&008D11/0000/0097/91:79619B75A4F523A2F07BA52F6769485F): rejected group (0 ms) - Premium Action (no matching reader)
2013/09/11 21:52:47 181480 c reneg (1805&008D11/0000/0097/91:8BAF80C14FBB158C48142FF0532C5DE5): rejected group (0 ms) - Premium Action (no matching reader)
2013/09/11 21:52:57 181480 c reneg (1805&008D11/0000/0097/91:22828CEB4973FF9ADD8B04571EC4B252): rejected group (1 ms) - Premium Action (no matching reader)
2013/09/11 21:53:07 181480 c reneg (1805&008D11/0000/0097/91:16B1CB2F9004465FB0BF7853EACF710B): rejected group (0 ms) - Premium Action (no matching reader)
2013/09/11 21:53:17 181480 c reneg (1805&008D11/0000/0097/91:48F32F9CC66D6087DB4A538A63D828BF): rejected group (0 ms) - Premium Action (no matching reader)
2013/09/11 21:53:27 181480 c reneg (1805&008D11/0000/0097/91:460195229CBD9547482E274E35356168): rejected group (1 ms) - Premium Action (no matching reader)
2013/09/11 21:53:37 181480 c reneg (1805&008D11/0000/0097/91:72CEC7F6ACD693B132FCEECA40D441A0): rejected group (0 ms) - Premium Action (no matching reader)
2013/09/11 21:53:47 181480 c reneg (1805&008D11/0000/0097/91:2A18553AE938D190F3ED928929EFFC2B): rejected group (0 ms) - Premium Action (no matching reader)
2013/09/11 21:53:57 181480 c reneg (1805&008D11/0000/0097/91:4544FBF9EEBC5C8873EE240B287334E2): rejected group (0 ms) - Premium Action (no matching reader)
2013/09/11 21:54:07 181480 c reneg (1805&008D11/0000/0097/91:E89CB8331F5C4309853EC9200F608330): rejected group (0 ms) - Premium Action (no matching reader)
2013/09/11 21:54:17 181480 c reneg (1805&008D11/0000/0097/91:98DE59AAEEB684490052D429DCD5BD99): rejected group (0 ms) - Premium Action (no matching reader)
2013/09/11 21:54:27 181480 c reneg (1805&008D11/0000/0097/91:34006E1B7AB167AB2F3CE14B6F88E5F6): rejected group (0 ms) - Premium Action (no matching reader)

cosa intendi con oscam pura ?

- - - - - - - - - -

io come client utilizzo dvbviewer con il plugin acmd .... potrebbe essere quello ? ... anceh se nn penso , perché in passato lo usavo con sky.

poco fa ho provato anche con oscam per windows ... ma ho esattamente gli stessi problemi che ho sulla vesione linux di raspberry pi
 
AW: Re: Oscam + m7 + Raspberry PI + Omnikey

Cioè che non passo come user attraverso cccam , ma sempre con oscam -> dvbapi (detta appunto oscam pura)
Quindi oscam mi fa da lttore e "visualizzatore" (server and client)

Purtroppo piu di vedere e smanettare con le config fax simile alle mie, non saprei risolvere qusto tuo caso specifico...
 
ok , grazie per il chiarimento!

Domani proverò a vedere altro.
 
AW: Oscam + m7 + Raspberry PI + Omnikey

Comunque non vorrei dirlo... ma la card ancora non viene riconosciuta
1) I diritti sono aggiornati(se la metti nel tv ti togli il dubbio cosi si aggiornano)
2) Sei sicurissimo sulla rsakey eh? Perchè proprio l'altro giorno il problema era IDENTICO al tuo ed erano gli spazi (e ti confondi con tutti quei numeri-lettere)
 
si, nella cam del TV riesco a vedere correttamente.

per quanto riguarda l'rsa, ho fatto copia-incolla diverse volte... dovrebbe (dovrebbe) essere corretta.

effettivamente, ad ogni richesta che fa il client , nn vedo il led rosso ad accendersi sul lettore di schede. ricordo che con sky, lampeggiava ad ogni richiesta.
 
AW: Oscam + m7 + Raspberry PI + Omnikey

Ps ma ora che ci faccio caso, quel device= 0 ? è corretto? MMMM ... non è un qualcosa tipo dev/sci0 o simile?

PRIMA prova con tiger_rsakey = ... (chiave)
 
Status
Für weitere Antworten geschlossen.
Für die Nutzung dieser Website sind Cookies erforderlich. Du musst diese akzeptieren, um die Website weiter nutzen zu können. Erfahre mehr…