A proper, detailed "how to" for Scam

gorski

Registered
Messages
1,553
Hi, guys!

No offence to the authors of various "how to's" I found on the subject but I find them wanting in several areas: details are not covered without the usual, geekish, unnecessary jargon, frequently some steps are missing and so on...

So, I will post some decent efforts and then ask questions...

Scam 3.57 tutorial home network
Scam 3.57 tutorial home network
I don't use scam but because of too many requests i made tests to study.

Remember that in 3.57 che config files are changed so you have to follow these simply rules:

1) BE SURE TO HAVE SCAM 3.57 VERSION IN ALL YOUR NETWORK
2) BE SURE TO HAVE THE CONFIG FILE IN THE RIGHT POSITION:
--- ENIGMA1 = /var/scam/config
--- ENIGMA2 = /etc/scam/config

We will make this config:
Server1: CCcam ip 198.168.0.2 port: 12000
Server: Scam server with local cards and Cccam share: ip 192.168.0.8 port: 4321
Client: Scam client ip: 192.168.0.10 port: 4321

Warning: With this config Scam Server will receive from CCcam server but will pass to Scam Client - only local cards (as for example ndz and tivusat)

1) First of all install in all your dreambox the socketmmi plugin

2) Config CCcam server to share with Scam server: add to CCcam server this line:

F: scamserver scampass 3 1 0 { 0:0:3 }

3) Config Scam Server:

### scam host
/net/ecm_server/homeserver/port=4321
/net/ecm_server/homeserver/user/client1/pass=test

### cccam share (3.52)
/net/cccam/home/user=scamserver
/net/cccam/home/pass=scampass
/net/cccam/home/host=198.168.0.2
/net/cccam/home/serv=12000

4) Config Scam Client:

### scam client
/net/ecm_client/homeserver/host=192.168.0.8
/net/ecm_client/homeserver/port=4321
/net/ecm_client/homeserver/user/client1/pass=test

Thats all. You have only to substitute the correct ip address and ports in this config to have a working scam 3.57 net.
You can check it in the plugin socketmmi: Menu->setup->softcam->Nerwork.

Here are the shots of Scam server and client working with 3.57 version:

thanks to Sloggo
Notice that most write only about home network sharing.... hehe...

My Q: can we have only Scam as a
-card reader [CCcam and not NewcamD protocol] and
-CS server, then
-client to its own and external [CCcam and NewcamD readers, as well as
-Emulator, i.e. can it also work with [esp. BISS] keys, please?

My Q seems logical, especially if you see this "intro":

Scam connect with CCcam

Scam CCcam connect with Today I have a new scam successfully connected with CCcam.
CCcam which was the server and the client Scam. The switching times are excellent and even HD runs. which should include the user with a D02 card delight.

Here is the config under the usr / scam is learn.
### scam host
#/net/ecm_server/foobar/port=4321
#/net/ecm_server/foobar/pass=passwort

### scam client
#/net/ecm_client/foobar/host=192.168.0.xxx
#/net/ecm_client/foobar/port=4321
#/net/ecm_client/foobar/pass=passwort

### newcamd connect
#/net/newcamd/foo/host=192.168.0.xxx
#/net/newcamd/foo/port=1234
#/net/newcamd/foo/user=username
#/net/newcamd/foo/pass=password
#/net/newcamd/foo/k€y=1234567890123456789012345678

### s-e-r-i-a-l port smartcard readers (3.51a)
# device node
#/sc/zerial/<name>/device=<string>
#<>e.g.: /dev/ttyUSB0
# type
#/sc/zerial/<name>/type=<string****<><><><>[default: phoenix]
#<>valid types: mastercrd2, phoenix, smartreader+
# clock frequency in Hz
#/sc/zerial/<name>/fs=<num><><><><><>[default: 3571200]
# example
#/sc/zerial/usb0/device=/dev/ttyUSB0
#/sc/zerial/usb0/type=smartreader+

### cccam share (3.52)
/net/cccam/home/user=user
/net/cccam/home/pass=pass
/net/cccam/home/host=ServerIP oder Dyndns
/net/cccam/home/serv=12000
In the CCcam.cfg be a simple F Line to be created.
Example: F: user pass 1 0 0

Interesting would be even if the scam could serve as a server.

# # # Scam host
# / net / ecm_server / foobar / port = 4321
# / net / ecm_server / foobar / pass = password

Unfortunately this, the user entry to the scam as a server to test.
A connection from scam to scam, however, is not a problem. If the settings selfexplaining
Of course, path to various files depends on an image, which have different structures but...

Here is some help as to which file goes where in various images:

mehr muss ja eigentlich nicht in die config dateien rein bei den einzelnen Boxen.

/var/tuxbox/config/emulist.xml

/var/scam/cw_servers

/var/uninstall/emu_scam.xml

/var/uninstall/emu_scam/emulist.xml

/var/bin/scam

/var/keys/SoftCam.Key

/var/keys/AutoRoll.Key

/var/keys/Autoupdate.Key

/var/keys/seca2

apart from emu_scam.xml because it wasn't in the zip.

then I understood I nedded to edit emulist.xml,which I did and it ended up looking like this:

<?xml version="1.0" encoding="iso-8859-1" ?>

<emulist>
<emu text="Common Interface" name="CI" helptext="" emuadvanced="ci" help="" />
<emu text="Newcamd v.5.13" name="NEWCAMD" helptext="newcamd" emuadvanced="newcamd" help="/var/doc/newcamd/readme.txt" />
<emu text="Radegast v.3 beta10" name="RADEGAST" helptext="radegast" emuadvanced="rdgd" help="/var/doc/radegast/readme.txt" />
<emu text="Camd 3.651" name="CAMD3" helptext="camd3" emuadvanced="camd3" help="/var/doc/camd3/readme.txt" /> <emu text="scam" name="scam" helptext="scam" emuadvanced="scam" help="/var/doc/camd3/readme.txt" />

</emulist>

the esuly is I can see now "scum" in the softcam menu,but when I pick it it does't start working...

What should I do?
Surely I must add some lines somewhere...

Maybe a different approach?-editing the SF image?
So, anyone knowledgeable/experienced?!?
 
Last edited:

cupof

Registered
Messages
143
scam works with biss



/var/keys/constcw

write biss like this

C: { 0D7AB0E3 0001 0001 0385 0134 { 8Dxxxxxxxxxxxx608Dxxxxxxxxxxxx60 }} ;ESPN 901 Caribbean (15.0W)

C: { 0D7AB0E3 0001 0001 0386 0135 { 39xxxxxxxxxxxx7D39xxxxxxxxxxxx7D }} ; ESPN 902 SYNDICATION (15.0W)

to start scam you need a cam script for your image
 
Last edited:

cupof

Registered
Messages
143
i have used scam for biss
and i have used it as a client
and i have used it to read cards

will play about tonight
with scam lol
 

gorski

Registered
Messages
1,553
We know it can be a CCcam client and it seems NewcamD client, also, from what I read...

And it reads my HRT subscription card beautifully: fast and rock solid!

But can it be a CS server, serving as CCcam, please?
 

cdr

Registered
Messages
300
i don't thinking scam can't act as server..but i could be wrong
60% not
 
Last edited:

gorski

Registered
Messages
1,553
And I quote:

3) Config Scam Server:

### scam host
/net/ecm_server/homeserver/port=4321
/net/ecm_server/homeserver/user/client1/pass=test

Definitely as Scam server but as CCcam and/or NewcamD?
 

cupof

Registered
Messages
143
so you want scam to read the card
and pass that card to cccam
and then out to your friends

????????
 

cupof

Registered
Messages
143
Works as a CCcam client
Works as a Newcs client
Works as a Newcamd client
Works as a SCAM client
Works as a SCAM server to a SCAM client
 

cupof

Registered
Messages
143
try playing with the configs

### example 1 F-line (3.52)
/net/cccam/ecm_server/user=
/net/cccam/ecm_server/pass=

then give C -line to client box


### example 2 F-line (3.52)
/net/cccam/home/user=
/net/cccam/home/pass=

then give C -line to client box


### example 3 F-line (3.52)
/net/cccam/home/foobar/user=
/net/cccam/home/foobar/pass=


### example 4 F-line (3.52)
/net/ecm_server/cccam/user=
/net/ecm_server/cccam/pass=
 
Last edited:

gorski

Registered
Messages
1,553
I haven't yet had the time (illness) but I read others saying it would be interesting if it could be a CCcam server - but never wrote back... ergo no go....
 

meier2k

Registered
Messages
27
Hi,

yes, you are right, scam can be used as server, but only for scam clients - Using scam protocl.
scam can be used as client with several cs protocols.

regards,

meier2k
 

gorski

Registered
Messages
1,553
Btw, let's try breaking this down for anyone, no matter how little they know, shall we?

### example 1 F-line (3.52)
/net/cccam/ecm_server/user=
/net/cccam/ecm_server/pass=

then give C -line to client box

Am I correct in assuming that:

0) I am using version 3.60 - is everything in config the same for all versions of Scam?

1) # = deactivating the line after this sign, using it for explanation/description of what is being done here

2) the two lines here create a single client entry

3) /net = sending whatever this will do the the net, as opposed to the box itself

4) /cccam = protocol to be used (like scam, newcamd etc.)

5) /ecm_server = what it does, i.e. sending ECMs to the clients

6) /pass or /username = authentication of rights to connect to the server

7) usual C line given to a guy who uses CCcam or OSCam or SCam or MGcamD...

### example 2 F-line (3.52)
/net/cccam/home/user=
/net/cccam/home/pass=

then give C -line to client box

/home = why "home" (is this for home network only?)?

### example 3 F-line (3.52)
/net/cccam/home/foobar/user=
/net/cccam/home/foobar/pass=

/foobar = what is this for, please?

Feel free to break down any other piece of info...:thum:

Thanx!!! :)
 

meier2k

Registered
Messages
27
"/home" is just a name, you could call it bskyb if it is for UK sky or any name you like
For scam it's important to specify /net/cccam/...
/net is for scam to know it's a net resource
/cccam or /newcamd ... is for scam to know which cs protocol
/foobar not needed anymore from scam3.57 and above


But when you use scam as server in a scam only network than:
### scam host
/net/ecm_server/server_name/port=1111
/net/ecm_server/server_name/pass=2222

### scam client
/net/ecm_client/server_name/host=anyserver.co.uk
/net/ecm_client/server_name/port=1111
/net/ecm_client/server_name/pass=2222
 
Last edited:

gorski

Registered
Messages
1,553
My CCcam server 2.3.0 freezes every so often, for reasons, I think, of dirty peers' servers, E2/CCcam segmentation faults (or whatever these problems are, as one can see in Telnet) etc.

So, if I were to avoid CCcam, using CCcam protocol, I would have to have OSCam server (F) + Scam client (C lines).

1) OSCam = card reader (which is a shame, as Scam is great in that!) + CS server

2) Scam = CS client (connected to it, internally, as well as my other, online servers [my "peers"]) and emulator (to work with keys).

Correct?

I was hoping Scam could do it all...

But because it's DMM's... it was not easy to find a good "intro/info"... You know... it was kinda hidden... In plain sight... :D Maybe it still is?

I mean, maybe it can be a card reader + CS (CCcam) server (externally), as well?

The search continues... ;) Or maybe someone knowledgeable sees this and "improves it "a bit"? :D
 

meier2k

Registered
Messages
27
Hi,

just for info, I used to run scam network long ago, worked OK with some minor failures now and than, now
I'm running doscam0.18 (started with doscam0.7) as server for some time now on ct9100.
Working very stable, no problems at all - And the best part, doscam even works great as key server for all crypto systems currently avaialable on emu.
The clients are on scam, cccam, oscamymod or mgcamd via newcamd protocol.

regards,

meier2k
 

gorski

Registered
Messages
1,553
I think this is my next project, then... if Scam is not "on", sadly...

For educational purposes only :D - no private details, of course - could you post your config files for the two parts, please (DOSCam and Scam)?

Thanx! :)
 
Top