Posts by nickiman

    Hi master G


    I´ve been trying your suggestion... but it doesn´t work for me.


    For providing more information, let me share with you the logs that I get when I have my configuration running in OSCAM and in the Acamd plugin from DVBviewer:


    Log from OSCAM:

    https://pastebin.com/raw/W0AyLPvY


    Log from Acamd plugin from DVBviewer:

    https://pastebin.com/raw/4qBNz5sD


    Well, if I configure your settings...

    In oscam.conf, try using the same port for all caids:
    [newcamd]
    port = 18000@0100:004106,003311;1810:000000,004001,004101;0B00:000000
    key = 0102030405060708091011121314

    In cardclient.conf add just one line:


    newcamd:192.168.10.12:18000:1/0000/0000:user1:user1:0102030405060708091011121314

    With only "user1" configured in OSCAM. I´m getting the next logs:


    Log from OSCAM:

    https://pastebin.com/raw/SgbWF7bT


    Log from Acamd plugin from DVBviewer:

    https://pastebin.com/raw/GV6CJBxR


    If I configure in OSCAM also the rest of the users...


    The results are more or less the same...


    Log from OSCAM:
    https://pastebin.com/raw/YLX0pgkW


    Log from Acamd plugin from DVBviewer:

    https://pastebin.com/raw/bDD53yFt


    Any other idea?


    Thanks and best regards.

    Hi,


    I´ll explain which is my situtation/scenario and what I´m trying to do.

    situtation/scenario:

    I´m running OSCAM in a NAS with Tvheadend. Tvheadend connects to OSCAM via dvbapi user.

    Everything works fine on it and I can see all channels in Astra 19,2ºE.


    What I´m trying to do...?


    Well, I have a PC with DVBviewer installed with the plugin ACamd which it runs a sort of newcamd client to descramble the channels. Everything works fine if I watch channels with CAID 0100 or 1810 but that´s all... the rest of the channels doesn´t work like MTV channels and so on.


    So ECM´s come in this way...:
    Internet (cline) -> reader (configured in OSCAM) -> DVBViewer (with Newcamd client)


    Is oscam.conf I have configured this:


    Code
    [newcamd]
    port                          = 18000@0100:004106,003311;18001@1810:000000,004001,004101;18002@0B00:000000
    key                           = 0102030405060708091011121314

    In oscam.user I have configured this user:


    Code
    [account]
    user                          = user1
    pwd                           = user1
    au                            = 1
    group                         = 1


    In the cardclient.conf which is the config file where I must to save the data connection to oscam I have configured this:

    Code
    newcamd:192.168.10.12:18000:1/0000/0000:user1:user1:0102030405060708091011121314
    newcamd:192.168.10.12:18001:1/0000/0000:user1:user1:0102030405060708091011121314
    newcamd:192.168.10.12:18002:1/0000/0000:user1:user1:0102030405060708091011121314

    As you probably know... 192.168.10.12 is the IP address which OSCAM is running.


    Also I attach you the log of OSCAM when I can´t descramble a channel with CAID 0B00 (MTV):


    And here, a log where the same newcamd user get the ecm´s to descrable channels under CAID 1810 (M+)

    Code
    2018/10/17 01:41:34 3E521B56 c  (newcamd) client connected to 18001 port
        2018/10/17 01:41:34 3E521B56 c   (client) encrypted newcamd:18001-client 192.168.10.17 granted (user1, au=auto (7 reader))
        2018/10/17 01:41:34 3E521B56 c  (newcamd) user user1 authenticated successfully (ACamd)
        2018/10/17 01:41:34 3E521B56 c  (newcamd) AU disabled for user user1
        2018/10/17 01:41:34 3E521B56 c      (ecm) user1 (1810@000000/0000/7857/8E:E82ED23846941ACFA87C2B10ADEFBBAC): found (30 ms) by powergame1 (P/5/5/5)
        2018/10/17 01:41:34 3E521B56 c      (ecm) user1 (1810@000000/0000/7857/8E:E82ED23846941ACFA87C2B10ADEFBBAC): cache2 (0 ms) by salero1 (P/5/5/5)
        2018/10/17 01:41:41 3E521B56 c      (ecm) user1 (1810@000000/0000/7857/8E:EA01338A170BDA197D3EE9EF0D8EF787): found (326 ms) by powergame1 (P/5/5/5)
        2018/10/17 01:41:56 3E521B56 c      (ecm) user1 (1810@000000/0000/7857/8E:FA957D7D6B2E95880C332A10A779110F): found (450 ms) by powergame1 (P/5/5/5)
        2018/10/17 01:42:11 3E521B56 c      (ecm) user1 (1810@000000/0000/7857/8E:24FA671C71A409475E99A429853D4FE6): found (334 ms) by powergame1 (P/5/5/5)


    So finally, the question is... what should I write in OSCAM in order to view the rest of the channels with different CAID´s?


    Sorry for the big post. I´ve tried to explain it the most accurate possible.


    Keep waiting your comments.


    Thanks and best regards.

    Hi,

    I´m trying to use this script in my Virtual Machine (Ubuntu 12.04) since I´m unable to run it under my NAS.


    I´ve copied the .png picons in a folder, copied the file oscam.servid and the script is running in my home path, as it is:

    /home/nico/picon/

    /home/nico/OscamPiconsTpl.sh

    /home/nico/oscam.srvid

    /home/nico/piconTPL/


    So, the variables section is configured in this way in the script:

    PathToPiconPNG="/home/nico/picons/"

    PathToOscamSrvid="/home/nico/oscam.srvid"

    PathToPiconTPL="/home/nico/piconTPL/"

    PathToTmp="/tmp/"


    Base64 is installed in the Virtual Machine:

    Code
    nico@VirUbuntu:~$ base64 --version
    base64 (GNU coreutils) 8.13
    Copyright © 2011 Free Software Foundation, Inc.
    Licencia GPLv3+: GPL de GNU versión 3 o posterior
    <http://gnu.org/licenses/gpl.html>.
    Esto es software libre: usted es libre de cambiarlo y redistribuirlo.
    No hay NINGUNA GARANTÍA, hasta donde permite la ley.
    
    Escrito por Simon Josefsson.

    When I run the script I get this error:

    Code
    nico@VirUbuntu:~$ ./OscamPiconsTpl.sh 
    ./OscamPiconsTpl.sh: 34: ./OscamPiconsTpl.sh: Bad substitution

    EDIT:
    I´ve tried several tricks reported in the prvious posts, but without success...

    Some remarks to the script.
    Script is not monkey-proof, because when you have an underscore ("_") in the directory names (as I have), script does not create the files due to the statement: "AWK - F "_" ....".


    Minor remarks:
    - why is in the script "$PWD"? $PWD is never used.
    - in the beginning the paths (variables) are checked and - if not exist - a backslash ("/") is added as last character, however this will cause double backslashes in: for file in "$PathToPiconPNG"/*.png (this is a minor remark, since if will not effect the script)

    and this also...



    Could you tell me what I´m doing wrong?

    Hi
    I would like to convert my picons to .tpl format for OSCam webif but I have some problems...


    I´m running OSCam in a QNAP NAS

    I´m using the oscam.srvid2 instead of oscam.srvid as the TOOL indicates

    And I can´t run base64 in my NAS


    Any chance to go ahead with this? Comments are really welcome.

    OK, don´t care about my previous post I´ve discovered how to do it in the meanwhile...

    please share as this may benefit others

    Well I´ve found a page where this file is generated automatically. Is this:
    http://kos.hdsat.pl


    There you have to select the package subscription that you want to generate in the section : Pakiety Zagraniczne / Foreign Packets

    In my case was Canal+ esp

    In the section: Sortowanie kanałów (domyślnie wg Kingofsat) / Channels sorting (default as on Kingofsat)

    Take care and select the option: Wg. sid / By sid

    Once done go to section: Pliki / Files

    And below you will find the file: Oscam.srvid2 (srvid new format) which I´ve used to my OSCam setup.

    And that´s all... ;)


    Hope this helps you.

    Add these 2 lines to the oscam.conf file. In the [dvbapi] section, May help.


    [dvbapi]

    read_sdt = 2

    write_sdt_prov = 1

    Good!

    Can I use this option also in combination of my Oscam.srvid2 file generated by myself?

    Thanks

    Hi,


    I would like to add this information in my OSCam. These are the details of the setup:


    OSCam is running in a NAS QNAP with firmware QTS 4.3.3.0154

    OSCam version is: 1.20-unstable_svn Build: r11378 Compiler: x86_64-linux-gnu-ssl-libusb


    That I want to do is view the channel name in the column of "Last Channel" in the Status page, now shows only unknown:

    cbdee8394de9ee98e74ff2f2.png


    If I click on it it carry me to the Files page selecting the file oscam.srvid2. I´ve added in this file some info generated by two different pages:

    http://wiki.lenux.org/srvid/api.php?sat=19.2E

    and

    http://kos.hdsat.pl/


    But I´m not sure of do it correctly or maybe I´m missing something more.


    Could you please help me?