Tutorial - Ubuntu Server x32/x64 - Automated Oscam only Install Package

There are 100 replies in this Thread which was already clicked 50,489 times. The last Post () by master G.

  • You'll have to change the device on the second reader from 0 to 1 otherwise your server will think there is only one reader device attached.
    If you were to add a third reader to your setup, that device would then be 2 and so on.
    The label will distinguish them in your webif and if you decide to add a services file, having a different label makes it easier to identify which packages are on which cards.
    Eg label on first reader could be slyuk,
    label on second could be set4nta/ uk2 or whatever you want.
    Good practice to at least restart oscam for changes to take effect or restart server.

  • You'll have to change the device on the second reader from 0 to 1 otherwise your server will think there is only one reader device attached.
    If you were to add a third reader to your setup, that device would then be 2 and so on.
    The label will distinguish them in your webif and if you decide to add a services file, having a different label makes it easier to identify which packages are on which cards.
    Eg label on first reader could be slyuk,
    label on second could be set4nta/ uk2 or whatever you want.
    Good practice to at least restart oscam for changes to take effect or restart server.


    Just to give you a feed back regarding the above; i tried it and can only read one card the second card has no entitlement.
    here is my final oscam.server config. please check if everything look ok


    [reader]
    label = slyuk
    protocol = pcsc
    device = 0
    enable = 1
    detect = cd
    mhz = 357
    cardmhz = 357
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    caid = 0963
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    ecmcache = 1
    lb_weight = 101
    dropbadcws = 1



    [reader]
    label = uk2
    protocol = pcsc
    device = 1
    enable = 1
    detect = cd
    mhz = 357
    cardmhz = 357
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    caid = 0963
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    ecmcache = 1
    lb_weight = 101
    dropbadcws = 1

    • Official Post

    Just to give you a feed back regarding the above; i tried it and can only read one card the second card has no entitlement.
    here is my final oscam.server config. please check if everything look ok


    Both cards are using the same group (1). They need their own separate group, so change the second [reader] to group 2. Then add group 1,2 to the [account] in oscam.user.

  • Both cards are using the same group (1). They need their own separate group, so change the second [reader] to group 2. Then add group 1,2 to the [account] in oscam.user.


    do you mean in my oscam user something like this because am a bit confused and i change put 2 in the second reader now still cant get the second card to work


    [account]
    user = xx
    pwd = xxx
    caid = 0963
    au = ***uk
    group = 1,2

    • Official Post

    Configs would be like this:
    Oscam.server


    Oscam.user


    Show us an oscam log from startup. There will be errors there that will help solve this.

  • Configs would be like this:
    Oscam.server


    Oscam.user


    Show us an oscam log from startup. There will be errors there that will help solve this.


    where can i find this oscam log from startup from? sorry if this a n..b question

  • IThe webinterface can be found in a browser window type http://ip.address.of.server:8888


    Change port 8888 to whatever you have set [webif] in oscam.conf


    Restart oscam then copy the log at start up.


    here is the log
    015/03/08 15:37:40 89C7AC0 r uk1 [pcsc] card detected
    2015/03/08 15:37:40 89C7AC0 r uk1 [pcsc] ATR: 3F FD 13 25 02 50 00 0F 33 B0 0F 69 FF 4A 50 D0 00 00 53 59 02
    2015/03/08 15:37:41 89C7AC0 r uk1 [pcsc] Card type: SYBV
    2015/03/08 15:37:41 89C7AC0 r uk1 [pcsc] Rom version: 40LF
    2015/03/08 15:37:42 89C7AC0 r uk1 [pcsc] parental lock setting: 3F 00 0E 00
    2015/03/08 15:37:42 89C7AC0 r uk1 [pcsc] type: ********** B***B (0963), caid: 0963
    2015/03/08 15:37:42 89C7AC0 r uk1 [pcsc] serial: ########, BoxID: ########, baseyear: 1997
    2015/03/08 15:37:42 89C7AC0 r uk1 [pcsc] ready for requests
    2015/03/08 15:37:42 89C7AC0 r uk1 [pcsc] found card system ***********
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] card detected
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] type: ********** B***B (0963)
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 6feb, expiry date: xx/xx/05-00:01:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 0003, expiry date: xx/xx/05-00:01:00 -01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 000b, expiry date: -xx/xx/05-00:01:00 01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 0010, expiry date: 2015/xx/xx-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 001d, expiry date: 2015/xx/xx-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 0040, expiry date: 2015/xx/xx-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 0041, expiry date: 2015/xx/xx-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 0047, expiry date: 2015/-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 0073, expiry date: 2015-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 0079, expiry date: 2015-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 30e1, expiry date: 2015/-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 30e2, expiry date: 2015/-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 30e3, expiry date: 2015/-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 30e4, expiry date: 2015-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: 30e5, expiry date: 2015/04/17-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b732, expiry date: 2015-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b736, expiry date: 2015-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b73b, expiry date: 2015/0:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b765, expiry date: 2015/:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b766, expiry date: 2015/:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b772, expiry date: 201-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b773, expiry date: 201-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b846, expiry date: 201-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b854, expiry date: 201-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b860, expiry date: 201-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b8d2, expiry date: 201-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b92c, expiry date: xxxxx-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b93f, expiry date: xxxx-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b9fb, expiry date: 20-01:00:00
    2015/03/08 15:37:42 89C7AC0 r uk1 [***********] tier: b9fc, expiry date: xxxx-01:00:00
    2015/03/08 15:38:40 89C97B0 r uk2 [pcsc] Wrong pcsc_reader index: 1
    2015/03/08 15:38:40 89C97B0 r uk2 [pcsc] Cannot open device: 1


    - - - Updated - - -


    I think the problem the second card is


    2015/03/08 15:38:40 89C97B0 r uk2 [pcsc] Wrong pcsc_reader index: 1
    2015/03/08 15:38:40 89C97B0 r uk2 [pcsc] Cannot open device: 1


    any way to sort out the problem of Wrong pcsc_reader index: 1 ?

  • Change the device = 1 to 2 or 3, 4 until you get the correct port. Or keep device = 1 and move the omnikey to a different usb port on the server until it works.


    Hi Master G. just want to let you guys know that the two card are now working with on the oscam but I cant get to watch anything on my duo2 ; on the oscam its shows offline. here is my final config


    oscam config


    global]
    logfile = /var/oscamlog/oscam.log
    nice = -1
    maxlogsize = 19999
    preferlocalcards = 1
    emmlogdir = /var/oscamlog/


    [webif]
    httpport = xxxx
    httpuser = admin
    httppwd = admin
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
    httprefresh = 15


    [cccam]
    port = xxxx
    reshare = 2
    [reader]
    label = uk1
    protocol = pcsc
    device = 0
    enable = 1
    detect = cd
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    caid = 0963
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    ecmcache = 1
    lb_weight = 101
    dropbadcws = 1



    0scam server ( now ok)
    [reader]
    label = uk1
    protocol = pcsc
    device = 1
    enable = 1
    detect = cd
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    caid = 0963
    ident = 0963:000000
    group = 2
    emmcache = 1,3,2
    ecmcache = 1
    lb_weight = 101
    dropbadcws = 1


    [reader]
    label = uk2
    protocol = pcsc
    device = 1
    enable = 1
    detect = cd
    blockemm-u = 0
    blockemm-s = 0
    blockemm-g = 1
    blockemm-unknown = 1
    caid = 0963
    ident = 0963:000000
    group = 2
    emmcache = 1,3,2
    ecmcache = 1
    lb_weight = 101
    dropbadcws =


    Oscam users
    [account]
    user = mmtte
    pwd = umty
    caid = 0963
    au = uk1
    group = 1


    [account]
    user = llky
    pwd = tyuwk
    caid = 0963
    au = uk2
    group = 2


    Dont know what i have done incorrect needs help


    - - - Updated - - -


    I have tried three hours of everything but cant connect to pair . I have to go and rest now and wait for response from the forum.

  • On your PC server:


    Delete what's in red (don't think it's needed in cccam entry.)
    Change configs to values that are in green (so both accounts have access to both cards/groups)
    Restart oscam.


    These 2 user accounts now produce two lines.
    c: ip.of.server port mmtte umty


    And


    c: ip.of server port llky tyuwk


    On your Duo2:


    If your using oscam in your duo2, use this tool to convert either or both c-lines (you only need to use one in your duo):
    http://linuxsat-support.com/attachment.php?attachmentid=10388&d=1344884910
    (it will create a "reader" which will go into your oscam.server config on your duo)
    The output from the tool will look something like this:




    Then restart oscam on duo2.


    Or you can just use cccam 2.3.0 on your duo2 and paste one of the c-lines into the cccam.cfg.


    Let us know how you go



  • Not working for me- I used the Ccam 2.3.0 on the duo2 and have a c line created but it show offline under the user in the oscam webinfo . oscam is reading card fine but dont know what am doing badly. i need help because the c line created is not working and off line.

  • Could your server ip have changed within your network, have you set up a static ip on it?
    It should be the same ip that you use to see the oscam webif. (minus the port number of course)

  • Could your server ip have changed within your network, have you set up a static ip on it?
    It should be the same ip that you use to see the oscam webif. (minus the port number of course)


    my server ip is the same i can login via putty and winSCP with no issues and oscam now reading the two cards ok but for some reason i don't understand the line created are off line and not working. This is something I will like to find solution to any help from the forum will be appreciated. Thanks for your help so far guys.

  • Hi guys,


    I have this up and running but needs to configure to use to different ports i have the following but not connecting


    oscam config


    global]
    logfile = /var/oscamlog/oscam.log
    nice = -1
    maxlogsize = 19999
    preferlocalcards = 1
    emmlogdir = /var/oscamlog/


    [webif]
    httpport = xxxx
    httpuser = admin
    httppwd = admin
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
    httprefresh = 15


    [cccam]
    port = 1531
    reshare = 2


    [cccam]
    port = 1532
    reshare = 2

  • Which ports are you trying to configure and for what exactly ?


    I have this set up before Automated Oscam/CCcam 2.1.3 Install Package For Ubuntu Server 11.10, 12.xx & 13.04 x32/x64 and have two separate port one for myself and the second port is my mates and brother inlaw .


    presently only one port can work.

    Edited once, last by murphy ().

Participate now!

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