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

Putting cline in dreambox500s

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hunk2012
    Senior Member
    • Sep 2010
    • 157

    Putting cline in dreambox500s

    where do you put your cline in cccam.cfg
    The way to successful Cardsharing

    I have seen many new members lately on this forum. At the same time many similar questions have been raised over and over again.
    I’m writing this just to make it easier for new members to find answers for their questions about cardsharing.
    I will focus on the use of a Dreambox as Sharing receivers and the CCcam protocol.
    Remember that a newbie is just an inexperienced expert
    ATTENTION! All this information is for test purpose and should only be used within your own household. No one except yourself is responsible for any damage this can cause or any law you might break.
    What hardware you’ll need is based on how your house looks like, where you want to watch TV, how big server you want to have and so on.
    What we all need is a Dreambox of some kind.
    A computer with internet connection.
    If you have the computer in one room and the Dreambox in another room far away you will need either a long Ethernet cable or use another solution to connect your PC to your Dreambox.
    I can recommend the use of 2 Homeplugs, it’s a really user friendly alternative.
    Read more about Homeplugs here: HomePlug Powerline Alliance – Wikipedia, the free encyclopedia
    If you want to be able to handle a large number of peers you need a pc as server, more about that later.
    Not much to say here.
    Put your Dreambox in a suitable place by your TV.
    Make sure you have enough space around it to let the air circulate freely and cool down the Dreambox.
    Connect the cable from your satellite dish (if you use a satellite dish) to your Dreambox tuner.
    Connect the network cable to the Dreambox.
    Connect power cord.
    Switch on.
    To be able to share with another CCcam server or even many servers you need to set up an network.
    First of all you need a static ip in some way. Either you have one from your ISP or you can set one up for yourself.
    Follow this link for static ip: PortForward.com – Free Help Setting up Your Router or Firewall
    Now you are ready to setup the ip of your Dreambox.
    You should have all information needed if you did step 4.1.
    For example
    PC ip = 192.168.1.141
    Dreambox ip =192.168.1.142
    subnet mask = 255.255.255.0
    Default gateway = 192.168.1.1
    DNS Server = 216.104.63.7
    Remember to switch DHCP OF
    Now you need to port forward all traffic trough one port to the Dreambox ip.
    Default port is 12000 but this can be changed in the config (CCcam.cfg).
    For more information about port forwarding go here: PortForward.com – Free Help Setting up Your Router or Firewall
    Now we need to have the software to make the Dreambox work properly.
    First we flash an image to the Dreambox.
    There are different images to choose from and it’s up to you what you prefer.
    But let’s chose a PLI image for this guide.
    Search this site for the newest image.
    When you have downloaded the newest image you need to flash it to your Dreambox.
    Instructions can be found here:

    7025/7025+
    Dream-Multimedia-Tv GmbH

    800
    Dream-Multimedia-Tv GmbH

    600
    Dream-Multimedia-Tv GmbH

    500+
    Dream-Multimedia-Tv GmbH
    Next step is to install CCcam
    Remember that this might change on newer images but the basics will probably be the same.
    In the today’s most recent image:
    Go to menu/plugins
    Click green button
    then click softcams and chose CCcam and install.
    Remember to change your default cam to CCcam.
    There aren’t really any software that you have to install but there are some that makes everything easier.
    This is more or less an must have.
    An DNS Updater is a software that constantly checks your public ip and links it to your static ip.
    Many ISP have dynamic ip’s which means that you’ll get a public ip that will change once in a while.
    It doesn’t mater if you’ll set a static ip in your PC, you’ll still have a public ip that will change.
    Therefore you will use a DNS Updater to fix this problem and always link your DNS servername which you will register for to your static ip.
    There are a few to chose from but I will recommend two:

    DynDNS
    Register here
    DynDNS Services: DNS, Domain Names, EMail Routing

    Download updater here


    or if that link does not work you will find it here
    DynDNS Support

    No-ip
    Register for a standard free account here
    No-IP™ Free – Free Dynamic DNS – DDNS

    Or if you want to see all services look here
    Enterprise Managed DNS and Mail Services, 100% DNS Uptime, Domain Registration No-IPâ„¢

    Download updater here
    Download a Free Dynamic DNS Update client for your dynamic IP
    You can use this to edit your CCcam.cfg.
    This is pretty easy, just open the program and insert the ip for your router and Dreambox.
    You can change the language to English.
    This is a software to get statistics and info about your peers and your server.
    Now download the latest CCcamInfoPHP from this forum.
    Open CCcamInfoPHP_v0.8.2\htdocs\config.php in notpad and change the line you see below to match your server info.
    If you haven’t changed your webinterface port or your Dreambox login all you have to do is type in your Dreambox ip.

    Code:
    $CCCamWebInfo[] = array("192.168.1.***","16001","root","dreambox"); // for CCcam webinterface with user and pass
    Now open the file located in CCcamInfoPHP_v0.8.2\server\Apache\php.ini
    Find this section

    Code:
    ;;;;;;;;;;;;;;;;;;;; Resource Limits ;;;;;;;;;;;;;;;;;;;;

    and change the line:

    max_execution_time = 30 <---- Change this to a higher value like 60
    Now you can start CCcamInfoPHP by clicking on CCcamInfoPHP v0.8.2.exe (or CCcamInfoPHP vX.X.X.exe).

    6.3.2 Versions before 0.8.2
    If you use a windows PC you need to install some server that can handle PHP.
    WAMP server is one that does that. Download it here: http://www.en.wampserver.com/
    Install WAMPserver in C:\wamp
    The zipped file should include a lot of folders and files
    extract CCcamInfoPHP to C:\wamp\www\
    Now you should find a file in the www folder called config.php.
    Open that file in a text editor like notpad.
    In that file you will find this lines:

    Code:
    //examples of server definitions$CCCamWebInfo[] = array("IP","PORT","USER","PASS"); // for CCcam webinterface with user and pass$CCCamWebInfo[] = array("IP","PORT"); // for CCcam webinterface with different port than default and without user and pass$CCCamWebInfo[] = array("IP");
    Here you should edit IP to your dreambox ip.
    Port to webinterface port.
    User and pass to your Dreambox username and pass.
    Default Port is 16001
    Default username is root
    Default pass is dreambox

    If you have many peers you might need to change some parameters in

    Code:
    \wamp\Apache2\bin\php.ini
    If you don’t have that file, try this one

    Code:
    \wamp\bin\apache\apache2.2.6\bin\php.ini
    Find this lines in that file (you can open the file in notpad).

    Code:
    ;;;;;;;;;;;;;;;;;;;; Resource Limits ;;;;;;;;;;;;;;;;;;;;max_execution_time =max_input_time =;max_input_nesting_level =memory_limit =
    Make sure you have at least this values:

    Code:
    max_execution_time = 300 ; Maximum execution time of each script, in secondsmax_input_time = 60 ; Maximum amount of time each script may spend parsing request data;max_input_nesting_level = 64 ; Maximum input variable nesting levelmemory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
    Now all you have to do is make sure WAMP server is running and open your web browser and browse to:

    or

    Now you need to have someone to cardshare with.
    If you don’t already have you can try to find someone in the free section here:
    Remember to read the rules before posting.

    When you have found someone to cardshare with you need to exchange C- and Flines.
    Let’s go through the basic with Flines and Clines
    The CCcam.cfg file is located in your Dreambox.
    You can access it from your PC with DCC.
    FTP to location:

    Code:
    var/etc
    Right click on CCcam.cfg and chose edit.
    The Fline is basically the same as creating a user account on your server.
    The Fline consists of a Username and Password
    In your config you have a Friend section that is the part where you should add the Flines.
    The Cline is more like a connection string that you give to your peers so that they can connect to your server.
    To be able to connect they need to have an account on your server (the Fline).
    F: [username] [password] additional info
    F: myfriend abc123 3 0 0 { 0:0:3 }
    The part behind the password is privileges and restrictions.
    3 0 0 { 0:0:3 }

    This user gets all cards at a maximum of 3 hops away from us,
    and get’s to share them down two further levels beyond his own level.
    C: [server] [port] [Fline username] [Fline password] additional info
    C: biocide.******.org 12000 myfriend abc123 no { 0:0:3, 100:3, 100:4 }
    no { 0:0:3, 100:3, 100:4 }
    no = don’t receives friends emus
    { 0:0:3 = how many hops down you want to receive cards from that server
    , 100:3, 100:4 } = here you can block cards from that server
    Summary of Clines and Flines
    in your config
    F: myfriend abc123 3 0 0 { 0:0:3 }
    C: the Cline that were sent to you.
    In your peers config
    F: an Fline that match the Cline that was sent to you
    C: your.server.org 12000 myfriend abc123 no { 0:0:3, 100:3, 100:4 }
    There are much more you can do in the Cline and Fline but this is the basic that I think everyone should know about.
    There are a lot of fake and old cards that are being shared and slowing down the servers, therefore you need to block all those cards.
    Here is a list with old and fake cards:
    First of all I want to say that using the method below will block all cards that you don’t choose to receive.
    This also means that you will only share the cards that you decide to receive.
    Remember that your peers might want cards that you don’t receive because you blocked them, and therefore they can see you as a not so interesting peer.
    After every Cline you’ll add:
    no { 0:0:1 } This means that you take all cards on hop1.
    If you want any card on hop2 you’ll add:
    no { 0:0:1, 90f:0:2, b00:0:2, anycard, anycard, anycard }
    In this example I chose to get
    90f:0 = "Viasat (5E/75E/1W)" on hop2
    b00:0 = "Focus(1W) / C+Nordic(1W) / DigiAlb(16E) / MTV(19.2E)" on hop2
    The last number is hop:
    90f:0:2
  • sahilkhan
    Senior Member
    • Jun 2011
    • 120

    #2
    Re: Putting cline in dreambox500s

    good information but whats with the code in between words,
    ’l
    don’t choose
    n hop2 you’ll add:
    needs bit of cleaning !!!

    Comment

    • vimmers
      Experienced Board Member
      • Jun 2010
      • 1188

      #3
      Re: Putting cline in dreambox500s

      what i can see its just a copy of a ccam.cfg
      but some of it in Indian language
      cos what i can see are Hunk2012 from India

      Comment

      • cannon_29
        Member
        • Jun 2010
        • 85

        #4
        Re: Putting cline in dreambox500s

        – This is not Indian language,if it was you would be able to use ****** to translate.
        cannon_29
        DM 500s

        Comment

        • vimmers
          Experienced Board Member
          • Jun 2010
          • 1188

          #5
          Re: Putting cline in dreambox500s

          sorry i dont know
          just conclude it of his profile

          Comment

          • maxmol
            Member
            • Apr 2010
            • 80

            #6
            Re: Putting cline in dreambox500s

            Strange, here it is again , http://www.satlover.com/forum/satell...agnostics.html ,
            Suppose Hunk could tell us what it is

            Comment

            • satfan
              Member
              • Jun 2011
              • 82

              #7
              Re: Putting cline in dreambox500s

              what i can see its just a copy of a ccam.cfg
              but some of it in Indian language
              cos what i can see are Hunk2012 from India

              Comment

              • vimmers
                Experienced Board Member
                • Jun 2010
                • 1188

                #8
                Re: Putting cline in dreambox500s

                satfan dont write the same as i do

                Comment

                • whinpo
                  Senior Member
                  • Jul 2011
                  • 177

                  #9
                  Re: Putting cline in dreambox500s

                  thanks for the tutorial

                  the weird chars are in fact the ' char which is badly translated

                  Just to add for Linux users :
                  you can d/l CCcamInfoPHP pro : on --http://rapidshare.com/files/224309038/CCcamInfoPHP_v2_pro_for_linux.rar

                  then :
                  * just install apache2 + php5 (via aptitude if you're under Debian)
                  * unrar the rar file to /usr/share/CCcamInfoPHP :
                  # unrar x CCcamInfoPHP_v2_pro_for_linux.rar /usr/share/
                  * give rigths to www-data which is the apache user
                  # chown www-data:www-data -Rv /usr/share/CCcamInfoPHP\ v2\ pro\ for\ linux/
                  * add a link to /var/www to be able to see the cccam site :
                  # ln -s /usr/share/CCcamInfoPHP\ v2\ pro\ for\ linux/cccam/ /var/www/cccam
                  * modify your config.php in /var/www/cccam as described earlier

                  connect using : --http://localhost/cccam (if you host apache on your computer)

                  Comment

                  • tibsom
                    Senior Member
                    • Mar 2011
                    • 152

                    #10
                    Re: Putting cline in dreambox500s

                    It is not rocket science to put a cline on any Linux receiver. just use any file tranfer soft e.g filezila, enter the ip address of your receiver, username and password, afeter it connects, open the var file then etc. write click on cccam config, choise to edit, delete everything on it, yes everything and then past you cline on it. save and you are done....

                    Comment

                    • patrickwaldron
                      Junior Member
                      • Apr 2013
                      • 18

                      #11
                      Re: Putting cline in dreambox500s

                      do you need a null modem cable or anything else to connect the pc to the dreambox?

                      Comment

                      • purenirvana
                        Board Senior Member
                        • Sep 2012
                        • 234

                        #12
                        Re: Putting cline in dreambox500s

                        Originally posted by patrickwaldron
                        do you need a null modem cable or anything else to connect the pc to the dreambox?
                        You don't necessarily have to connect directly to the box via a cable. Use an FTP client, type in the box IP address, login and password, then transfer files. This is assuming you have the box connected to a router by cable or wifi of course and that the computer you use the FTP client on is on the same network.
                        If you find my post useful, please use the "Thanks" button

                        Comment

                        • pan1300
                          Experienced Board Member
                          • Apr 2012
                          • 1663

                          #13
                          Re: Putting cline in dreambox500s

                          Originally posted by patrickwaldron
                          do you need a null modem cable or anything else to connect the pc to the dreambox?
                          hi patrickwaldron

                          purenirvana is right

                          a serial nullmodem cable isn't used much anymore, mostly on boxes to use some kind of recovery tool in case something went worng, or on older boxes to import channellists.

                          Comment

                          • peremacedonia
                            Experienced Board Member
                            • Jun 2010
                            • 872

                            #14
                            Re: Putting cline in dreambox500s

                            I dont know for no-ip but for dyndns need to be pro member or to pay to get domain.
                            Rule n.33 kid..... Concentrate

                            Comment

                            • bonilla
                              Board Senior Member
                              • Aug 2012
                              • 251

                              #15
                              Re: Putting cline in dreambox500s

                              Originally posted by peremacedonia
                              I dont know for no-ip but for dyndns need to be pro member or to pay to get domain.
                              You have 2 free domain if you register but it lasts like 2 weeks or 3 weeks before it get unactivated. Then you have to log to the dyn site and re activate it.
                              If you like my post, please don't hesitate to click on "Thanks"button. Thank you

                              Comment

                              Working...