远程教育技术论坛

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

OSCAM Server的配置

[复制链接]

496

主题

0

好友

4万

积分

管理员

Rank: 9Rank: 9Rank: 9

最后登录
2019-12-6
在线时间
901 小时
威望
110
金钱
87444
注册时间
2008-2-18
阅读权限
200
帖子
645
精华
14
积分
46200
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软件来编辑比较直观,直接用记事本的话不太好看)1 G9 g8 }! l6 `

==================OSCAM.CONF=====================
% I% j. }3 j  A) n+ Y& G9 Y[global]
; d8 _4 o  d9 D8 S- z& Fnice = -1
( v5 O3 g% C0 G+ {WaitForCards = 00 r% a6 N% V5 V- ~1 s" m9 ^
logfile = /dev/null
5 S, C$ s; q) h5 b$ r% A, vusrfile = /dev/null
) B  R! {  ?2 c2 X: nloghistorysize = 1000003 }" I% ?# n' I
saveinithistory = 13 c9 ^9 g7 A  S, Z% X6 |# V; M" p8 {* V4 i
lb_mode = 1
9 Y! M$ g! r+ Jlb_save = 2001 F) X/ Q5 z7 t$ W+ q9 v
cachedelay = 200, u! d/ C  E7 \. m# K% B- C% z) ?
[webif]. D: _( c0 k4 j: H3 {2 N4 w. A
httpport = 1211
: Q3 g/ ?! E4 b6 [httpuser = root$ g/ e8 J/ w" k; w: J- i  m! S4 g7 e% ]
httppwd = dreambox- k' |8 ~& K6 d4 D1 J, T' Q
httpallowed = 192.168.1.1-192.168.1.254 , 127.0.0.1 //局域网IP必须包含主机IP在内
% h8 N2 y& `  n) ^' b[cccam]
! |  C( f; t) b/ H4 mport = 12356 //转发帐号的端口可能任意改( _3 Z; g) k" a  K1 K0 M  q
version = 2.2.18 B; N$ p9 ]8 r; U: z: Q
reshare = 26 |: Y6 P& i9 @" j
ignorereshare = 1
" y; S0 q5 j! f5 w4 U* b. a4 l& u[dvbapi]. H( O$ o2 G9 [' @
enabled = 1, [6 F$ u2 z  X9 Z; v
ignore = D506,2888,0500:042D00,099C,09A5,4A30 //忽略的CAID. J+ P0 x. A. v) P
au = 0 //关闭自动升级
& r7 `/ b. O' N5 F+ orequest_mode = 1

==================OSCAM.SERVER======================
! i$ \1 J! t; J) O6 {1 T[reader] //物理读卡 卡槽1 分不清哪个上哪个下(SR4)
  w; K. }" T7 }2 `9 \( k7 llabel = reader00 W) s9 T& p) G1 `- ?( v0 B+ y
protocol = internal2 J# c- V1 ~) H6 a2 y/ @9 G
device = /dev/sci0
4 [. |5 f4 K  O* I: _4 }services =4 O* l( m8 q8 u/ _3 F+ q
caid =
; n2 h8 ]3 U1 lboxid = 56AB80C7 //填写从有线机顶盒获取到的BOXID
; R3 L0 ^6 B4 a9 ~- T# \! mdetect = cd' i4 r& W2 b7 K$ _
mhz = 500
% v1 Q3 h% ^3 S5 zcardmhz = 357
! ]1 ^( \* h) N3 B. r- }ident =9 P( q# A9 o; ^& t
group = 1 //对此进行分组以便转发哪组帐号# I) `5 s; r5 b  Z" \  B. @( r
ecmcache = 1# o7 L- e- a0 m9 j; h+ S- S
lb_weight = 100  H, X  F: x0 D" x7 B
audisabled = 1

[reader] //物理读卡 卡槽2 分不清哪个上哪个下(SR4)+ F- u7 U8 _+ s$ d# d: W! ?4 e
label = reader1
- G( _! v, B6 Wprotocol = internal0 ~4 ^. u; C- n6 C- M! z$ N
device = /dev/sci1
; i. W3 O1 `7 G$ C7 q3 ]group = 1
" o6 o. r$ U1 Uaudisabled = 1

[reader] //填写CCCAM的GX帐号# ^# _/ c6 P8 l; X& a) b' Z
label = remote- ~8 b1 H3 `) w! X
protocol = cccam
& ~. Q3 J1 d$ r) g! Kdevice = www.test1.com account = abc3,abc: g% `0 m; |% w$ K2 V. i
group = 2
! t1 m5 Z8 F) a( o/ z$ D) w) Y. j/ @cccversion = 2.2.1
! ^" b, o( l: t' R( cccckeepalive = 1
& V1 d# f! K9 M7 i% Uaudisabled = 1

[reader] //同上 多个帐号
# K6 L( F! d/ v9 E2 A! k' c6 alabel = remote- X1 R: ^+ L1 k: e9 }. |
protocol = cccam
$ ?; J' `% A/ W8 m4 Jdevice = www.test123.com,12345
# C" o+ X# \- B3 S4 eaccount = abc,abc
6 F' @/ j+ q8 [/ W& U$ @0 pgroup = 2
4 p4 r# o6 q5 ]  c' rcccversion = 2.2.1
4 X  }" R/ c) i$ x' hccckeepalive = 1) P. f5 \5 ?% z
audisabled = 1

[reader] //local KEY
7 @- T" H# |$ e/ @label = cw/ q# @- p* T0 M* y+ y1 G
protocol = constcw
( V) T! C4 p1 W5 S5 Z8 K7 T6 f( _device = /usr/keys/constant.cw
3 J  }; i4 C# l! {. r( W7 egroup = 3

=================OSCAM.USER=======================2 k, X/ d7 j& |. E! J! n; L
[account] //转发的帐号的用户名及密码; V8 {, j. d+ {1 Q; `
user = abc
% f, `3 S5 J0 o3 w# jpwd = abc123
4 D! |- E) p3 K5 Zau = 0
) \7 k; z3 }" @5 |# mgroup = 1
+ B2 F: X7 ?9 Wuniq = 1

==============client==============================8 z1 X4 }9 o' i% l2 z( t, m
如果是CCCAM.CFG的输写格式:C: server host IP:88888 abc abc123

如果是OSCAM.server的输写格式:
( B+ e, L- e  ^  c0 X[reader]
! R" e1 h% H  k0 a, u% _' dlabel = remote0 \7 ?  d0 ~  O  f" p
protocol = cccam$ [# o8 v! {5 ?6 y& L3 ~. c
device = server host IP,88888- n2 I% W1 H. F/ z
account = abc,abc123
5 y8 A3 p8 f$ k/ N$ Rgroup = 2
. @, I' x0 K1 a$ d  g$ T2 _2 M4 Pcccversion = 2.2.1
* Y# ^6 O# y" D$ A3 nccckeepalive = 10 p) F" d* h( v2 D+ K" e/ @* x- e. m
audisabled = 1


) K' P$ i; n0 D5 l  ?' ]# _
您需要登录后才可以回帖 登录 | 注册

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

GMT+8, 2019-12-10 04:29 , Processed in 0.106323 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部