Posts by diovedeeprovvede

    http://linuxsat-support.com/os…-connect-oscam-cccam.html


    I am a bit lost I thought you wanted to use oscam's CCcam protocol as a standalone server - connecting with CCcam internally is not needed on the server - you don't need CCcam, but if you want to give your peer a cline or share with an internal CCcam client then this can be done - follow what i said before to set the user account


    C: internal_ip_address_or_dyndns.com 12000 user pass


    Hello i have just a ubuntu sever with oscam.
    I share my line with mgcamd, o with n line.
    I 'd like to add cccam for share c line and controll it for example set reshare ecc, because with n line i can't

    SERVER LISTEN PORT : 12000


    CARD INFO PORT : 14000
    ONLINE CLIENTS PORT : 15000
    ONLINE CONNECTIONS PORT : 15001
    ONLINE SHARES PORT : 15002


    B: /dev/sci0 00 how set this???
    B: /dev/sci1 00


    SOFTKEY FILE : /var/keys/SoftCam.Key
    AUTOROLL FILE : /var/keys/Autoroll.Key


    STATIC CW FILE : /var/keys/constant.cw
    PROVIDERINFO FILE : /var/etc/CCcam.providers
    CHANNELINFO FILE : /var/etc/CCcam.channelinfo
    CAID PRIO FILE : /var/etc/CCcam.prio



    SECA HANDLER : 4
    DISABLE EMM: NO



    oscam.conf


    [global]
    nice = -1
    WaitForCards = 1
    saveinithistory=1
    # logging
    ClientTimeout = 5
    LogFile = stdout
    #Level =
    CacheDelay = 120
    #lb_mode = 1
    logfile = /var/log/oscam.log
    #logfile = /var/log/rejected_check.log


    [webif]
    httpport = +6969
    httpuser = ***tv2012
    httppwd = cazzola80
    httpallowed = 0.0.0.0-255.255.255.255
    httprefresh = 15
    httpshowpicons = 1
    httptpl = /var/picons
    #httpscript = /usr/local/bin/oscam.sh


    # protocols
    [newcamd]
    port = xxxxxx@09cd:000000
    key = 0102030405060708091011121314
    allowed =
    keepalive = 1
    mgclient = 1


    [cs357x]
    port = xxxxx@09cd:000000
    serverip = xxxxxxxxxxxx


    [cccam]
    port = 12000
    version = 2.2.1
    reshare = 1
    stealth = 1


    oscam.server
    [reader] this is correct???
    label = ***ita hd
    protocol = smartreader
    device = 003:002
    ins7e11 = 15
    ins7e = 00000000000000000000000000000000000000000000000000 00
    cacheex = 1
    caid = 09CD
    boxid = 12345678
    detect = cd
    ident = 09CD:000000
    group = 1
    emmcache = 1,3,2
    blockemm-unknown = 1
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    ecmwhitelist = 09CD:B7,51
    ecmheaderwhitelist = 09CD@000000:8070B4000001,8170B4000001

    yes, but you may share c line with oscam if you like, only go in configuration click cccam, define port and others parameters, reboot and after is everything like with newcamd (in oscam user)


    ok but i have a server with only oscam no cccam


    MY CONF


    [global]
    nice = -1
    WaitForCards = 1
    saveinithistory=1
    # logging
    ClientTimeout = 5
    LogFile = stdout
    #Level =
    CacheDelay = 120
    #lb_mode = 1
    logfile = /var/log/oscam.log
    #logfile = /var/log/rejected_check.log


    [webif]
    httpport = xxxx
    httpuser = xxxx
    httppwd = xxxx
    httpallowed = 0.0.0.0-255.255.255.255
    httprefresh = 15
    httpshowpicons = 1
    httptpl = /var/picons
    #httpscript = /usr/local/bin/oscam.sh


    # protocols
    [newcamd]
    port = 11000@09cd:000000
    key = 0102030405060708091011121314
    allowed =
    keepalive = 1
    mgclient = 1


    [cs357x]
    port = 21000@09cd:000000
    serverip = xxxxxx


    MY IDEA IS THIS


    For example


    # protocols
    [newcamd]
    port = 11000@09cd:000000
    key = 0102030405060708091011121314
    allowed =
    keepalive = 1
    mgclient = 1
    cccreshare = 1 IT'S CORRECT???
    cccmaxhops = 2


    The purpose is that another person reshare my Nline 1 or 2 time.


    It's possible or not! or do I have to force cccam



    Ok thanks, but if i' d like share this line to another person,how do I set one reshare. with cccam can be done, and with newcamd protocol?? example


    [account]
    cccreshare = 1
    cccmaxhops = 2

    ecc...

    Hello everybody
    There someone who can tell me if this script is correct
    This is a script oscamchek.sh


    -----------------------------------------------------------------------------------------------------------------
    #!/bin/sh


    process=`ps auxwww | grep oscam | grep -v grep | awk '{print $1}'`
    if [ -z '$process' ]; then
    echo "Couldn't find oscam running. Restarting server-binary" >> /var/log/oscam.check
    nohup /usr/local/bin/oscam >> /var/log/oscam.log &
    else
    echo "oscam is still OK!" >> /var/log/oscam.check
    fi


    --------------------------------------------------------------------------------------------------------------------


    Then i have modified the file crontab


    # /etc/crontab: system-wide crontab
    # Unlike any other crontab you don't have to run the `crontab'
    # command to install the new version when you edit this file
    # and files in /etc/cron.d. These files also have username fields,
    # that none of the other crontabs do.


    SHELL=/bin/sh
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin


    # m h dom mon dow user command
    17 * * * * root cd / && run-parts --report /etc/cron.hourly
    25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
    47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
    52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
    #



    56 03 * * * root killall oscam
    59 03 * * * root /usr/local/bin/oscam -b
    */2 * * * * root /var/script/OscamCheck.sh ------> in theory, the script checks every two minutes if oscam running!(it's correct?) and if it crashes reboots itself?
    20 5 * * * root reboot ------> the pc reboot every day at 5.20 AM


    THIS CONFIGURATION IS CORRECT?
    Thanks

    Hi I wanted to ask how do I get a script that restarts oscam when it crashes, for example when I am out "rejected group (120 ms) (0/0/0/0) (no matching reader)." (Does anyone know what this error it's?), However restarting everything back running!
    I've tried to put one on but webif of oscam is out => OSCam execute script: no defined script -> Status: not found -> returnCode: 0
    Surely I'm wrong!
    I wanted to know what is the path to put the script and how do I activate it?
    Using oscam-1.20-r8327-unstable_svn linux pc


    This is a script. it's correctly??


    #!/bin/sh
    #change the line below with the path of your oscam.log
    oscamlog="/emu/log/oscam.log"
    reject_c=`tail $oscamlog|grep "rejected group"|wc -l`
    if [ $reject_c -gt 8 ]
    then
    echo "Exceeded rejected pattern found.System reboot at -->" `date` >> /var/log/rejected_check.log
    /sbin/reboot
    fi
    exit 0