远程教育技术论坛

 找回密码
 注册
搜索
热搜: 活动 交友 discuz
查看: 200|回复: 0

OSCAM Server的配置

[复制链接]

484

主题

0

好友

4万

积分

管理员

Rank: 9Rank: 9Rank: 9

最后登录
2019-5-19
在线时间
886 小时
威望
110
金钱
87335
注册时间
2008-2-18
阅读权限
200
帖子
632
精华
14
积分
46104
UID
1

Medal No.1 Medal No.2 Medal No.3 Medal No.4 Medal No.5 Medal No.6

发表于 2017-9-27 12:56:26 |显示全部楼层
首先介绍一下oscom.conf是转发配置文件,OSCAM.server是读卡及网络GX配置文件,oscam.user是转发帐号配置文件(以上三个文件最好用DCC软件来编辑比较直观,直接用记事本的话不太好看)3 k2 T8 o+ R2 X% [. D2 E  a2 K

==================OSCAM.CONF=====================& P1 r1 \  Q4 l4 Y8 h1 B6 n
[global]
8 L. C0 _* H" e+ j# \" k9 i  Znice = -1
7 v2 ?3 b. k! V! hWaitForCards = 0
) a" N8 o& x+ D. b; V& X; Q: b9 Wlogfile = /dev/null/ i! B: u  l, H. E" S
usrfile = /dev/null
3 x3 x- {- i* M0 Qloghistorysize = 1000001 K* H6 W) l+ s' j
saveinithistory = 1
6 P! I5 u1 U7 }/ b( qlb_mode = 1: V0 Z+ r9 L7 ]0 J* S) @! a
lb_save = 2003 O" d: k( {6 J. Q' K5 T3 ?
cachedelay = 200! N5 x: E5 Y$ ?( j& {+ \  h1 H
[webif]( K6 j$ M: s2 d
httpport = 1211: }+ V7 O, S% T, V
httpuser = root
$ Y4 B( _/ n. Z  k& k0 ihttppwd = dreambox
' S9 e- k2 a8 h/ y# Y, }* m: phttpallowed = 192.168.1.1-192.168.1.254 , 127.0.0.1 //局域网IP必须包含主机IP在内/ e- I1 \9 R9 l# L) J
[cccam]
. {" ?+ t9 N- u2 j5 N+ o; d) Hport = 12356 //转发帐号的端口可能任意改  k% {  `% g3 f) z3 W. i- p& q
version = 2.2.1
* o2 x4 }8 \6 l3 M* Kreshare = 2
; v2 \" p. z. n8 ]/ Q0 Q. Cignorereshare = 1
& J  l- N: {$ H! Y[dvbapi]
8 u. a% w/ R( ~enabled = 1( {$ A5 a& M  h4 s% h* `
ignore = D506,2888,0500:042D00,099C,09A5,4A30 //忽略的CAID$ y. H8 n! P- j7 c# h
au = 0 //关闭自动升级9 l. m0 E1 g7 @2 n; `5 v1 h9 \7 m& v
request_mode = 1

==================OSCAM.SERVER======================
, X/ y  Z  C; d0 W[reader] //物理读卡 卡槽1 分不清哪个上哪个下(SR4)
+ q. Y8 Q8 o/ y; jlabel = reader0
$ V. U# i: u  c/ |, x) tprotocol = internal% ~0 A1 w8 [/ q0 x4 K/ z) Y" I6 m
device = /dev/sci0
3 f  \0 T* b( G+ V, R, gservices =; S: y0 {% p, e7 l
caid =
1 K4 v* V9 B& C8 R! D& }boxid = 56AB80C7 //填写从有线机顶盒获取到的BOXID
1 \2 P/ ]2 X; j6 Z+ ~: Kdetect = cd
: I. e9 \3 |0 Tmhz = 5004 n& n0 ?. A0 Y$ x, _$ g. N. h& W
cardmhz = 357
# R! h) X9 V- B0 j! [ident =
. b/ K! w( G$ M2 l$ K7 \! ]* Zgroup = 1 //对此进行分组以便转发哪组帐号
1 q; P( m5 X6 h" h+ N3 Eecmcache = 1
# B: ]9 A1 T' H& G# h. Rlb_weight = 100
4 }* g( U- \$ aaudisabled = 1

[reader] //物理读卡 卡槽2 分不清哪个上哪个下(SR4)
4 F/ w0 m- y7 H7 jlabel = reader19 V0 x% T: ?5 _; @3 s; t( l7 G
protocol = internal
3 r+ D0 a3 F; `7 _3 S( f6 Adevice = /dev/sci1
2 v+ E% g  R% X( c2 |! X3 Q/ Mgroup = 1- f& [6 D2 {. D  e2 G
audisabled = 1

[reader] //填写CCCAM的GX帐号1 e! E8 S; z/ K* b" m
label = remote
; I1 A. z+ S, g# z+ `protocol = cccam$ m: h: h2 n4 B
device = www.test1.com account = abc3,abc
1 b. D1 ^9 p  B  Q3 Ugroup = 2
6 Q- t" w4 x/ p& Z( Dcccversion = 2.2.16 d7 N/ h" A6 X# a$ |
ccckeepalive = 1, O) B  F, Q" H! S( |# W  a
audisabled = 1

[reader] //同上 多个帐号
7 h7 E, {! K) s* }- O& G* \label = remote7 L+ g# u! G' h3 `/ v8 p. L9 _
protocol = cccam$ B$ E8 S6 p  i( I: q
device = www.test123.com,12345" z" [# W; ?& r3 }& t4 J
account = abc,abc
6 v* {9 N: ]6 A) Mgroup = 2
! M( v$ b, E, e  W0 Ncccversion = 2.2.1
/ F% r6 U3 w% x6 A/ W! ^ccckeepalive = 1
6 {5 s: _  a9 v# n# o; caudisabled = 1

[reader] //local KEY
9 X- O* V0 ]5 W! R. t3 w6 i% ylabel = cw
) f8 }( J* @9 T* qprotocol = constcw2 K! h8 m( i& k$ m: |! ]. V
device = /usr/keys/constant.cw3 x2 ^2 _; n6 o1 R' s
group = 3

=================OSCAM.USER=======================
3 i" `) H+ A& l- e1 P/ R[account] //转发的帐号的用户名及密码- e. M& `2 a- ~( O  I, ~6 V
user = abc
$ d% m9 y" Y; ^pwd = abc123
, U2 C/ j( @7 U, O  O. a; yau = 0
6 ]1 X! H3 C+ d! G  [6 e! Bgroup = 1
7 x+ s8 ?, x& u, B+ q! h, ?" ^uniq = 1

==============client==============================
' T+ Q, G- l: w8 i如果是CCCAM.CFG的输写格式:C: server host IP:88888 abc abc123

如果是OSCAM.server的输写格式:# X$ w9 ]0 ^& p: |- g4 R6 c8 V' i8 x1 `# I
[reader]
7 J. ?' |- f/ e. m, ulabel = remote
: y$ T; |7 o! v% `0 E) t0 Cprotocol = cccam
+ w- ~( W; g% A' s* ]7 Idevice = server host IP,88888
4 B  @8 I5 Q' ~account = abc,abc1237 p& n! R1 X' D' d" v6 r
group = 29 V' i" e/ A8 j& z3 `
cccversion = 2.2.1
% x' E8 G9 N0 O- q% Q$ lccckeepalive = 1
* P0 J1 B5 k8 n4 N; ~audisabled = 1

7 `/ G3 `6 ]. c$ ~7 d
您需要登录后才可以回帖 登录 | 注册

QQ|Archiver|手机版|远程教育

GMT+8, 2019-5-19 19:33 , Processed in 0.101165 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部