远程教育技术论坛

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

OSCAM Server的配置

[复制链接]

194

主题

0

好友

4万

积分

管理员

Rank: 9Rank: 9Rank: 9

最后登录
2018-6-18
在线时间
848 小时
威望
110
金钱
86984
注册时间
2008-2-18
阅读权限
200
帖子
564
精华
15
积分
45567
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软件来编辑比较直观,直接用记事本的话不太好看)- c& W! v  h. e+ Q2 C7 c' {5 A

==================OSCAM.CONF=====================
+ n" q3 R* I4 n[global]
2 U" p- ]; u0 V; a7 d: Hnice = -1
' L. ^: S) W$ w& ]WaitForCards = 0
1 @5 v8 d4 j' V: n; w7 alogfile = /dev/null
% |+ T' T) `- V8 w& C" v8 Z! ~usrfile = /dev/null; k8 C- {  }# `3 f5 j, |
loghistorysize = 100000+ \8 T/ M( V  x7 f2 C( C: d6 {2 C* z
saveinithistory = 1# ~  m: N& a0 }& u
lb_mode = 1
0 l2 S/ W8 ]6 f# ?, b7 D- qlb_save = 2002 `; ]$ f0 V6 {4 k, g
cachedelay = 2007 Y# S5 w' G) D" W  u
[webif]0 V; v- U- s. @- u9 }8 h/ C
httpport = 1211
. K: U# y, |1 Ehttpuser = root
8 H& u% Q0 o  B( J" y4 H6 c% @" Khttppwd = dreambox: ~& v' H1 z5 {. g5 j, r
httpallowed = 192.168.1.1-192.168.1.254 , 127.0.0.1 //局域网IP必须包含主机IP在内' I& p& N/ G$ n
[cccam]
# G& m* O9 ~) C  A: pport = 12356 //转发帐号的端口可能任意改
2 [0 z- w8 L/ }' y& Q0 Tversion = 2.2.1
) m6 f  K! S) S& E3 h8 breshare = 2
  O. _$ A7 e/ ~! {+ U  \: L; uignorereshare = 1
/ v* W" ]* w7 l[dvbapi]
: N: v3 J% d& [/ ?) ~/ }enabled = 1
+ n& D8 @/ u! I6 n5 ]+ n* Hignore = D506,2888,0500:042D00,099C,09A5,4A30 //忽略的CAID4 C3 q0 q4 ^/ V) [! S
au = 0 //关闭自动升级
" @& p2 Q1 T' [0 V+ M2 y# N% h! yrequest_mode = 1

==================OSCAM.SERVER======================0 o! a5 v- i% |  l+ |! d5 @
[reader] //物理读卡 卡槽1 分不清哪个上哪个下(SR4)  [" f$ G; l& l, ]- j. o6 b
label = reader06 ?. V3 @; D- q' Z1 n( S
protocol = internal
& o" G0 b1 L/ l# ^. {device = /dev/sci08 I$ y8 u$ s/ n# Z
services =
; F- t  o$ n3 x) wcaid =
! o4 [% z+ [; ]3 ?boxid = 56AB80C7 //填写从有线机顶盒获取到的BOXID# R2 E8 p  w3 ?5 T8 H, V
detect = cd
3 U0 J( Y( H& R! Amhz = 5004 E! x: |! v( k- N: J. w' }
cardmhz = 357$ \) {# o: Z$ P6 r5 Z
ident =) V# U6 c/ K3 I7 u; W0 M3 y& q
group = 1 //对此进行分组以便转发哪组帐号6 G  v( [* [4 C# M) t
ecmcache = 1
) N8 f, g; ^: e) ^3 Ylb_weight = 100
6 L9 H! o& D! v6 }; W$ I" ]  }) Baudisabled = 1

[reader] //物理读卡 卡槽2 分不清哪个上哪个下(SR4)
" a  G1 E/ F* Dlabel = reader18 u5 H6 F. R- C- W2 ^0 T4 `- _( G
protocol = internal
. L' N7 l3 w8 z9 Fdevice = /dev/sci1+ b8 C8 H7 g+ K$ l: L2 X8 i
group = 17 [* B( e9 C( J; b7 n. V& E
audisabled = 1

[reader] //填写CCCAM的GX帐号
! a; u9 ~6 g$ {( m$ B* [label = remote- Q9 U7 {( {; ]7 r! I
protocol = cccam
- ~  V/ X7 H. c8 udevice = www.test1.com account = abc3,abc
4 k' }0 R* k1 F3 X/ P7 E9 Y9 agroup = 2
6 Z: |9 u3 [9 R# p; g$ jcccversion = 2.2.1
' ^' _, E( c: N+ i6 y# Occckeepalive = 1
. f  ~2 k6 [7 h) P5 kaudisabled = 1

[reader] //同上 多个帐号
. G" _5 E( F: B5 D. Klabel = remote
" E' E0 W/ z# @7 e* Fprotocol = cccam! ^7 A( B' }6 u- b# ]9 o4 X- n# l
device = www.test123.com,123459 K# Y* y% E% M5 K7 V
account = abc,abc
! l! L! X. Q4 c9 a$ xgroup = 2. i1 V: Y/ [( _# O* V0 e
cccversion = 2.2.12 L; b8 w1 s% [. ^; |+ H1 c
ccckeepalive = 1
" R- {0 r" R) D- s0 u, ?; c" c1 _% oaudisabled = 1

[reader] //local KEY
3 |- ~* J* z; d1 V) s# Q/ m4 Xlabel = cw1 Q; ], D. A: [: i: u
protocol = constcw
5 G( M  z, M5 g+ R9 Ydevice = /usr/keys/constant.cw. h6 o: `7 _9 Z
group = 3

=================OSCAM.USER=======================
+ r. t: c7 a- y0 s& D[account] //转发的帐号的用户名及密码
: Y* k6 j5 h4 \( m& D* a! P. V# ?: Ruser = abc  E5 y7 J$ E- ~, ?6 V  [' A9 r% C
pwd = abc123
8 t) [  E( V8 y1 M% y1 U" w; Uau = 08 U5 f" A. b3 H) c
group = 1: d, K1 W+ _6 n1 r" R
uniq = 1

==============client==============================3 V: s2 ~/ N# i' T
如果是CCCAM.CFG的输写格式:C: server host IP:88888 abc abc123

如果是OSCAM.server的输写格式:
' d0 M5 R( c5 p# k+ s! ][reader]
: @" w* m; t$ H& W* W. @4 xlabel = remote
; s. ^# S$ h3 e+ t# ]9 D6 a2 pprotocol = cccam, w! F) ~3 d) `+ ?$ g
device = server host IP,88888
$ o, a- h  M2 E8 ^) v, f8 l! n% Uaccount = abc,abc1236 ]0 D6 {3 M: _/ Y
group = 2- w0 u/ y+ f8 R. l7 W7 u& W
cccversion = 2.2.1& i0 w) u" j; m9 F- z* w6 k
ccckeepalive = 1
5 o: V( M$ B3 c4 i8 ^audisabled = 1

* U+ `( z* z; n9 j* g/ n
您需要登录后才可以回帖 登录 | 注册

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

GMT+8, 2018-6-18 15:32 , Processed in 0.118305 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部