Announcement

Collapse
No announcement yet.

simple guide to setting up oscam + CCcam

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • simple guide to setting up oscam + CCcam

    here is an example . this config is tested & it works .

    anything in red you can change to your need .

    oscam.server

    [reader]
    label = skyuk
    protocol = internal
    enable = 1
    device = /dev/sci0
    caid = 0963
    boxid = ******xx #( not needed as oscam can read sky uk boxid )
    detect = cd
    mhz = 600
    cardmhz = 600
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    blockemm-g = 1
    blockemm-unknown = 1
    blockemm-u = 0
    blockemm-s = 0
    lb_weight = 100
    ecmwhitelist = 0963@000000:3E,4F,42,44,45,47,4E,53,54,56,61,67,62 ,68,69,6A,6B,6E,6D,6F,71,72,73,77,78,74,79,7A,7C,7 D,7E,80,8B,85

    oscam.conf

    [global]
    logfile = /var/local/oscam.log
    cachedelay = 120
    nice = -1
    maxlogsize = 0
    saveinithistory = 1

    [newcamd]
    port = 15500@0963:000000
    key = 0102030405060708091011121314
    allowed = 127.0.0.1,192.168.0.0-192.168.255.255
    keepalive = 1

    [webif]
    httpport = 15000
    httpuser = user
    httppwd = password
    httprefresh = 10
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255

    oscam.user

    [account]
    user = user
    pwd = pass
    uniq = 2
    monlevel = 1
    caid = 0963
    ident = 0963:000000
    group = 1
    au = skyuk
    blockemm-unknown = 1
    blockemm-g = 1
    blockemm-u = 0
    blockemm-s = 0

    Use this N line in CCcam.cfg if you want to use the Newcs protocol to connect to CCcam. Only use 256 if using CCcam 2.1.3 or below . to show your card as a local .

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

    the username & pass in account & N line must be the same .

    the port number in newcamd must be the same as in your N line .

    256 @ the end of the N line is to show your card as local .

    with these settings your card will update providing you give a close & known peer a C line like this :

    C: myserver.dyndns.tv 13001 user pass yes #( VERY IMPORTANT )

    the yes @ the end is required for the known peer to send EMM to update the card .

    in the F line for this peer it should look like this

    F: user pass 1 0 1 { 0:0:2 } #( VERY IMPORTANT )

    the 2nd 1 allows the EMM to update your card .

    It's sufficient for one peer / receiver to execute AU in order to update the card .

    For the procedure to work , the peer / receiver that is enabled to execute AU must be tuned to one of the subscribed channels .

    Warning : When using the NewCamd protocol , always set AU directed at a reader . Setting "au = 1" will not work properly !

    you can see your entitlements by opening the web browser & entering the box ip with the webif port .

    oscam with CCcam will only show your card as local ( hop0 ) with 2.1.3 or earlier versions . CCcam 2.1.3 is the better option .

    make sure the config directory has 755 attribute & the 3 oscam files in that directory have attribute 644

    oscam.conf
    oscam.server
    oscam.user

    oscam files can be found in folder:

    /var/tuxbox/config ( Enigma1 )

    /etc/tuxbox/config ( Enigma2 )

    oscam will only read your card & forward it via the N line to CCcam . you then give C lines to your peers as usual .

    upon putting all your settings together make sure you stop oscam then CCcam via the blue panel .

    restart oscam then CCcam . this allows oscam to read the card before CCcam .

    any changes to configs in oscam will take effect upon restart of oscam .

    you can access your webif by simply opening your browser & putting this in the address bar http://serverip:15000 .

    there are many other settings that you can have but this is a basic setting to get going .

    ################################################## #############################

    an alternative method of connecting oscam + CCcam is the camd3 method which is set like this .

    oscam.conf

    [global]
    logfile = /var/local/oscam.log
    cachedelay = 120
    nice = -1
    maxlogsize = 0
    saveinithistory = 1

    [cs357x]
    serverip = 192.168.0.100#your server ip address
    port = 15500
    suppresscmd08 = 0#0 = tell camd 3.5x clients not to request again for rejected CAID, service ID and provider ID combination
    keepalive = 1

    [webif]
    httpport = 15000
    httpuser = user
    httppwd = password
    httprefresh = 10
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255

    oscam.server

    [reader]
    label = skyuk
    protocol = internal
    enable = 1
    device = /dev/sci0
    detect = cd
    boxid = ******xx #( not needed as oscam can read sky uk boxid )
    mhz = 600
    cardmhz = 600
    caid = 0963
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    ecmcache = 1
    blockemm-g = 1
    blockemm-unknown = 1
    blockemm-u = 0
    blockemm-s = 0
    lb_weight = 101
    ecmwhitelist = 0963@000000:3E,4F,42,44,45,47,4E,53,54,56,61,67,62 ,68,69,6A,6B,6E,6D,6F,71,72,73,77,78,74,79,7A,7C,7 D,7E,80,8B,85

    oscam.user

    [account]
    user = user
    pwd = pass
    uniq = 2
    monlevel = 1
    caid = 0963
    ident = 0963:000000
    group = 1
    au = skyuk
    blockemm-unknown = 1
    blockemm-g = 1
    blockemm-u = 0
    blockemm-s = 0

    Now open CCcam.cfg and put this line in :

    L: 192.168.0.100 15500 user pass 0963 000000 256

    First number is IP address of your server , then there is port number and username/password .

    At the end there is the CAID number of your package and you can also optionally add 256 at the end .

    This means that your card will show as local in CCcam . Same trick as in newcamd ( N line ) .

    remember any changes to oscam configs take effect after restart of oscam .

  • #2
    Good job brother keep it up

    Comment

    Working...
    X