首先介绍一下oscom.conf是转发配置文件,OSCAM.server是读卡及网络GX配置文件,oscam.user是转发帐号配置文件(以上三个文件最好用DCC软件来编辑比较直观,直接用记事本的话不太好看)
==================OSCAM.CONF=====================
[global]
nice = -1
WaitForCards = 0
logfile = /dev/null
usrfile = /dev/null
loghistorysize = 100000
saveinithistory = 1
lb_mode = 1
lb_save = 200
cachedelay = 200
[webif]
httpport = 1211
httpuser = root
httppwd = dreambox
httpallowed = 192.168.1.1-192.168.1.254 , 127.0.0.1 //局域网IP必须包含主机IP在内
[cccam]
port = 12356 //转发帐号的端口可能任意改
version = 2.2.1
reshare = 2
ignorereshare = 1
[dvbapi]
enabled = 1
ignore = D506,2888,0500:042D00,099C,09A5,4A30 //忽略的CAID
au = 0 //关闭自动升级
request_mode = 1
==================OSCAM.SERVER======================
[reader] //物理读卡 卡槽1 分不清哪个上哪个下(SR4)
label = reader0
protocol = internal
device = /dev/sci0
services =
caid =
boxid = 56AB80C7 //填写从有线机顶盒获取到的BOXID
detect = cd
mhz = 500
cardmhz = 357
ident =
group = 1 //对此进行分组以便转发哪组帐号
ecmcache = 1
lb_weight = 100
audisabled = 1
[reader] //物理读卡 卡槽2 分不清哪个上哪个下(SR4)
label = reader1
protocol = internal
device = /dev/sci1
group = 1
audisabled = 1
[reader] //填写CCCAM的GX帐号
label = remote
protocol = cccam
device = www.test1.com account = abc3,abc
group = 2
cccversion = 2.2.1
ccckeepalive = 1
audisabled = 1
[reader] //同上 多个帐号
label = remote
protocol = cccam
device = www.test123.com,12345
account = abc,abc
group = 2
cccversion = 2.2.1
ccckeepalive = 1
audisabled = 1
[reader] //local KEY
label = cw
protocol = constcw
device = /usr/keys/constant.cw
group = 3
=================OSCAM.USER=======================
[account] //转发的帐号的用户名及密码
user = abc
pwd = abc123
au = 0
group = 1
uniq = 1
==============client==============================
如果是CCCAM.CFG的输写格式:C: server host IP:88888 abc abc123
如果是OSCAM.server的输写格式:
[reader]
label = remote
protocol = cccam
device = server host IP,88888
account = abc,abc123
group = 2
cccversion = 2.2.1
ccckeepalive = 1
audisabled = 1