Oscam + CCcam 2.1.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • davvo
    DK Veteran
    • Apr 2009
    • 666

    #211
    try this
    in usr/bin
    make sure cccam is spelled CCcam2_1_4
    in usr/bin
    make sure oscam is spelled oscam

    backup you cam script first

    delete everthing in the oscam/cccam camscript

    copy and paste the text below in your oscam/cccam camscript save and exit restart oscam

    if that dont work edit the camscript to your other installed cccam CCcam2_2_1
    save and exit restart oscam



    Code:
    #!/bin/sh
    ########################################
    ###### Powered by NewNigma2 Team  ######
    ###      http://newngima2.to         ###
    ########################################
    
    # EMUNAME is only Display name for EMU Menu
    EMUNAME="CCcam 2.1.4/OScam"
    
    remove_tmp ()
    {
        [ -e /tmp/ecm.info ] && rm -rf /tmp/ecm.info
        [ -e /tmp/pid.info ] && rm -rf /tmp/pid.info
        [ -e /tmp/cardinfo ] && rm -rf /tmp/cardinfo
        [ -e /tmp/ecm0.info ] && rm -rf /tmp/ecm0.info
        [ -e /tmp/CCcam.kill ] && rm -rf /tmp/CCcam.kill
        [ -e /tmp/CCcam2_1_4.pid ] && rm -rf /tmp/CCcam2_1_4.pid
        rm -rf /tmp/*.info /tmp/*.tmp*
    }
            
    case "$1" in
        start)
            echo "[SCRIPT] $1: $EMUNAME"
            remove_tmp
            sleep 1
            /usr/bin/oscam >/dev/null &
            sleep 15
            /usr/bin/CCcam2_1_4 >/dev/null &
            pidof CCcam2_1_4 > /tmp/CCcam2_1_4.pid
            ;;
        stop)
            echo "[SCRIPT] $1: $EMUNAME"
            echo -n "kill " > /tmp/CCcam.kill
            pidof CCcam2_1_4 >> /tmp/CCcam.kill
            echo -n "kill -9 " >> /tmp/CCcam.kill
            pidof CCcam2_1_4 >> /tmp/CCcam.kill
            echo -n "kill " >> /tmp/CCcam.kill
            pidof oscam >> /tmp/CCcam.kill
            echo -n "kill -9 " >> /tmp/CCcam.kill
            pidof oscam >> /tmp/CCcam.kill
            chmod 777 /tmp/CCcam.kill
            /tmp/CCcam.kill
            sleep 1
            remove_tmp
            ;;
        restart)
            $0 stop
            sleep 1
            $0 start
            exit
            ;;
        *)
            $1 stop
            exit 1
            ;;
    esac
    
    exit 0
    Last edited by davvo; 8 July, 2011, 23:00.

    Comment

    • hannahbush
      Junior Member
      • Oct 2010
      • 21

      #212
      I'm still no further forward. As I said in my earlier post I haven't got a camscript in usr/bin and found the file I showed you in usr/script. It didn't say camscript but said cccam2_1_4 and Oscam.emu. I can't see where to copy and paste the info you gave me other than in the in the same place i.e cccam2_1_4 and Oscam.emu. I deleted what was in their already and restarted but still no change, no Pick tv, sports or movies.

      Comment

      • davvo
        DK Veteran
        • Apr 2009
        • 666

        #213
        in usr/bin you have 2 files cccam2_1_4 and oscam ?
        if thats right and they are spelled as above
        then go to usr/script find the script for oscam/cccam
        right click edit copy and paste the script 2 post up
        save and exit restart oscam

        the script will then look in /usr/bin and start oscam then cccam

        EMUNAME="CCcam 2.1.4/OScam"

        start)
        echo "[SCRIPT] $1: $EMUNAME"
        remove_tmp
        sleep 1
        /usr/bin/oscam >/dev/null &
        sleep 15
        /usr/bin/CCcam2_1_4 >/dev/null &
        Last edited by davvo; 9 July, 2011, 12:33.

        Comment

        • hannahbush
          Junior Member
          • Oct 2010
          • 21

          #214
          I have done exactly as you have said. The Ccam2_1_4 and oscam are spelt as you said. I have copied and pasted the text in usr/script after deleting te text originally in the file but still no change. I have pm'd you about trying to fix it.

          Comment

          • davvo
            DK Veteran
            • Apr 2009
            • 666

            #215
            you have the configs from page 2 in var/tuxbox/config ?

            you have selected oscam/cccam and restarted oscam/cccam via the blue button ?

            pull the card in and out ?

            when you log in to cccam via the web info
            doz it say at the top of the page

            Welcome to CCcam 2.1.4 server

            or

            Welcome to CCcam 2.2.1 server











            Last edited by davvo; 9 July, 2011, 18:17.

            Comment

            • hannahbush
              Junior Member
              • Oct 2010
              • 21

              #216
              Yes done all that you have said. When I go into screen it shows as below.

              Welcome to CCcam 2.1.4 server


              Server connections: 1+----------------------+------------+-------+--------+----------------+-------+-------------------------------+| Host | Connected | Type | Version| NodeID | Cards | CAID/Idents |+----------------------+------------+-------+--------+----------------+-------+-------------------------------+|127.0.0.1:12000 | |newcamd| | | 0 | |+----------------------+------------+-------+--------+----------------+-------+-------------------------------+

              Comment

              • danyperry571
                Newbie
                • Nov 2010
                • 8

                #217
                hi guys im have problems setting up oscam+cccam on my dm500s i have darkstar11 image and have downloaded the addon and installed it here are my conf file ect

                oscam.conf

                Code:
                [global]
                nice = -1
                WaitForCards = 1
                logfile = stdout
                preferlocalcards = 1
                saveinithistory = 1

                [webif]
                httpport = 8888
                httpuser = admin
                httppwd = admin
                httpallowed = 192.168.0.1-192.168.1.255

                # protocols

                [newcamd]
                key = 0102030405060708091011121314
                port = 12001@0963:000000;10001@0963:000000

                oscam.server

                Code:
                [reader]
                label = slot1
                protocol = internal
                device = /dev/sci0
                #boxid =
                blockemm-u = 0
                blockemm-s = 0
                blockemm-g = 1
                blockemm-unknown = 1
                emmcache = 1,3,2
                group = 1
                caid = 0963

                oscam.user

                Code:
                [account]
                user = test1
                pwd = test2
                monlevel = 0
                uniq = 0
                group = 1,2
                au = 1
                caid = 0963

                cccam.cfg

                N: 127.0.0.1 12001 test1 test2 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

                Comment

                • danyperry571
                  Newbie
                  • Nov 2010
                  • 8

                  #218
                  ok well i have got my box clearing pick tv now but dont no where to put my f lines for my other boxes and when i enter flines into the cccam.cfg i no longer get pick tv here are my conf files etc

                  cccam.cfg
                  SERVER LISTEN PORT : 12000
                  ALLOW TELNETINFO: yes
                  ALLOW WEBINFO: yes
                  WEBINFO USERNAME :root
                  WEBINFO PASSWORD :dreambox
                  TELNETINFO USERNAME :root
                  TELNETINFO PASSWORD :dreambox
                  TELNETINFO LISTEN PORT : 16000
                  WEBINFO LISTEN PORT : 16001
                  ZAP OSD TIME :0
                  OSD USERNAME :root
                  OSD PASSWORD :dreambox
                  OSD PORT :80
                  SHOW TIMING : yes
                  DEBUG : no
                  NEWCAMD CONF : no
                  #DISABLE EMM : yes
                  #EXTRA EMM LEVEL : yes
                  SHOW EXTENEDED CLIENT INFO : yes
                  MINI OSD : no
                  #MINIMUM DOWNHOPS: 1
                  CHANNELINFO FILE : /var/etc/CCcam.channelinfo
                  PROVIDERINFO FILE : /var/etc/CCcam.providers
                  CAID PRIO FILE : /var/etc/CCcam.prio
                  LOG WARNINGS : /tmp/warnings.txt
                  SOFTKEY FILE : /var/keys/SoftCam.Key
                  AUTOROLL FILE : /var/keys/AutoRoll.Key
                  #STATIC CW FILE : /var/keys/constant.cw
                  #BOXKEY: /dev/sci0
                  #SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000

                  N: 127.0.0.1 12001 test1 test2 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

                  oscam.conf
                  [global]
                  nice = -1
                  WaitForCards = 1
                  logfile = stdout
                  preferlocalcards = 1
                  saveinithistory = 1

                  [webif]
                  httpport = 8888
                  httpuser = admin
                  httppwd = admin
                  httpallowed = 192.168.0.1-192.168.1.255

                  # protocols

                  [newcamd]
                  key = 0102030405060708091011121314
                  port = 12001@0963:000000;12000@0963:000000

                  oscam.server
                  [reader]
                  label = lower card
                  enable = 1
                  protocol = internal
                  device = /dev/sci0
                  caid = 0963:000000

                  boxid =

                  detect = cd
                  cardmhz = 357
                  # this helps the card run more smootly
                  group = 1
                  # Oscam has the concept of groups. Only users in group 1 can
                  # use this reader. I'm only using one group.
                  emmcache = 1,3,2
                  ecmcache = 1
                  blockemm-unknown = 1
                  blockemm-g = 1
                  # these ensure smooth decrypting
                  lb_weight = 101
                  # for load balancing - can be commented out.

                  oscam user
                  [account]
                  user = test1
                  pwd = test2
                  group = 1,2
                  monlevel = 0
                  au = 1
                  caid = 0963

                  Comment

                  • Rodbouy
                    DK Veteran
                    • Jul 2010
                    • 1320

                    #219
                    For any one who is having problems using OScam and CCcam.

                    Just scrap CCcam, use OScam on its own.

                    Enable DVBapi in OScam.conf and add a account in OScam.user.

                    This will enable you to au the card.

                    Also just add you client boxes to OScam.user

                    Give client boxes same line they had, just enable the protocol they use in OScam.conf

                    All local setups ofcourse.

                    There is really no need to use the two of them IMHO
                    Last edited by Rodbouy; 11 July, 2011, 09:51.

                    Comment

                    • davvo
                      DK Veteran
                      • Apr 2009
                      • 666

                      #220
                      the problem with using oscam on its own is
                      if some peeps cant find and install oscam/cccam
                      then install the configs from page 2 then put a n line in cccam cfg
                      then restart oscam/cccam
                      which is so easy

                      how are they going to get on with setting up oscam
                      on its own which is so easy
                      but you have to use just a tiny bit of your brain
                      Last edited by davvo; 11 July, 2011, 15:33.

                      Comment

                      • Rodbouy
                        DK Veteran
                        • Jul 2010
                        • 1320

                        #221
                        I know what your saying but its just a option for people to use to try get it working.

                        Comment

                        • piopat
                          DK Veteran
                          • May 2008
                          • 708

                          #222
                          Originally posted by danyperry571
                          ok well i have got my box clearing pick tv now but dont no where to put my f lines for my other boxes and when i enter flines into the cccam.cfg i no longer get pick tv here are my conf files etc

                          cccam.cfg
                          SERVER LISTEN PORT : 12000
                          ALLOW TELNETINFO: yes
                          ALLOW WEBINFO: yes
                          WEBINFO USERNAME :root
                          WEBINFO PASSWORD :dreambox
                          TELNETINFO USERNAME :root
                          TELNETINFO PASSWORD :dreambox
                          TELNETINFO LISTEN PORT : 16000
                          WEBINFO LISTEN PORT : 16001
                          ZAP OSD TIME :0
                          OSD USERNAME :root
                          OSD PASSWORD :dreambox
                          OSD PORT :80
                          SHOW TIMING : yes
                          DEBUG : no
                          NEWCAMD CONF : no
                          #DISABLE EMM : yes
                          #EXTRA EMM LEVEL : yes
                          SHOW EXTENEDED CLIENT INFO : yes
                          MINI OSD : no
                          #MINIMUM DOWNHOPS: 1
                          CHANNELINFO FILE : /var/etc/CCcam.channelinfo
                          PROVIDERINFO FILE : /var/etc/CCcam.providers
                          CAID PRIO FILE : /var/etc/CCcam.prio
                          LOG WARNINGS : /tmp/warnings.txt
                          SOFTKEY FILE : /var/keys/SoftCam.Key
                          AUTOROLL FILE : /var/keys/AutoRoll.Key
                          #STATIC CW FILE : /var/keys/constant.cw
                          #BOXKEY: /dev/sci0
                          #SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000

                          N: 127.0.0.1 12001 test1 test2 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

                          oscam.conf
                          [global]
                          nice = -1
                          WaitForCards = 1
                          logfile = stdout
                          preferlocalcards = 1
                          saveinithistory = 1

                          [webif]
                          httpport = 8888
                          httpuser = admin
                          httppwd = admin
                          httpallowed = 192.168.0.1-192.168.1.255

                          # protocols

                          [newcamd]
                          key = 0102030405060708091011121314
                          port = 12001@0963:000000;12000@0963:000000

                          oscam.server
                          [reader]
                          label = lower card
                          enable = 1
                          protocol = internal
                          device = /dev/sci0
                          caid = 0963:000000

                          boxid =

                          detect = cd
                          cardmhz = 357
                          # this helps the card run more smootly
                          group = 1
                          # Oscam has the concept of groups. Only users in group 1 can
                          # use this reader. I'm only using one group.
                          emmcache = 1,3,2
                          ecmcache = 1
                          blockemm-unknown = 1
                          blockemm-g = 1
                          # these ensure smooth decrypting
                          lb_weight = 101
                          # for load balancing - can be commented out.

                          oscam user
                          [account]
                          user = test1
                          pwd = test2
                          group = 1,2
                          monlevel = 0
                          au = 1
                          caid = 0963
                          dany in oscam.user you open an account for each f line ,so below the account you created for your self create a seperate account for each f line which will look pretty much like you posted above
                          [account]
                          user = (f line user name )
                          pwd = (f line password)
                          group = 1,2
                          iniqid = 1
                          caid = 0963
                          ident = 0963:000000

                          in oscam.conf protocol should be cccam ,and all you have in cccam.cfg is the n line delete the f lines ..
                          i love it when a dreambox comes together.

                          Comment

                          • danyperry571
                            Newbie
                            • Nov 2010
                            • 8

                            #223
                            thanks for your reply piopat is this what the protocol should look like and should the version be set to 2.1.3 in the protocol which is my cccam version or 2.2.1 which is my client box cccam version

                            [cccam]
                            port = 12000
                            reshare = 4
                            ignorereshare = 0
                            version = 2.1.3
                            updateinterval = 240
                            minimizecards = 0
                            stealth = 1

                            Comment

                            • piopat
                              DK Veteran
                              • May 2008
                              • 708

                              #224
                              just try it with protocol set as cccam and if you have opened a port port= that port number ,then add the user accounts in oscam.user . we need to be carefull here dan as we dont want to break forum rules ,try the above and see how you get on ,there are oscam config files and a cccam.cfg file in the last link of my signature which you can download and try (ive used them my self so they work but you will have to add user accounts etc ). by the way are you dan1985 on another forum ? if you are fintann will be able to give you good advice .
                              i love it when a dreambox comes together.

                              Comment

                              • danyperry571
                                Newbie
                                • Nov 2010
                                • 8

                                #225
                                thanks piopat will give it a try yes it is me have been talking to fint but he does not agree that i should be using oscam+cccam and i dont wish to disturb anything that ive already done if you know what i mean

                                Comment

                                Working...