Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

How to update OScam

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • duhoki
    Experienced Board Member
    • Aug 2011
    • 876

    How to update OScam

    Helo. I have an istar korea x2000. This reciver do support oscam. And iam kinda new to oscam My problem is that when i have started oscam i go to the webinterface but after like 30-60 seconds it just crashes and i have to restart it in order to connect to it again.

    in the webinterface at the top its written"OSCAM 1.00-unstable_svn build #0"

    Do anybody know how to update the oscam version to a stable version for a receiver like this?

    this is my conf files(thanx if you see any wrong codes or some better codes)

    i can update the conf files with usb

    oscam.conf

    #
    # main configuration
    #

    [global]
    nice = -1
    WaitForCards = 1

    # logging

    logfile = /var/log/oscam/oscam.log
    usrfile = /var/log/oscam/oscamuser.log
    cwlogdir = /var/log/oscam/cw

    # monitor

    [monitor]
    port = 988
    aulow = 120
    monlevel = 1

    # web interface

    [webif]
    httpport = my port
    httpuser = myuser
    httppwd = mypasw
    httprefresh = 5
    httphelplang = en
    httpallowed = 0.0.0.0-255.255.255.255

    # anti-cascading

    [anticasc]
    enabled = 1
    numusers = 1
    sampletime = 2
    samples = 5
    penalty = 1
    aclogfile = /var/log/oscam/aclog.log
    denysamples = 9

    # protocols

    [newcamd]
    key = 000102030405060708090A0B0C0D
    port = 10000@0100:FFFFFF;10001@0200:FFF000,FFFF00;10002@0 300:FFFFFF

    [radegast]
    port = 20000
    user = user1
    allowed = 192.168.0.0-192.168.255.255

    [cs378x]
    port = 30000@0100:FFFFFF;30001@0200:FFF000,FFFF00;30002@0 300:FFFFFF

    [cccam]
    port = 40000
    version = 1.2.3
    build = 1234
    reshare = 2

    [gbox]
    hostname = host.example.com
    port = 50000
    password = password1

    [serial]
    device = user2@/dev/ttyS0?delay=1&timeout=300

    [dvbapi]
    enabled = 1
    user = user1
    socket = /tmp/camd.socket
  • bigfoot
    Senior Member
    • Jun 2011
    • 183

    #2
    Re: How to update OScam

    Strange that you have #0 for the build, the latest is #6038 unstable 1.20.

    I don't know what platform this receiver runs on, so you need to find the correct version of the binary file, ensure that it has the correct permissions to be executed.

    The configs look OK, but this appear to be the generic unedited version

    Try this simplified config (working on dream box)

    [global]
    nice = -1
    WaitForCards = 1
    preferlocalcards = 1
    lb_mode = 0
    lb_save = 150
    logfile = /tmp/oscam.log
    maxlogsize = 256
    Saveinithistory = 1
    clienttimeout = 20

    [monitor]
    port = 0
    serverip = 0.0.0.0
    nocrypt =
    aulow = 30
    hideclient_to = 15
    monlevel = 2
    appendchaninfo = 0

    [cccam]
    port = port you use
    reshare = 2
    ignorereshare = 1
    forward_origin_card = 0
    version = 2.0.11
    updateinterval = 240
    minimizecards = 0
    keepconnected = 1
    stealth = 0
    reshare_mode = 0

    [dvbapi]
    enabled = 1
    au = 1
    boxtype = dreambox
    user = local
    pmt_mode = 0
    request_mode = 0

    [webif]
    httpport = 8888
    httphelplang = en
    httpuser =
    httppwd =
    httpcert =
    httpcss =
    httpjscript =
    httptpl =
    httpscript =
    httprefresh = 5
    httpallowed = 127.0.0.1,192.168.1.0-192.168.1.255
    httpdyndns =
    httphideidleclients = 0
    httpreadonly = 0
    httpsavefullcfg = 1

    Post your configs for the user & server, then we can see if any thing else is wrong.

    Comment

    • duhoki
      Experienced Board Member
      • Aug 2011
      • 876

      #3
      Re: How to update OScam

      Thanx.

      I really cant se any information of what platform it is. But is this for help:

      Kernel Release: 2.6.24.7_nxp.STB236_NANDflash_HDdecoding_128M_Huan gpu.0425_a

      is ther no way to find out what oscam is in use when i am in the oscam webinterface?

      my oscam file:

      oscam.server

      #
      # reader configuration
      #

      # serial reader

      [reader]
      reconnecttimeout = 5
      label = satlover
      protocol = cccam
      detect = CD
      device = serveradresse,port
      account = username,password
      group = 1
      emmcache = 1,3,2
      services = services1
      cccmaxhop = 3
      caid = 0100,0b00,090f,093b,0500

      # USB serial reader

      [reader]
      label = reader2
      protocol = mouse
      detect = CD
      device = /dev/ttyUSB0
      aeskey = 000102030405060708090A0B0C0D0E0F
      group = 2
      emmcache = 1,3,2
      services = services2
      caid = 0200

      # remote newcamd reader with fallback for group 1

      [reader]
      label = remote1
      protocol = newcamd
      key = 0102030405060708091011121314
      device = 192.168.0.2,66666
      user = user1
      password = password1
      group = 1
      fallback = 1

      # remote camd 3.78x reader with fallback for group 2

      [reader]
      label = remote2
      protocol = cs378x
      device = 192.168.0.3,23456
      user = user2
      password = password2
      group = 2
      fallback = 1

      # remote gbox reader

      [reader]
      label = remote3
      protocol = gbox
      mg-encrypted = D: { 192.168.0.4 { 12345 34567 { ABCD1234 { 9 9 }}}}
      group = 3
      caid = 0300

      # remote CCcam reader

      [reader]
      label = remote4
      protocol = cccam
      device = 192.168.0.5,45678
      user = user4
      password = password4



      And this is my:

      oscam.user

      #
      # user configuration
      #

      # user for group 1 with Betacrypt tunnel, no monitoring, only one connection possible, AU enabled

      [account]
      user = monitor
      pwd = monitor
      monlevel = 2
      uniq = 1
      group = 1
      au = reader1
      services = services1
      betatunnel = 0300.FFFF:0100,0400.FFFF:0100
      ident = 0100:000000
      caid = 0100,0b00,090f

      # user for group 2 with monitor access, AU enabled

      [account]
      user = user2
      pwd = password2
      monlevel = 1
      uniq = 0
      group = 2
      au = reader2
      services = services2
      ident = 0200:000000
      caid = 0200,0b00,090f

      # user for group 2 without monitor access, AU disabled, account disabled

      [account]
      user = user3
      pwd = password3
      disabled = 1
      group = 2
      services = services2
      ident = 0200:000000
      caid = 0200

      # user for group 3 without monitor access, only one connection possible, AU disabled, multiple idents

      [account]
      user = user4
      pwd = password4
      monlevel = 0
      uniq = 1
      group = 3
      ident = 0300:000000,FFFFFF;0400:FFFFFF
      caid = 0300

      # user for group 5 with anti-cascading, only 1 logging allowed, send fake CWs as penalty

      [account]
      user = user5
      pwd = password5
      group = 5
      services = services5
      ident = 0500:000000
      caid = 0500
      numusers = 1
      penalty = 1

      Comment

      • bigfoot
        Senior Member
        • Jun 2011
        • 183

        #4
        Re: How to update OScam

        OK, for the dvbapi to work you need to add this to the oscam.user file:

        [account]
        user = local
        pwd = local
        description =
        disabled = 0
        expdate =
        allowedtimeframe =
        group = 1
        hostname =
        uniq = 0
        sleep = 0
        monlevel = 2
        services =
        caid =
        betatunnel = 1833.FFFF:1702
        ident =
        chid =
        class =
        suppresscmd08 = 0
        cccmaxhops = 5
        cccreshare = 0
        cccignorereshare = -1
        cccstealth = -1
        sleepsend = 0
        failban = 0
        keepalive = 1
        numusers = 0
        penalty = 0

        and add this to your oscam.server file to allow satlover server access:

        [reader]
        label = ****.satlover.***_server3
        description =
        enable = 0
        protocol = cccam
        device = ****.satlover.***,port number
        key =
        user = user
        password = password
        pincode = none
        services =
        reconnecttimeout = 30
        fallback = 0
        logport = 0
        caid =
        ecmwhitelist =
        ident =
        chid =
        class =
        aeskeys =
        showcls = 10
        group = 1
        emmcache = 0,1,0
        blockemm-unknown = 0
        blockemm-u = 0
        blockemm-s = 0
        blockemm-g = 0
        lb_weight = 100
        savenano =
        blocknano =
        cccversion = 2.1.1
        cccmaxhops = 10
        cccmindown = 0
        cccwantemu = 0
        ccckeepalive = 1
        cccreshare = -1
        audisabled = 0
        auprovid =

        you will have to edit the following lines:

        device = ****.satlover.***,"port number"
        user = user
        password = password

        To see the version/platform look under files -> logfile in the web interface, the first line will show:

        26/11/2011 20:43:11 665548 p >> OSCam << cardserver log switched, version 1.20-unstable_svn, build #6020 (mips-tuxbox-linux)

        inside the brackets is the platform.

        Good luck

        Comment

        • duhoki
          Experienced Board Member
          • Aug 2011
          • 876

          #5
          Re: How to update OScam

          I uploaded the files with the settings you gaved me, but i then couldnt conect to oscam. I found out that it is the setting in oscam.server that is giving me the problem. If i upload the old oscam.server i used its ok. Is ther anything you see that can be wrong?


          I have problem with the logfile. When i go to the logfile it gives me this message"File does not exist or no file selected!"

          any idea of how to get the logfile fixed. Is ther anything wrong about the save location of the logfile?

          Comment

          • bigfoot
            Senior Member
            • Jun 2011
            • 183

            #6
            Re: How to update OScam

            You must have the following line in the config file:

            [global]
            nice = -1
            WaitForCards = 1
            preferlocalcards = 1
            lb_mode = 0
            lb_save = 150
            logfile = /tmp/oscam.log
            maxlogsize = 256
            Saveinithistory = 1
            clienttimeout = 20

            for the server file, I copied from the wrong file, use this.

            [reader]
            label = server3
            description =
            enable = 1
            protocol = cccam
            device =
            key =
            user =
            password =
            pincode = none
            services =
            inactivitytimeout = 30
            reconnecttimeout = 30
            fallback = 0
            logport = 0
            caid =
            ecmwhitelist =
            ident =
            chid =
            class =
            aeskeys =
            showcls = 10
            group = 1
            emmcache = 0,0,0
            blockemm-unknown = 0
            blockemm-u = 0
            blockemm-s = 0
            blockemm-g = 0
            saveemm-unknown = 0
            saveemm-u = 0
            saveemm-s = 0
            saveemm-g = 0
            blockemm-bylen =
            lb_weight = 100
            savenano =
            blocknano =
            cccversion = 2.1.1
            cccmaxhops = 10
            cccmindown = 0
            cccwantemu = 0
            ccckeepalive = 1
            cccreshare = -1
            audisabled = 0
            auprovid =

            Comment

            • duhoki
              Experienced Board Member
              • Aug 2011
              • 876

              #7
              Re: How to update OScam

              I did had that on the global setings. But i managed to fix it by ading his to logfile:

              logfile = /etc/oscam/logs/oscam.log;stdout

              The log is telling me this:

              2011/11/27 9:22:21 2AAC90C0 s >> OSCam << cardserver started version 1.00-unstable_svn, build #0 (mipsel-nxp-linux)

              this mean i am on a linux platform? Any idea what file i will have to download to get the newest version of oscam?

              Comment

              • bigfoot
                Senior Member
                • Jun 2011
                • 183

                #8
                Re: How to update OScam

                I dont know this build, can you get any ssh or telnet connection ?

                if so, you can display processor type with the command :

                cat /proc/cpuinfo

                from this I can build a cpu specific version.

                I have a feeling that this could be a closed source box!!

                Comment

                • duhoki
                  Experienced Board Member
                  • Aug 2011
                  • 876

                  #9
                  Re: How to update OScam

                  the problem with my oscam is that just after 30-60 sec it just crashes. So its not a good time to do so much with it(any idea why?). I will try to se if i can telnet it.

                  I belive to it is a closed sourcebox. Take a look at my previous post(http://www.satlover.com/forum/satell...ecivers-2.html)

                  Comment

                  • bigfoot
                    Senior Member
                    • Jun 2011
                    • 183

                    #10
                    Re: How to update OScam

                    You dont have to have oscam running, just the box, when we have the cpu info, we can then see if we can do something.

                    Speed is just a matter of money, how fast do you want to go!!

                    Comment

                    • duhoki
                      Experienced Board Member
                      • Aug 2011
                      • 876

                      #11
                      Re: How to update OScam

                      Just to make an important update here:

                      Istar X20000 now support oscam good on the new patch version 2.70 Istar x20000 Full HD decoder on 04/28/2012

                      oscam Version: 1.00-unstable_svn Rev. 5395

                      you can download it here:

                      istar-korea.info/b/Istar_X20000_V2.70_2012_04_28_TwinUsb.rar

                      I have tested oscam function and it is now working very good

                      I will come with an update on a working oscam config for this reciver.

                      however thanx for those who have spent time helping on this thread

                      Comment

                      Working...