远程教育技术论坛

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

OSCAM Server的配置

[复制链接]

166

主题

0

好友

4万

积分

管理员

Rank: 9Rank: 9Rank: 9

最后登录
2018-2-16
在线时间
838 小时
威望
110
金钱
86866
注册时间
2008-2-18
阅读权限
200
帖子
536
精华
15
积分
45460
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软件来编辑比较直观,直接用记事本的话不太好看)2 N8 `: B; {2 m5 N) v8 ]

==================OSCAM.CONF=====================; |5 q, D$ [: R2 Z5 I4 g
[global]. {( _" }1 O  N- |
nice = -1
5 S7 i/ a2 a' o' R( C( xWaitForCards = 0
4 V& A$ y8 `0 U8 D; q, |logfile = /dev/null& U0 c1 W1 X& D. a3 B! c2 N5 Y( E
usrfile = /dev/null1 F+ D+ y/ ]/ \
loghistorysize = 100000
/ Z: m2 F5 \* Y  ~# z! k: qsaveinithistory = 1
; n+ a8 a/ W6 r: O; t8 n* Dlb_mode = 1
9 c/ W+ u) {$ g3 Zlb_save = 2001 r. i. R9 t3 G; \4 Z: V+ T
cachedelay = 200
+ F- Y$ d! S  G4 V7 u3 p; H3 j[webif]# C  g. ^& m0 I6 S3 W4 y; r
httpport = 1211  @* l$ y+ e! `) D* _
httpuser = root6 |( |  X" g& L. r: x7 e% q
httppwd = dreambox
7 Y; e$ d6 e5 g& V- N) a' }httpallowed = 192.168.1.1-192.168.1.254 , 127.0.0.1 //局域网IP必须包含主机IP在内
2 ?- v9 p4 p2 Q* ~% \- U) T. ?4 }  k[cccam]" @/ X3 t) Z$ r7 j- [& a' b
port = 12356 //转发帐号的端口可能任意改( \8 {, Q( v# J" H- V
version = 2.2.1: s9 f( B  [4 t+ G6 M& H1 s
reshare = 2
7 Z5 f7 |. m# l8 s8 b9 q2 ]ignorereshare = 1
7 H5 s8 J4 G; p9 _: |4 @[dvbapi]' r& `3 o: S/ P
enabled = 1
# j' h, h0 t) Signore = D506,2888,0500:042D00,099C,09A5,4A30 //忽略的CAID1 o& ^4 l) k/ C+ [
au = 0 //关闭自动升级
" B! n) \1 Y" O+ X- J3 Drequest_mode = 1

==================OSCAM.SERVER======================
  V0 p3 ]9 u% K* }  h9 d[reader] //物理读卡 卡槽1 分不清哪个上哪个下(SR4)
! \7 n0 s- S: W" w. ~3 Z/ h& c0 {( Z6 nlabel = reader0( v. w/ E6 }$ W! ?( R9 O) X, ]# J
protocol = internal" Y" \8 i+ B$ H% Q& t( i
device = /dev/sci0$ u) g3 |+ U' V( S1 o5 h
services =' w0 u  e" y( B
caid =
* T  k7 D& h* qboxid = 56AB80C7 //填写从有线机顶盒获取到的BOXID
  y# |2 J( b3 r- [  z$ c6 _detect = cd
% S* k$ |  o( c- |6 S6 K' l7 Wmhz = 500" ~! p* b! d$ |
cardmhz = 357, b* G2 \, ~; E
ident =. Y+ B0 d! I" ]6 v5 h* g0 c
group = 1 //对此进行分组以便转发哪组帐号
. Q2 U5 V% L9 l2 d0 wecmcache = 1
- q% t! K/ S$ Y/ wlb_weight = 100
/ ?: L( q3 M+ I+ ?% N, saudisabled = 1

[reader] //物理读卡 卡槽2 分不清哪个上哪个下(SR4)
( }0 {4 G( i& Y1 d/ V5 h$ Llabel = reader1
# L& X% a5 L- l2 v* D+ b9 }  p# sprotocol = internal) f" M0 ~# i# u# Q
device = /dev/sci1" D8 W6 w' n) a# E0 J2 d" S
group = 13 E; }4 ?1 a; I+ L% Q! {: U  y
audisabled = 1

[reader] //填写CCCAM的GX帐号
' v2 x1 t  M" H3 Z/ M( r( Y- b) Slabel = remote
; p) i! z' H0 Cprotocol = cccam
* G8 v; z+ A% ?2 s6 V- L8 wdevice = www.test1.com account = abc3,abc) i  }2 {) }; ^( v! \7 O
group = 2
4 @7 a# V5 t% @, dcccversion = 2.2.1" l# X- \4 r# T8 A8 k- a( j
ccckeepalive = 1
7 K# |1 K0 D* x2 G' Paudisabled = 1

[reader] //同上 多个帐号; A' @* \" t$ p4 |* S2 ]4 A
label = remote% h% S7 R/ G) o3 |" C& u5 v
protocol = cccam( s8 _+ x: _5 s! W. Y
device = www.test123.com,12345
/ S. {& w; k3 b7 `0 faccount = abc,abc
4 u4 {6 k" w3 z- Sgroup = 2
% L* j* ]! V$ _6 T$ a0 pcccversion = 2.2.1/ e: o& u+ k6 b3 D8 V4 _
ccckeepalive = 1! x  g& X9 [) [9 H4 w
audisabled = 1

[reader] //local KEY* t4 f, o8 }; m5 a4 [/ u) T
label = cw
7 t7 n" u8 f6 g$ Q) @  z& h" J  s% ~$ gprotocol = constcw9 N& Q% U0 b7 K4 N! {! [% F
device = /usr/keys/constant.cw: j3 l2 @& A8 s! ?( T
group = 3

=================OSCAM.USER=======================
9 P2 n0 {+ u: _! w3 x[account] //转发的帐号的用户名及密码  R/ ?( P( r2 M! _6 e. W
user = abc
) i( \, n/ o6 i+ ~1 z# z( r. |! ipwd = abc123& z% H8 D, A  m2 u. x
au = 0
/ u. Q2 }: S0 }' kgroup = 1& p! V4 A0 u5 l* k# c- k% l
uniq = 1

==============client==============================2 P* L7 j# f+ K  a% K4 a/ n* E3 R
如果是CCCAM.CFG的输写格式:C: server host IP:88888 abc abc123

如果是OSCAM.server的输写格式:
# O8 x6 U7 F& P! ]" G4 I[reader] : B; }4 Z2 D5 r
label = remote( o( m2 L% }+ i1 i* O
protocol = cccam
5 X+ {2 i9 f* s& j  I5 _' zdevice = server host IP,88888# J2 O$ ~9 ?3 T7 J4 d
account = abc,abc123: l2 g" V5 N$ u; U/ T  `
group = 2
) w% G! j/ _$ k0 r, R' j: lcccversion = 2.2.1
, B- m/ _. k! \" p) e" A3 P/ ~& mccckeepalive = 1/ ~9 \& e8 |2 n2 b; N
audisabled = 1


- A" k/ T1 O2 ^5 W
您需要登录后才可以回帖 登录 | 注册

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

GMT+8, 2018-2-19 10:01 , Processed in 0.083558 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部