PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Debian + Smargo + NewCS 1.65 -> Kathi mgcamd 1.35



cucama
18.04.10, 02:21
Hallo liebes Publikum,
ich hab ein kleines Problemchen, meine neue Sky S02 Karte zu aktivieren... ich betreibe NewCS 1.65 an einem Smargo Kartenleser, der in meinem Debian Server steckt. Die Kathi läuft mit MGcamd und ich denke, es läuft soweit auch alles... die Karte wurde vorher an keinem anderen Gerät aktiviert.
Ich habe alles angeworfen mit den folgenden Configs:
newcs.xml


<newCSconfig>
<readers name="Phoenix">
<device>
<name>Phoenix Interface</name>
<type>phoenix</type>
<mhz>600</mhz>
<node>/dev/ttyUSB0</node>
<parity>odd</parity>
<reset>normal</reset>
<export>Yes</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<irdeto-camkey>0000000000000000</irdeto-camkey>
<irdeto-camkey-data>000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000</irdeto-camkey-data>
<crypto-special>No</crypto-special>
<ipk>000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000</ipk>
<ucpk>00000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000000000</ucpk>
<PTShandshake>No</PTShandshake>
<carddetect>yes</carddetect>
<newcamd_port>15000</newcamd_port>
<autosid>Yes</autosid>
<Seca-PPV>no</Seca-PPV>
<pincode>xxxx</pincode>
<priority>round</priority>
</device>
</readers>
<radegastserver>
<enabled>No</enabled>
<port>16000</port>
<allow>
<hostname>localhost</hostname>
</allow>
</radegastserver>
<cache>
<emm>20</emm>
<ecm>-1</ecm>
</cache>
<debug>
<password>NewCSpwd</password>
<level>normal</level>
<type>init</type>
<output>console,tcp</output>
<console_options>normal,init</console_options>
<tcp_port>1001</tcp_port>
<tcp_options>normal,init</tcp_options>
</debug>
<newcamdserver>
<enabled>Yes</enabled>
<name>newcs</name>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<user>
<name>xxxxxx</name>
<password>xxxxxxxx</password>
<hostname></hostname>
<port></port>
<au>yes</au>
<spider>no</spider>
<sidoverride>no</sidoverride>
<rate>0</rate>
</user>
</newcamdserver>
<httpd>
<server>
<port>20199</port>
<enabled>yes</enabled>
</server>
<user>
<name>xxxxxxxxx</name>
<password>xxxxxxxxx</password>
<accesslevel>admin</accesslevel>
</user>
</httpd>
</newCSconfig>

Die Kathi sieht wiefolgt aus:
mg_cfg


M: { 01 }
C: { 01 }
A: { 01 }
U: { 05 } 0x1ACB
T: { 00 }
G: { 01 }
N: { 07 } 5 30
K: { 04 }
Q: { 120 }
P: { 02 }
O: { 00 } username password
S: { 03 } 80
L: { 02 } 10.1.1.100 7025 /tmp/mgcamd.log
E: { 15 }
H: { 07 }
R: { 00 }
D: { 00 }
B: { 11 }

Es kam bisher nur einmal kurz ein Bild auf Sky Sport Info und der Log zeigte Folgendes:


[newcamd] EMM-U -> 10.1.1.50:15000
[newcamd] EMM answer from 10.1.1.50:15000, 3:82
[newcamd] EMM-U -> 10.1.1.50:15000
[newcamd] EMM answer from 10.1.1.50:15000, 3:82
[newcamd] EMM-S -> 10.1.1.50:15000
[newcamd] EMM answer from 10.1.1.50:15000, 3:82
[newcamd] EMM-S -> 10.1.1.50:15000
[newcamd] EMM answer from 10.1.1.50:15000, 3:82
[mg0] -> ECM to newcamd 10.1.1.50:15000
[mg0] <- CW from newcamd 10.1.1.50:15000 (665ms)
[mg0] 665 msec -- Sun Apr 18 00:03:21 2010
===== Betacrypt ECM on CaID 0x1702, pid 0x1800 ======
prov: 000000
cw0:xxxxxxxxxxxxxxxxxxxxxxxxxxxx
cw1:xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[mg0] irdeto using chid 00C6 version 07
[mgcam] read error error 110: Connection timed out
[newcamd] EMM-U -> 10.1.1.50:15000
[newcamd] EMM answer from 10.1.1.50:15000, 3:82
[mgcam] read error error 110: Connection timed out
[mgcam] read error error 110: Connection timed out
[newcamd] EMM-S -> 10.1.1.50:15000
[newcamd] EMM answer from 10.1.1.50:15000, 3:82
[mgcam] read error error 110: Connection timed out
[mgcam] read error error 110: Connection timed out
[mgcam] read error error 110: Connection timed out


Im Anschluss nur noch read errors und kein Bild mehr... die Entitlements werden im NewCS WebInterface so wie ich das verstanden habe eh nicht korrekt aktualisiert.
Kann mir jemand sagen, was genau den read error verursacht und was ich falsch mache?

Vielen Dank im Voraus und viele Grüße

Edit: Nach einem Neustart des NewCS und MGCamd zeigt das Log nur noch:


[newcamd] EMM-S -> 10.1.1.50:15000
[newcamd] EMM answer from 10.1.1.50:15000, 3:82
EMM: RSA Nagra2 key not found for id 6f (pid 0x1002)
EMM: RSA Nagra2 key not found for id 6f (pid 0x1002)
[newcamd] EMM-G -> 10.1.1.50:15000
[newcamd] EMM cached
[newcamd] EMM-G -> 10.1.1.50:15000
[newcamd] EMM cached
EMM: RSA Nagra2 key not found for id 88 (pid 0x1002)
EMM: RSA Nagra2 key not found for id 88 (pid 0x1002)
EMM: RSA Nagra2 key not found for id 6f (pid 0x1002)
EMM: RSA Nagra2 key not found for id 6f (pid 0x1002)
[newcamd] EMM-G -> 10.1.1.50:15000
[newcamd] EMM cached
EMM: RSA Nagra2 key not found for id 88 (pid 0x1002)
EMM: RSA Nagra2 key not found for id 88 (pid 0x1002)
[newcamd] EMM-G -> 10.1.1.50:15000
[newcamd] EMM cached

cucama
18.04.10, 11:45
Hmm... hat sich wohl erledigt. Habe jetzt statt MGCamd -> Camd3 auf der KAthi installiert und damit funktionierte es auf Anhieb.

Was mich nur ein bißchen wundert ist die Tatsache, dass ich für jedes gute ECM auch ein Bad ECM im NewCS Webinterface sehe:

[ Newcamd ] ECM -> cucama (OK) [CAID 0000] [Prov 00000000] [SID 0083]
[ Newcamd ] ECM -> cucama (NOT OK) [CAID 0000] [Prov 00000000] [SID 0083]
[ Newcamd ] ECM -> cucama (OK) [CAID 0000] [Prov 00000000] [SID 0083]
[ Newcamd ] ECM -> cucama (NOT OK) [CAID 0000] [Prov 00000000] [SID 0083]

OK ECM 100
Bd ECM 100

Ist das schlimm und sollte ich etwas dagegen unternehmen? Falls ja, was denn? :durcheinander-ersta

cucama
18.04.10, 12:33
HM, hat sich wohl auch erledigt... mit ner guten camd3.ignore kommen nun keine bd ecms mehr.

Vielen Dank fürs Lesen. ;-)

cucama
06.05.10, 23:58
Da bin ich wieder... heute kann NewCS die Karte aus heiterem Himmel nichtm ehr initialisieren. Es geschah einfach ohne Vorankündigung... Camd3 auf der Kathi hat nicht mehr entschlüsselt... als ich NewCS dann neustartete, sah ich nur noch Folgendes:

[SCRIPT] start: NewCS Server
This is NewCS 1.66 - the New CardServer by the Butter-team..
Compiled on May 22 2009 at 11:54:29
Reading Config file from /etc/newcs.xml
TCP-log password is enabled, set to: NewCSpwd
TCP-log set to simple mode
level: normal
type: init
output: console,tcp
logger config: level 1 type 3 output 5
Console log options: level 1 type 3
TCP log options: level 1 type 3
[ 23:58:09 ] [ Box detect ] Box type 1 (General Boxtype - Generic)
[ 23:58:09 ] [ Config ] Option <blockc0> for device 0 (Phoenix Interface) not present, defaulting to NO
[ 23:58:09 ] [ Config ] Value in <ipk> for device 0 (Phoenix Interface) is INVALID, skipping...
[ 23:58:09 ] [ Config ] Value in <ucpk> for device 0 (Phoenix Interface) is INVALID, skipping...
[ 23:58:09 ] [ Config ] Pincode for device 0 (Phoenix Interface): xxxx
[ 23:58:09 ] [ Config ] /dev/ttyUSB0 ECM priority: round
[ 23:58:09 ] [ httpd ] httpd-user: xxxxxxxx, password: xxxxxxxx, accesslevel: admin
[ 23:58:09 ] [ EMM Cache ] Initialising dynamic Cache
[ 23:58:09 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 3583
[ 23:58:09 ] [ Loader ] Starting Telnet on port 1001
[ 23:58:09 ] [ Loader ] Started HTTP-server on port: 20199
[ 23:58:09 ] [ Loader ] Reader type 2 on node /dev/ttyUSB0
[ 23:58:09 ] [ Phoenix ] Opening device /dev/ttyUSB0
[ 23:58:09 ] [ Phoenix ] Setting Parity to: ODD
[ 23:58:09 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 23:58:09 ] [ Phoenix ] Setting Baud to standard 9600
[ 23:58:10 ] [ Phoenix ] Normal RESET on node /dev/ttyUSB0
[ 23:58:12 ] [ ATR ] T=14 1etu=175.01us Guardtime:17etu WWT:9600etu
[ 23:58:12 ] [ ATR ] Historical bytes: m [00] [00] [00] [00] [00] [00] [00] [00] [00] [00] [00] [00] [00] [00]
[ 23:58:12 ] [ Loader ] Init Irdeto card
[ 23:58:12 ] [ Phoenix ] Setting Parity to: NONE
[ 23:58:12 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 23:58:12 ] [ Phoenix ] Setting Baud to custom 5713
[B][ 23:58:19 ] [ Loader ] Card 0600 on port /dev/ttyUSB0 failed
[ 23:58:19 ] [ Loader ] Starting Newcamd Server on port 15000
[ 23:58:19 ] [ Newcamd ] Newcamd thread Server started on port 15000
[ 23:58:19 ] [ NewCS ] Ready to GO! :)

Was ist da passiert? Ist die Karte im Eimer? Ist der Smargo plötzlich im Eimer? Wie gesagt... es geschah im laufenden Betrieb ohne Änderungen am Server.

Unplug & Replug vom Smargo und der Karte bringen keine Änderung... auch Neustart des Servers und Neu-Flashen des Smargo auf 1.4 hat nichts gebracht (er war vorher auch schon auf 1.4).

Was tun? :durcheinander-ersta

cucama
09.05.10, 15:19
Also falls es wen interessiert... ;-) Der Smargo ist defekt. Es ist auch eines der von Argolis bekanntgegebenen Plagiate. Bei diesen Modellen ist es wohl üblich, dass sie nach ein paar Wochen den Geist aufgeben.

Habe jetzt einen Infinity USB Smart und bin zufrieden damit.