Can I run MGCAMD alongside current CCcam/Oscam on my ubuntu server?

There are 20 replies in this Thread which was already clicked 1,752 times. The last Post () by Bean.

  • Hi Guys,


    I have acquired a couple of ***box f5s's (chinese) which as far as I can make out can only run with mgcamd. I have tried several times to add clines but it seems to only want to run with mgcamd lines. Is this correct?


    I would like to have mgcamd running on my server also. Would this interfere with my current cccam/oscam setup in any way? I only want to use mgcamd for certain boxes.


    If this is possible could someone point me in the right direction to install mgcamd on my ubuntu server and also how to setup lines.


    Bean

    • Official Post

    mgcamd is not available for ubuntu server.. Use oscam to create an N line then change it to CWS line for mgcamd..


    In oscam.conf [newcamd] will look something like this;


    Code
    [newcamd]
    port                          = 10001@0963:000000
    key                           = 0102030405060708091011121314
    mgclient                      = 1
    keepalive                     = 1


    Setup an [account] for each openbox in oscam.user.



    You now have two N or CWS lines (change 127.0.0.1 to your dynamic hostname);


    Code
    N: 127.0.0.1 10001 linuxsat1 support1 01 02 03 04 05 06 07 08 09 10 11 12 13 14
    N: 127.0.0.1 10001 linuxsat2 support2 01 02 03 04 05 06 07 08 09 10 11 12 13 14
    CWS = 127.0.0.1 10001 linuxsat1 support1 01 02 03 04 05 06 07 08 09 10 11 12 13 14
    CWS = 127.0.0.1 10001 linuxsat2 support2 01 02 03 04 05 06 07 08 09 10 11 12 13 14
  • The following is my configs.


    oscam.user -


    # oscam.user generated automatically by Streamboard OSCAM 1.20-unstable_svn SVN r8917
    # Read more: http://www.streamboard.tv/svn/…on/doc/txt/oscam.user.txt


    [account]
    user = xxxxxxxxx
    pwd = xxxxxxxxxxxxx
    caid = 0963
    au = ***uk
    group = 1


    [account]
    description = mgcamd1
    user = user1
    pwd = password1
    group = 1
    keepalive = 1


    [account]
    description = mgcamd2
    user = user2
    pwd = password2
    group = 1
    keepalive = 1



    cccam.cfg -


    SERVER LISTEN PORT : XXXXX
    ALLOW TELNETINFO: yes
    ALLOW WEBINFO: yes
    WEBINFO USERNAME :xxxxxx
    WEBINFO PASSWORD :xxxxxxxxxx
    TELNETINFO USERNAME :xxxxxx
    TELNETINFO PASSWORD :xxxxxxxxxx
    TELNETINFO LISTEN PORT : 16000
    WEBINFO LISTEN PORT : 16001
    ZAP OSD TIME :0
    OSD USERNAME :xxxxxx
    OSD PASSWORD :xxxxxxxxxx
    OSD PORT :80
    SHOW TIMING : yes
    DEBUG : yes
    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 : /var/log/warnings.txt
    SOFTKEY FILE : /var/keys/SoftCam.Key
    AUTOROLL FILE : /var/keys/AutoRoll.Key
    #STATIC CW FILE : /var/keys/constant.cw
    #BOXKEY: /dev/sci0 XX XX XX XX
    #SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000


    N: 127.0.0.1 10001 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256


    CWS = xxxxxxxxxxxxxxxxx.dyndns.org 10001 user1 password1 01 02 03 04 05 06 07 08 09 10 11 12 13 14
    CWS = xxxxxxxxxxxxxxxxx.dyndns.org 10001 user2 password2 01 02 03 04 05 06 07 08 09 10 11 12 13 14


    F: dream1 dreampass1 1 0 0 { 0:0:1 }


    newcamd.list -


    CWS = xxxxxxxxxxxxxxxxxx.dyndns.org (server_listen_port) user1 password1 01 02 03 04 05 06 07 08 09 10 11 12 13 14


    Channels not working, any ideas? Most likely have something wrong.

    • Official Post

    CWS line will not work in CCcam, they are for mgcamd only, remove them from the CCcam.cfg.. If you are testing on your own network you will use the ip address of the server, not your dynamic hostname.. (CWS = ip.address.of.server (server_listen_port) user1 password1 01 02 03 04 05 06 07 08 09 10 11 12 13 14)


    I noticed that you are using oscam 8917, you may have problems getting entitlements with this version => Vide0guard unique EMM's Broken in oscam between range SVN 8830 & SVN 8961..

  • Is it possible to revert back to an older working version?


    Also I have removed the CWS lines from cccam.cfg. I have the following in newcamd.list -


    CWS = (Server IP) (Server Listen Port) user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14

    Edited 3 times, last by Bean ().

  • Doesn't update for me though. I thought I had it sorted last week by putting it back in my thompson box but some of the entitlements didn't update and after a day or so all went. I had to put it back in the box again and ring them.


    Is there any possible way you could help me to get it to update automatically?

  • When I copy over your oscam file and try to restart it I am getting the following error - error while loading shared libraries: libpcsclite.so.1: cannot open shared object file: no such file or directory

    • Official Post

    When I copy over your oscam file and try to restart it I am getting the following error - error while loading shared libraries: libpcsclite.so.1: cannot open shared object file: no such file or directory


    This oscam was compiled with only omnikey support, are you using an omnikey card reader ?

  • Do I remove all the #'s from # CT-API module configuration & # The following section shows definitions for PC/SC readers??


    Like so -


    # CT-API module configuration.
    reader_driver ctapi {
    module /usr/local/towitoko/lib/libtowitoko.so {
    CT-API ports:
    0..3 COM1..4
    4 Printer
    5 Modem
    6..7 LPT1..2
    ports = 0;
    }
    }


    # The following section shows definitions for PC/SC readers.
    reader_driver pcsc {
    # Limit command and response sizes.
    # Default: n/a
    max_send_size = 255;
    max_recv_size = 256;
    #
    # Connect to reader in exclusive mode?
    # Default: false
    connect_exclusive = true;
    #
    # What to do when disconnecting from a card (SCardDisconnect)
    # Valid values: leave, reset, unpower.
    # Default: reset
    disconnect_action = unpower;
    #
    # What to do at the end of a transaction (SCardEndTransaction)
    # Valid values: leave, reset, unpower.
    # Default: leave
    transaction_end_action = reset;
    #
    # What to do when reconnection to a card (SCardReconnect)
    # Valid values: leave, reset, unpower.
    # Note that this affects only the internal reconnect (after a SCARD_W_RESET_CARD).
    # A forced reset via sc_reset() always does a full powerup.
    # Default: leave
    reconnect_action = reset;
    #
    # Enable pinpad if detected (PC/SC v2.0.2 Part 10)
    # Default: true
    enable_pinpad = false;
    #
    # Use specific pcsc provider.
    # Default: libpcsclite.so.1
    provider_library = libpcsclite.so.1
    }

    Edited once, last by Bean ().

  • I copied your opensc.conf to /etc/opensc/ and did a restart.


    I then ran the following command - opensc-tool list-readers, -l


    No smart card readers found.

  • If I restart oscam with my build it starts fine. If I restart it with the build you provided I get and error - error while loading shared libraries: libpcsclite.so.1: cannot open shared object file: no such file or directory. I have reverted back to version r9784


    The card reader looks to be running fine in oscam webif

  • As per the original thread I was having issues trying to get a cccam cline to work in the cccam setup on the ***box f5s. The box would only let me use mgcamd and try as much as I could I could not get it to work. The issue I was having was related to the image on the box so I updated the image to the one in the following thread - Firmware Slybox F3s/F5s-22/01/2014 Many thanks to drfox for the image.


    I then added an fline to my cccam.cfg on my server and a cline to the ***box.


    Hope this helps someone out. If anybody has any questions give me a shout.


    Bean

Participate now!

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