远程教育技术论坛

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

OSCAM Server的配置

[复制链接]

215

主题

0

好友

4万

积分

管理员

Rank: 9Rank: 9Rank: 9

最后登录
2019-2-12
在线时间
861 小时
威望
110
金钱
87114
注册时间
2008-2-18
阅读权限
200
帖子
585
精华
15
积分
45679
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软件来编辑比较直观,直接用记事本的话不太好看)/ M& l' }" \$ q: o* Z

==================OSCAM.CONF=====================/ M: y1 m/ K* X4 x% `
[global]
) w2 Y. y- Y. gnice = -18 w: p0 O7 M( ]9 Q+ w/ _
WaitForCards = 0( P* t5 \* x3 W
logfile = /dev/null% g: @1 N: Z" k5 d
usrfile = /dev/null9 M# @* ?; K, N; d$ i0 I
loghistorysize = 1000005 i3 Z& n3 n* f
saveinithistory = 1) u, W" p) a" G$ C! N
lb_mode = 1$ o9 a' x" U( S/ d4 ]
lb_save = 200
$ G4 ~. X. q6 f1 tcachedelay = 200; g- M( u) J* G& T# N/ K
[webif]
" g# O5 `8 `2 X' a7 b& G% E* u9 ?httpport = 1211! L7 B+ J! J, `) y$ j
httpuser = root5 l' D4 ~7 v9 x3 a% O; h
httppwd = dreambox
9 t/ q, F9 x" F7 @$ O, Shttpallowed = 192.168.1.1-192.168.1.254 , 127.0.0.1 //局域网IP必须包含主机IP在内5 m( k7 \9 @+ b4 U
[cccam]
+ F$ X; g4 F, vport = 12356 //转发帐号的端口可能任意改9 ?( \- r2 y5 ~' ?2 H& Z* @
version = 2.2.1/ K0 X' T  d2 ^
reshare = 2( L7 A( u3 @$ Z/ s# [( u0 k& x8 O
ignorereshare = 1
* m0 l# H, N- ?, C  t  T% y[dvbapi]/ V. B# P" r! I! S+ m6 a1 y: I
enabled = 1; t  ?' }# g$ M7 v# |7 I# X
ignore = D506,2888,0500:042D00,099C,09A5,4A30 //忽略的CAID
0 \) f9 n$ w2 ]au = 0 //关闭自动升级
- {0 t  A5 W2 j6 H0 rrequest_mode = 1

==================OSCAM.SERVER======================
! t  H- C. t6 z- {9 C" z4 y: x[reader] //物理读卡 卡槽1 分不清哪个上哪个下(SR4)
9 A4 U$ k" b' W5 E+ llabel = reader08 M: Y0 y& [  D  N
protocol = internal
$ `6 S6 j- B# o4 K# j- @) udevice = /dev/sci08 ^/ u( M# d4 w# r
services =
- Q& ^# k1 d3 [9 [6 a4 _+ f: ucaid =9 {2 ^4 r3 j1 `
boxid = 56AB80C7 //填写从有线机顶盒获取到的BOXID* u: V0 j' f4 K7 u' u, V
detect = cd
5 I) G* Z; u+ b& X" Imhz = 500+ D7 R/ T$ B  Z3 C
cardmhz = 3575 n" w0 k* S$ ^* x2 A( [: e3 Q& P
ident =3 ?3 i; h7 J2 G" I/ \* ?
group = 1 //对此进行分组以便转发哪组帐号
8 m. ~, p, o8 a! e0 o/ ?% Z  gecmcache = 19 p7 q1 ~3 g+ v7 s) m. P
lb_weight = 1008 X9 Z+ \% c# q# q
audisabled = 1

[reader] //物理读卡 卡槽2 分不清哪个上哪个下(SR4)7 ]4 u* u5 O( u- w' P
label = reader17 [( Z" p6 M6 D  U
protocol = internal
8 I! a6 I) z0 ^+ \9 E/ H* n& V& hdevice = /dev/sci12 L7 G+ F8 X5 j/ h  o! V" k8 y
group = 1, h. C" s& n4 c
audisabled = 1

[reader] //填写CCCAM的GX帐号
' V8 T1 Z5 ?# s' K! ^. K& @2 klabel = remote
# W' B( |; G9 O1 D) k% \5 r! Wprotocol = cccam
2 Y7 d$ }  b1 l* _device = www.test1.com account = abc3,abc! X. t( Q7 ^. T; P
group = 2$ M8 Y4 b" X3 c9 x" T
cccversion = 2.2.17 [( v) I9 {$ U: v, L9 J- a# z) q1 v
ccckeepalive = 13 _3 v1 j, ]9 R+ g; u# q' n
audisabled = 1

[reader] //同上 多个帐号
7 p! k( m/ ~# mlabel = remote
) K. R! ?6 N2 S& X8 ~' S; [% Eprotocol = cccam
2 o+ E& `" c3 e* C; Gdevice = www.test123.com,123458 J7 @. \. b% H
account = abc,abc
9 D  o+ @' T& u( \+ x1 B! A; Igroup = 2
+ K; U& `$ `8 t7 R7 L# t7 q' G# |cccversion = 2.2.1
% [; L/ j6 r3 I$ X+ A+ \0 c+ Zccckeepalive = 1
9 D# ?2 n! n- N8 Raudisabled = 1

[reader] //local KEY0 s8 X8 O5 p# r& g1 U- `
label = cw
+ E) {% P; L9 bprotocol = constcw: h" f& N2 |) Z2 O9 N/ p
device = /usr/keys/constant.cw
, e+ D9 s- ]6 w$ n: H& igroup = 3

=================OSCAM.USER=======================& I# d+ z* Q& R4 C
[account] //转发的帐号的用户名及密码
' f+ L5 U# m+ Cuser = abc
3 Z1 j9 l7 U$ upwd = abc123
" V" c2 O0 W+ u. e6 t1 mau = 0
1 d, O1 R2 C1 N) |+ @- E1 Ygroup = 1
1 r# h3 A8 |" g% |uniq = 1

==============client==============================
: k% g  c& Z% C# V  S如果是CCCAM.CFG的输写格式:C: server host IP:88888 abc abc123

如果是OSCAM.server的输写格式:
* s- o" O4 r  C; j9 E$ s% P[reader] . l3 k: c/ ^" }# v3 w
label = remote5 \5 Z+ `# B/ Z2 W/ a' s
protocol = cccam
% P1 c; ?! Q4 Q$ c" i- k) ~# e* ]device = server host IP,88888: l* A- d1 C$ l
account = abc,abc123
+ g& A4 ~; K+ X! B$ Zgroup = 2" g9 ]7 B8 Z' ?' B$ g/ n
cccversion = 2.2.1: w1 B# K. p0 n3 u6 ]( F( b
ccckeepalive = 1
3 V' d' b& w! r2 P2 R. |audisabled = 1

' U/ {" S' `, h3 i& d
您需要登录后才可以回帖 登录 | 注册

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

GMT+8, 2019-2-16 12:25 , Processed in 0.141154 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部