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 manual install package for dm500?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kontoni
    Senior Member
    • Aug 2012
    • 152

    oscam manual install package for dm500?

    dear friends have a nice weekend

    i would like some help to install oscam on my dm500 box also.


    since i still have gemini mod 4.70 image installed and no auto server install for oscam

    i am trying to do it manually.


    so may i ask how can i find and which is right install package?

    i have not found proper up to date file for clean manuall installation on dm500 so far.

    only upgrade file for enigma1 oscam


    finally on these upgrade daily versions i wonder

    what is the difference between powerpc-tuxbox-old-webif-Distribution.tar.gz

    and powerpc-tuxbox-old-webif-ssl-Distribution.tar.gz and which is right one ?
  • BlueIsMyColor
    Experienced Member
    • Mar 2013
    • 363

    #2
    Re: oscam manual install package for dm500?

    Hello, kontoni.

    In my dm500s i have openpli installed and for oscam i do it this way:

    1. download the file "powerpc-tuxbox-old-webif-Distribution.tar.gz"

    2. Extract the file

    3. Copy "oscam" file to var-bin and change permissions to 755

    4. Go to var-etc-plimgr-cams, create a file named "oscam" (with the same name of the one copied to var-bin) and change permissions to 755

    5. Put the config files in var-tuxbox-config

    6. Restart the box

    That's what i do for openpli image but for gemini it could have some different file structure.

    regards

    Comment

    • kontoni
      Senior Member
      • Aug 2012
      • 152

      #3
      Re: oscam manual install package for dm500?

      Dear BlueIsMyColor

      i appreciate your answer

      yous suggestion as you mentioned has two points that make things difficult.

      on step 4 var-etc-plimgr-cams obviously not existing on gemini and i suppose you mean create an empty folder there?


      on step 5 i need first to find proper config files package to install them on var-tuxbox-config

      that is basically what i am asking for

      i have found only one oscam folder with 1 file named oscam on latest "powerpc-tuxbox-old-webif-Distribution.tar.gz" for the update of a supposed existing already oscam setup which obviously i do not have.

      Comment

      • BlueIsMyColor
        Experienced Member
        • Mar 2013
        • 363

        #4
        Re: oscam manual install package for dm500?

        Try this:

        4. Create the oscam_cam.sh script with the following content and copy to /var/script (permissions 755).

        oscam_cam.sh

        #!/bin/sh

        CAMNAME="OSCam"
        USERNAME=""
        ZAPTIME=6
        CAMID=1797
        DVBSET=0
        INFOFILE="ecm.info"
        INFOFILELINES=
        # end

        remove_tmp () {
        rm -rf /tmp/*.info* /tmp/*.tmp*
        }

        case "$1" in
        start)
        echo "[SCRIPT] $1: $CAMNAME"
        remove_tmp
        /var/bin/oscam &
        ;;
        stop)
        echo "[SCRIPT] $1: $CAMNAME"
        kill `pidof `
        killall -9 oscam 2>/dev/null
        sleep 2
        remove_tmp
        ;;
        *)
        $0 stop
        exit 0
        ;;
        esac

        exit 0
        The config files must be: oscam.conf, oscam.server and oscam.user in /var/tuxbox/config (permissions 644)

        regards

        Comment

        • gianni253
          Experienced Board Member
          • Nov 2012
          • 903

          #5
          Re: oscam manual install package for dm500?

          Originally posted by kontoni
          ... may i ask how can i find and which is right install package?
          Very easy if you:
          - ****** for "oscam gemini"
          - download the package
          - send it to your /tmp (via ftp)
          - finally menu-blue panel-settings-addons. Select manual install


          Originally posted by kontoni
          what is the difference between powerpc-tuxbox-old-webif-Distribution.tar.gz
          and powerpc-tuxbox-old-webif-ssl-Distribution.tar.gz and which is right one ?
          First distribution has plain webinterface support (useful in case you are going to use webinterface from a local host via lan);
          second has webinterface via ssl (useful in case you are going to use webinterface from a remote host via wan)

          Bye ;-)

          Comment

          • kontoni
            Senior Member
            • Aug 2012
            • 152

            #6
            Re: oscam manual install package for dm500?

            ok installed manually version OSCAM 1.20-unstable_svn build r8777 with emu

            only var/bin file i found and sended there

            then i took working ok files oscam.conf, oscam.server and oscam.user from my other receiver and placed them on /var/tuxbox/config (permissions 644)

            and then as dear BlueIsMyColor suggested placed oscam_cam.sh script on var/script

            rebooted and is working perfect !

            just two last queries please .


            1.if i want to update this version will be allright just to update oscam file on var/bin with newest svn from powerpc-tuxbox-old-webif-Distribution.tar.gz release?



            2.if i want later to install oscam ymod path destinations on dm500 are the same as described on previous posts ?

            kind regards

            Comment

            • gianni253
              Experienced Board Member
              • Nov 2012
              • 903

              #7
              Re: oscam manual install package for dm500?

              Originally posted by kontoni
              1.if i want to update this version will be allright just to update oscam file on var/bin with newest svn from powerpc-tuxbox-old-webif-Distribution.tar.gz release?
              You only need to replace binary in /var/bin.


              Originally posted by kontoni
              2.if i want later to install oscam ymod path destinations on dm500 are the same as described on previous posts ?
              kind regards
              Yes, they are the same, but you have to deal with config files that might have slightly different parameters (and other additional files required by ymod version)

              Comment

              • kontoni
                Senior Member
                • Aug 2012
                • 152

                #8
                Re: oscam manual install package for dm500?

                Originally posted by gianni253
                Yes, they are the same, but you have to deal with config files that might have slightly different parameters (and other additional files required by ymod version)

                dear gianni253 actually as i wrote i have used some config files that worked on oscam ymod on my other enigma2 receiver previous days

                so i wonder what exactly differencies might need ?

                and what additional to simple oscam files ymod for dm500 might have such as?

                Comment

                • gianni253
                  Experienced Board Member
                  • Nov 2012
                  • 903

                  #9
                  Re: oscam manual install package for dm500?

                  You need for sure oscam.keys (softcam) and you might need oscam.dvbapi (to manage priorities).

                  Comment

                  • kontoni
                    Senior Member
                    • Aug 2012
                    • 152

                    #10
                    Re: oscam manual install package for dm500?

                    Originally posted by gianni253
                    You need for sure oscam.keys (softcam) and you might need oscam.dvbapi (to manage priorities).
                    dear gianni253

                    i agree

                    so these are some minor changes that will not prevent ymod from also working


                    only one thing left since i see different ymod enigma1 files for example

                    • e1-oscam-ymodv18-txx

                    • e1-oscam-ymodv18-txx-ppc-old

                    and also these generic ymod

                    oscam.1844.mips

                    oscam.1844.sh4



                    which one is best suitable for dm500 ?

                    Comment

                    • bonilla
                      Board Senior Member
                      • Aug 2012
                      • 251

                      #11
                      Re: oscam manual install package for dm500?

                      For my part ,I used the ymodv18-T19 by Yuriks (russian version).
                      It included some emu inside.
                      That's my recommandation for you
                      If you like my post, please don't hesitate to click on "Thanks"button. Thank you

                      Comment

                      • gianni253
                        Experienced Board Member
                        • Nov 2012
                        • 903

                        #12
                        Re: oscam manual install package for dm500?

                        Originally posted by kontoni

                        only one thing left since i see different ymod enigma1 files for example

                        • e1-oscam-ymodv18-txx

                        • e1-oscam-ymodv18-txx-ppc-old

                        which one is best suitable for dm500 ?
                        For dm500s you need "ppc-old" version.
                        Bye !

                        Comment

                        • kontoni
                          Senior Member
                          • Aug 2012
                          • 152

                          #13
                          Re: oscam manual install package for dm500?

                          ok all things in place now

                          well almost since i have some doubts about my oscam.conf file since i observe some disfunction with server communication after a while .

                          it stops clearing after a while other packages work also for a while but then same channels give message "rejected reader peer" or "rejected group (xx ms) (no matching reader)"

                          do not know if it is server but i suspect it may be oscam.conf. and it does it on both boxes

                          can somebody suggest an optimal and fair balanced oscam.conf file configuration please?

                          Comment

                          • bonilla
                            Board Senior Member
                            • Aug 2012
                            • 251

                            #14
                            Re: oscam manual install package for dm500?

                            Hello kontoni,

                            Here you got mine :

                            oscam.conf:

                            Code:
                            [global]
                            Nice = -1
                            ClientTimeout = 7
                            FallbackTimeout=3
                            ClientMaxIdle=120
                            CacheDelay = 120
                            BindWait = 5
                            WaitForCards = 0
                            PreferLocalCards = 1
                            LogFile = stdout
                            saveinithistory = 1
                            readerrestartseconds = 5
                            maxlogsize = 200
                            
                            [monitor]
                            nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255
                            appendchaninfo = 1
                            
                            [webif]
                            httpport = 7888
                            httpuser = root
                            httppwd = pwd
                            httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
                            
                            [dvbapi]
                            enabled = 1
                            au = 1
                            boxtype = pc
                            user = dvbapi
                            ###### for E2 set pmt_mode = 0 ###########
                            ###### for Titan set pmt_mode = 4 ###########
                            pmt_mode = 0
                            oscam.server:

                            Code:
                            [reader]
                            enable = 1
                            label = cccam-reader
                            protocol = cccam
                            device = 192.168.171.10,55555
                            user = test
                            password = pwd
                            group = 1
                            emmcache = 1,1,2
                            cccmaxhop = 5
                            cccversion = 2.2.1
                            oscam.user:

                            Code:
                            [account]
                            user = dvbapi
                            pwd = dvbapi
                            group = 1
                            au = 1
                            uniq = 0
                            betatunnel = 1833.FFFF:1702,1834.FFFF:1722
                            If you like my post, please don't hesitate to click on "Thanks"button. Thank you

                            Comment

                            • kontoni
                              Senior Member
                              • Aug 2012
                              • 152

                              #15
                              Re: oscam manual install package for dm500?

                              dear bonilla

                              i appreciate that

                              i will check them for tweaks on my config.

                              i suppose they are tested and good working for you right?

                              Comment

                              Working...