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

oscam.conf as client

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • runmo
    Experienced Board Member
    • Jun 2010
    • 6120

    oscam.conf as client

    Hello oscam experts,

    This is a example of oscam.conf I've downloaded. Is this good/enough as config for client (with c-line) or can it be improved? I'm using vu+ duo with blackhole image.

    [global]
    nice = -1
    logfile = /dev/null
    clienttimeout = 5000
    fallbacktimeout = 2500
    clientmaxidle = 120
    cachedelay = 120
    bindwait = 120
    resolvedelay = 30
    serialreadertimeout = 1500
    maxlogsize = 10
    waitforcards = 1
    preferlocalcards = 1
    saveinithistory = 1
    keepalive = 1

    [dvbapi]
    enabled = 1
    user = linuxsatsupport
    boxtype = dreambox
    au = 1

    [cccam]
    port = 12000
    version = 2.2.1
    build = 3165
    reshare = 1

    [webif]
    httpport = 16002
    httpuser = admin
    httppwd = admin
    httptpl = /etc/tuxbox/config/tpl
    httprefresh = 30
    httpshowpicons = 1
    httpallowed = 192.168.0.0-255.255.255.255

    [monitor]
    appendchaninfo = 1

    Thank you for the feedback
  • ZoxPa
    Experienced Board Member
    • Oct 2010
    • 528

    #2
    Re: oscam.conf as client

    Here is my oscam.conf:

    [global]
    disablelog = 1
    logfile = stdout;log
    usrfileflag = 1
    clienttimeout = 3000
    fallbacktimeout = 1600
    clientmaxidle = 86400
    sleep = 3600
    unlockparental = 1
    nice = 10
    maxlogsize = 200
    waitforcards_extra_delay = 0
    dropdups = 1
    lb_save = 100
    lb_nbest_readers = 5
    lb_max_ecmcount = 50
    lb_reopen_seconds = 50
    lb_retrylimit = 2500
    lb_max_readers = 10
    lb_auto_betatunnel = 0
    lb_savepath = /etc/tuxbox/config/loadbalance
    resolvegethostbyname = 1

    [cache]

    [dvbapi]
    enabled = 1
    user = local
    boxtype = dreambox

    [webif]
    httpport = ***x
    httpuser = ***xx
    httppwd = ***xx
    httprefresh = 5
    httpallowed = 192.168.0.100-192.168.0.110
    hideclient_to = 15
    Azbox Elite HD

    If you find this post is helpful, please press Thanks

    Comment

    • purenirvana
      Board Senior Member
      • Sep 2012
      • 234

      #3
      Re: oscam.conf as client

      Originally posted by runmo
      Is this good/enough as config for client (with c-line) or can it be improved?
      You could improve it, if you are just using OSCam as a client you can remove all of the code under the [cccam] header and the header itself.

      Do you want to use load balancing? If so I'd add some code under [global] to sort that. It would depend how you want to use load balancing to determine the code though.

      I'd change the webif password by altering the 'httppwd = admin' from admin to something else.

      I'd also add decodeforever = 1 to the [dvbapi] section if you are using svn7653 to svn8683. After version 8683 this isn't require as the code became obsolete.
      If you find my post useful, please use the "Thanks" button

      Comment

      • digicon
        Experienced Board Member
        • Jun 2011
        • 971

        #4
        Re: oscam.conf as client

        Also dependant on which packages you attempt to open using it as client i would certainly get a build from SVN9036 or higher

        Comment

        • runmo
          Experienced Board Member
          • Jun 2010
          • 6120

          #5
          Re: oscam.conf as client

          do you mean deleting this from the oscam.conf?
          [cccam]
          port = 12000
          version = 2.2.1
          build = 3165
          reshare = 1

          Sorry but I don't understand what you mean with load balancing, what code should be mentioned under global to sort it?
          The pasword admin mentioned is the one that was in the config, I didn't change anything.
          The purpose is to have a as stable possible oscam to use as client with cccam line, like avoiding as much as possible disconnections.

          Comment

          • purenirvana
            Board Senior Member
            • Sep 2012
            • 234

            #6
            Re: oscam.conf as client

            Originally posted by runmo
            do you mean deleting this from the oscam.conf?
            [cccam]
            port = 12000
            version = 2.2.1
            build = 3165
            reshare = 1
            Yes you can remove all of that if you are only using OSCam to connect yourself as a client and not resharing anything.

            Originally posted by runmo
            Sorry but I don't understand what you mean with load balancing, what code should be mentioned under global to sort it?
            Load balancing is useful if you use more than one c-line/n-line/local card. For now I'd add lb_mode = 0 to the [global] section. This will tell OSCam not to use load balancing for now. Then have a read of this and decide if load balancing will be useful to you:

            h__p://www.satsupreme.com/showthread.php/191201-Oscam-acting-like-ecm-loadbalancer

            Originally posted by runmo
            The pasword admin mentioned is the one that was in the config, I didn't change anything.
            Yes, that is the default password, I'd definitely change it to something else.
            If you find my post useful, please use the "Thanks" button

            Comment

            • runmo
              Experienced Board Member
              • Jun 2010
              • 6120

              #7
              Re: oscam.conf as client

              Well maybe maybe balance command is needed as I have more than one line in oscam.server, thank you for telling me what command should be added to global section in stead of lb_mode = 0
              After reading some info from your link, I've added this to global and created under usr local and stat maps with dcc
              lb_mode = 1
              lb_save = 100
              lb_savepath = /usr/local/stat

              Hope this is correct, sorry for my low technical knowledge

              Oh when you change the htppwd, and eventualy the htpuser, must it be the same as the user and pwd under oscam.user :

              [account]
              user = ***x
              pwd = ***xx
              group = 1
              au = 1

              or are those 2 different things?

              @digicon : using version 9345 and 8784 omnikey

              Comment

              • ZoxPa
                Experienced Board Member
                • Oct 2010
                • 528

                #8
                Re: oscam.conf as client

                Originally posted by runmo
                Oh when you change the htppwd, and eventualy the htpuser, must it be the same as the user and pwd under oscam.user :

                [account]
                user = ***x
                pwd = ***xx
                group = 1
                au = 1

                or are those 2 different things?
                They are different. Account user is user(local or remote user) who is connecting to oscam( like dvbapi user), htpuser and htppwd are username and password for connect to oscam from web explorer ( open in explorer 192.x.x.x:1500 , where 192.x.x.x is IP adress of receiver , and 1500 is port number(httpport) . This is very usefull option, you can change a lot of options from web interface of oscam.)
                Azbox Elite HD

                If you find this post is helpful, please press Thanks

                Comment

                • purenirvana
                  Board Senior Member
                  • Sep 2012
                  • 234

                  #9
                  Re: oscam.conf as client

                  Originally posted by runmo
                  After reading some info from your link, I've added this to global and created under usr local and stat maps with dcc
                  lb_mode = 1
                  lb_save = 100
                  lb_savepath = /usr/local/stat
                  Yes that's probably the best loadbalancer mode to use if you want load balancing enabled. The rest of your code looks fine too.

                  By the way, if you use lb_mode = 0 all of the cards available through your lines are polled and the first ECM received back is used.

                  Further info on OSCam code for the numerous features it has can be found in multiple languages here:

                  h__p://www.streamboard.tv/wiki/OSCam/en

                  OSCam is so much more customisable compared to other cams. It is certainly worth persevering with and learning it's code and modes.
                  If you find my post useful, please use the "Thanks" button

                  Comment

                  • kosovo-cam
                    Newbie
                    • Dec 2015
                    • 1

                    #10
                    Re: oscam.conf as client

                    how most be oscam conf. with satlover line.

                    Comment

                    • Wandaideks
                      Banned
                      • Sep 2019
                      • 3

                      #11
                      oscam conf as client

                      In Windows, does MQ Client only installation create a service? I remember seeing a service in one of my old servers, but when I just installed MQ Client v8 on windows, I dont see a service and id USER_MQADMIN on the server. Thanks for your help.

                      Comment

                      Working...