远程教育技术论坛

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

OSCAM Server的配置

[复制链接]

208

主题

0

好友

4万

积分

管理员

Rank: 9Rank: 9Rank: 9

最后登录
2018-9-8
在线时间
855 小时
威望
110
金钱
87056
注册时间
2008-2-18
阅读权限
200
帖子
578
精华
15
积分
45631
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软件来编辑比较直观,直接用记事本的话不太好看)# v8 r- z# u) k$ _

==================OSCAM.CONF=====================" S% k: b& h+ j
[global]3 u: C# n/ Y& `. [
nice = -1
& P. U" I* O6 rWaitForCards = 04 o, r9 t. @& o8 _, x( p
logfile = /dev/null
2 a8 R) V0 W% v" k2 x! f2 z! wusrfile = /dev/null
* g+ r+ P" Z2 G7 n( T: K# \9 u# x/ Sloghistorysize = 100000
; _, i& b+ M* g3 r6 wsaveinithistory = 1- S9 k) r+ A% r( y- c6 M
lb_mode = 1
* t  l7 R3 M9 d8 [* Mlb_save = 200
6 L  B. ]' B+ t+ N6 xcachedelay = 200$ P: ]' R- P8 s: h2 b
[webif]) g2 k; p) \1 R+ w6 j
httpport = 1211! G' Y  ?7 N5 `7 \, Z) |4 p( v2 J5 u( q
httpuser = root" b0 Q  g+ Q; z3 t6 d$ n
httppwd = dreambox
& ~$ ?/ h: m  y" h/ _8 w: ihttpallowed = 192.168.1.1-192.168.1.254 , 127.0.0.1 //局域网IP必须包含主机IP在内
/ _3 W1 [7 b/ ^* O' W) O6 A[cccam]+ {4 n! q7 p# K1 _
port = 12356 //转发帐号的端口可能任意改
9 q2 x0 H& U$ e/ M% l, ]version = 2.2.1
- s% G1 K* r2 ?6 `8 Yreshare = 2
0 L: k# I4 `+ `; j+ _1 p( H; f6 ?ignorereshare = 1! ^8 S1 a7 S+ c/ Q# @2 X, h- H& v
[dvbapi]
% F0 }4 @+ y: A% tenabled = 1
9 L( T* v5 t2 U$ Q- \ignore = D506,2888,0500:042D00,099C,09A5,4A30 //忽略的CAID
$ n  g( c  U2 S/ H5 T  hau = 0 //关闭自动升级
& r1 x" f/ E- O8 U: L6 Frequest_mode = 1

==================OSCAM.SERVER======================' `0 N* K4 v, R( O
[reader] //物理读卡 卡槽1 分不清哪个上哪个下(SR4)# g/ H2 I; B  W
label = reader0# C' w( O* E" D0 D+ G# A
protocol = internal. i: s! x" a0 A. C" Q  |
device = /dev/sci0+ y& x+ c7 z1 y5 F+ D* H
services =. N, X& T' j0 k) R1 J1 p
caid =
4 ^' t5 K! e! R6 h8 [9 {/ s. v7 jboxid = 56AB80C7 //填写从有线机顶盒获取到的BOXID
6 D: R! l% g5 X& {5 |+ vdetect = cd
* v0 j- [9 I" f% r/ umhz = 500
% ]8 x0 J0 a$ u/ I2 l; X$ y6 K" Fcardmhz = 357
7 ]; S1 }8 t6 `8 ?ident =
% P" G6 N, A* c7 lgroup = 1 //对此进行分组以便转发哪组帐号
" j# R  [$ R4 h4 l9 Qecmcache = 1  y& s* c. G- `7 B) b
lb_weight = 100
5 U1 _9 U- y; N4 I& raudisabled = 1

[reader] //物理读卡 卡槽2 分不清哪个上哪个下(SR4)
# m* m& l/ D8 D  Ylabel = reader1- ~8 s0 b2 C( p& ?0 D% m
protocol = internal: g) i( s( L2 o8 O
device = /dev/sci16 @8 N, F$ \) V3 O/ Y2 Y! f
group = 1  M: w  E8 n5 q  W5 T! L* v( c
audisabled = 1

[reader] //填写CCCAM的GX帐号
; `3 g: j$ J6 Q) U4 Xlabel = remote4 s% O/ H* U3 |9 ~0 K
protocol = cccam& f/ C4 U  u! V! M
device = www.test1.com account = abc3,abc
0 y  H- E" d% D" B" V, f2 zgroup = 21 u; n# `0 C+ m4 N* `. C* ?- ]
cccversion = 2.2.1
! d' P" H/ C9 Y4 x5 Sccckeepalive = 1
/ t) Z4 R+ j7 k2 Q3 a3 Gaudisabled = 1

[reader] //同上 多个帐号# {/ X7 S/ u/ H+ d
label = remote* P* c- O- a8 M. P: `  H% X
protocol = cccam) P& Y1 f1 f( R  E: q  }, x; e9 U
device = www.test123.com,12345' N6 c9 S" I% U
account = abc,abc7 f, c6 k6 D  ?) m0 Y9 X3 K
group = 2
3 i/ x7 g. A/ u* s/ @* mcccversion = 2.2.18 p% N7 n1 v- r. C2 |
ccckeepalive = 1' E9 K) x- d$ G9 s
audisabled = 1

[reader] //local KEY; K; ~9 g4 E' l5 s
label = cw
. T" `/ p* L9 T9 ~: b, bprotocol = constcw' h& a* E5 g+ k
device = /usr/keys/constant.cw
" R4 w3 M, ]% q$ F* ], `group = 3

=================OSCAM.USER=======================
0 k: P0 O! Q% @" I# z) l# b2 D[account] //转发的帐号的用户名及密码
# X  y- M4 x* ouser = abc0 V& S- a7 ]9 M' W8 O
pwd = abc123/ G& ^+ s' Q3 X" d& F# X& K
au = 0
- u/ |4 X3 E1 p) O' ?  Y: o' R$ pgroup = 1% s: ^# |7 |7 ]: z; t3 j% a
uniq = 1

==============client==============================
* I' D; O4 A1 ~" }; W$ ^4 e- o如果是CCCAM.CFG的输写格式:C: server host IP:88888 abc abc123

如果是OSCAM.server的输写格式:- A* Q$ Z# K3 t# _" t9 T& Z
[reader]
! z  N+ E' w! M5 Tlabel = remote; G! Z5 L" M; _: G% b
protocol = cccam
7 ]. I/ E2 q. z1 }2 P: _' Ndevice = server host IP,88888
7 |) c7 }2 W) I0 Maccount = abc,abc123
# n3 X# O$ r! ^) T+ tgroup = 2
7 Q$ g8 }" B! s5 `& ~cccversion = 2.2.1: x$ D) f% `8 Q4 {# x2 y
ccckeepalive = 1* t% K) F0 F, p
audisabled = 1


- q9 w; K3 I) t1 t' ?
您需要登录后才可以回帖 登录 | 注册

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

GMT+8, 2018-9-24 18:39 , Processed in 0.104019 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部