Utilisation d'une carte off (mode client VDRLive, serveur Windows)

par aachen_france, 01/09/2006
Dans mon exemple:

Décompresser l'archive de NewCS 1.16RC10 sous Windows
Paramétrer le ficher newcs.xml.windows comme ci-dessous, bien sîr adapter les ip aux installations. (avec notepad ou notepad++ comme vous voulez)

<?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>none</parity> 
         <export>yes</export> 
         <enabled>yes</enabled> 
         <blocksa>yes</blocksa> 
         <blockua>yes</blockua> 
         <blockga>yes</blockga> 
         <boxkey>0000000000</boxkey> 
         <PTShandshake>no</PTShandshake> 
         <crypto-special>no</crypto-special> 
         <carddetect>yes</carddetect> 
         <newcamd_port>10001</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> 
         <hostname>127.0.0.1</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.2</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>cardserv</name> 
      <deskey>0102030405060708091011121314</deskey> 
      <userfile></userfile> 
      <user> 
         <name>local</name> 
         <password>local</password> 
         <au>on</au> 
      </user> 
      <user> 
         <name>local2</name> 
         <password>local2</password> 
         <au>on</au> 
      </user> 
      <!-- Remove if you dont use reverse login  --> 
      <user> 
         <name>local3</name> 
         <password>local3</password> 
         <hostname>localhost</hostname> 
         <port>12345</port> 
         <spider>yes</spider> 
      </user> 
       
       
   </newcamdserver> 
</newCSconfig> 

enregistrer le sous newcs.xml tout simple
copie le ficher dans ....../win32/
lancer ensuite le ficher newcs.exe
sur le VDRLive, avoir le plugin de eclipe (uc)
plug-cerise-0.5.4_vdr-1.3.37-v2.tar.bz2 (ou plus)
copier ou créer un fichier sur notepad++ (là c’est du linux) dans /mnt/disk.1.part.2/records/plugin/ je crois, c'est la ou il a le softcam.key ,nommer "cardclient.conf"

# 
# Comment lines can start with # or ; 
# 
# every client line starts with the client name, followed by some arguments: 
# 'hostname' is the name of the server 
# 'port' is the port on the server 
# 'emm' is a flag to allow EMM transfers to the server 
# (0=disabled 1=enabled) 
# 'caid' (optional) caid on which this client should work 
# 'mask' (optional) mask for caid e.g. caid=1700 mask=FF00 would allow 
# anything between 1700 & 17FF. 
# Default is 1700 & FF00. If only caid is given mask is FFFF. 
# You may give multiple caid/mask values comma separated 
# (e.g. 1702,1722,0d0c/ff00). 
# 'username' is the login username 
# 'password' is the login password 
# 
# radegast client 
radegast:hostname:port:emm/caid/mask 
# 
# aroureos client 
# 'hexbase' 
# 'hexserial' card data for which EMM updates should be send 
aroureos:hostname:port:emm/caid/mask:hexbase:hexserial 
# 
# camd33 client (tcp protocol) 
# 'aeskey' is the AES key (32bytes), disable encryption if missing 
camd33:hostname:port:emm/caid/mask:username:password:aeskey 
# 
# camd35 client (udp protocol) 
camd35:hostname:port:emm/caid/mask:username:password 
# 
# cardd client 
cardd:hostname:port:emm/caid/mask:username:password 
# 
# buffy client 
# 'aeskey' is the AES key (32bytes), disable encryption if missing 
buffy:hostname:port:emm:username:password:aeskey 
# 
# newcamd client 
# 'cfgkey' is the config key (28bytes) 
newcamd:192.168.0.251:10001:10:local:local:0102030405060708091011121314 

donc, rebooter VDRLive ce mettre sur les chaine de l'abo.
attendre moins 20-30 sec (la première fois) et regarder!!!! Changer sur quelques chaînes et attendre... si problème.. vérifier vos ip, si le lecteur est en mode phoenix, le port com (1 ou 2), ouvrir le port 10001 du part-feu. , fait attention de bien recopier les deskey’s (je les ai changées dans le newcs), toujours lancer le newcs.exe avant de demarrer VDRLive Si le changement lors du changement de chaîne sur votre abo, le décryptage est lent, je vous conseil alors de faire un channel.conf avec toutes les chaînes de votre abo à la suite les uns des autres


2 visiteurs connectés