1. Diese Seite verwendet Cookies. Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies. Weitere Informationen

How-To Keys in IPC con Camd3

Dieses Thema im Forum "IPC (Italiana)" wurde erstellt von meister85, 20. November 2011.

Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. meister85
    Offline

    meister85 VIP

    Registriert:
    21. September 2009
    Beiträge:
    7.927
    Zustimmungen:
    5.229
    Punkte für Erfolge:
    113

    Qui vi spiego come usare le keys per aprire per esempio Austriasat su un Debian Server

    1. Mettiamo queste configs in /var/keys

    Code:
    camd3.config
    camd3.users
    camd3.keys
    camd3.servers
    camd3.map
    rom120.bin
    eep120.bin
    2. Dobbiamo mettere l´attributi 644 su le configs:

    Code:
    chmod 644 /var/keys/camd3.config 
    chmod 644 /var/keys/camd3.keys 
    chmod 644 /var/keys/camd3.map 
    chmod 644 /var/keys/camd3.servers 
    chmod 644 /var/keys/camd3.users 
    chmod 644 /var/keys/eep120.bin 
    chmod 644 /var/keys/rom120.bin
    3. Dobbiamo creare una nuova cartella che si chiama camd3 in /var/emu

    Code:
    mkdir /var/emu/camd3
    4. Moviamo la camd3.x86 nella cartella /var/emu/camd3 e diamo l´attributi 755

    Code:
    chmod +x /var/emu/camd3/camd3.x86*
    5. Mettiamo la camd3, camd3-help.txt e camd3-watchdog.sh nella cartella /var/emu/script e diamo l´attributi 755

    Code:
    chmod +x /var/emu/script/camd3* 
    chmod +x /var/emu/script/camd3-help.txt* 
    chmod +x /var/emu/script/camd3-watchdog.sh*
    6. Dobbiamo creare un symlink per il startscript in /bin

    Code:
    ln -f -s /var/emu/script/camd3 /bin/camd3
    7. Ora dobbiamo modificare la functions.sh

    Code:
    nano /var/emu/script/functions.sh
    Ci mettiamo questi parametri:

    Code:
    CDNAME="Camd3" 
    CDVERSION="camd3.x86" 
    CDBIN=$CAMBINS/camd3/$CDVERSION 
    CDCFG="$CAMCONFIGS/camd3.config" 
    CDSERVERS="$CAMCONFIGS/camd3.servers"
    CDUSERS="$CAMCONFIGS/camd3.users" 
    CDLOG="/var/log/camd3.log"
    8. Mettiamo l´autostart nella rc.local

    Code:
    i as
    Code:
    #avviare Camd3
    /bin/camd3 start &
    9. Per usare il watchdog dobbiamo creare un nuovo job nella crontab

    Code:
    i jobs
    Code:
    #Camd3 
    */10 * * * * root echo a | i os camd3-softkey.sh && /var/emu/script/camd3-watchdog.sh >/dev/null 2>&1 #Camd3 - Quarda se la Camd3 funziona(ogni 10 Minuti)

    10. Dobbiamo creare un nuovo Reader nella oscam.server


    Code:
    [reader]
    label = emu
    protocol = camd35
    device = localhost,32570 [COLOR=#ff0000]--> Per chi vuole usare un´altra porta, deve modificare la camd3.config[/COLOR][COLOR=#ff0000][SIZE=3][B]*[/B][/SIZE][/COLOR]
    user = server [COLOR=#ff0000]--> Per chi vuole usare un´altro user, deve modificare la camd3.config[/COLOR][COLOR=#ff0000][SIZE=3][B]*[/B][/SIZE][/COLOR]
    password = server [COLOR=#ff0000]--> Per chi vuole usare un´altro password, deve modificare la camd3.config[/COLOR][COLOR=#ff0000][SIZE=3][B]*[/B][/SIZE][/COLOR]
    services = orf,austriasat
    caid = 0D05
    ecmwhitelist = 0D05@000004:9C;0D05@000010:9C
    group = 1
    emmcache = 1,3,2
    * la camd3.config la potete modificare cosi

    Code:
    nano /var/keys/camd3.config
    oscam.services

    Code:
    [orf]
    caid = 0D95,0D05
    provid = 000000,000004,000008,000010,00000C
    srvid = 132F,1330,32C9,32CA,332D,32CB,32CC,32CD,32CE,32CF,32D0,32D1,32D2,32D3,32D4,3332,4E27,33A7,33A5
    
    [austriasat]
    caid = 0D05
    provid = 000000,000004,000008,000010,00000C
    srvid = 003E,0045,0046,07FA,07FD,07FF,2EFE,4461,4462,6FEE,6FEF,6FF0,6FF3,6FFF,003B
    oscam.srvid

    Code:
    #ORF
    
    1702,09C4,0D05,0D95,0648,1833:32C9|ORF|ORF1|TV|
    1702,09C4,0D05,0D95,0648,1833:32CA|ORF|ORF2|TV|
    1702,09C4,0D05,0D95,0648,1833:332D|ORF|ORF3|TV|
    1702,09C4,0D05,0D95,0648,1833:32CB|ORF|ORF2 Wien|TV|
    1702,09C4,0D05,0D95,0648,1833:32CC|ORF|ORF2 NiederÖsterreich|TV|
    1702,09C4,0D05,0D95,0648,1833:32CD|ORF|ORF2 Burgenland|TV|
    1702,09C4,0D05,0D95,0648,1833:32CE|ORF|ORF2 OberÖsterreich|TV|
    1702,09C4,0D05,0D95,0648,1833:32CF|ORF|ORF2 Salzburg|TV|
    1702,09C4,0D05,0D95,0648,1833:32D0|ORF|ORF2 Tirol|TV|
    1702,09C4,0D05,0D95,0648,1833:32D1|ORF|ORF2 Vorarlberg|TV|
    1702,09C4,0D05,0D95,0648,1833:32D2|ORF|ORF2 Steiermark|TV|
    1702,09C4,0D05,0D95,0648,1833:32D3|ORF|ORF2 Kärnten|TV|
    1702,09C4,0D05,0D95,0648,1833:32D4|ORF|ATV+|TV|
    1702,09C4,0D05,0D95,0648,1833:3332|ORF|Austria 9 TV|TV|
    1702,09C4,0D05,0D95,0648,1833:4E27|ORF|Puls 4 Austria|TV|
    1702,09C4,0D05,0D95,0648,1833:132F|ORF|ORF1 HD|TV|
    1702,09C4,0D05,0D95,0648,1833:1330|ORF|ORF2 HD|TV|
    1702,09C4,0D05,0D95,0648,1833:33A7|ORF|ATV 2|TV|
    1702,09C4,0D05,0D95,0648,1833:33A5|ORF|ORF Sportplus|TV|
    1702,09C4,0D05,0D95:003B|ORF|Sportdigital.tv|TV|Sport|
    
    #Austria Sat
    
    0D05,0D95,0648:003E|AustriaSat|AXN Action|
    0D05,0D95,0648:0045|AustriaSat|Sportdigital TV|
    0D05,0D95,0648:0046|AustriaSat|Alpengluehen TVX|
    0D05,0D95,0648:07FA|AustriaSat|Hustler TV|
    0D05,0D95,0648:07FD|AustriaSat|Dorcel TV|
    0D05,0D95,0648:07FF|AustriaSat|Animax|
    0D05,0D95,0648:2EFE|AustriaSat|RTL Living|
    0D05,0D95,0648:3335|AustriaSat|ESPN America|
    0D05,0D95,0648:4461|AustriaSat|Sat.1 Comedy|
    0D05,0D95,0648:4462|AustriaSat|Kabel eins Classics|
    0D05,0D95,0648:6FEE|AustriaSat|MTV Hits|
    0D05,0D95,0648:6FEF|AustriaSat|MTV Dance|
    0D05,0D95,0648:6FF0|AustriaSat|VH-1|
    0D05,0D95,0648:6FF3|AustriaSat|MTV Rocks|
    0D05,0D95,0648:6FFF|AustriaSat|MTV Music|
    11. Facciamo un reboot del server. Ora vi dovrebbe spuntare un nuovo reader nella oscam webinterface!

    Da ora in poi potete usare nell IPC anche i comandi

    Code:
    camd3 start
    camd3 stop
    camd3 restart
    camd3 help

    Dieser Link ist nur für Mitglieder!!! Jetzt kostenlos Registrieren ?

     
    Zuletzt bearbeitet: 22. Februar 2012
    #1
    awuvt gefällt das.
Status des Themas:
Es sind keine weiteren Antworten möglich.

Diese Seite empfehlen