Coolstream and OSCam

mosquita

Registered
Messages
12
Hy everybody.
I'm enjoing with my Coolstream and Neutrino image (30/12/2009, I think). I woul like to have a tutorial to create my oscam.
Which files does I need?
Expample, this "oscam-0.99.4svn1113-mipsel-tuxbox-linux"??
Then I need Cccam or MGcamd?
I dont't know how to start.
Can anyone help me?
Thx in advance
Mosquita
 

iomeali

Registered
Messages
3,962

mosquita

Registered
Messages
12
Thanks Iome, glad to speak to you.
I'm mosquita from Florence :D and you know me.
See you soon
Mosq
 

mosquita

Registered
Messages
12

iomeali

Registered
Messages
3,962
azz:D



files you are interested in

are (ONLY) those of OSCAM tuxbox config.

and I think you should proceed calmly and slowly, step by step.

first, then , change the oscam.server file.:

now you have this:

[reader]
Label = Smargo
Protocol = mouse
Device = /dev/ttyUSB0
MHz = 357
CardMHz = 357
Detect = CD
EMMCache = 1,1,2
boxid = 11223344
Fallback = 0
Group = 1
CAID = 0919



and you have to change in

oscam.server:

[reader]
Label = SkyItalia
Protocol = intern
Detect = CD
Device = /dev/sci0
Customspeed = 0
mhz = 600
EMMCache = 1,1,2
BoxID = XXXXXXXX <-- here you add your BoxID!
Group = 1
Fallback = 0
CAID = 0919

or in this if no watch.


[reader]
Label = sky
Protocol = Internal
Detect = CD
Device = /dev/sci0
Ident = 0919:000000
Mhz = 600
group = 1
CAID = 0919
BoxID = 03076844699
Customspeed = 1
EMMCache = 1,1,2
Fallback = 0
AU = 1


and for the moment..... it is all

you have to restart oscam....and if no match,:better if also cooli restart.

and to read your card may be sufficient





any (other) help is welcome:D
 

mosquita

Registered
Messages
12
Hy
I've tried what Iomeali said, but at the moment I can't see my abbo sky with my cooli Hd
I've the oscam.server like this:
[reader]
Label = SkyItalia
Protocol = intern
Detect = CD
Device = /dev/sci0
Customspeed = 0
mhz = 600
EMMCache = 1,1,2
BoxID = 11223344
Group = 1
Fallback = 0
CAID = 0919


I've pushed the blue botton from the remote and camd start but nothing happened, always said channel codified.
What's wrong with it?
My oscam.conf

[global]
Nice = -1
ClientTimeout = 5
FallbackTimeout = 2
ClientMaxIdle = 120
CacheDelay = 20
BindWait = 60
ResolveDelay = 15
[newcamd]
Key = 0102030405060708091011121314
Port = 62200@09919:000000


My oscam.user

[account]
User = coolie
Pwd = coolstream
Uniq = 1
Group = 1
caid = 0919
ident = 0919:000000
Sleep = 0
AU = Smargo
monlevel = 0


What's wrong with it?
Mosq
 

mosquita

Registered
Messages
12
First of all I thank you.
I've another question:
- to see my abbo sky, is only usefull the oscam.server settings or I have to set also the others oscam?
Thx
Mosq
 

iomeali

Registered
Messages
3,962
also


oscam.server

[reader]
Label = SkyItalia
Protocol = Internal
Detect = Ring
Device = /dev/sci0
mhz = 600
group = 1
CAID = 0919
BoxID = 11223344
readnano=1.emm,2.emm
Customspeed = 1
EMMCache = 1,3,2
Fallback = 0
#blockua = 0
#blockga = 0
#blocksa = 0


#note: same people need deselect readnano , for deselect: put # before: example #readnano=1.emm,2.emm
(but only if this is the real problem,only after you made several test:D )

Same config are opzional... about ......what you need (see cs:cool:)

restart oscam it is need, and restart cooli is good.



oscam.conf

[global]

pidfile = /var/run/oscam.pid
#logfile = /var/tuxbox/config/oscm.log
#usrfile = /var/tuxbox/config/oscamuser.log
cwlogdir = /var/tuxbox/config/cw

nice = -1
WaitForCards = 1
[monitor]
port = 988
aulow = 120
monlevel = 0

# protocols

[newcamd]
key = 0102030405060708091011121314
port = 34000@0919:000000


oscam.user

[account]
user = user1
pwd = pass1
monlevel = 0
uniq = 1
group = 1
au = SkyItalia
CAID = 0919

File config peer emusoft

N: 127.0.0.1 34000 user1 pass1 01 02 03 04 05 06 07 08 09 10 11 12 13 14


Port n° :depend what you open for cs.and have to be the same in all config file.
 

mosquita

Registered
Messages
12
Hy.
Yesterday I tryed all the configurations you wrote me but I can't see my abbo yet.
I have a doubt....the oscam file where must it be? I have it under /var/emu/oscam.
The oscam.conf, oscam.server, oscam.user under /var/tuxbox/
I've tryed to log into my coolstream by telnet and write "ps".
I cant't see the oscam process, oscam doesn't start.
I can see only the Mgcamd process.
What's wrong????
Why oscam doesn't start?
Thx
Mosquita
 

Alexandro

Registered
Messages
5
It is a good idea to have all of the config files in /var/emu/oscam and then start the process by typing the following command in the console:

/var/emu/oscam/oscam -b -c /var/emu/oscam

Wish you luck ;)
 

mosquita

Registered
Messages
12
Oscam+Smargo+Coolstream

Now that I Smargo the original (at least I think), just launched OSCAM by telnet I get the following result:
1970/01/01 1:02:00 472 R02 Specific mode: speed 'implicitly defined', not sure how to proceed, assuming default values
1970/01/01 1:02:00 472 R02 Error activating card.
1970/01/01 1:02:00 472 R02 card initializing error
1970/01/01 1:02:02 468 S exit with signal 2

I do not know if it depends on the date 1970/01/01. As I have a OSCAM of 30.01.

Oscam.conf:
[global]

Nice = -1
ClientTimeout = 5
FallbackTimeout = 2
ClientMaxIdle = 120
CacheDelay = 20
BindWait = 60
ResolveDelay = 15

[newcamd]
crow = 0102030405060708091011121314
Port = 62200th @ 0919:000000

Oscam.server:
[reader]
Label = Smargo
Protocol = mouse
Device = / dev/ttyUSB0
= 357 MHz
CardMHz = 357
Detect = CD
EMMCache = 1,1,2
boxid = 11223344 (I put my boxId)
Fallback = 0
Group = 1
CAID = 0919

Oscam.user:
[account]
User = cool
Pwd = CoolStream
Uniq = 1
Group = 1
caid = 0919
ident = 0919:000000
Sleep = 0
AU = Smargo
monlevel = 0

Where can be the error?
Thanks
Mosq
 

mosquita

Registered
Messages
12
Thx Rock
This nite I'll try. I have 2 questions
1) Have I to load some library in the coolstream?
2) How does smargo be set?
Thanx a lot
Mosquita
 

Rocknroll

Staff member
Administrator
Messages
6,174

iomeali

Registered
Messages
3,962
What does this mean?

Device = / dev/ttyUSB0
= 357 MHz ( it is'nt a correct command)
CardMHz = 357




also

Port = 62200th @ 0919:000000
 

mosquita

Registered
Messages
12
Coolstream+smargo damned problems

Hy everybody. It's about 1 month that I am in trouble with my coolstream HD1.
I'm not able to see my regular sky subcription.
I'm using smargo 1.13.
When I launch oscam appear this log:
[ 01:10:58 ] [ Loader ] Reader type 12 on node smc0
[ 01:10:58 ] [ smc0 ] Closing device smc0
[../../src/cr_cool.c:Cool_close:329] cnxt_smc_close: **** ERROR **** CNXT_STATUS
_NOT_INIT
[ 01:10:58 ] [ smc0 ] Opening device smc0
KAL Trace Initializaing ...
KAL Trace init Complete
KAL mmap'ings:
cached[0] = 0x2fde4000
uncached[0] = 0x32fe4000
content[0] = 0x375e4000
cached[1] = 0x3bde4000
uncached[1] = 0x3bde4000
content[1] = 0x3d6e4000
Init smartcard api
Open smartcard unit 0
[ 01:10:58 ] [ smc0 ] No card present in reader
[ 01:10:58 ] [ Loader ] Reset failed ...
[ 01:10:58 ] [ Card queue smc0 ] Starting...
[ 01:10:58 ] [ Loader ] Starting Newcamd Server on port 10001
[ 01:10:58 ] bind: error! 98: Address already in use
[ 01:10:58 ] [ Newcamd ] Stopping port 10001
[ 01:10:58 ] [ NewCS ] Ready to GO!
/var/emu $ ps
PID Uid VmSize Stat Command
1 root 612 S init
2 root SW< [kthreadd]
3 root SW< [ksoftirqd/0]
4 root SW< [events/0]
5 root SW< [khelper]
42 root SW< [kblockd/0]
48 root SW< [ata/0]
49 root SW< [ata_aux]
55 root SW< [khubd]
58 root SW< [kseriod]
81 root SW [pdflush]
82 root SW [pdflush]
83 root SW< [kswapd0]
84 root SW< [aio/0]
85 root SW< [nfsiod]
86 root SW< [xfslogd/0]
87 root SW< [xfsdatad/0]
88 root SW< [xfs_mru_cache]
209 root SW [swapper]
210 root SW< [scsi_tgtd/0]
217 root SW< [mtdblockd]
259 root SW< [rpciod/0]
263 root SWN [jffs2_gcd_mtd2]
292 root 232 S udhcpc -n -p /var/run/udhcpc.eth0.pid -t 5 -s /etc/ne
296 root SW< [kvfdscroll]
301 root SW< [cifsoplockd]
302 root SW< [cifsdnotifyd]
341 root SW [KAL-980f8ea0]
342 root SW [KAL-980f8e48]
343 root SW [KAL-980f8df0]
344 root SW [KAL-980f8d98]
347 root SW [KDMX_SW0_T]
348 root SW [KDMX_SW1_T]
349 root DW [KDMX_T]
350 root SW [KDMX_DMAEVT_T]
351 root SW [Kmalone]
352 root SW [Kstills]
353 root SW [Kpcm]
354 root SW [Kaudio]
355 root DW [Khdmi]
358 root SW [KPLYCTL]
381 root SW< [scsi_eh_0]
383 root SW< [scsi_eh_1]
387 root 356 S /sbin/telnetd -l /bin/sh
391 root 556 S /bin/sh /etc/init.d/start_neutrino
394 root 14704 S /bin/neutrino
398 root 264 S /sbin/vsftpd
400 root 628 S /bin/sh
413 root SW< [kdvb-ad-0-fe-0]
418 root 1224 S /var/emu/newcs
430 root SW [KPWR_MGR_THREAD]
443 root 676 S /bin/sh
449 root 1620 S /var/emu/mgcamd
493 root 1196 S ./newcs
507 root 1196 S ./newcs
518 root 596 R ps
/var/emu $ ./oscam-0.99.4svn1113-arm-coolstream-linux_smargo-patch

-------------------------------------------------------------------------------
**** OSCam << cardserver started at Wed Feb 10 01:11:40 2010
-------------------------------------------------------------------------------
2010/02/10 1:11:40 519 s version=0.99.4svn_smargo-patch, build #1113, syst
em=arm-coolstream-linux, nice=-1
2010/02/10 1:11:40 519 s max. clients=29, client max. idle=120 sec
2010/02/10 1:11:40 519 s max. logsize=unlimited
2010/02/10 1:11:40 519 s client timeout=5000 ms, fallback timeout=2500 ms,
cache delay=0 ms
2010/02/10 1:11:40 519 s shared memory initialized (size=478764, fd=3)
2010/02/10 1:11:40 519 s auth size=4740
2010/02/10 1:11:40 519 s services reloaded: 0 services freed, 3 services l
oaded
Warning: keyword 'version' in reader section not recognized
Warning: keyword 'build' in reader section not recognized
2010/02/10 1:11:40 519 s userdb reloaded: 0 accounts freed, 1 accounts loa
ded, 0 expired
2010/02/10 1:11:40 519 s signal handling initialized (type=sysv)
2010/02/10 1:11:40 519 s 2276 service-id's loaded
2010/02/10 1:11:40 519 s 22 lengths for caid guessing loaded
2010/02/10 1:11:40 519 s monitor: initialized (fd=7, port=988)
2010/02/10 1:11:40 519 s camd 3.3x: disabled
2010/02/10 1:11:40 519 s camd 3.5x: disabled
2010/02/10 1:11:40 519 s cs378x: disabled
2010/02/10 1:11:40 519 s newcamd: initialized (fd=8, port=10002, crypted)
2010/02/10 1:11:40 519 s CAID: 1702
2010/02/10 1:11:40 519 s provid #0: 000000
2010/02/10 1:11:40 519 s newcamd: initialized (fd=9, port=15000, crypted)
2010/02/10 1:11:40 519 s CAID: 0D05
2010/02/10 1:11:40 519 s provid #0: 000004
2010/02/10 1:11:40 519 s newcamd: initialized (fd=10, port=15001, crypted)
2010/02/10 1:11:40 519 s CAID: 0500
2010/02/10 1:11:40 519 s provid #0: 023800
2010/02/10 1:11:40 519 s newcamd: initialized (fd=11, port=10003, crypted)
2010/02/10 1:11:40 519 s CAID: 1830
2010/02/10 1:11:40 519 s provid #0: 003411
2010/02/10 1:11:40 519 s radegast: disabled
2010/02/10 1:11:40 519 s resolver thread started
2010/02/10 1:11:40 519 s logger started (pid=521)
2010/02/10 1:11:40 519 s resolver started (pid=522, delay=30 sec)
2010/02/10 1:11:40 519 s reader started (pid=523, device=/dev/ttyUSB0, det
ect=cd, mhz=600, cardmhz=600)
2010/02/10 1:11:40 519 s proxy started (pid=524, server=192.168.0.2)
2010/02/10 1:11:40 519 s Waiting for local card init ....
2010/02/10 1:11:40 524 p03 cccam: proxy 192.168.0.2:12000 cccam v (), maxhop
= 10 (fd=4, ridx=1)
2010/02/10 1:11:40 524 p03 connect(fd=4) failed: (errno=111)
2010/02/10 1:11:43 523 r02 card detected
2010/02/10 1:11:49 523 r02 Error activating card: 246
2010/02/10 1:11:56 523 r02 Error activating card: 246
^[[A^C2010/02/10 1:12:02 519 s exit with signal 2
2010/02/10 1:12:02 519 s cardserver down
/var/emu $ ps
PID Uid VmSize Stat Command
1 root 612 S init
2 root SW< [kthreadd]
3 root SW< [ksoftirqd/0]
4 root SW< [events/0]
5 root SW< [khelper]
42 root SW< [kblockd/0]
48 root SW< [ata/0]
49 root SW< [ata_aux]
55 root SW< [khubd]
58 root SW< [kseriod]
81 root SW [pdflush]
82 root SW [pdflush]
83 root SW< [kswapd0]
84 root SW< [aio/0]
85 root SW< [nfsiod]
86 root SW< [xfslogd/0]
87 root SW< [xfsdatad/0]
88 root SW< [xfs_mru_cache]
209 root SW [swapper]
210 root SW< [scsi_tgtd/0]
217 root SW< [mtdblockd]
259 root SW< [rpciod/0]
263 root SWN [jffs2_gcd_mtd2]
292 root 232 S udhcpc -n -p /var/run/udhcpc.eth0.pid -t 5 -s /etc/ne
296 root SW< [kvfdscroll]
301 root SW< [cifsoplockd]
302 root SW< [cifsdnotifyd]
341 root SW [KAL-980f8ea0]
342 root SW [KAL-980f8e48]
343 root SW [KAL-980f8df0]
344 root SW [KAL-980f8d98]
347 root SW [KDMX_SW0_T]
348 root SW [KDMX_SW1_T]
349 root DW [KDMX_T]
350 root SW [KDMX_DMAEVT_T]
351 root SW [Kmalone]
352 root SW [Kstills]
353 root SW [Kpcm]
354 root SW [Kaudio]
355 root DW [Khdmi]
358 root SW [KPLYCTL]
381 root SW< [scsi_eh_0]
383 root SW< [scsi_eh_1]
387 root 356 R /sbin/telnetd -l /bin/sh
391 root 556 S /bin/sh /etc/init.d/start_neutrino
394 root 14704 S /bin/neutrino
398 root 264 S /sbin/vsftpd
400 root 628 S /bin/sh
413 root SW< [kdvb-ad-0-fe-0]
418 root 1224 S /var/emu/newcs
430 root SW [KPWR_MGR_THREAD]
443 root 680 S /bin/sh
449 root 1620 S /var/emu/mgcamd
493 root 1196 S ./newcs
507 root 1196 S ./newcs
525 root 596 R ps
/var/emu $ ./oscam-0.99.4svn1113-arm-coolstream-linux_smargo-patch
-------------------------------------------------------------------------------
**** OSCam << cardserver started at Wed Feb 10 01:13:32 2010
-------------------------------------------------------------------------------
2010/02/10 1:13:32 532 s version=0.99.4svn_smargo-patch, build #1113, syst
em=arm-coolstream-linux, nice=-1
2010/02/10 1:13:32 532 s max. clients=29, client max. idle=120 sec
2010/02/10 1:13:32 532 s max. logsize=unlimited
2010/02/10 1:13:32 532 s client timeout=5000 ms, fallback timeout=2500 ms,
cache delay=0 ms
2010/02/10 1:13:32 532 s shared memory initialized (size=478764, fd=3)
2010/02/10 1:13:32 532 s auth size=4740
2010/02/10 1:13:32 532 s services reloaded: 0 services freed, 3 services l
oaded
Warning: keyword 'version' in reader section not recognized
Warning: keyword 'build' in reader section not recognized
2010/02/10 1:13:32 532 s userdb reloaded: 0 accounts freed, 1 accounts loa
ded, 0 expired
2010/02/10 1:13:32 532 s signal handling initialized (type=sysv)
2010/02/10 1:13:32 532 s 2276 service-id's loaded
2010/02/10 1:13:32 532 s 22 lengths for caid guessing loaded
2010/02/10 1:13:32 532 s monitor: initialized (fd=7, port=988)
2010/02/10 1:13:32 532 s camd 3.3x: disabled
2010/02/10 1:13:32 532 s camd 3.5x: disabled
2010/02/10 1:13:32 532 s cs378x: disabled
2010/02/10 1:13:32 532 s newcamd: initialized (fd=8, port=10002, crypted)
2010/02/10 1:13:32 532 s CAID: 1702
2010/02/10 1:13:32 532 s provid #0: 000000
2010/02/10 1:13:32 532 s newcamd: initialized (fd=9, port=15000, crypted)
2010/02/10 1:13:32 532 s CAID: 0D05
2010/02/10 1:13:32 532 s provid #0: 000004
2010/02/10 1:13:32 532 s newcamd: initialized (fd=10, port=15001, crypted)
2010/02/10 1:13:32 532 s CAID: 0500
2010/02/10 1:13:32 532 s provid #0: 023800
2010/02/10 1:13:32 532 s newcamd: initialized (fd=11, port=10003, crypted)
2010/02/10 1:13:32 532 s CAID: 1830
2010/02/10 1:13:32 532 s provid #0: 003411
2010/02/10 1:13:32 532 s radegast: disabled
2010/02/10 1:13:32 532 s resolver thread started
2010/02/10 1:13:32 532 s logger started (pid=534)
2010/02/10 1:13:32 532 s resolver started (pid=535, delay=30 sec)
2010/02/10 1:13:32 532 s reader started (pid=536, device=/dev/ttyUSB0, det
ect=cd, mhz=600, cardmhz=600)
2010/02/10 1:13:32 532 s proxy started (pid=537, server=192.168.0.2)
2010/02/10 1:13:32 532 s Waiting for local card init ....
2010/02/10 1:13:32 537 p03 cccam: proxy 192.168.0.2:12000 cccam v (), maxhop = 10 (fd=4, ridx=1)
2010/02/10 1:13:32 537 p03 connect(fd=4) failed: (errno=111)
2010/02/10 1:13:34 536 r02 card detected
2010/02/10 1:13:41 536 r02 Error activating card: 246
2010/02/10 1:13:48 536 r02 Error activating card: 246
^C2010/02/10 1:13:50 532 s exit with signal 2
2010/02/10 1:13:50 532 s cardserver down


P.s: When I switch to a sky Italia channel I can see my subcription for a while (10 seconds), than the picture stopped.

I'm sorry for the long post, but I need help

Mosquita
 
Last edited:

mosquita

Registered
Messages
12
Hy.
One step ahead....
Launching yesterday's oscam.

-------------------------------------------------------------------------------
**** OSCam << cardserver started at Thu Jan 1 03:00:50 1970
-------------------------------------------------------------------------------
1970/01/01 3:00:50 476 s version=0.99.4svn, build #1605, system=arm-coolstream-linux, nice=-1
1970/01/01 3:00:50 476 s max. clients=29, client max. idle=120 sec
1970/01/01 3:00:50 476 s max. logsize=unlimited
1970/01/01 3:00:50 476 s client timeout=5000 ms, fallback timeout=2000 ms, cache delay=20 ms
1970/01/01 3:00:50 476 s shared memory initialized (size=548064, fd=3)
1970/01/01 3:00:50 476 s auth size=4744
1970/01/01 3:00:50 476 s services reloaded: 0 services freed, 3 services loaded
1970/01/01 3:00:50 476 s userdb reloaded: 0 accounts freed, 2 accounts loaded, 0 expired, 0 disabled
1970/01/01 3:00:50 476 s signal handling initialized (type=sysv)
1970/01/01 3:00:50 476 s oscam.srvid loading failed, old format
1970/01/01 3:00:50 476 s 22 lengths for caid guessing loaded
1970/01/01 3:00:50 476 s monitor: disabled
1970/01/01 3:00:50 476 s camd 3.3x: disabled
1970/01/01 3:00:50 476 s camd 3.5x: disabled
1970/01/01 3:00:50 476 s cs378x: disabled
1970/01/01 3:00:50 476 s newcamd: initialized (fd=7, port=62200, crypted)
1970/01/01 3:00:50 476 s CAID: 0919
1970/01/01 3:00:50 476 s provid #0: 000000
1970/01/01 3:00:50 476 s radegast: disabled
1970/01/01 3:00:50 476 s resolver thread started
1970/01/01 3:00:50 476 s logger started (pid=478)
1970/01/01 3:00:50 476 s resolver started (pid=479, delay=15 sec)
1970/01/01 3:00:50 476 s reader started (pid=480, device=/dev/ttyUSB0, detect=cd, mhz=600, cardmhz=600)
1970/01/01 3:00:50 476 s anti cascading disabled
1970/01/01 3:01:04 480 r02 card detected
1970/01/01 3:01:07 480 r02 ATR: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
1970/01/01 3:01:07 480 r02 Specific mode: speed 'implicitly defined', not sure how to proceed, assuming default values
1970/01/01 3:01:07 480 r02 ERROR: Parse_ATR returned error
1970/01/01 3:01:07 480 r02 Error activating card.
1970/01/01 3:01:12 480 r02 ATR: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
1970/01/01 3:01:12 480 r02 Specific mode: speed 'implicitly defined', not sure how to proceed, assuming default values
1970/01/01 3:01:12 480 r02 ERROR: Parse_ATR returned error
1970/01/01 3:01:12 480 r02 Error activating card.
1970/01/01 3:01:16 480 r02 ATR: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
1970/01/01 3:01:17 480 r02 Maximum frequency for this card is formally 5 Mhz, clocking it to 6.00 Mhz
1970/01/01 3:01:18 480 r02 card system not supported
1970/01/01 3:01:22 480 r02 ATR: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
1970/01/01 3:01:23 480 r02 Maximum frequency for this card is formally 5 Mhz, clocking it to 6.00 Mhz
1970/01/01 3:01:24 480 r02 card system not supported
1970/01/01 3:01:24 480 r02 card initializing error

My smartcard is "alive" and updated.
What's the matter??
Nite
mosq
 
Top