from cccam to oscam using ubuntu

bobbyball

Inactive User
Joined
Mar 7, 2005
Messages
58
Reaction score
3
Hi i know this has likely been covered before but it always seems to relate to dreambox.

I have had a small debian cccam server for quite some time now which has always worked ok. There is a total of 11 clients (Family)and we have 1 card which we pay between us.
however the server packed up so i have put together another one this time using ubuntu and the oscam/cccam auto install script build #7149.
I hadn't used oscam before and its doing my head in. What im trying to find out is do i have to change everyones c lines to n lines now?
I have a box at home which i can get working with all channels but only if i add a nline to the cfg i cant get it to work with my old cline.

here are my configs

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

[webif]
httpport = xxxx
httpuser = xxxx
httppwd = xxxx
httpallowed = 0.0.0.0-255.255.255.255

protocols

[newcamd]
key = 0102030405060708091011121314
port = xxxx@0963:000000


[reader]
label = skyuk
protocol = smartreader
device = 003:002
caid = 0963
boxid = xxxxxx
ecmwhitelist = 0963:3B,3E,42,44,45,47,4B,4E,4F, (Shortened)
detect = cd
mhz = 480
cardmhz = 357
ident = 0963:000000
group = 1
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-g = 1



[account]
user = testbox
pwd = test
group = 1
cccignorereshare = 0



SERVER LISTEN PORT : xxxx
ALLOW TELNETINFO: yes
ALLOW WEBINFO: yes
WEBINFO USERNAME : xxxx
WEBINFO PASSWORD :xxxx
TELNETINFO USERNAME :xxxx
TELNETINFO PASSWORD :xxxx
TELNETINFO LISTEN PORT : xxxx
WEBINFO LISTEN PORT : xxxx
ZAP OSD TIME :0
OSD USERNAME :xxxx
OSD PASSWORD :xxxx
OSD PORT :80
SHOW TIMING : yes
DEBUG : no
NEWCAMD CONF : no
SHOW EXTENEDED CLIENT INFO : yes
MINI OSD : no
CHANNELINFO FILE : /var/etc/CCcam.channelinfo
PROVIDERINFO FILE : /var/etc/CCcam.providers
CAID PRIO FILE : /var/etc/CCcam.prio
LOG WARNINGS : /tmp/warnings.txt
SOFTKEY FILE : /var/keys/SoftCam.Key
AUTOROLL FILE : /var/keys/AutoRoll.Key
#STATIC CW FILE : /var/keys/constant.cw
#BOXKEY:
#SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000

N: 127.0.0.1 xxxxxx test test1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256



Can some one please explain if its possible to make the server work with the clients original clines or do they all need changing?
:Dunce:
 
They should all work as is, once that single nline is in your CCcam.cfg

Sent from my Xperia X10 using Tapatalk 2
 
That's what i thought but cant seem to get them to work.

I have a dream box in the house running cccam 2.1.4, when i try to connect it to the server using its original cline nothing happens,
if i change it to the following nline
N: 192.168.x.xxx xxxxx testbox test 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256 the dreambox connects to the server and clears the channels.

Also In the ubuntu server set up were the cfg cccam script has this line N: 127.0.0.1 xxxxxx test test1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
Does it matter what the username and password is? for example mine says test, test1?

Sorry if im being stupid but ive been looking at this for days now and having alot of late nights. appreciate your help...
 
The username and password in the nline has to match the user account username and password in your oscam.user file

sent using my telepathic powers
 
sorry this might make it clearer.
i have my flines from my old debian cccam server, which i have to add to my oscam users script.

The clines i sent to the clients remain the same on their dreamboxes

Then all i should have to do is add one single line of script to the ubuntu oscam/cccam server at the bottom of the cccam.cfg script which contains this info N: 127.0.0.1 xxxxxx test test1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
if thats correct it does not work, so any ideas please?
The old server worked fine for so long i just took it for granted.
 
The username and password in the nline has to match the user account username and password in your oscam.user file

sent using my telepathic powers


thats what i would have thought so in my case i need 11 nlines in my cccam.cfg script
am i right?
 
thats what i would have thought so in my case i need 11 nlines in my cccam.cfg script
am i right?

No m8

If you look at the username and password in the nline above in your cfg,then look at the matching user [account] in oscam.user also above,you will see that although similar they don't match,

They need to match so that CCcam can talk to oscam, so change one of them to suit the other,it should all work then,make sure to restart the server after the changes :)

sent using my telepathic powers
 
ok thanks i see that mistake.
so just to clear this up as im at work now.
if say my mum and dad have a dreambox and there cline says

C: server1234.com ????? test test1 no { 0:0:1 }

i then add

N: 127.0.0.1 22222 test test1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

and add to the user account

[account]
user = test
pwd = test1
group = 1
cccignorereshare = 0

is that correct? :Dunce:
if it is correct i cant understand how it works
so when i add the second user in accounts how does it connect to that account?
im ready to be flamed now :Dunce:
 
ok thanks i see that mistake.
so just to clear this up as im at work now.
if say my mum and dad have a dreambox and there cline says

C: server1234.com ????? test test1 no { 0:0:1 }

i then add

N: 127.0.0.1 22222 test test1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

and add to the user account

[account]
user = test
pwd = test1
group = 1
cccignorereshare = 0

is that correct? :Dunce:
if it is correct i cant understand how it works
so when i add the second user in accounts how does it connect to that account?
im ready to be flamed now :Dunce:

Still wrong lol

1.Forget about any C or F lines you have on your boxes,these will stay the same,

In oscam you have enabled newcamd protocol,

[newcamd]
key = 0102030405060708091011121314
port = xxxx@0963:000000

I presume you have deliberately x'ed the port number

2.You then have your nline in your CCcam.cfg
This line is one part of the protocol that allows oscam and CCcam to talk to each other

3.The other part is the user you put in oscam.user to match the nline,so going by your original nline above it will look like this

[account]
user = test
pwd = test1
group = 1
cccignorereshare = 0


make sure the port number in both the newcamd protocol entry above and the port number in the nline match

4.Thats it,without altering anything else it should now connect :)
 
your being very patient with me thanks.
it sounds so simple when you write it down but it just doesnt seem to work.
its such a pain having to keep restarting the server everytime you change something only to find it still isnt working.
when i first set the original server up i had been reading and reading for days and now i have forgotten everything..
Thanks will check it again when i get home..
 
your being very patient with me thanks.
it sounds so simple when you write it down but it just doesnt seem to work.
its such a pain having to keep restarting the server everytime you change something only to find it still isnt working.
when i first set the original server up i had been reading and reading for days and now i have forgotten everything..
Thanks will check it again when i get home..

Dont worry about it m8 there is just as much chance I could be wrong or missing something obvious :)
 
Sorry still not working ive sat here all night messing with it. the only way i can make it work is if i add a nline to the dreamboxes cfg file.
Im totally stumped now.

All configs are below

cccam cfg

SERVER LISTEN PORT : 12000
ALLOW TELNETINFO: yes
ALLOW WEBINFO: yes
WEBINFO USERNAME :admin
WEBINFO PASSWORD :admin
TELNETINFO USERNAME :root
TELNETINFO PASSWORD :dreambox
TELNETINFO LISTEN PORT : 16000
WEBINFO LISTEN PORT : 16001
ZAP OSD TIME :0
OSD USERNAME :root
OSD PASSWORD :dreambox
OSD PORT :80
SHOW TIMING : yes
DEBUG : no
NEWCAMD CONF : no
SHOW EXTENEDED CLIENT INFO : yes
MINI OSD : no
CHANNELINFO FILE : /var/etc/CCcam.channelinfo
PROVIDERINFO FILE : /var/etc/CCcam.providers
CAID PRIO FILE : /var/etc/CCcam.prio
LOG WARNINGS : /tmp/warnings.txt
SOFTKEY FILE : /var/keys/SoftCam.Key
AUTOROLL FILE : /var/keys/AutoRoll.Key
#STATIC CW FILE : /var/keys/constant.cw
#BOXKEY:
#SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000

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

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

[webif]
httpport = 8888
httpuser = admin
httppwd = admin
httpallowed = 0.0.0.0-255.255.255.255

protocols

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

---------------------------------------------

reader]
label = skyuk
protocol = smartreader
device = 003:002
caid = 0963
boxid = xxxxxxxx
ecmwhitelist = 0963:3B,3E,42,44,45,47,4B,4E,4F,50,53,54,56,5F,61,62,65,66,67,68,69,6A,6B,6C,6D,6E,6F,70,71,72,73,74,76,77,78,79,7A,7C,7D,7E,80,82,85,8B
detect = cd
mhz = 480
cardmhz = 357
ident = 0963:000000
group = 1
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-g = 1

----------------------------------------------

[account]
user = cccam
pwd = cccam
group = 1
cccignorereshare = 0


[account]
user = vu
pwd = duo
group = 1
cccignorereshare = 0


-----------------------------------------------
This is a cline in vu duo wont work....

C: 192.168.1.104 10000 vu duo no { 0:0:1 }

This is a nline in vu duo that does work

N: 192.168.1.104 10000 vu duo 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
 
Still no joy with these configs can someone please confirm if they should work or not.
The configs above are exactly as written to the server with the exception of the box key.

Have tried connecting a dm500 and a vu+ duo but both only work when i add a nline to the cfg file on the box as soon as i delete the nline and put the cline in nothing clears and the boxes both disconnect from the server. .:drink:
 
Still no joy with these configs can someone please confirm if they should work or not.
The configs above are exactly as written to the server with the exception of the box key.

Have tried connecting a dm500 and a vu+ duo but both only work when i add a nline to the cfg file on the box as soon as i delete the nline and put the cline in nothing clears and the boxes both disconnect from the server. .:drink:


Change the NEWCAMD CONF: to yes in your Cccam config and also enable debug so you can see any errors.

Also you might need to give an extra hop down to the client box unless your using the 256 trick If I remember right.
 
Last edited:
have done everything ive been told still not working. would i be better to remove cccam and just use oscam?
 
have done everything ive been told still not working. would i be better to remove cccam and just use oscam?

If you are just using between friends/family with no worries about reshare etc then yes it would be better :)

sent using my telepathic powers
 
are you sure C**am is connecting to oscam in web-if as if its issuing a n line its working its not sending the card through to C**am for it to send out. use camd35 to connect to C**am as its faster than newcamd. as my m8 always says to me when something is wrong its "user error" 99% of the time,regards mdt
 
Sorry still not working ive sat here all night messing with it. the only way i can make it work is if i add a nline to the dreamboxes cfg file.
Im totally stumped now.

All configs are below

cccam cfg

SERVER LISTEN PORT : 12000
ALLOW TELNETINFO: yes
ALLOW WEBINFO: yes
WEBINFO USERNAME :admin
WEBINFO PASSWORD :admin
TELNETINFO USERNAME :root
TELNETINFO PASSWORD :dreambox
TELNETINFO LISTEN PORT : 16000
WEBINFO LISTEN PORT : 16001
ZAP OSD TIME :0
OSD USERNAME :root
OSD PASSWORD :dreambox
OSD PORT :80
SHOW TIMING : yes
DEBUG : no
NEWCAMD CONF : no
SHOW EXTENEDED CLIENT INFO : yes
MINI OSD : no
CHANNELINFO FILE : /var/etc/CCcam.channelinfo
PROVIDERINFO FILE : /var/etc/CCcam.providers
CAID PRIO FILE : /var/etc/CCcam.prio
LOG WARNINGS : /tmp/warnings.txt
SOFTKEY FILE : /var/keys/SoftCam.Key
AUTOROLL FILE : /var/keys/AutoRoll.Key
#STATIC CW FILE : /var/keys/constant.cw
#BOXKEY:
#SMARTCARD CLOCK FREQUENCY: /dev/sci0 6800000

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

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

[webif]
httpport = 8888
httpuser = admin
httppwd = admin
httpallowed = 0.0.0.0-255.255.255.255

protocols

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

---------------------------------------------

reader]
label = skyuk
protocol = smartreader
device = 003:002
caid = 0963
boxid = xxxxxxxx
ecmwhitelist = 0963:3B,3E,42,44,45,47,4B,4E,4F,50,53,54,56,5F,61,62,65,66,67,68,69,6A,6B,6C,6D,6E,6F,70,71,72,73,74,76,77,78,79,7A,7C,7D,7E,80,82,85,8B
detect = cd
mhz = 480
cardmhz = 357
ident = 0963:000000
group = 1
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-g = 1

----------------------------------------------

[account]
user = cccam
pwd = cccam
group = 1
cccignorereshare = 0


[account]
user = vu
pwd = duo
group = 1
cccignorereshare = 0


-----------------------------------------------
This is a cline in vu duo wont work....

C: 192.168.1.104 10000 vu duo no { 0:0:1 }

This is a nline in vu duo that does work

N: 192.168.1.104 10000 vu duo 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256

The Cline should connect to cccam on port 12000 as in your cccam.cfg

The nline is connecting direct to_Oscam on port 10000

That's why the nline works and the Cline doesn't...


Sent from my GT-I9000 using Tapatalk 2
 
To make the cline connect direct to oscam you need to add the cccam protocol to oscam.

Sent from my GT-I9000 using Tapatalk 2
 
To make the cline connect direct to oscam you need to add the cccam protocol to oscam.

Sent from my GT-I9000 using Tapatalk 2

No you only do that when you are using oscam alone were your clients are using clines

You use newcamd protocol to connect oscam and CCcam using an nline,but as you have just said and I have just noticed now that his cline should have port 12000 and not 10000 in it :)
 
Back
Top