CCcam Config Basics Explained

Discussion in 'Satellite TV' started by Capt Kirk, Aug 23, 2010.

  1. Capt Kirk

    Capt Kirk Boldly Going Member

    Joined:
    Aug 23, 2010
    Messages:
    4
    Likes Received:
    0
    The CCcam.cfg file is where you setup your CCcam server. Usually located in the /var/etc folder. There is really 2 parts of the config, the local settings and the lines. There is alot you can play with, but I'm going to stick to the basics here.

    Local Settings

    SERVER LISTEN PORT : 12345
    Tells CCcam which port to watch for incoming connections, the default is port 12000. Whichever port you use, foward it in your router to the IP of your server

    ALLOW WEBINFO: yes
    WEBINFO USERNAME : username
    WEBINFO PASSWORD : password
    Lets you monitor your server stats using CCcamInfoPHP

    SERIAL READER : /dev/ttyUSB0
    Tells CCcam to use a cardreader, use ttySCI0 for internal readers

    Lines

    CCcam uses C lines and F lines to connect to your peers. You would put an Fline in your config, and give your peer a corresponding Cline. Here is an example of a Fline and the Cline you would give out

    f: username password
    f: user1 userpass

    c: DNSorIPaddress port username password
    c: someserveraanyDNS.com 12000 user1 userpass

    there are other options you can add to your lines to control reshare etc for example

    f: user1 userpass 3 0 1 {0:0:2}

    with this line user1 gets all your shares at a max distance of 3 hops, he has 0 rights to use your emu's, and has auto update rights 1. He can reshare all your cards 1 hop {0:0:2}, with {0:0:1} he has no reshare rights and can only view the cards himself.

    As I say there are lots and lots more options in the config file, but these are the basics. CCcam won't parse any line starting with a #, so if your playing about it's a good idea just to # a line rather than delete it.
     
    Last edited: Aug 24, 2010
  2. kadnor

    kadnor Active Member

    Joined:
    Apr 16, 2008
    Messages:
    31
    Likes Received:
    0
    Hi CAPT,
    I do have a set back. I have installed CCcam2.2.1 on my DM 800HD clone.
    It is visible and it is marked as ACTIV.
    On the server to host CCcam, it does not show its presence here. So the channels that I can get via CCcam and config c-line ARE NOT accessible.
    How to remedy ? Is it a fault in LOADING or CONFIG.

    Thanks for showing me the way out.
    Best Wishes.
     
  3. net4hack

    net4hack Member

    Joined:
    Dec 23, 2013
    Messages:
    9
    Likes Received:
    0
    When and Where should I add c-lines to cccam.cfg file?

    Should I add the c-lines to the cccam.cfg file after or before searching for channels on various satellites?

    What about the existing content of the .cfg file. Shall I delete all the contents and add the c-lines?
     
  4. Sloopy

    Sloopy Well-Known Member

    Joined:
    Aug 27, 2010
    Messages:
    57
    Likes Received:
    0
    Re: When and Where should I add c-lines to cccam.cfg file?

    It does not matter when you put in the c-line.

    You can do if you want to .
     
  5. net4hack

    net4hack Member

    Joined:
    Dec 23, 2013
    Messages:
    9
    Likes Received:
    0
    Thanks...
     
  6. Westindieman

    Westindieman Member

    Joined:
    Apr 8, 2009
    Messages:
    21
    Likes Received:
    0
    Please can someone advise me how to set this up on my Star Tracks 2014 box?

    This is my xcamconfig screen


    [​IMG]


    I have been advised to change to cccam2.
    Now if I have been given a line for example C: 5sat.dyndns.tv 25168 tests322 sb58896


    What do I do with that line?

    I have also been given a cccam.cfg file which I could use instead but I don't know how or where to import it to the box.

    Thanks
     
  7. Mickha

    Mickha Well-Known Member

    Joined:
    Feb 16, 2006
    Messages:
    3,887
    Likes Received:
    2
    First ignore the C: this is for the .cfg file.
    A line is usually in 4 parts, for example:
    First part is the server address: xxxxserver.xxx.tv
    Second part is the port: 12000
    third part is the username: bysgfygfy
    final part is the password: dfgewhu

    To enter using a cccam.cfg file, on some receivers, you just transfer this onto a USB stick, plug it into your receiver, navigate to USB and load the file.
    On others, like Linux based receivers, you use a FTP program to transfer the file into your raceiver, from your PC.
     

Share This Page