Posts by apebk

    In my userlog, this is what happens when the problem occurs.


    Code
    15.02.17 19:10:11 68.9 user 62.199.181.75 44245 330 7 0 1976 0 0 1487159474 1487182211 00:00:00 cccam 0B00@000000:12CB 0B00@000000:12CB unknown
    15.02.17 19:10:11 68.9 user 62.199.181.75 44245 330 7 0 1976 0 0 1487159474 1487182211 06:18:57 cccam FFFE@FFFFFE:FFFE FFFE@FFFFFE:FFFE unknown


    first line is when user connects, and second line when they disconnect.


    Anybody have a clue?

    Hi all.


    I've got this wierd problem in oscam. Everything works fine with cards. but I get some strange disconnections.


    Log snippet:

    Code
    2017/02/12 18:08:25 45FA0446 c      (ecm) dvbapiau (0B00@000000/0000/1B9F/88:6F50620C19F41D2F8A54B9AFF8DB8D09): found (265 ms) by Lower
    2017/02/12 18:08:26 48258FEA c   (client) encrypted cccam-client client.ip granted (user, au=off)
    2017/02/12 18:08:26 4F70D0A3 c      (ecm) another user (0B00@000000/0000/106E/88:735DE1464A0707B3F41F95B3489F7C58): found (264 ms) by Lower
    2017/02/12 18:08:28 6D361E56 c   (client) user disconnected from client.ip


    Of course this causes a freeze on the client side. But why a connect before disconnect?


    My thought was that i missed somthing in the setup.


    My setup:
    oscam.conf:


    my oscam.user:


    my oscam.server:


    This problem is on both readers. Im using Openatv 6.0 as image and Oscam SVN r11314 downloaded from in here.


    Really hope that someone can give me a clue. I have struggled with this somtime, and searced high and low for solutions, but none found.

    I finally succeeded! If anyone else should be interested this is how:


    Webif must be activated in oscam.confand running.


    install curl via opkg with: opkg install curl


    Copy this script into /usr/script/, and set your box to run the script as offen as you like.


    #!/bin/sh
    while [ $(curl --digest -u'user:pass" "http://127.0.0.1:port/entitlements.html?label=Upper" | grep -c "tier") -lt 2 ]
    do
    curl --digest -u"user:pass" "http://127.0.0.1:port/status.html?action=restart&label=reader"
    sleep 65
    done
    echo "reader ok"


    Where user, pass and port is as configured in oscam.conf.
    Reader can be either upper or lower.
    Remember to grant access to 127.0.0.1 in oscam.conf

    I believe it can, if i go the webif way. My thought was somthing like this:

    Hello All.


    I need a script that restarts a internal reader on no entitlements. I need this because one of my readers needs to be restarted a couple of times after restart of oscam, to read the entitlements. The other reader works without any problems (both are internal), so i do not want to restart oscam, but only the reader that does not work.
    Is this even possible? If yes, can anyone give me a push in the right direction, to where i can read about it, and try to make the script. I have tried to search high and low, but I do not seem to find anything on reader restart, only oscam restart.


    Thanks in advance

    Sorry for my late reply. I have tried the configs, the card works with theese, but all users disconnect. anyboddy knows why??


    I dont have /dev/tty is there anywhere else i can use this?

    Hello All.


    I know this has been asked before, but i have tryed every solution that i could find in forum, but still cant get oscam to read Via**** 090f card.
    Under initialisation it says that card is not supportet! Can this be true?
    My configs are:


    oscam.server
    [reader]
    label = upper
    protocol = internal
    device = /dev/sci0
    detect = cd
    mhz = 450
    cardmhz = 2700
    group = 1
    emmcache = 1,3,2,0
    blockemm-unknown = 1
    blockemm-g = 1


    [reader]
    label = lower
    protocol = internal
    device = /dev/sci1
    caid = 090F
    ident = 090F:000000
    readtiers = 2
    detect = cd
    mhz = 450
    cardmhz = 2700
    group = 2
    emmcache = 1,3,2,0
    blockemm-unknown = 1
    blockemm-u = 1
    blockemm-g = 1
    boxkey = 0C******


    oscam.conf
    [global]
    nice = -1
    preferlocalcards = 1
    logfile = /dev/tty
    unlockparental = 1


    [dvbapi]
    enabled = 1
    au = 1
    pmt_mode = 6
    user = dvbapiau
    boxtype = dreambox


    [monitor]
    port = 988
    serverip = 127.0.0.1
    monlevel = 4


    [webif]
    httpport = 25645
    httphelplang = dk
    httprefresh = 10
    httppollrefresh = 10
    httpallowed = 127.0.0.1,0.0.0.0-192.168.255.255
    httphidetype = sh


    oscam.dvapi
    P: 0B00
    P: 090F


    Can someone please help???


    - - - Updated - - -


    forgot to write that it is on a VU+ Solo2 with openATV, and oscam_atv 1.2 10659

    Hello all.


    I'm using openatv 4.2 image on my vu+ solo2. When i look at messages in /var/log/ I have A LOT of these lines from different ip's:


    Nov 3 14:04:53 vusolo2 authpriv.notice login[3295]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/pts/2 ruser= rhost= user=root
    Nov 3 14:04:53 vusolo2 authpriv.notice login[3290]: FAILED LOGIN (1) on '/dev/pts/0' from '[::ffff:89.215.187.114]:43645' FOR 'UNKNOWN', Authentication failure
    Nov 3 14:04:53 vusolo2 authpriv.notice login[3297]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/pts/3 ruser= rhost= user=root


    Nov 3 14:04:51 vusolo2 authpriv.notice login[3283]: FAILED LOGIN (1) on '/dev/pts/4' from '[::ffff:109.197.186.206]:55841' FOR 'UNKNOWN', Authentication failure
    Nov 3 14:04:51 vusolo2 authpriv.warn login[3290]: pam_unix(login:auth): check pass; user unknown
    Nov 3 14:04:51 vusolo2 authpriv.notice login[3290]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/pts/0 ruser= rhost=
    Nov 3 14:04:51 vusolo2 authpriv.notice login[3285]: FAILED LOGIN (1) on '/dev/pts/9' from '[::ffff:46.1.160.91]:40774' FOR 'root', Authentication failure
    Nov 3 14:04:52 vusolo2 authpriv.notice login[3288]: FAILED LOGIN (1) on '/dev/pts/5' from '[::ffff:171.83.249.195]:51465' FOR 'root', Authentication failure
    Nov 3 14:04:52 vusolo2 authpriv.notice login[3293]: pam_unix(login:auth): authentication failure; logname=LOGIN uid=0 euid=0 tty=/dev/pts/7 ruser= rhost= user=root


    I know that they don't get access, but does anybody know how to auto ban these ip's? i'm just thinking that it use some bandwidth with all these attempts.

    Thanks for the replies. I will correct the flines. The boxes runs 2.1.4. Will try to change to 2.3.0 and see if that does the trick. Ill report back with my observations.

    Hello all.


    Im running a cccam server on my box, and share with a few freinds. Some of my freinds just got new boxes(optibox evo7), and when running on them i get double login to my server:


    Jan 5 18:57:46 vuduo daemon.debug CCcam: login from xxx.xxx.xxx.xxx
    Jan 5 18:57:46 vuduo daemon.debug CCcam: user pet login attempt from xxx.xxx.xxx.xxx
    Jan 5 18:57:46 vuduo daemon.debug CCcam: double login (pet), (previous xxx.xxx.xxx.xxx), reject
    Jan 5 18:57:46 vuduo daemon.debug CCcam: kick xxx.xxx.xxx.xxx(), bad command
    Jan 5 18:57:46 vuduo daemon.debug CCcam: kick xxx.xxx.xxx.xxx(pet), bad command



    all other boxes runs like a charm.
    Does any body know how i can prevent this? Their cline are:


    c: serverip port pet password yes


    I believe that it is the new boxes that needs somekind of finetuning. All other boxes (10) runs without any problems.


    My config is:



    Hope that somebody can help. Its driving me crazy.
    Can i somehow "allow" a double login one time, and if it happens more than once it get kicked?


    Everything is running on latest OpenATV image.

    Hey everybody.


    I need some help on oscam. It runs for about a day, and then suddently crashes. This is my error:



    Im using oscam 6337. My configs are:


    Oscam.conf:



    oscam.server:



    oscam.user:



    Hope somebody can help me.