how to get updates sky uk card

fta22

Registered
Messages
9
Hi guys

I have tried the setup as detialed but cannont get it to work
I can connect directly to oscam with cccam client and works ok

When i connect the cccam server to oscam with N line the user becomes connected but not online in oscam

when i connect cccam client to cccam server, the server side shows connected for about 5 secs then nothing

any ideas
 

fta22

Registered
Messages
9
Hi Guli

details are below cccam is 2.2.1

oscam.server

[reader]
label = skyuk
enable = 1
protocol = smartreader
device = 005:002
detect = cd
cardmhz = 369
boxid = xxxxxxxxxxxxxx
blockemm-u = 0
blockemm-s = 0
blockemm-g = 1
blockemm-unknown = 1
emmcache = 1,3,2
group = 1
caid = 0963
ident = 0963:000000

oscam.conf

[global]
nice = -1
WaitForCards = 1
logfile = stdout
preferlocalcards = 1
saveinithistory = 1
unlockparental = 1


#logging
logfile = /var/log/oscam.log
usrfile = /var/log/oscam.log
cwlogdir = /opt/oscam/cw

#monitor

[monitor]
port= 988
nocrypt = 127.0.0.1
aulow = 120
monlevel = 1


[dvbapi]
enabled = 1
user = root
au = 1

[webif]
httpport = 15000
httpuser = user
httppwd = pass
httpallowed = 192.168.1.1-192.168.1.254
httprefresh = 10

# protocols

[cccam]
port = 12345
reshare = 2
ignorereshare = 0
forward_origin_card = 0
version = 2.2.1
updateinterval = 240
minimizecards = 0
keepconnected = 1
stealth = 0
reshare_mode = 1

[newcamd]
key = 0102030405060708091011121314
port = 10000@0963:000000
keepalive = 1



oscam.user

[account]
user = cccam
pwd = cccam
group = 1
monlevel = 0
au = skyuk
cccreshare = 7
cccmaxhops = 10



CCcam.cfg (server side)

N: 127.0.0.1 10000 cccam cccam 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
F: cccam1 cccam1 1 0 1 { 0:0:2 }



CCcam.cfg ( client side)
C: 192.168.1.7 13001 cccam1 cccam1 yes


I can connect directly to oscam from cccam client but this does update entitlements
when i try and connect as above the client disconnects from the cccam server after 5 seconds
 
Last edited:

guli

Registered
Messages
375
ok tell me do you actually have cccam installed in your server .

if so you do not need the cccam protocol enabled in oscam .

you also have dvbapi enabled , really this is for usage as a client emulator ( just to view with ) .

what are you trying to do with it .

the 256 trick only works with cccam 2.1.3 & earlier versions .

do you have other peers on your cfg or are you looking to just use oscam to view & update your card .
 

fta22

Registered
Messages
9
Hi
oscam and cccam on the same server
cccam server was enabled to allow update of entitlements
it was my understanding that you could not update entitlemnets directly in oscam ??
 

guli

Registered
Messages
375
try this config mate as this works .

oscam.conf

[global]
nice = -1
WaitForCards = 1
logfile = stdout
preferlocalcards = 1
saveinithistory = 1
logfile = /var/log/oscam.log
usrfile = /var/log/oscam.log
cwlogdir = /opt/oscam/cw

[monitor]
port= 988
nocrypt = 127.0.0.1
aulow = 120
monlevel = 1

[webif]
httpport = 15000
httpuser = user
httppwd = pass
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
httprefresh = 10

[newcamd]
key = 0102030405060708091011121314
port = 10000@0963:000000
keepalive = 1

oscam.server

[reader]
label = skyuk
enable = 1
protocol = smartreader
device = 005:002
detect = cd
cardmhz = 600
boxid = 12345678
blockemm-u = 0
blockemm-s = 0
blockemm-g = 1
blockemm-unknown = 1
emmcache = 1,3,2
group = 1
caid = 0963
ident = 0963:000000

oscam.user

[account]
user = cccam
pwd = cccam
group = 1
uniq = 2
monlevel = 1
au = skyuk
caid = 0963
ident = 0963:000000

CCcam.cfg

N: 127.0.0.1 10000 cccam cccam 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

example

Use this N line in CCcam.cfg if you want to use the Newcs protocol to connect to CCcam. Only use 256 if using CCCam 2.1.3 or below . to show your card as a local .

N: 127.0.0.1 15500 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

the username & pass in account & N line must be the same .

the port number in newcamd must be the same as in your N line .

256 @ the end of the N line is to show your card as local .

with these settings your card will update providing you give a close & known peer a C line like this :

C: myserver.dyndns.tv 13001 user pass yes

the yes @ the end is required for the known peer to send EMM to update the card .

in the F line for this peer it should look like this

F: user pass 1 0 1 { 0:0:2 }

the 2nd 1 allows the EMM to update your card .

you can see your entitlements by opening the web browser & entering the box ip with the webif port .

oscam with CCcam will only show your card as local ( hop0 ) with 2.1.3 or earlier versions . CCcam 2.1.3 is the better option .

make sure the config directory has 755 attribute & the 3 oscam files in that directory have attribute 644

oscam.conf
oscam.server
oscam.user

oscam will only read your card & forward it via the N line to CCcam . you then give C lines to your peers as usual .

upon putting all your settings together make sure you stop oscam then CCcam via the blue panel .

restart oscam then CCcam . this allows oscam to read the card before CCcam .

any changes to configs in oscam will take effect upon restart of oscam .

there are many other settings that you can have but this is a basic setting to get going .
 

guli

Registered
Messages
375
Hi
do i need cccam enabled on the server side or just connect a client to it when N lin

you do not need CCcam enabled in oscam.conf .

just put the N line in your CCcam.cfg file then restart .
 

fta22

Registered
Messages
9
Hi
Sorry what i meant was cccam installed on the server as well as oscam or connect a from external box with N line

also where can i see if it is working as in log files?
 

guli

Registered
Messages
375
Hi
Sorry what i meant was cccam installed on the server as well as oscam or connect a from external box with N line

also where can i see if it is working as in log files?

CCcam.cfg (server side)

N: 127.0.0.1 10000 cccam cccam 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
F: cccam1 cccam1 1 0 1 { 0:0:2 }



CCcam.cfg ( client side)
C: 192.168.1.7 13001 cccam1 cccam1 yes

to view your oscam working simply open your web browser & type

PHP:
http://serverip:15000

httpuser = user
httppwd = pass

then press enter . check your status , reader status , entitilement staus etc from here .

you can also change your oscam config files from here but not recommended .

as i understood you have a seperate instance of CCcam installed in your server .

this is where you put the N line . you then use CCcam as you were before .

remember that oscam here is only reading your card & forwarding it to your CCcam .

if for argument's sake you only have oscam installed in your server , then you would need to put the N line into the pc server / linux box that you use as a CCcam server .
 
Last edited:

fta22

Registered
Messages
9
Hi

Done as above when i connect via cccam client to server user goes active for about 5 seconds then inactive
i can connect via N line and C line direct to oscam and all is ok

can i update entitlements this way
 

guli

Registered
Messages
375
i am a little confused as to what you mean .

show me what you are trying to do mate .
 

fta22

Registered
Messages
9
Hi

I have tried the config above,
Oscam and cccam on the same box ( 192.168.1.6), connect CCcam to Oscam via N line. This connects ok as i can see on the CCcam webif.

When i connect a cccam client( DM box 192.168.1.7)to the cccam server using the C line, i can see it connect in the and go active ( i see i the IP address in connected and active) it stays active for about 5 seconds and then there is no active IP's... at all stages i have a blank TV screen


However
I enabled cccam protocol on the oscam server and added user account i can then connect cccam client to this directly all works ok.
I have also used the N line in this DM box ( 192.168.1.7) to connect again all works ok.

Can i directly connect to oscam and update entitlements instead ???
 

guli

Registered
Messages
375
ok now i understand . there is obviously a problem on your cccam side of things , hence you get the cut out .

the dm box is it in the lan ( internal ) . how are you writing the C line for this .

show me please .
 

fta22

Registered
Messages
9
Hi
i tried both internal and external both cut out

i just have the default cccam config with the N and F line
and then the C line in the DM
 

guli

Registered
Messages
375
Hi
i tried both internal and external both cut out

i just have the default cccam config with the N and F line
and then the C line in the DM

there is no reason why it should cut out in the manner you say .

are you using 2 different port's for oscam & CCcam . if not that is the only reason i can see why it would cut out .

if this is the case then remember to put the new port number for CCcam in your server cfg & reboot .

also that port would need to be opened in your router .

internally your C line would look like this .

C: serverip port user pass
 
Last edited:

fta22

Registered
Messages
9
Hi

Got it sorted removed the 256 on the N line, does not get cut out now.

When i look at CCcam and Oscam reader i dont see any EMM update, do i only see these updates closer to the date the entitlements run out ??

By the way thanks for all your help
 

satpink

Registered
Messages
27
hello i have a vu plus duo running black hole image with oscam5352 & cccam 213, i have sly uk hd i only share with an openbox upstairs, all was well until tonight, my card needs to be updated the entitlements have run out, as i don't have any peers is there any way i can configure oscam to update my card, i switched to cccam & some channels reappeared, do i need to use mgcamd 7 if i do can anyone help?;)
 

guli

Registered
Messages
375
a simple guide to setting up oscam + CCcam

your openbox will send emm to update your card mate .

use this config in your vu+duo . upon completion reboot vu+duo .

read carefully what is written below .

Oscam.server

[reader]
label = skyuk
protocol = internal
enable = 1
device = /dev/sci0
detect = cd
boxid = xxxxxxxx #( not needed as oscam can read sky uk boxid )
mhz = 600
cardmhz = 600
caid = 0963
ident = 0963:000000
group = 1
emmcache = 1,3,2
blockemm-g = 1
blockemm-unknown = 1
blockemm-u = 0
blockemm-s = 0
lb_weight = 101

Oscam.conf

[global]
logfile = /var/local/oscam.log
cachedelay = 120
nice = -1
maxlogsize = 0
saveinithistory = 1

[newcamd]
port = 15500@0963:000000
key = 0102030405060708091011121314
allowed = 127.0.0.1,192.168.0.0-192.168.255.255
keepalive = 1

[webif]
httpport = 15000
httpuser = user
httppwd = password
httprefresh = 10
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255

Oscam.user

[account]
user = user
pwd = pass
uniq = 2
monlevel = 1
caid = 0963
ident = 0963:000000
group = 1
au = skyuk
blockemm-unknown = 1
blockemm-g = 1
blockemm-u = 0
blockemm-s = 0

Use this N line in CCcam.cfg if you want to use the Newcamd protocol to connect to CCcam. Only use 256 if using CCcam 2.1.3 or below . to show your card as a local .

N: 127.0.0.1 15500 user pass 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

the username & pass in account & N line must be the same .

the port number in newcamd must be the same as in your N line .

the port number for oscam must be different from CCcam .

256 @ the end of the N line is to show your card as local .

with these settings your card will update providing you give a close & known peer a C line like this :

C: myserver.dyndns.tv 13001 user pass yes ( example , externally )

C: 192.168.0.100 13001 user pass yes ( example , internally )

the yes @ the end is required for the known peer to send EMM to update the card .

in the F line for this peer it should look like this

F: user pass 1 0 1 { 0:0:2 }

the 2nd 1 allows the EMM to update your card .

It's sufficient for one peer / receiver to execute AU in order to update the card .

For the procedure to work , the peer / receiver that is enabled to execute AU must be tuned to one of the subscribed channels .

Warning : When using the NewCamd protocol , always set AU directed at a reader . Setting "au = 1" will not work properly !

you can see your entitlements by opening the web browser & entering the box ip with the webif port .

oscam with CCcam will only show your card as local ( hop0 ) with 2.1.3 or earlier versions . CCcam 2.1.3 is the better option .

make sure the config directory has 755 attribute & the 3 oscam files in that directory have attribute 644

oscam.conf
oscam.server
oscam.user

oscam files can be found in folder:

/var/tuxbox/config ( Enigma1 )

/etc/tuxbox/config ( Enigma2 )

oscam will only read your card & forward it via the N line to CCcam . you then give C lines to your peers as usual .

upon putting all your settings together make sure you stop oscam then CCcam via the blue panel .

restart oscam then CCcam . this allows oscam to read the card before CCcam .

any changes to configs in oscam will take effect upon restart of oscam

there are many other settings that you can have but this is a basic setting to get going .
 
Top