CCcam double login

There are 8 replies in this Thread which was already clicked 2,431 times. The last Post () by JM888.

  • Hi, This is my first post ever. New on linux and new on CCcam.


    I have a Dreambox with my card, and Ubuntu server with MythTV. I try to connect my Dreambox card to the MythTV in an other room. Wired network connection, no ruters or firewall. Using CCcam 2.1.4. Ubuntu with CCcam.x86_64.


    I manage to set it up so it is connected. Web inteface shows connection on port 16001 both on Dreambox and Ubuntu server. But it disconnedts at once:


    13:40:44.936 CCcam: ======================================================================
    13:40:44.936 CCcam: starting CCcam 2.1.4 compiled on Jan 30 2010@16:56:08
    13:40:44.936 CCcam: ======================================================================
    13:40:44.936 CCcam: online using nodeId ***********************
    13:40:44.937 CCcam: create 1 cam device(s)
    13:40:44.950 CCcam: added 1194 keys from /var/keys/SoftCam.Key
    13:40:44.951 CCcam: added 435 keys from /var/keys/AutoRoll.Key
    13:40:44.951 CCcam: static cw not found or bad
    13:40:44.951 CCcam: parsed 1 entries from /var/etc/CCcam.prio
    13:40:44.955 CCcam: added 1274 provider names from /var/etc/CCcam.providers
    13:40:45.185 CCcam: added 8983 channel names from /var/etc/CCcam.channelinfo
    13:40:45.185 CCcam: server started on port ************'
    13:40:45.216 CCcam: login at *************:**** failed, server message: client ********* already connected
    13:40:55.256 CCcam: login at *************:**** failed, server message: client ********* already connected
    13:41:05.284 CCcam: login at *************:**** failed, server message: client ********* already connected


    The ps -ef|grep CCcam give me:
    root 1874 1 0 13:12 ? 00:00:00 /usr/local/bin/CCcam.x86_64
    ********* 3341 2790 0 13:45 pts/1 00:00:00 grep --color=auto CCcam


    So I guess I only have one CCcam running. For some reason I don't get the logfiles work. Probably I have messed i up. In CCcam,cfg I've made the DEBUG : Yes


    Only on C-line and one corresopning F-line in the CCcam.cfg files.


    Where shall I look to solve this?



    JM888

  • To be more exact;


    It does not disconnect, but the card gets inactive. It still shows up in the web-interface as connected, but it's not active.


    Anyone?

  • My CCcam.cfg:



    The cardserver:


    # DREAMBOX


    F: livingroom pass1


    SERVER LISTEN PORT : 54321


    TELNETINFO LISTEN PORT : 16000


    WEBINFO LISTEN PORT : 16001


    ZAP OSD TIME : 0


    DEBUG : yes





    And the client:


    #MythTV


    C: 10.0.2.100 54321 livingroom pass1


    SERVER LISTEN PORT : 54321


    TELNETINFO LISTEN PORT : 16000


    WEBINFO LISTEN PORT : 16001


    DEBUG : yes


    DVB API: -1





    Wy don't I get anything in /var/log/debug?

  • It seems as it is something wrong with the Dreambox setup:


    root@dreambox:/var/etc> ps -ef | grep CCcam
    472 root 2028 S /var/bin/CCcam_2.1.4
    473 root 2028 S /var/bin/CCcam_2.1.4
    474 root 2028 S /var/bin/CCcam_2.1.4
    475 root 2028 S /var/bin/CCcam_2.1.4
    476 root 2028 S /var/bin/CCcam_2.1.4
    477 root 2028 S /var/bin/CCcam_2.1.4
    478 root 2028 S /var/bin/CCcam_2.1.4
    479 root 2028 S /var/bin/CCcam_2.1.4
    482 root 2028 S /var/bin/CCcam_2.1.4
    488 root 416 S grep CCcam


    If multiple processes are running, it could explain it. I tried to reinstall CCcam, but same result.


    What is wrong with my setup? What can I do to make only one process start?

  • Of course, my client, the Mythtv is not server for any, so I don't need a server port. I marked it out so the default port 12000 is running.


    To be sure every thing was up to date, flashed my Dreambox with the last Gemini and installed CCcam again. But apparently, there still is something in the config I do not understad:



    My client (Mythtv) CCcam.cfg now looks like this:



    C: 10.0.2.100 54321 livingroom pass1 yes


    #SERVER LISTEN PORT : 54322


    TELNETINFO LISTEN PORT : 16000


    WEBINFO LISTEN PORT : 16001


    DEBUG : yes


    DVB API: -1



    I put in "yes" in the end of the C-line. I read somewhere that to have nothing here could cause problems.



    The debug on the client (Mythtv) still gives me:


    UbuntuMyth:~$ sudo CCcam.x86_64 -dvtn
    12:19:30.095 CCcam: ======================================================================
    12:19:30.095 CCcam: starting CCcam 2.1.4 compiled on Jan 30 2010@16:56:08
    12:19:30.095 CCcam: ======================================================================
    12:19:30.095 CCcam: online using nodeId 1780ef3f019b0243
    12:19:30.096 CCcam: create 1 cam device(s)
    12:19:30.109 CCcam: added 1246 keys from /var/keys/SoftCam.Key
    12:19:30.110 CCcam: added 435 keys from /var/keys/AutoRoll.Key
    12:19:30.110 CCcam: static cw not found or bad
    12:19:30.110 CCcam: parsed 1 entries from /var/etc/CCcam.prio
    12:19:30.114 CCcam: added 1274 provider names from /var/etc/CCcam.providers
    12:19:30.338 CCcam: added 8983 channel names from /var/etc/CCcam.channelinfo
    12:19:30.338 CCcam: server started on port 12000
    12:19:30.360 CCcam: connect to CCcam 10.0.2.100:54321 user: livingroom
    12:19:30.365 CCcam: login at 10.0.2.100:54321 failed, server message: client 10.0.2.172 already connected
    12:19:40.391 CCcam: connect to CCcam 10.0.2.100:54321 user: livingroom
    12:19:40.396 CCcam: login at 10.0.2.100:54321 failed, server message: client 10.0.2.172 already connected


    I'm in a steep leaning curve here. Any other suggestions?

  • Hi Mate is this 10.0.2.100 defo your ip??


    My lan id starts 192.168............


    The yes after the c line means the client can pass on EMM's to the server..Ie updating entitlements.


    And as ten below says you need to tell CCCam.cfg the correct listen port- which in your case is 54321

  • Yes, my IP is 10.0.2.100 for my local LAN, I chose this IP-serides.


    I have now rebuild my Dreambox cardserver and startet an other client in addition to my MythTV to see if it is my cardserver or the clien MythTV that makes the trouble. It seems as the new client connects fine. So I have something wrong with my MytgTV CCcam setup. I'm up fore ideas here. I only have one CCcam process running, and only one C-line in the config-file. What else can be wrong?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!