Oscam install

parker13

VIP Member
VIP Member
Joined
Jul 24, 2005
Messages
1,456
Reaction score
167
Right guys, got a bit of time tonight so want to try setting up my spare dm500 clone as a oscam server, everytime I come through the door I have to reboot as not clearing on the existing dm500 cccam server, I normally install a pli maxvar image on the 500, is a better image recommended ?
 
Thanks, Image is just for the server, used pli as it was bare bones ?
 
pli jade seems to be from 2009, is there a more recent version or will any pli maxvar image do ?
 
pli jade seems to be from 2009, is there a more recent version or will any pli maxvar image do ?

The last OpenPli available is from last May iirc but that will be fine and do all you want it to do :)

http://downloads.pli-images.org/builds/dm500/OpenPLi-beta-dm500-20130505-305.zip

http://downloads.pli-images.org/builds/dm500-maxvar/OpenPLi-beta-dm500-maxvar-20130505-305.zip

Either will do as you wont have any extra plugins so dont neccessarily need maxvar (second link) ;)
 
One thing I have noticed with oscam and newcamd is that it recovers much better than mgcamd. Think I'm going to stick with it.
 
Thanks wiz, getting log in failed with dcc on the first image, has it got a different password than the usual ?
 
Thanks wiz, getting log in failed with dcc on the first image, has it got a different password than the usual ?

No m8 should be root and dreambox,but the password maybe blank

Can you try a different ftp program like Filezilla?
 
No m8 should be root and dreambox,but the password maybe blank

Can you try a different ftp program like Filezilla?

Right, a reboot of everything has allowed me to get into the box, I have downloaded scam 3.52 and selected it in softcam set up, I can't get into it by typing the boxes ip followed by :8888 in my browser and I haven't got the three files in var/tuxbox/config



oscam.conf
oscam.server
oscam.user

any thoughts wiz ?
 
Right, a reboot of everything has allowed me to get into the box, I have downloaded scam 3.52 and selected it in softcam set up, I can't get into it by typing the boxes ip followed by :8888 in my browser and I haven't got the three files in var/tuxbox/config



oscam.conf
oscam.server
oscam.user

any thoughts wiz ?

Scam?

I thought you were going with Oscam!
 
Last edited:
Thought that's what it was, I'll manually install oscam, is this the one I need ?

oscam-svn9403-mips-tplink-webif-libusb-Distribution.tar.gz

Home/1.20_TRUNK/mips-tplink
414.04 Kb Today
 
Thanks for the file Wiz, I'm still struggling though, I have put that file in "temp", gone to the box and selected manual software install but the file doesn't show up, I have also selected 755 attributes.

Use 7zip and extract it till you get to the oscam binary,as thats all the package contains,then ftp it to var/bin and chmod it to 755
 
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).
 
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).

Many thanks wiz, have copied that file over, trying to find the three files now.
 
Back
Top