OScam


Revision [4279]

This is an old revision of OScam made by Jeroensky on 2011-09-08 21:41:13.

 

OScam, Open Source softcam

(It's amazing!)



OScam howto:


OScam is a highly configurable softcam. So a howto can be getting huge if everything is explained.
Their is a official website of OScam:
I also found kind of "new" official OScam website:
OScam has different configuration files. It's not possible to say, everybody needs to configure it the same way (like CCcam).
This because we have different hardware, different sat tv providers, and different home networks. So maybe we can give examples.


Configuration examples of OScam users:




Here my CanalDigitaal example of OScam on a DM8000 with two card readers and CanalDigitaal smart card .

Press Menu on remote control and navigate to: Plugins > DownloadPlugins > softcams > oscam-stable (or experimental)
Install the oscam-stable (or experimental) plugin.

Then download these 4 files (right click save link as): oscam.conf + oscam.dvbapi + oscam.server + oscam.user. Remove the numbers in front of downloaded file names, so that filenames are exactly the same as written here.

Update: These 4 oscam files are updated(8-9-2011), because CanalDigitaal users had a issue with some SD channels who give a black screen. Issue is almost solved (only a few sd channels and management update is a issue, but will be solved in a OScam update if i'm right informed).

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. 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 = 500
cardmhz = 357
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 = 500
cardmhz = 357
group = 1
lb_weight= 1000
auprovid = 030B00


[reader]
label = cardreader-telesat
protocol = internal
device = /dev/sci0
services = telesat
caid = 0100
detect = cd
mhz = 500
cardmhz = 357
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 = 500
cardmhz = 357
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 = 500
cardmhz = 357
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



Other examples here



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

And you're done. This diehard extreme poweruser howto is made with help of users: daniel2005 & theparasol (thanks again folks)




Back to the PLi® Wiki : SoftCam Wiki : DM500 : DM500+ : DM56xx : DM600 : DM7000 : DM7020 : DM7025 : DM800 : DM8000 : VU+
There is one comment on this page. [Display comment]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki