Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


483 posts

Ultimate Geek

Trusted

Topic # 66101 12-Aug-2010 10:41
Send private message

Oscam is a card reader for pay television.

It does the same effective job as either CCcam, or NewCS.  Unlike the other two it has an active development community and is effectively open source.

This setup guide assumes you have a Jaycar Reader, NZ45XX card, using a standard serial port of COM1.  You will need to adjust the config files if you don't. 

Performance using this config is excellent (averages 200~ms across 3 tuners), if your using a USB to serial converter this may perform poorly. 

If you not using COM1 you will need to adjust oscam.server accordingly (just use notepad).

It is also setup for two tuners with the users viewer1 and viewer2.

Download the following zipped folder:

http://depositfiles.com/files/wfiwwbqv5

1.  Unzip this folder to C:\

Which should leave you with a folder and files called C:\Oscam\

2.  Make a shortcut to the file "Oscam.exe".

3.  Copy this shortcut to your startup folder (goto Start-->All Programs-->Startup right click "Open all users", drag and drop the icon into this folder).

4  Either start Oscam.exe using the shortcut or the Oscam.exe (you probably want to untick the annoying checkbox message which will appear the first time you run it), or reboot.

There you have it... Oscam setup ready to go for NZ.  Wow that was hard...

For the cardclient.conf file (for ACamd 0.6.1.8):

For the first tuner:
newcamd:localhost:15000:1/096A/FFFF:viewer1:password1:0102030405060708091011121314

For all the others
newcamd:localhost:15000:0/096A/FFFF:viewer2:password2:0102030405060708091011121314

If your using more than 2 tuners you'll need to adjust the user config files to include viewer3/4/5:password3/4/5 etc etc.

You can view the console using http://127.0.0.1:16000 in any old browser.

There you go... works like a dream...

Now go get your Virtualbox setup, Dreambox, Nuo Vuo whatever's and put them in the bin...

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3 | 4

Des

54 posts

Master Geek


  Reply # 366704 12-Aug-2010 11:36
Send private message

That's basically awesome!  Thanks so much man!

However...set it up exactly as you said, inserted the sky card and started OSCam.  This is what happened:


-------------------------------------------------------------------------------
>> OSCam <<  cardserver started at Thu Aug 12 11:22:51 2010
-------------------------------------------------------------------------------
2010/08/12 11:22:51   3404 s   version=0.99.4svn, build #2859, system=i386-pc-cy
gwin, nice=-1
2010/08/12 11:22:51   3404 s   max. clients=509, client max. idle=120 sec
2010/08/12 11:22:51   3404 s   max. logsize=10 Kb
2010/08/12 11:22:51   3404 s   client timeout=5000 ms, fallback timeout=2500 ms,
 cache delay=0 ms
2010/08/12 11:22:51   3404 s   shared memory initialized (size=4327794, fd=3)
2010/08/12 11:22:51   3404 s   auth size=4764
2010/08/12 11:22:51   3404 s   Cannot open file "./oscam.services" (errno=2)
2010/08/12 11:22:51   3404 s   userdb reloaded: 0 accounts freed, 2 accounts loa
ded, 0 expired, 0 disabled
2010/08/12 11:22:51   3404 s   signal handling initialized (type=sysv)
2010/08/12 11:22:51   3404 s   can't open file "./oscam.srvid" (err=2), no servi
ce-id's loaded
2010/08/12 11:22:51   3404 s   can't open file "./oscam.provid" (err=2), no prov
ids's loaded
2010/08/12 11:22:51   3404 s   monitor: disabled
2010/08/12 11:22:51   3404 s   camd 3.3x: disabled
2010/08/12 11:22:51   3404 s   camd 3.5x: disabled
2010/08/12 11:22:51   3404 s   cs378x: disabled
2010/08/12 11:22:51   3404 s   newcamd: initialized (fd=7, port=15000, crypted)
2010/08/12 11:22:51   3404 s   CAID: 096A
2010/08/12 11:22:51   3404 s   provid #0: 000000
2010/08/12 11:22:51   3404 s   cccam: disabled
2010/08/12 11:22:51   3404 s   radegast: disabled
2010/08/12 11:22:51   3404 s   logger started (pid=1600)
2010/08/12 11:22:51   3404 s   http started (pid=2340)
2010/08/12 11:22:51   3404 s   reader started (pid=3096, device=/dev/com1, detec
t=ring, mhz=357, cardmhz=357)
2010/08/12 11:22:51   3404 s   waiting for local card init
2010/08/12 11:22:51   2340 h   HTTP Server listening on port 16000
2010/08/12 11:22:53   3096 r02 card detected
2010/08/12 11:23:03   3096 r02 Error activating card.
2010/08/12 11:23:12   3096 r02 Error activating card.
2010/08/12 11:23:22   3096 r02 Error activating card.
2010/08/12 11:23:32   3096 r02 Error activating card.
2010/08/12 11:23:41   3096 r02 Error activating card.
2010/08/12 11:23:42   3096 r02 card initializing error
2010/08/12 11:23:42   3404 s   init for all local cards done
2010/08/12 11:23:42   3404 s   anti cascading disabled
 
I ASSUME that the error activating card part is an error?  Do you have any idea why there'd be that error? 



483 posts

Ultimate Geek

Trusted

  Reply # 366708 12-Aug-2010 11:42
Send private message

How's your jaycar setup?

It should be:
Switch Pushed in
Crystal on 3.57
Jumper on Phoenix

Its definitely found the reader, but can't read the card...

If everythings setup correctly, try a power off/power on and see if that helps...

Des

54 posts

Master Geek


  Reply # 366724 12-Aug-2010 12:04
Send private message

Yep, that's how I have it set up. I rebooted the computer, with the same result...and then I pulled the power out on the card reader and plugged it in...and I got the following:

-------------------------------------------------------------------------------
>> OSCam << cardserver started at Thu Aug 12 11:52:06 2010
-------------------------------------------------------------------------------
2010/08/12 11:52:06 4108 s version=0.99.4svn, build #2859, system=i386-pc-cy
gwin, nice=-1
2010/08/12 11:52:06 4108 s max. clients=509, client max. idle=120 sec
2010/08/12 11:52:06 4108 s max. logsize=10 Kb
2010/08/12 11:52:06 4108 s client timeout=5000 ms, fallback timeout=2500 ms,
cache delay=0 ms
2010/08/12 11:52:06 4108 s shared memory initialized (size=4327794, fd=3)
2010/08/12 11:52:06 4108 s auth size=xxxx
2010/08/12 11:52:06 4108 s Cannot open file "./oscam.services" (errno=2)
2010/08/12 11:52:06 4108 s userdb reloaded: 0 accounts freed, 2 accounts loa
ded, 0 expired, 0 disabled
2010/08/12 11:52:06 4108 s signal handling initialized (type=sysv)
2010/08/12 11:52:06 4108 s can't open file "./oscam.srvid" (err=2), no servi
ce-id's loaded
2010/08/12 11:52:06 4108 s can't open file "./oscam.provid" (err=2), no prov
ids's loaded
2010/08/12 11:52:06 4108 s monitor: disabled
2010/08/12 11:52:06 4108 s camd 3.3x: disabled
2010/08/12 11:52:06 4108 s camd 3.5x: disabled
2010/08/12 11:52:06 4108 s cs378x: disabled
2010/08/12 11:52:06 4108 s newcamd: initialized (fd=7, port=15000, crypted)
2010/08/12 11:52:06 4108 s CAID: 096A
2010/08/12 11:52:06 4108 s provid #0: 000000
2010/08/12 11:52:06 4108 s cccam: disabled
2010/08/12 11:52:06 4108 s radegast: disabled
2010/08/12 11:52:06 4108 s logger started (pid=2604)
2010/08/12 11:52:06 4108 s http started (pid=3996)
2010/08/12 11:52:06 4108 s reader started (pid=3016, device=/dev/com1, detec
t=ring, mhz=357, cardmhz=357)
2010/08/12 11:52:06 4108 s waiting for local card init
2010/08/12 11:52:06 3996 h HTTP Server listening on port 16000
2010/08/12 11:52:09 3016 r02 card detected
2010/08/12 11:52:13 3016 r02 ATR: 3F FF 13 25 03 10 80 33 B0 10 69 FF 4A 50 70
00 00 4E 5A 01 00 00
2010/08/12 11:52:14 3016 r02 Maximum frequency for this card is formally 5 Mhz
, clocking it to 3.57 Mhz
2010/08/12 11:52:16 3016 r02 [videoguard2-reader] type: VideoGuard, caid: xxxx
, serial: xxxxxxx, BoxID: xxxxxxx
2010/08/12 11:52:16 3016 r02 [videoguard2-reader] ready for requests
2010/08/12 11:52:16 3016 r02 [videoguard2-reader] card detected
2010/08/12 11:52:16 3016 r02 [videoguard2-reader] type: VideoGuard
2010/08/12 11:52:16 3016 r02 [videoguard2-reader] tier: 00fe, expiry date:
2010/08/12 11:52:16 3016 r02 [videoguard2-reader] tier: 00ff, expiry date:
2010/08/12 11:52:17 3016 r02 [videoguard2-reader] tier: 0fa0, expiry date:
2010/08/12 11:52:17 3016 r02 [videoguard2-reader] tier: 0faa, expiry date:
2010/08/12 11:52:17 3016 r02 [videoguard2-reader] tier: 0fb4, expiry date:
2010/08/12 11:52:17 4108 s init for all local cards done
2010/08/12 11:52:17 4108 s anti cascading disabled

Which....=win, right?!

1991 posts

Uber Geek
+1 received by user: 264

Subscriber

  Reply # 366728 12-Aug-2010 12:13
Send private message

Nice. Rusty put me onto this setup a couple of weeks ago and it works a treat (although I think it might (have) be(en) conflicting with something else I have installed on my HTPC.

Now just waiting to see if this setup finally gives us card updates. Stay tuned.



483 posts

Ultimate Geek

Trusted

  Reply # 366730 12-Aug-2010 12:14
Send private message

Yep - your good to go... Might want to delete all your details pretty quick before your card gets canned... especially get rid of the boxid bit... fast...

Des

54 posts

Master Geek


  Reply # 366737 12-Aug-2010 12:26
Send private message

Ah no, really?!  How? I can't see any delete links



483 posts

Ultimate Geek

Trusted

  Reply # 366738 12-Aug-2010 12:27
Send private message

Edit your post and just delete the logfile bits...

1991 posts

Uber Geek
+1 received by user: 264

Subscriber

  Reply # 366740 12-Aug-2010 12:28
Send private message

You are past the 5 min "edit window" now so will have to ask one of the mods to edit your post for you...

Des

54 posts

Master Geek


  Reply # 366741 12-Aug-2010 12:29
Send private message

Ah, lame...that's what I was thinking, I couldn't see edit except for my most recent post.

Des

54 posts

Master Geek


  Reply # 366744 12-Aug-2010 12:37
Send private message

If anyone with that ability is watching, could you PLEASE clean my posts up?  I didn't even think about it having personal id stuff in it.



483 posts

Ultimate Geek

Trusted

  Reply # 366748 12-Aug-2010 12:40
Send private message

Better watch out Des, be some black Murdoch helicopters above your house soon...

May as well run out on to the street naked with your hands in the air now...

Maybe PM one of the mods...

1677 posts

Uber Geek
+1 received by user: 7

Trusted

  Reply # 367050 13-Aug-2010 09:52
Send private message

interesting and helpful, good stuff.

I played with Oscam for a while.... I honestly didn't find it any better than NewCS/CCcam

If I didn't need to share my card [across a LAN], i'd actually use SCAM, that works perfectly well too.

27 posts

Geek


  Reply # 367903 15-Aug-2010 17:20
Send private message

I haven't installed oscam yet but found this information regarding EMM updates and noticed that it was different to the config provided in the original post. Might be a red herring.


===========================================================
Hi,

I get Emm in OSCam for me like this:

## reader config
[reader]
Label = SKY
Protocol = internal
Detect = CD
Device = /dev/sci0
##Customspeed = 0
#mhz = 600
EMMCache = 1,3,2
group = 1

##user config
[account]
user = ....
pwd = ....
group = 1
uniq = 0
au = SKY

=> in the user config "au" must have the "label" of the reader to send them Emms

============================================================



483 posts

Ultimate Geek

Trusted

  Reply # 367987 15-Aug-2010 21:01
Send private message

whereisglenn: I haven't installed oscam yet but found this information regarding EMM updates and noticed that it was different to the config provided in the original post. Might be a red herring.


===========================================================
Hi,

I get Emm in OSCam for me like this:

## reader config
[reader]
Label = SKY
Protocol = internal
Detect = CD
Device = /dev/sci0
##Customspeed = 0
#mhz = 600
EMMCache = 1,3,2
group = 1

##user config
[account]
user = ....
pwd = ....
group = 1
uniq = 0
au = SKY

=> in the user config "au" must have the "label" of the reader to send them Emms

============================================================


The label is simply the name of the "reader", it could be anything - from memory I think I called it Jaycar...

The config I posted up certainly sees the EMM updates, and shows them as being processed, but then again so did CCCam (but didn't actually update the card).

I haven't been running it for long enough to see if the entitlement dates actually change, have to wait about another month before my next lot are due.




483 posts

Ultimate Geek

Trusted

  Reply # 367993 15-Aug-2010 21:17
Send private message

allstarnz: interesting and helpful, good stuff.

I played with Oscam for a while.... I honestly didn't find it any better than NewCS/CCcam

If I didn't need to share my card [across a LAN], i'd actually use SCAM, that works perfectly well too.


Did you run it on a Dreambox or Windows?

Under Windows the version I posted up performs pretty well.

If your running 2 or more tuners, it easily outperforms any other Windows based solution (which means NewCS 1.65).  Nothing else I've seen comes anywhere near it, even though its running as a hybri using Cygwin.  It averages 200~ms across 3 HD tuners, which is pretty good...

NewCS for Windows is fine on a single card, but once you add multiple tuners, performance tends to vary greatly depending on what machine your running it on...  Get to three tuners with it and your starting to push you luck, maybe even booking a free ticket to glitch city...

I've found Oscam alot more consistent than any of the Virtualbox based stuff, including NewCS 1.67 or CCCam 2.1.4.  While I didn't have any problems with glitching with either of them, Oscam has smoothed out the channel changes/channel settling time. 

I think Satch was getting pretty incosistent performance with the Virtualbox setup, which I believe Oscam seems to have fixed (or at least he seems to have stopped whining about it).  I'd say this is mostly to do with Virtualbox and resource allocation - but running under Windows, until recently the choices have been pretty limited.

I know Dreambox users have had fairly inconsistent performance, but the version I posted up with a Jaycar reader seems to be going pretty well on all the machines I've put it on.

Certainly if your using a Jaycar reader and running Windows I wouldn't bother with anything else right now.


 1 | 2 | 3 | 4
View this topic in a long page with up to 500 replies per page Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.