1 | oscam.server(5) oscam.server(5)
|
---|
2 |
|
---|
3 |
|
---|
4 |
|
---|
5 | NAME
|
---|
6 | oscam.server - reader configuration file for OSCam
|
---|
7 |
|
---|
8 | SYNOPSIS
|
---|
9 | The server configuration file for OSCam contains reader parameters.
|
---|
10 | sections in oscam.server are recurring (more than one reader possible).
|
---|
11 | At least one [reader] section is required.
|
---|
12 |
|
---|
13 | DESCRIPTIONS
|
---|
14 | The [reader] section
|
---|
15 | device = <device|bus:device>|<ip|hostname>,<port>[,<lport>]|pcsc
|
---|
16 | define local or remote reader
|
---|
17 |
|
---|
18 | device: device name
|
---|
19 | bus:devivce: bus name and device name of the Smartreader+
|
---|
20 | (get the names with lsusb Bus and Device)
|
---|
21 | lport: remapping to local port
|
---|
22 | PCSC: number of PCSC readers, starting with 0
|
---|
23 |
|
---|
24 | enable = 0|1
|
---|
25 | 0 = deactivate reader, default=1
|
---|
26 |
|
---|
27 | key = DES key
|
---|
28 | key for newcamd remote reader encryption
|
---|
29 |
|
---|
30 | password = password
|
---|
31 | password for remote gbox reader
|
---|
32 |
|
---|
33 | premium = ???
|
---|
34 | for gbox reader
|
---|
35 |
|
---|
36 | account = user,password
|
---|
37 | user and password for remote reader
|
---|
38 |
|
---|
39 | pincode = pincode
|
---|
40 | pincode for Conax and Cryptoworks SCs
|
---|
41 |
|
---|
42 | services = [!]services[,[!]<services>]...
|
---|
43 | reader [de]assingment to service group, default=none
|
---|
44 |
|
---|
45 | inactivitytimeout = minutes
|
---|
46 | inactivity timeout for newcamd reader, default:none
|
---|
47 |
|
---|
48 | reconnecttimeout = minutes
|
---|
49 | TCP reconnect, if missing answers, default:none
|
---|
50 |
|
---|
51 | disableserverfilter = 0|1
|
---|
52 | 1 = ignore caid and ident settings of reader due faulty clients,
|
---|
53 | default=0
|
---|
54 |
|
---|
55 | label = name
|
---|
56 | name for reader, required
|
---|
57 |
|
---|
58 | fallback = 0|1
|
---|
59 | 1 = define reader as fallback, standard and fallback reader must
|
---|
60 | have the same group, default:0
|
---|
61 |
|
---|
62 | loadbalanced = 0|1
|
---|
63 | 1 = spread requests over all loadbalanced enabled readers, default=0
|
---|
64 |
|
---|
65 | logport = 0|port
|
---|
66 | camd3 reader logport, camd3 UDP must be activated, only works if
|
---|
67 | theres no camd3 cascading, 0=disabled, default=0
|
---|
68 |
|
---|
69 | caid = CAID[&<mask>][,CAID[&<mask>]]...
|
---|
70 | define CAID for reader, some protocols only support one CAID,
|
---|
71 | default:mask=FFFF
|
---|
72 |
|
---|
73 | example: CAID=0100,0200&FFDF
|
---|
74 |
|
---|
75 | boxid = NDS box ID
|
---|
76 | NDS receiver box id
|
---|
77 |
|
---|
78 | aeskey = AES key
|
---|
79 | AES key for Viaccess SCs
|
---|
80 |
|
---|
81 | detect = CD|DSR|CTS|RING|NONE|gpio[1-7]
|
---|
82 | status detect of card (NONE = no detection), default:CD
|
---|
83 |
|
---|
84 | cardmhz = mhz
|
---|
85 | set standard SC frequency in units of 10 kHz, for Irdeto SC set to
|
---|
86 | 600, refer to OVERCLOCKING, default:357
|
---|
87 |
|
---|
88 | mhz = frequency
|
---|
89 | set reader frequency in units of 10 kHz, if mhz > cardmhz you are in
|
---|
90 | overclocking mode, refer to OVERCLOCKING, default:357
|
---|
91 |
|
---|
92 | deprecated = 0|1
|
---|
93 | Frist the SC will be initialized in normal mode. If it fails, the SC
|
---|
94 | will be automatically reverted to deprecated mode, so that the SC
|
---|
95 | speed will not be changed and the communication will remain on nor
|
---|
96 | mal ATR speed of 9600 baud.
|
---|
97 |
|
---|
98 | 1 = use deprecated SC mode only, default:0
|
---|
99 |
|
---|
100 | protocol = reader protocol
|
---|
101 | reader protocol, required:
|
---|
102 | mouse
|
---|
103 | smartreader
|
---|
104 | internal
|
---|
105 | serial
|
---|
106 | camd35|cs357x
|
---|
107 | cs378x
|
---|
108 | gbox
|
---|
109 | newcamd|newcamd525
|
---|
110 | newcamd524
|
---|
111 | cccam
|
---|
112 | radegast
|
---|
113 | pcsc
|
---|
114 |
|
---|
115 | cccversion = <main version>.<version>.<sub version>
|
---|
116 | define CCcam version, default:none
|
---|
117 |
|
---|
118 | example: cccversion = 1.2.34
|
---|
119 |
|
---|
120 | cccbuild = <4-digit number>
|
---|
121 | define CCcam build, default:none
|
---|
122 |
|
---|
123 | example: cccbuild = 5678
|
---|
124 |
|
---|
125 | cccmaxhop = hops
|
---|
126 | define CCcam maximum SC distance, default:10
|
---|
127 |
|
---|
128 | ident = <CAID>:<ident>[,ident]...[,<CAID>:<ident>[,ident]...]...
|
---|
129 | define CAID and ident for reader
|
---|
130 |
|
---|
131 | example: ident = 0100:123456,234567;0200:345678,456789
|
---|
132 |
|
---|
133 | provid = ID
|
---|
134 | define provider ID for reader
|
---|
135 |
|
---|
136 | class = [!]class[,[!]class]...
|
---|
137 | define class in hex for reader
|
---|
138 |
|
---|
139 | example: class = 01,02,!1b,!2b
|
---|
140 |
|
---|
141 | chid = CAID:ChID
|
---|
142 | define Irdeto ChID for reader
|
---|
143 |
|
---|
144 | example: chid = 0100:12
|
---|
145 |
|
---|
146 | showcls = quantity
|
---|
147 | number of classes subscriptions to show for Viaccess SCs, default=10
|
---|
148 |
|
---|
149 | maxqlen = size
|
---|
150 | size of request queue for reader, default:128
|
---|
151 |
|
---|
152 | group = groupname
|
---|
153 | reader assingment to group, required
|
---|
154 |
|
---|
155 | emmcache = usecache,rewrite,logging
|
---|
156 | set EMM cache of local reader:
|
---|
157 | usecache = 0|1 1=enable EMM chaching, default:0
|
---|
158 | rewrite = determines how often one and the same EMM is written
|
---|
159 | logging = 0 = log errors only
|
---|
160 | 1 = log all EMMs except the double EMMs
|
---|
161 | 2 = log all EMMs
|
---|
162 |
|
---|
163 | blocknano = nano[,nano]...|all
|
---|
164 | list of EMM-nanos to block (in hex w/o 0x) or all EMM-nanos, only
|
---|
165 | valid for physical readers, default:none
|
---|
166 |
|
---|
167 | example: blocknano = 45,93,7a,ff
|
---|
168 | blocknano = all
|
---|
169 |
|
---|
170 | savenano = nano[,nano]....|all
|
---|
171 | list of EMM-nanos to save (in hex w/o 0x) or all EMM-nanos, only
|
---|
172 | valid for physical readers, default:none
|
---|
173 |
|
---|
174 | example: savenano = 45,93,7a,ff
|
---|
175 | savenano = all
|
---|
176 |
|
---|
177 | readnano = [path]filename
|
---|
178 | write file (usually a copy of a file saved by savenano) to your
|
---|
179 | smartcard, if no path is specified, the specified file is searched
|
---|
180 | for in the configuration directory, only valid for physical readers,
|
---|
181 | default:none
|
---|
182 |
|
---|
183 | example: readnano = write.emm
|
---|
184 | readnano = /var/oscam/write.emm
|
---|
185 |
|
---|
186 | n3_rsakey|rsakey = RSA key
|
---|
187 | RSA key for Nagravision SCs / CAM key data for Irdeto SCs
|
---|
188 |
|
---|
189 | n3_boxkey|boxkey = box key
|
---|
190 | box key for Nagravision SCs / CAM key for Irdeto SCs
|
---|
191 |
|
---|
192 | tiger_rsakey = RSA key
|
---|
193 | RSA key for Tiger Nagravision SCs
|
---|
194 |
|
---|
195 | tiger_ideakey = IDEA key
|
---|
196 | IDEA key for Tiger Nagravision SCs
|
---|
197 |
|
---|
198 | OVERCLOCKING
|
---|
199 | Dreambox and other internal readers
|
---|
200 |
|
---|
201 | For Dreambox and other internal readers the highest possible clock
|
---|
202 | rate will be auto detected. The mhz parameter lets you override the
|
---|
203 | values chosen by OSCam, if it differs from 357 and 358, but usually
|
---|
204 | you will not set any value for mhz.
|
---|
205 |
|
---|
206 | For certain Dreamboxes (especially PPC clones) the default mhz
|
---|
207 | parameter leads to slow ECM times and/or "not found" ECMs. By set
|
---|
208 | ting mhz to values like 200, 300, 400, ... 1600 you can find a value
|
---|
209 | that works for your receiver and your card. The higher the mhz
|
---|
210 | value, the slower the ECM time (strange enough).
|
---|
211 |
|
---|
212 | If you choose the value too low, your card is not recognized (no ATR
|
---|
213 | or "card not supported"). If you choose the value too high, you get
|
---|
214 | slow ECM times. Our experience is that either no mhz line, or a line
|
---|
215 | mhz = 1000 works best.
|
---|
216 |
|
---|
217 | Phoenix / Smartmouse reader
|
---|
218 |
|
---|
219 | Overclocking does not work with Windows and Mac OS X. Set mhz
|
---|
220 | equivalent to the frequency of the reader. OSCam can not set the
|
---|
221 | frequency of the reader.
|
---|
222 |
|
---|
223 | Smargo Smartreader+
|
---|
224 |
|
---|
225 | Set the reader frequency with the native Smargo Smartreader+ tool
|
---|
226 | (srp_tools). Do not set mhz and cardmhz.
|
---|
227 |
|
---|
228 | OSCam tries to set the baudrate automatically. A standard serial port
|
---|
229 | has limited baudrate settings, so SC overclocking might not work. When
|
---|
230 | using a serial reader the best way for overclocking is connecting it to
|
---|
231 | a FTDI based USB to serial port adapter.
|
---|
232 |
|
---|
233 | If overclocking does not work, verify the effective baudrate in the
|
---|
234 | logfile. If it deviates too much from the requested baudrate, the SC
|
---|
235 | will not be recognized (no ATR) and the value for mhz should be
|
---|
236 | adjusted again. The higher the baudrate, the more accurate the effec
|
---|
237 | tive baudrate can be.
|
---|
238 |
|
---|
239 | EXAMPLES
|
---|
240 | serial mouse compatible reader
|
---|
241 |
|
---|
242 | [reader]
|
---|
243 | label = myserialmousereader
|
---|
244 | detect = cd
|
---|
245 | protocol = mouse
|
---|
246 | device = /dev/ttyS1
|
---|
247 | group = 1
|
---|
248 | caid = 0100
|
---|
249 | services = myservice,!thisservice
|
---|
250 |
|
---|
251 | USB mouse compatible reader
|
---|
252 |
|
---|
253 | [reader]
|
---|
254 | label = myusbmousereader
|
---|
255 | detect = cd
|
---|
256 | protocol = mouse
|
---|
257 | device = /dev/ttyUSB0
|
---|
258 | aeskey = 0102030405060708090a0b0c0d0e0f10
|
---|
259 | group = 2
|
---|
260 | caid = 0200
|
---|
261 |
|
---|
262 | camd 3.78x reader
|
---|
263 |
|
---|
264 | [reader]
|
---|
265 | label = mycamd378xreader
|
---|
266 | protocol = cs378x
|
---|
267 | device = 192.168.0.1,1234
|
---|
268 | account = user,password
|
---|
269 | group = 3
|
---|
270 |
|
---|
271 | newcamd reader
|
---|
272 |
|
---|
273 | [reader]
|
---|
274 | label = mynewcamdreader
|
---|
275 | protocol = newcamd
|
---|
276 | key = 0102030405060708091011121314
|
---|
277 | device = 192.168.0.2,2345
|
---|
278 | account = user,password
|
---|
279 | group = 4
|
---|
280 |
|
---|
281 | CCcam reader
|
---|
282 |
|
---|
283 | [reader]
|
---|
284 | label = mycccamreader
|
---|
285 | protocol = cccam
|
---|
286 | device = 192.168.0.3,3456
|
---|
287 | account = user,password
|
---|
288 | group = 5
|
---|
289 | caid = 0300,0400,0500
|
---|
290 | cccversion = 1.2.3
|
---|
291 | cccbuild = 4567
|
---|
292 |
|
---|
293 | PCSC reader
|
---|
294 |
|
---|
295 | [reader]
|
---|
296 | label = mypcscreader
|
---|
297 | protocol = pcsc
|
---|
298 | device = 0
|
---|
299 | aeskey = 0102030405060708090a0b0c0d0e0f10
|
---|
300 | group = 6
|
---|
301 | caid = 0600
|
---|
302 |
|
---|
303 | Smargo Smartreader+
|
---|
304 |
|
---|
305 | [reader]
|
---|
306 | label = mysmartreader
|
---|
307 | protocol = smartreader
|
---|
308 | device = 001:002
|
---|
309 | aeskey = 0102030405060708090a0b0c0d0e0f10
|
---|
310 | group = 7
|
---|
311 | caid = 0700
|
---|
312 |
|
---|
313 | internal reader
|
---|
314 |
|
---|
315 | [reader]
|
---|
316 | label = myinternalreader
|
---|
317 | protocol = internal
|
---|
318 | device = /dev/sci0
|
---|
319 | group = 8
|
---|
320 | caid = 0800
|
---|
321 |
|
---|
322 | SEE ALSO
|
---|
323 | list_smargo(1), oscam(1), oscam.conf(5), oscam.user(5), oscam.srvid(5),
|
---|
324 | oscam.guess(5), oscam.cert(5), oscam.services(5), oscam.ird(5),
|
---|
325 | oscam.ac(5)
|
---|
326 |
|
---|
327 |
|
---|
328 |
|
---|
329 | oscam.server(5)
|
---|