Ingolfa la comunicazione col server dato che manda continuamente EMM...Citazione:
Originariamente scritto da thecaptain2000
Visualizzazione Stampabile
Ingolfa la comunicazione col server dato che manda continuamente EMM...Citazione:
Originariamente scritto da thecaptain2000
Beh, c'è anche il plugin Hadu per il protocollo CCcam, e pare che sia il migliore in giro...Citazione:
Originariamente scritto da madman
Il mio ultimo post era aggiornato alla versione 0.6.1.0 di Acamd... Stasera provo la 0.6.1.1
Ciao, c' è qualche anima buona che sta usando newcs+ acamd? potreste inviarmi i file di configurazione? sto sbagliando qualche cosa, ma non essendo un esperto in materia, per me è difficile destreggiarmi senza un punto di partenza. Rispetto ai file conf che ho pubblicato nel mio post precedente, ho provato a disabilitare il supporto EMM come suggerito senza risultato. Io ho una scheda 001.
Sicuro sicuro che non sia un problema hardware?
hardware? il lettore viene riconosciuto in linux come ttyUSB0. quando il server parte ricevo una serie di messaggi dove lo smartmouse sembra riconoscere la scheda come NDS e riesca a scrivere / legggere da essa, non so come mettere un attachment se no metterei tutto in uno zip
alla fine dice:
una cosa, leggendo il readme del newcs, diceva di non dimenticarsi di settare il NDS box id, a dire il vero l'unico posto dive ho trovato un settaggio del box id era su acamd, non su ndscam....Citazione:
[ 12:37:53 ] [ NDS ] Status Word from Card: 9020
[ 12:37:53 ] Card reader unlocked for reader Phoenix on USB infinity [/dev/ttyUSB0]
[ 12:37:53 ] [ 0919 ] Init took: 1.501239
[ 12:37:53 ] [ Loader ] Card 0919 on port /dev/ttyUSB0 ready
[ 12:37:53 ] [ Card queue /dev/ttyUSB0 ] Starting...
[ 12:37:53 ] [ Loader ] Starting Newcamd Server on port 15050
[ 12:37:53 ] [ Newcamd ] Newcamd thread Server started on port 15050
newcamd: main loop
[ 12:37:53 ] [ Loader ] Starting Radegast Server on port 10001
[ 12:37:53 ] [ SockSrv ] Server thread started
[ 12:37:53 ] [ NewCS ] Ready to GO! :)
ho appena socperto che ho anche un web admin per newcs, se poó darti qualche informaione utile...
Codice:<?xml version="1.0"?>
<!--
For setup-issues, look in readme.txt!
If there are other troubles, try different forums or irc channels around :o)
-->
<newCSconfig>
<readers name="Card Readers">
<device>
<name>phoenix</name>
<type>Phoenix</type>
<node>COM1</node>
<mhz>357</mhz> <!-- or 357 -->
<parity>even</parity>
<export>yes</export>
<enabled>yes</enabled>
<blocksa>Yes</blocksa>
<blockua>Yes</blockua>
<blockga>Yes</blockga>
<blockC0>Yes</blockC0>
<boxkey>0000000000</boxkey>
<PTShandshake>no</PTShandshake>
<crypto-special>no</crypto-special>
<carddetect>no</carddetect>
<newcamd_port>10110</newcamd_port>
<priority>round</priority> <!-- hard is default -->
<sid>
<allow>
<!-- valid value for id are:
4 numbers, if the service id is 3 numbers, add a 0 infront of it. -->
<id></id>
</allow>
<deny>
<!-- valid value for id are:
4 numbers, if the service id is 3 numbers, add a 0 infront of it. -->
<id></id>
</deny>
</sid>
</device>
</readers>
<radegastserver>
<!-- valid value for enable are:
0,1 - Enable or Disable radegast server. -->
<enabled>no</enabled>
<!-- valid value for port are:
0,65535 - Which port to listen for incomming connections. -->
<port>10001</port>
<!-- valid value for allow are:
ALL - Not active yet. -->
<allow>
<!-- valid value for hostname are:
all, IP-address or DNS-name. -->
<hostname>192.168.1.2</hostname>
<hostname>HTPC</hostname>
<hostname>Athlon</hostname>
</allow>
</radegastserver>
<cache>
<emm>10</emm>
<ecm>10</ecm>
</cache>
<debug>
<level>normal</level>
<type>init</type>
<output>all</output>
<logfile></logfile>
<console_options></console_options>
<file_options></file_options>
<udp_host>192.168.1.10</udp_host>
<udp_port>1000</udp_port>
<udp_options></udp_options>
<tcp_port>3001</tcp_port>
<tcp_options></tcp_options>
</debug>
<newcamdserver>
<enabled>yes</enabled>
<name>casa</name>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<userfile></userfile>
<user>
<name>dummy10</name>
<password>dummy01</password>
<au>on</au>
</user>
<user>
<name>User1</name>
<password>Pass1</password>
<au>on</au>
</user>
<!-- Remove if you dont use reverse login -->
</newcamdserver>
<httpd>
<server>
<port>8080</port>
<enabled>yes</enabled>
</server>
<user>
<name>newcs</name>
<password>newcs</password>
<accesslevel>admin</accesslevel>
</user>
</httpd>
</newCSconfig>
Acamd.ini:
Codice:[ACamd]
Only184=1
MonLog=0
ReadPmtFile=1
SplitECM=0
MultiEcm=1
PatWait=2000
CatWait=2000
PmtWait=2000
TsWait=2000
KeyDelay=100
MDAPIWait=10
ResetProviderID=0
EcmRetryError=4
ComX=0
ComX_6mhz=0
Pri=0
PmtNoNameSearch=0
ForceGeMode=0
DisplayFilterActions=0
DisableEmmCache=1
TrayIcon=0
DeleteUnusedEcm=1
DCWTweak=1
DisableMonitorOutput=0
Active=1
Com1=0
Com5=0
DisableClientOnBadConnection=0
@PynkyZ
Dunque, c' è qualche cosa di sbagliato, probabilmente è una scemenza peró da solo non ne vengo fuori.
Di seguit riporto il log di Newcs e di acamd relativi alla stessa sessione. sembra che acamd quando si collega, faccia resettare la sechda ogni volta e dopo un po' manda newcs in crash.
dopo un po' si perde il CAID...Citazione:
21:25:20.656: now using protocol version 525 (cdLen=8)
21:25:20.656: hostname=192.168.0.2 port=10110 emm=0 emmCaids 0919/ffff
21:25:20.656: Newcamd: username=dummy password=dummy key=0102030405060708091011121314 providers=none
21:25:20.656: client 'Newcamd' ready
21:25:20.656: ** registered systems:
21:25:20.656: ** SC-NDS (pri -10)
21:25:20.656: ** SC-Nagra (pri -10)
21:25:20.656: ** SC-Cryptoworks (pri -10)
21:25:20.656: ** SC-Conax (pri -10)
21:25:20.656: ** SC-Viaccess (pri -10)
21:25:20.656: ** SC-Seca (pri -10)
21:25:20.656: ** SC-Irdeto (pri -10)
21:25:20.656: ** Cardclient (pri -15)
21:25:20.656: no smartcard interface defined!
21:25:31.742:
21:25:31.778: Ch: 258 - SKY Hits HD (ita)
21:25:31.778: Programm crc: E56C04E2
21:25:31.779: PMT: ACamd_PMT.txt, search, not found PMT=0102 (AND SID=106C)
21:25:31.790: Incomming PackageSize [188]
21:25:31.953: Auto search..., not found...
21:25:31.953: 0x0102 0x106C 0x0919 0x00000000 0x0504 0x0991 11111110
21:25:31.996: Login attemp (1)
21:25:31.996: netwatch up
21:25:31.996: Netwatcher thread started (tid=68503312)
21:25:31.996: connecting to 192.168.0.2:10110/tcp (192.168.0.2)
21:25:33.194: Newcamd 0: CaID=0919 admin=1 srvUA=0000000000A10E37 provider 000000/0000000000A10E00
21:25:33.194: Newcamd: EMM disabled from config
21:25:53.193: socket: select timed out (20 secs)
21:25:53.193: recv error. reconnecting...
21:25:53.193: netwatch down
21:25:53.193: Newcamd 0: warning an unexpected error occurred
21:25:53.193: Newcamd 0: ECM [0504][0919/00000000] Pro (19.999)
21:25:53.193: Newcamd 0: ECM [0504][0919/00000000] not able to decode
21:25:53.195: Login attemp (1)
21:25:53.195: netwatch up
21:25:53.195: connecting to 192.168.0.2:10110/tcp (192.168.0.2)
21:25:53.201: Newcamd 0: CaID=0919 admin=1 srvUA=0000000000A10E37 provider 000000/0000000000A10E00
21:25:53.201: Newcamd: EMM disabled from config
21:26:13.200: socket: select timed out (20 secs)
21:26:13.200: recv error. reconnecting...
21:26:13.200: netwatch down
21:26:13.200: Newcamd 0: warning an unexpected error occurred
21:26:13.200: Newcamd 0: ECM [0504][0919/00000000] Pro (19.999)
21:26:13.200: Newcamd 0: ECM [0504][0919/00000000] not able to decode
21:26:13.203: Login attemp (1)
21:26:13.203: netwatch up
21:26:13.204: connecting to 192.168.0.2:10110/tcp (192.168.0.2)
21:26:13.209: Newcamd 0: CaID=0000 admin=1 srvUA=0000000000A10E37 (unhandled) provider 000000/0000000000A10E00 <unhandled>
21:26:13.209: Error detected, disconnect...
21:26:13.209: netwatch down
21:26:13.211: Login attemp (1)
21:26:13.212: netwatch up
21:26:13.212: connecting to 192.168.0.2:10110/tcp (192.168.0.2)
21:26:13.217: Newcamd 0: CaID=0000 admin=1 srvUA=0000000000A10E37 (unhandled) provider 000000/0000000000A10E00 <unhandled>
21:26:13.217: Error detected, disconnect...
21:26:13.217: netwatch down
21:26:13.220: Login attemp (1)
21:26:13.220: netwatch up
21:26:13.220: connecting to 192.168.0.2:10110/tcp (192.168.0.2)
21:26:13.226: Newcamd 0: CaID=0000 admin=1 srvUA=0000000000A10E37 (unhandled) provider 000000/0000000000A10E00 <unhandled>
21:26:13.226: Error detected, disconnect...
21:26:13.226: netwatch down
Questo è il log di newcs per la stessa sessione:
Qualche idea? (grazie per l'aiuto)Citazione:
renato@homeserver:~$ sudo newcs start
[SCRIPT] start: NewCS Server
This is NewCS 1.67 RC1 [Build: 95] - the New CardServer by the Butter-team..
Compiled on Jul 14 2009 at 12:13:03
Reading Config file from /emu/newcs/newcs.xml
TCP-log password is disabled!
TCP-log set to simple mode
level: normal
type: init
output: all
logger config: level 1 type 3 output 255
Console log options: level 1 type 3
log file:
logger: cant open file , file log disabled
udp log: host 192.168.1.10 port 1000
UDP log options: level 1 type 3
TCP log options: level 1 type 3
[ 21:22:42 ] [ Box detect ] Box type 1 (General Boxtype - Generic)
[ 21:22:42 ] [ Config ] Option <blockc0> for device 0 (phoenix) not present, defaulting to NO
[ 21:22:42 ] [ Config ] Option <Seca-PPV> for device 0 (phoenix) not present, defaulting to NO
[ 21:22:42 ] [ Config ] /dev/ttyUSB0 ECM priority: round
[ 21:22:42 ] [ Config ] Option <spider> not present for User: dummy, defaulting to NO
[ 21:22:42 ] [ Config ] Option <spider> not present for User: dummy, defaulting to NO
[ 21:22:42 ] [ httpd ] httpd-user: newcs, password: newcs, accesslevel: admin
[ 21:22:42 ] [ EMM Cache ] Initialising dynamic Cache
[ 21:22:42 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 15836
[ 21:22:42 ] [ Loader ] Starting Telnet on port 3001
[ 21:22:42 ] [ Loader ] Started HTTP-server on port: 8085
[ 21:22:42 ] [ Loader ] Reader type 2 on node /dev/ttyUSB0
[ 21:22:42 ] [ Phoenix ] Opening device /dev/ttyUSB0
[ 21:22:42 ] [ Phoenix ] Setting Parity to: ODD
[ 21:22:42 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 21:22:42 ] [ Phoenix ] Setting Baud to standard 9600
[ 21:22:43 ] [ Phoenix ] Normal RESET on node /dev/ttyUSB0
renato@homeserver:~$ [ 21:22:45 ] [ ATR ] T=0 1etu=26.04us Guardtime:15etu WWT:38400etu
[ 21:22:45 ] [ ATR ] Historical bytes: 3 [B0] [0E] i [FF] J P p [00] [00] I T [02] [00] [00]
[ 21:22:45 ] [ Loader ] Init NDS card
[ 21:22:45 ] [ Phoenix ] Setting Parity to: ODD
[ 21:22:45 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 21:22:45 ] [ Phoenix ] Setting Baud to standard 38400
[ 21:22:46 ] [ KeymaN ] Adding key 00000000a10e37 type 0 on Provider 000000 for caid 0919 ID=0
[ 21:22:46 ] [ KeymaN ] Adding key 00000000a10e00 type 1 on Provider 000000 for caid 0919 ID=0
[ 21:22:46 ] [ Loader ] Card 0919 on port /dev/ttyUSB0 ready
[ 21:22:46 ] [ Loader ] Starting Newcamd Server on port 10110
[ 21:22:46 ] [ Newcamd ] Newcamd thread Server started on port 10110
newcamd: main loop
[ 21:22:46 ] [ NewCS ] Ready to GO! :)
[ 21:25:37 ] [ Newcamd:10110 ] User dummy logged in, client: Generic
[ 21:25:40 ] [ Loader ] Reinit card with caid 0919
[ 21:25:40 ] [ Loader ] Reader type 2 on node /dev/ttyUSB0
[ 21:25:40 ] [ Phoenix ] Opening device /dev/ttyUSB0
[ 21:25:40 ] [ Phoenix ] Setting Parity to: ODD
[ 21:25:40 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 21:25:40 ] [ Phoenix ] Setting Baud to standard 9600
[ 21:25:40 ] [ Phoenix ] Normal RESET on node /dev/ttyUSB0
[ 21:25:41 ] [ Loader ] Reset failed ...
[ 21:25:41 ] [ Loader ] Reinit card with caid 0919
[ 21:25:41 ] [ Loader ] Reader type 2 on node /dev/ttyUSB0
[ 21:25:41 ] [ Phoenix ] Opening device /dev/ttyUSB0
[ 21:25:41 ] [ Phoenix ] Setting Parity to: ODD
[ 21:25:41 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 21:25:41 ] [ Phoenix ] Setting Baud to standard 9600
[ 21:25:42 ] [ Phoenix ] Normal RESET on node /dev/ttyUSB0
[ 21:25:43 ] [ ATR ] T=0 1etu=26.04us Guardtime:15etu WWT:38400etu
[ 21:25:43 ] [ ATR ] Historical bytes: 3 [B0] [0E] i [FF] J P p [00] [00] I T [02] [00] [00]
[ 21:25:43 ] [ Loader ] Init NDS card
[ 21:25:43 ] [ Phoenix ] Setting Parity to: ODD
[ 21:25:43 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 21:25:43 ] [ Phoenix ] Setting Baud to standard 38400
[ 21:25:44 ] [ KeymaN ] Adding key 00000000a10e37 type 0 on Provider 000000 for caid 0919 ID=0
[ 21:25:44 ] [ KeymaN ] Adding key 00000000a10e00 type 1 on Provider 000000 for caid 0919 ID=0
[ 21:25:44 ] [ Loader ] Card 0919 on port /dev/ttyUSB0 ready
[ 21:25:57 ] [ Newcamd:10110 ] User dummy logout
[ 21:25:57 ] [ Newcamd:10110 ] User dummy logged in, client: Generic
[ 21:26:00 ] [ Loader ] Reinit card with caid 0919
[ 21:26:00 ] [ Loader ] Reader type 2 on node /dev/ttyUSB0
[ 21:26:00 ] [ Phoenix ] Opening device /dev/ttyUSB0
[ 21:26:00 ] [ Phoenix ] Setting Parity to: ODD
[ 21:26:00 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 21:26:00 ] [ Phoenix ] Setting Baud to standard 9600
[ 21:26:00 ] [ Phoenix ] Normal RESET on node /dev/ttyUSB0
[ 21:26:01 ] [ Loader ] Reset failed ...
[ 21:26:01 ] [ Loader ] Reinit card with caid 0919
[ 21:26:01 ] [ Loader ] Reader type 2 on node /dev/ttyUSB0
[ 21:26:01 ] [ Phoenix ] Opening device /dev/ttyUSB0
[ 21:26:01 ] [ Phoenix ] Setting Parity to: ODD
[ 21:26:01 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 21:26:01 ] [ Phoenix ] Setting Baud to standard 9600
[ 21:26:02 ] [ Phoenix ] Normal RESET on node /dev/ttyUSB0
[ 21:26:03 ] [ ATR ] T=0 1etu=26.04us Guardtime:15etu WWT:38400etu
[ 21:26:03 ] [ ATR ] Historical bytes: 3 [B0] [0E] i [FF] J P p [00] [00] I T [02] [00] [00]
[ 21:26:03 ] [ Loader ] Init NDS card
[ 21:26:03 ] [ Phoenix ] Setting Parity to: ODD
[ 21:26:03 ] [ Phoenix ] Setting 2 Stop bits on node /dev/ttyUSB0
[ 21:26:03 ] [ Phoenix ] Setting Baud to standard 38400
[ 21:26:04 ] [ KeymaN ] Adding key 00000000a10e37 type 0 on Provider 000000 for caid 0919 ID=0
[ 21:26:04 ] [ KeymaN ] Adding key 00000000a10e00 type 1 on Provider 000000 for caid 0919 ID=0
[ 21:26:17 ] [ Newcamd:10110 ] User dummy logout
[ 21:26:17 ] [ Newcamd:10110 ] User dummy logged in, client: Generic
[ 21:26:17 ] [ Newcamd:10110 ] User dummy logout
[ 21:26:17 ] [ Newcamd:10110 ] User dummy logged in, client: Generic
[ 21:26:17 ] [ Newcamd:10110 ] User dummy logout
[ 21:26:17 ] [ Newcamd:10110 ] User dummy logged in, client: Generic
[ 21:26:17 ] [ Newcamd:10110 ] User dummy logout
Appena visto sul sito scaistar che c' è un thread a riguardo, quindi grazie a tutti per l'aiuto, solo che fino a che non risolvono il problema di gestione della seriale non c'è niente da fare.
R
Immaginavo fosse un problema del genere. I buoni vecchi phoenix seriali hanno ancora una ragione di esistere...
confermo, uno dei migliori acquisti in assoluto!
i vecchi lettori seriali hanno ragione di esistere, peccato che non sia cosí facile procurarsi porte seriali di questi giorni
R
Hai ragione. Io ho iniziato con newcs 1.65 x windows, su un vecchio muletto con porte seriali, andava tutto bene ed avevo tempi di risposta ECM sui 0.250 ms. Sono passato, per curiosità, ad un decoder clone dreambox come server (intebox 300, costa meno di 100€), ho dimezzato i tempi di ECM e va una meraviglia.
Pensaci :)