oscam port settings

There are 6 replies in this Thread which was already clicked 1,390 times. The last Post () by Jeffzapp.

  • Hi


    Getting a bit closer now but stuck on groups (very confused) Could I start with my config files first (below) Could someone cast an eye over them and give any advise please.



    [global]
    nice = -1
    WaitForCards = 1
    logfile = stdout
    preferlocalcards = 1
    saveinithistory = 1
    disablelog = 1
    # logging
    #pidfile = /var/run/oscam.pid
    logfile = /var/log/oscam.log
    usrfile = /var/log/oscamuser.log
    cwlogdir = /var/log/cw.log
    #maxlogsize = 1000


    [webif]
    httpport = 8888
    httpuser = admin
    httppwd = admin
    httprefresh = 5
    httpallowed = 127.0.0.1,192.168.*.*-192.168.*.***
    # protocols


    [newcamd]
    key = 0102030405060708091011121314
    port = *****@****:000000;*****@****:000000
    keepalive = 1
    #mgclient = 0
    #
    ------------------------------------------------------------------------------


    nice = -1
    logfile = /dev/null
    clienttimeout = 5000
    fallbacktimeout = 2500
    clientmaxidle = 120
    cachedelay = 120
    bindwait = 120
    resolvedelay = 30
    serialreadertimeout = 1500
    maxlogsize = 10
    httphideidleclients = 0
    debug = 255
    -------------------------------------------------------------------------------
    [cccam]
    port = *****
    nodeid =
    version = 2.1.3
    reshare = 1
    ignorereshare = 0
    stealth = 1
    updateinterval = 120


    lb_mode = 1


    ----------------------------------------------------------------


    oscam.server


    [reader]
    label = s****
    protocol = smartreader
    device = 001:004
    caid = 0963
    #boxid = ********
    detect = cd
    ident = 0963:000000
    group = 1
    emmcache = 1,3,2
    blockemm-unknown = 1
    blockemm-g = 1
    blockemm-u = 1
    blockemm-s = 1
    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,7D,7E,80,8B,85
    #AU = 1


    [reader]
    label = T****
    Protocol = smartreader
    detect = cd
    device = 001:005
    Group = 2
    EMMCache = 1,3,2
    PinCode = 1234
    caid = 0BAA
    ident = 0BAA:000000




    #N LINE
    [reader]
    label = 127.0.0.1
    enable = 1
    protocol = newcamd
    key = 0102030405060708091011121314
    device = 127.0.0.1,10000
    user = *****
    password = *****
    group = 3
    inactivitytimeout = 1
    reconnecttimeout = 30
    lb_weight = 100
    cccversion = 2.1.3
    cccmaxhops = 3
    cccwantemu = 1
    ccckeepalive = 1



    #N LINE
    [reader]
    label = 127.0.0.1
    enable = 1
    protocol = newcamd
    key = 0102030405060708091011121314
    device = 127.0.0.1,34001
    user = *****
    password = *****
    group = 4
    inactivitytimeout = 1
    reconnecttimeout = 30
    lb_weight = 100
    cccversion = 2.1.3
    cccmaxhops = 3
    cccwantemu = 1
    ccckeepalive = 1


    #PEER
    [reader]
    label = ************.dyndns.info
    description = S*******
    protocol = cccam
    device = *******.dyndns.info,*****
    user = ********
    password = *******
    group = 5
    blockemm-unknown = 1
    blockemm-u = 1
    blockemm-s = 1
    blockemm-g = 1
    cccversion = 2.1.3
    cccmaxhops = 3
    ccckeepalive = 1
    audisabled = 1



    oscam.user


    [account]
    user = *****
    pwd = *****
    group = 1,2,3
    monlevel = 0
    au = s****
    caid = 0963
    keepalive = 1



    [account]
    user = *****
    pwd = *****
    group = 1,2,3
    au = t****
    keepalive = 1




    [account]
    user = Username from CCcam fline
    pwd = Pass from CCcam fline
    hostname = Your peers dns here ( this does the same as locking the fline in CCcam)
    keepalive = 1
    group = 1,2,3 (this is based on your reader groups & what you want peers to access)
    cccmaxhops = 3 (hops of server your peer can access)
    cccignorereshare = 0 (the reshare value set in oscam.conf is applied)



    Regards

  • Hi Everyone


    The above config's would not work. However after a bit of tinkering I seem to have cracked it. Could someone take a look at these new config's (below) and see if there is any problems with them and advise as to what I may need to possibly add or delete from them.


    oscam.conf


    [global]
    nice = -1
    WaitForCards = 1
    logfile = stdout
    preferlocalcards = 1
    saveinithistory = 1
    disablelog = 1
    # logging
    #pidfile = /var/run/oscam.pid
    logfile = /var/log/oscam.log
    usrfile = /var/log/oscamuser.log
    cwlogdir = /var/log/cw.log
    #maxlogsize = 1000


    [webif]
    httpport = 8888
    httpuser = admin
    httppwd = admin
    httprefresh = 5
    httpallowed = 127.0.0.1,192.168.*.*-192.168.*.***
    # protocols


    [newcamd]
    key = 0102030405060708091011121314
    port = *****@****:000000;*****@****:000000
    keepalive = 1
    #mgclient = 0
    #
    ------------------------------------------------------------------------------


    nice = -1
    logfile = /dev/null
    clienttimeout = 5000
    fallbacktimeout = 2500
    clientmaxidle = 120
    cachedelay = 120
    bindwait = 120
    resolvedelay = 30
    serialreadertimeout = 1500
    maxlogsize = 10
    httphideidleclients = 0
    debug = 255
    -------------------------------------------------------------------------------
    [cccam]
    port = *****
    nodeid =
    version = 2.1.3
    reshare = 1
    ignorereshare = 0
    stealth = 1
    updateinterval = 120


    lb_mode = 1


    ------------------------------------------------------------------------------


    oscam.server



    [reader][card1]
    label = S****
    enable = 1
    protocol = smartreader
    key = 0102030405060708091011121314
    device = 001:005
    user = *****
    password = *****
    group = 1
    inactivitytimeout = 1
    reconnecttimeout = 30
    lb_weight = 1
    cccversion = 2.1.3
    cccmaxhops = 3
    cccwantemu = 1
    ccckeepalive = 1


    [reader][card2]
    label = T****
    enable = 1
    protocol = smartreader
    key = 0102030405060708091011121314
    device = 001:006
    user = *****
    password = *****
    group = 2
    inactivitytimeout = 1
    reconnecttimeout = 30
    lb_weight = 1
    cccversion = 2.1.3
    cccmaxhops = 3
    cccwantemu = 1
    ccckeepalive = 1


    [reader][peer]
    label = **********.dyndns.info
    description = S******
    protocol = cccam
    device = **********.dyndns.info,11123
    user = ********
    password = *******
    group = 3
    blockemm-unknown = 1
    blockemm-u = 1
    blockemm-s = 1
    blockemm-g = 1
    cccversion = 2.1.3
    cccmaxhops = 3
    ccckeepalive = 1
    audisabled = 1



    [reader][local server box]
    label = 192.168.*.*
    enable = 1
    protocol = cccam
    device = 192.168.*.*,port*
    user = ************
    password = ******
    cccversion = 2.1.3
    group = 4
    inactivitytimeout = 1
    reconnecttimeout = 30
    lb_weight = 1
    cccmaxhops = 10
    ccckeepalive = 1
    cccwantemu = 0



    oscam.user


    [account][card1]
    user = *****
    pwd = *****
    group = 1,2,3,4
    monlevel = 0
    au = s****
    caid = 0963
    keepalive = 1




    [account][card2]
    user = *****
    pwd = *****
    group = 1,2,3,4
    au = t****
    keepalive = 1




    [account][peer]
    user = *********
    pwd = **********
    hostname = **********.dyndns.info
    keepalive = 1
    group = 1,2,3,4
    cccmaxhops = 3
    cccignorereshare = 0



    [account][local server box]
    user = *******
    pwd = ******
    #hostname =
    group = 1,2,3,4
    cccmaxhops = 3
    cccreshare = 0



    Regards

Participate now!

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