Here is an example of the three neccesary configs for oscam,including a description of what each setting does,not my work,copied and pasted from the OpenPli wiki,
If you do not have these configs on your box then you can create them using a Unix friendly editor like Notepad++
oscam.conf
[global]
logfile = /tmp/.oscam/oscam.log
This is where the log file is written, in case it is enabled.
disablelog = 1
Log file is disabled, just to make sure your box is not wasting flash space.
nice = -1
Make sure the program gets enough priority by the processor.
saveinithistory = 1
Let you see entitlements of cards.
dropdups = 1
A user is only allowed to login 1 time.
lb_mode = 1
Fastest card answer first, this means also not sending double ecm request to other cards.
lb_save = 120
Write after 120 ECM's the statistics to file.
lb_savepath =
The statistics are saved in /tmp/.oscam/stat.
lb_stat_cleanup = 12
For home users after 12 hours the stats are cleaned. To make sure your statistics doesn't have bad entries.
[monitor]
port = 16500
nocrypt = 127.0.0.1,10.0.0.0-10.255.255.255,172.16.0.0–172.31.255.255,192.168.0.0-192.168.255.255
You are allowed to monitor from localhost, and all LAN with home ip.
hideclient_to = 15
Hide clients from monitor or webinterface after 15 seconds idleness.
monlevel = 4
appendchaninfo = 1
Change hexadecimal channel number into a channel name.
[cccam]
port = 12000
reshare = 1
Only your other local boxes are allowed to access your cards.
version = 2.3.0
As far as this wiki knows, latest CCcam version is 2.3.0.
[dvbapi]
enabled = 1
au = 1
Makes sure your card is updated with emm's.
boxtype = dreambox
user = dvbapiau
[webif]
httpport = 16200
httprefresh = 30
Every 30 seconds a refresh.
httpallowed = 127.0.0.1,10.0.0.0-10.255.255.255,172.16.0.0–172.31.255.255,192.168.0.0-192.168.255.255
You are allowed to access the webinterface from localhost, and all LAN with home ip.
httphideidleclients = 1
Do not show clients/users, who are not requesting ecm's.
oscam.server
[reader]
label = first_internal_reader
description = For dreambox lower smartcard slot, for VU+ DUO upper slot
protocol = internal
device = /dev/sci0
detect = cd
group = 1
emmcache = 1,1,0
Makes sure that emm's are cached and written. The emm's are not logged.
dropbadcws = 1
Do not answer bad cw's.
ratelimitecm = 4
Only for M7 SECA3 cards (Canal Digitaal, TV Vlaanderen and Telesat), maximum allowable channels to watch are 4 in a certain time period.
ratelimitseconds = 11
This time period after you can change the 4 requests into 4 different requests. For M7 SECA3 cards, this should vary between 9 and 11 seconds, with 11 seconds as safest choice.
[reader]
label = second_internal_reader
description = For dreambox upper smartcard slot, for VU+ DUO lower slot
protocol = internal
device = /dev/sci1
detect = cd
group = 2
emmcache = 1,1,0
dropbadcws = 1
ratelimitecm = 4
ratelimitseconds = 11
If there isn't a second smartcard reader slot, it isn't needed to add. The parts below are shown as examples.
[reader]
label = external_reader
description = External reader connected to serial or USB port of box, such as smargo's or mouse
protocol = mouse
device = /dev/ttyUSB0
Example for a smargo or mouse connected to USB port with ftdi_sio kernel driver.
detect = cd
group = 3
emmcache = 1,1,0
dropbadcws = 1
ratelimitecm = 4
ratelimitseconds = 11
[reader]
label = lan_cccam
description = CCcam LAN connection
protocol = cccam
The corresponding user definition is given in oscam.user paragraph.
device = 192.168.0.x,12000
Connect to server 192.168.0.x (or your local server box) at port number 12000.
user = username
Change into the right user name.
password = password
Change into the right password.
group = 4
cccversion = 2.3.0
Latest known version of CCcam.
ccckeepalive = 1
Makes sure the server is not disconnected, due to idleness.
oscam.user
[account]
user = dvbapiau
Same username as in oscam.conf in the [dvbapi] section.
pwd =
Line with pwd is needed, but should be set blank.
group = 1,2,3,4
The user is only allowed to access the readers 1 until 4.
uniq = 3
Only the last and one instance is allowed of this user.
monlevel = 0
Monitoring is not allowed with this account.
au = 1
The settopbox is allowed to send EMM towards the readers, to update the entitlements of the cards.
[account]
user = usermonitor
Account name of the monitor
pwd = passwordmonitor
Password for the user monitor account.
group = 1,2,3,4
Allowed groups to monitor/access.
uniq = 1
Only the one instance is allowed of this user.
[account]
user = username
Change into the right user name.
pwd = password
Change into the right password.
group = 1,2,3,4
uniq = 3
monlevel = 0
au = 1
allowedprotocols = cccam
It is only allowed to logon with the CCcam protocol.
cccmaxhops = 1
The user is only allowed to get ecm from local readers and readers connected to boxes in your lan (1 hop away).