Oscam install

I've had a lot of problems with the latest builds of oscam.
I've gone back to version 7 and its clearing just fine again. Might be worth trying an older version mate.
 
Sorry, changed a few things
 
Last edited:
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).


Well, getting there slowly but surely, have edited the .conf file, does this look ok or can it be corrected, cleaned up ?


[global]
logfile = /tmp/.oscam/oscam.log
disablelog = 1
nice = -1
saveinithistory = 1
dropdups = 1
lb_mode = 1
lb_save = 120
lb_savepath = 1
lb_stat_cleanup = 12
[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
hideclient_to = 15
monlevel = 4
appendchaninfo = 1
[cccam]
port = 12000
reshare = 1
version = 2.3.0
[dvbapi]
enabled = 1
au = 1
boxtype = dreambox
user = dvbapiau
[webif]
httpport = 16200
httprefresh = 30
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
httphideidleclients = 0
 
Looks OK ,just make sure your CCcam port number matches the port in any sea lions you have given out

Sent from my 1080P-N003 using Tapatalk
 
Looks OK ,just make sure your CCcam port number matches the port in any sea lions you have given out

Sent from my 1080P-N003 using Tapatalk

Yep, that's the right port, also copied over the oscam.user file, all changed to 755, put the card in the box and nothing cleared, went to card info in the boxes softcam set up and it said no card inserted,
 
This is alls in the .user, should there be more info ?

[account]
user=****
pwd=****
group=1
cccmaxhops=5
cccreshare=0

[account]
user=****
pwd=****
group=1
cccmaxhops=5
cccreshare=0

[account]
user=****
pwd=****
group=1
cccmaxhops=5
cccreshare=0
 
Have you got your oscam.server file sorted?

Sent from my 1080P-N003 using Tapatalk
 
Have you got your oscam.server file sorted?

Sent from my 1080P-N003 using Tapatalk

have got this in my server file,

[reader]
label = remote
description = CCcam Example
reconnecttimeout = 5
protocol = cccam
device = my.dyndns-details.com 12000
user = admin
password = admin
group = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
blockemm-unknown = 1
caid =
cccversion = 2.1.4

I imagine it could be a faulty card reader, dm500 still says no card inserted.
 
2014/01/22 13:28:22 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r9416 (powerpc-linux)
2014/01/22 13:28:22 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 118
2014/01/22 13:28:22 0 s signal handling initialized
2014/01/22 13:28:22 0 s loadbalancer: can't read from file /tmp/.oscam/stat
2014/01/22 13:28:22 0 s waiting for local card init
2014/01/22 13:28:22 1010A7D8 h webif: decompressed 67552 bytes back into 190920 bytes
2014/01/22 13:28:22 1010A7D8 h HTTP Server running. ip=0.0.0.0 port=8888
2014/01/22 13:28:23 0 s init for all local cards done
2014/01/22 13:28:23 0 s anti cascading disabled
2014/01/22 13:28:23 1010E828 c plain dvbapi-client granted (anonymous, au=off)
2014/01/22 13:28:23 1010E828 c [DVBAPI] Detected /dev/dvb/card0/demux0 Api: 1, userconfig boxtype: 0
 
No mate that's an outside share entry,go back up to my examples above and use the first internal reader as a starting point for your oscam.server :)
 
No mate that's an outside share entry,go back up to my examples above and use the first internal reader as a starting point for your oscam.server :)

Still getting the no card inserted message, any idean wiz ?,

[reader]
label = first_internal_reader
protocol = internal
device = /dev/sci0
detect = cd
group = 1
emmcache = 1,1,0
dropbadcws = 1


[reader]
label = lan_cccam
protocol = cccam
device = 192.168.1.*** 12000
user = root
password = *****
group = 4
cccversion = 2.3.0
ccckeepalive = 1


2014/01/23 08:19:33 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r9416 (powerpc-linux)
2014/01/23 08:19:33 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 118
2014/01/23 08:19:33 0 s signal handling initialized
2014/01/23 08:19:33 0 s loadbalancer: can't read from file /tmp/.oscam/stat
2014/01/23 08:19:33 0 s waiting for local card init
2014/01/23 08:19:33 1010A790 h webif: decompressed 67552 bytes back into 190920 bytes
2014/01/23 08:19:33 1010A790 h HTTP Server running. ip=0.0.0.0 port=8888
2014/01/23 08:19:34 0 s init for all local cards done
2014/01/23 08:19:34 0 s anti cascading disabled
2014/01/23 08:19:34 1010E430 c plain dvbapi-client granted (anonymous, au=off)
2014/01/23 08:19:34 1010E430 c [DVBAPI] Detected /dev/dvb/card0/demux0 Api: 1, userconfig boxtype: 0
 
Did you putting the card in upside down or the other way around?

Sent from my GT-I9100 using Tapatalk
 
No, mate, took it out the dm500 running cccam and put it in the dm500 running oscam, after turning off the cccam one as they both have the same ip addy now.
 
This is my file if you want to use it .

[reader]
label = skyuk
protocol = internal
device = /dev/sci0
detect = cd
boxid = ******** Try putting your box key here
cardmhz = 357
caid = 0963
ident = 0963:000000
group = 1
emmcache = 1,3,2
emmcache = 1
blockemm-u = 0
blockemm-s = 0
blockemm-g = 1
blockemm-unknown = 1
#[reader]
#label = remote
#protocol = cccam
#device = peers.dyndns.org,12000
#account = user,pass
#group = 2
#caid = 09c4
#ident = 09c4:000000
#cccversion = 2.1.4
#reconnecttimeout = 5
 
Cheers Charlie, will give that a go this Evening and report back,
 
This is my file if you want to use it .

[reader]
label = skyuk
protocol = internal
device = /dev/sci0
detect = cd
boxid = ******** Try putting your box key here
cardmhz = 357
caid = 0963
ident = 0963:000000
group = 1
emmcache = 1,3,2
emmcache = 1
blockemm-u = 0
blockemm-s = 0
blockemm-g = 1
blockemm-unknown = 1
#[reader]
#label = remote
#protocol = cccam
#device = peers.dyndns.org,12000
#account = user,pass
#group = 2
#caid = 09c4
#ident = 09c4:000000
#cccversion = 2.1.4
#reconnecttimeout = 5


Hi Senator, just so I'm sure, the ones hashed out I leave as they are and don't enter any info ?
 
Just use this part of it m8

[reader]
label = skyuk
protocol = internal
device = /dev/sci0
detect = cd
boxid = ******** Try putting your box key here
cardmhz = 357
caid = 0963
ident = 0963:000000
group = 1
emmcache = 1,3,2
emmcache = 1
blockemm-u = 0
blockemm-s = 0
blockemm-g = 1
blockemm-unknown = 1
 
Will do in a bit, Teas on the go, would this explain the 500 saying no card found, inserted ?
 
Cheers guys, have tried it but still getting no card inserted and channels not clearing ?
 
Back
Top