OSCam Tuning
This part of the wiki you can find tuning parameters for OpenPLi setupboxes.
Please, keep in mind use at own risk!
Configuration examples of OScam users:
Here my CanalDigitaal example of OScam on a DM8000 with two card readers and CanalDigitaal smart card .
Update: OScam-experimental is updated with help of serveral OpenPli forum users. Since say version OSCAM 1.20-unstable_svn build #6458, OScam runs out of the box with Canal Digitaal smartcards. Yeah awesome!
You only need to edit the oscam.server file if it doesn't work after install/restart. So the 4 files that are offered here are only nessesary with older OScams.
Download these 4 files when not using oscam-experimental(right click save link as): oscam.conf + oscam.dvbapi + oscam.server + oscam.user. Remove the numbers/names in front of downloaded file names, so that filenames are exactly the same as written here.
Open oscam.conf with simple text editor (kate/vim/notepad plusplus) and edit the line:
[monitor]
nocrypt = 127.0.0.1,192.168.1.0-192.168.1.255
Be sure it's the ip range of your home network(or network where your enigma2 tuner is in).
[webif]
httpport = 16002
This is the used port, to login go with browser after configuration to http://boxipaddress:16002
httpuser = yourusernamehere
httppwd = yourpasswordhere
Be sure you give your user name and password that you want to use for web browser access to configure and check OScam.
httpallowed = 127.0.0.1,192.168.1.0-192.168.1.255
Be sure it's the ip range of your home network(or network where your enigma2 tuner is in).
Open oscam.dvbapi with simple text editor (kate/vim/notepad plusplus) and edit:
This example is ready for Dutch smart card of Canal Digitaal (not nessesary with oscam-experimental).
If you use OScam-experimental, then use this oscam.dvbapi and change these settings to let this list work because of oscam bug: OScam webif(webbrowser) > Configuration > DVB-api > Request mode: try all caids simultaneously > save (thanks to users Fretsat, Erik Slagter, theparasol, zeeteefje)
To find out what you need to fill in for your sat tv operator smart card info check here.
Open oscam.server with simple text editor (kate/vim/notepad plusplus) and edit:
This example is ready for the two smart card readers of the DM8000. If your device has only one smart card reader, then remove the reader config of device /dev/sci1
I also added some examples of card servers. You see in this file 2 examples of free card server for CCcam and MGcamd clients. OScam can use card servers of non OScam too (yeah awesome!). Here a link to know how to added more readers (or cardservers) to oscam.server.
oscam.user :
I changed the oscam.user file. The username is now localhost same as in oscam.conf [dvbapi] .
Now if you edited oscam.conf + oscam.dvbapi + oscam.server correctly, it's time to upload them with the oscam.user file to your enigma2 tuner with a ftp client in the directory:
/etc/tuxbox/config/oscam-stable/ (or if using experimental: /etc/tuxbox/config/oscam-experimental/ )
Then press Menu on remote control and navigate to: Setup > SoftCam/CI > Softcam setup... > Select softcam > (press left or right to select) oscam-stable (or oscam-experimental) > press green button(ok).
Now for sure, reboot the Enigma2 tuner, and you got your OScam working. have fun with it, and please post examples like this here, for other tuners or satellite operators.
Now it is possible to access the configuration of your OsCam server by web interface:
http://ip_box:16002 (port 16002 refers to the configured port in oscam.conf under httpport = )
Update of user theparasol: If (so when it works ok, then don't change) your seca3 v10 smartcard don't update properly, then check this PDF file.
For using OScam with TV Vlaanderen , TNTsat . TeleSat
Open oscam.server with simple text editor (kate/vim/notepad plusplus) and edit:
You can use the files of CanalDigitaal config example.
Only the oscam.server file is different. No CanalDigitaal related reader configured but a reader you choose below.(be sure you configure the device -sci0/sci1/sci2/sci3- properly!, 4 example If you have the card in the second cardreader, then change /dev/sci0 to /dev/sci1 )
Added the provider reader you need in oscam.server file:
[reader]
label = cardreader-tvvlaanderen
protocol = internal
device = /dev/sci0
services = tvv
caid = 0100
detect = cd
mhz = 357
cardmhz = 500
group = 1
emmcache = 1,3,2
lb_weight = 1000
auprovid = 00006C
[reader]
label = cardreader-tntsat
protocol = internal
device = /dev/sci0
services = tntsat
caid = 0500
aeskeys = <your aes keys here>
detect = cd
mhz = 357
cardmhz = 500
group = 1
lb_weight= 1000
auprovid = 030B00
[reader]
label = cardreader-telesat
protocol = internal
device = /dev/sci0
services = telesat
caid = 0100
detect = cd
mhz = 357
cardmhz = 500
group = 1
emmcache = 1,3,2
lb_weight = 1000
auprovid = 00006D
Save the file and store it in when using oscam-experimental :
/etc/tuxbox/config/oscam-stable/ (or if using experimental: /etc/tuxbox/config/oscam-experimental/ )
Reboot and you can enjoy your working smartcard/choosen signal provider (tntsat example is made by user Fretsat, others by user daniel2005)Examples from user daniel2005: (many thanks for this info)
oscam.conf
[global]
# first create the needed directory's and see if there is usb stick ,cf or hdd
usrfile = /media/hdd/oscam/oscamuser.log
logfile = /media/hdd/oscam/oscam.log
cwlogdir = /media/hdd/oscam
loghistorysize = 9999
unlockparental = 1
nice = -1
maxlogsize = 50
saveinithistory = 1
lb_mode = 1
lb_save = 100
lb_savepath = /media/hdd/oscam/stat
[monitor]
hideclient_to = 15
appendchaninfo = 0
[dvbapi]
enabled = 1
au = 1
boxtype = dreambox
user = localuser
request_mode = 1
[webif]
httpport = 5000
httphelplang = en
httpuser = user
httppwd = password
httpcss = /etc/tuxbox/config/proflinux_ddcstyle.css
httprefresh = 20
httpallowed = 127.0.0.1,192.168.1.1-192.168.1.254
You can replace these lines
usrfile = /media/hdd/oscam/oscamuser.log
logfile = /media/hdd/oscam/oscam.log
by
usrfile = stdout
logfile = stdout
the ccsfile must be in the config directory.
oscam.server
[reader]
label = cardreader-tvvlaanderen
protocol = internal
device = /dev/sci1
services = tvv
caid = 0100
detect = cd
mhz = 357
cardmhz = 500
group = 1
emmcache = 1,3,2
lb_weight = 1000
auprovid = 00006C
[reader]
label = cardreader-telesat
protocol = internal
device = /dev/sci1
services = telesat
caid = 0100
detect = cd
mhz = 357
cardmhz = 500
group = 1
emmcache = 1,3,2
lb_weight = 1000
auprovid = 00006D
the caid can be changed, but don't forget to change auprovider and the services.
oscam.user
[account]
user = localuser
group = 1
au = 1
that is the user for the dvapi, the au = 1 is for the update
oscam.services
[tvv]
caid = 0100
provid = 00006C,000000
srvid =
[ned]
caid = 0100
provid = 00006A,000000
srvid =
[telesat]
caid = 0100
provid = 00006D,,000000
srvid =
you can add srvid , but it's not nessesary when you've full account.
oscam.dvbapi
P: 0100:00006C # TVVlaanderen
P: 0100:00006A # Ned
P: 0100:00006D # T�l�sat
Sequence doesn't matter. If you ignore some caid or svrid, put them on top.
This file is added by daniel2005 : proflinux_ddcstyle.css
New mapping method working for BE and NL seca cards
Make sure you are using dvbapi request mode 1 / try all CAID simulataneously
Be sure to use a oscam unstable 1.20 rev 5941 or newer
oscam.dvbapi
I: 0100 #Oud seca NL+Vlaanderen
I: 0500 #Viaccess op vlaamse zenders
I: 0622 #Bleh... irdeto codering
M: 1817:00006A 0100:00006A #NL Pakket
M: 1818:00006C 0100:00006C #Vlaams Pakket
P: 1817:00006A #NL Pakket
P: 1818:00006C #Vlaams Pakket
Other examples here
Howto for the extreme poweruser OScam diehard (only for experienced users)
To customize your OScam version:
Download the latest experimental from OScam Download Center
For enigma2 device with recent openpli you choose mips-tuxbox version to download.
Unpack the tar gz and give the bin file exactly the same name of the oscam-... bin file found in openpli at the usr/bin directory. ( /usr/bin/oscam-... )
In openpli, disable the oscam softcam(Setup > SoftCam/CI > Softcam setup... > Select softcam > (press left or right to select)
Then use a ftp client to transfer (overwrite) the installed bin file with the new customized bin file that has exactly the same name.
In openpli, enable the oscam softcam(Setup > SoftCam/CI > Softcam setup... > Select softcam > (press left or right to select)
Done.
Or by telnet:
Download the latest experimental from OScam Download Center
For enigma2 device with recent openpli you choose mips-tuxbox version to download.
Then use a ftp client to transfer the bin file to /usr/bin . (example /usr/bin/oscam-svn5944-mips-tuxbox-webif )
Then connct by ssh / telnet session to your enigma2 tuner and do:
cd /usr/bin
killall oscam
mv oscam-svn5944-mips-tuxbox-webif oscam
chmod 776 oscam
oscam -b
exit
(mv nameofbinfile oscam)
And you're done. This diehard extreme poweruser howto is made with help of users: daniel2005 & theparasol (thanks again folks)
oscam.server ratelimitecm and ratelimitseconds
This is setting crucial for performing card sharing SECA3 cards of the M7 media group. Because, if this is setting is set wrong, your screen results in bad decrypt keys.
Until now ratelimitecm have to be set to 4, because you are not able to decode more than 4 channels continuously. For ratelimitseconds it is known that values from 8 seconds and lower result in bad decode keys. Further, it is also known that if ratelimitseconds is larger or equal to 11 seconds, you can zap you channels and keep a decoded tv image.
oscam.server mhz and cardmhz
In oscam.server for a reader mhz > 2000, it set the internal reader in PLL mode.
According to the code if you use cardmhz = -1 in PLL mode (mhz > 2000), the cardmhz is set to the optimal setting for the smartcard according to a frequency table.
PLL frequencies for different Dreamboxes are, the examples are shown for card clock of 5.0 Mhz.
Timings are taken from streamboard.
PowerPC dreamboxes: DM500(+),DM600,DM7000,DM7020:
- mhz = 3150
- cardmhz = 500
Xilleon dreamboxes: DM7025 (max cardmhz=520 mhz!)
- mhz = 3200 (at streamboard forum they say it could 8300)
- cardmhz = 500
Mipsel dreamboxes: DM500HD, DM800, dm800se, DM7020HD, DM8000
- mhz = 2700
- cardmhz = 500
For other boxes as VU+, Clark Tech and Xtrend
- No settings for now.
ET9000 mipsel Clone
- mhz = 3200
- cardmhz = 500
Back to the PLi® Wiki : SoftCam Wiki : DM500 : DM500+ : DM56xx : DM600 : DM7000 : DM7020 : DM7025 : DM800 : DM8000 : VU+