PDA

View Full Version : Azbox & Viasat NDS card



Joex
10-09-2009, 10:07 AM
Hi,

I bought my azbox without checking if it could read my card.
That was a very bad idea - I have tried ever since to get it to work and getting very frustrated by now. The card i believe is similar to Sky italia.
The latest i read that newcs + mgcamd should work with the internal card reader for some cards. I'm not sure it works with mine but i tried and this what i get from telnet:


MMP[newcs]$ ./newcs
Reading Config file from /var/tuxbox/config/newcs.xml
Reading Config file from /EMU/OpenXCAS/newcs/newcs.xml
****** INTERNAL enabled
TCP-log password is disabled!
level: internal
type: all
output: console, tcp
logger config: level 16777215 type 255 output 5
Console log options: level 16777215 type 255
tcp port: 1001
TCP log options: level 16777215 type 255
[ 08:55:37 ] [ Box detect ] Box type 9
[ 08:55:37 ] [ Config ] hwkey not found !
[ 08:55:37 ] [ Config ] ekpair not found !
[ 08:55:37 ] [ Config ] /dev/scard ECM priority: hard
[ 08:55:37 ] [ Config ] No SIDFILTER is configured, disabling SidOverride for device 0 (upper)!
[ 08:55:37 ] [ Newcamd ] Server name : local
[ 08:55:37 ] [ Newcamd ] Des key : 0102030405060708091011121314
[ 08:55:37 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host 127.0.0.1, Port: 12000, Au: Off, Spider allowed: No, Sidoverride: No, reader control: No, level: 0
[ 08:55:37 ] [ EMM Cache ] Initialising Cache with 10 entries
[ 08:55:37 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 1076
[ 08:55:37 ] Calibrating delay loops
[ 08:55:37 ] usleep(5) takes: 0 s 14 us
[ 08:55:37 ] usleep(10) takes: 0 s 18 us
[ 08:55:37 ] usleep(100) takes: 0 s 107 us
[ 08:55:37 ] usleep(500) takes: 0 s 1020 us
[ 08:55:37 ] [ Loader ] Reader type 11 on node /dev/scard
[ 08:55:37 ] [ azbox ] Opening device /dev/scard
[ 08:55:39 ] ATR: 3F 7D 11 25 02 41 B0 03 69 FF 4A 50 F0 80 00 56
[ 08:55:39 ] ATR: 54 03
[ 08:55:39 ] [ ******* ] Atr header is 3F 7D [INVERSE]
[ 08:55:39 ] [ Loader ] Unknown card
[ 08:55:39 ] [ Loader ] Trying Irdeto (T=14)
[ 08:55:39 ] [ Loader ] Reader type 11 on node /dev/scard
[ 08:55:39 ] [ azbox ] Closing device /dev/scard
[ 08:55:39 ] [ azbox ] Opening device /dev/scard
[ 08:55:42 ] ATR: 3F 7D 11 25 02 41 B0 03 69 FF 4A 50 F0 80 00 56
[ 08:55:42 ] ATR: 54 03
[ 08:55:42 ] [ ******* ] Atr header is 3F 7D [INVERSE]
[ 08:55:42 ] [ Loader ] Unknown card
[ 08:55:42 ] [ NewCS ] Ready to GO! :)
MMP[newcs]$ My sign: CC 13 72 1B AF 96 C5
&

MMP[mgcamd]$ ./mgcamd
tuxbox mgcamd v1.33 by mixvt (compiled Mar 23 2009 15:02:24)
[mg] Net:9:7:2:5s Show ecm:1, emm:1 Up:1 Au:0 Dir:0 Osd:no:80:0 Cache:6 Log:3:172.16.1.1:8028 Reread:4
[mg] Ecm cache time: 15
Box type: azbox
Conax.Key error 2: No such file or directory
Keys readed
AutoRoll.Key error 2: No such file or directory
Conax.Key error 2: No such file or directory
[config] newcamd route = dummy:127.0.0.1:20000 server local
newcamd keep alive: 0, incoming port: 12000
Me: host id 0000 port 0 max send 10 max dist 10
Resend time: normal 3000 5000, nds 700 1500
Ports to monitor:
network port 12000 open: bind error 125: Address already in use
[OPENXCAS_API:Thu Sep 10 08:55:51.389] openxcas_open:285 ## mgcamd
[OPENXCAS_API:Thu Sep 10 08:55:51.394] load_xcas_control:98 ## loaded controller ID = 0x19760507
osdep_msq_server_open : key_request 0x54C4D100 key_response 0x54C4D101
osdep_msq_server_open : request msq is already created
osdep_msq_server_open : response msq is already created
osdep_msq_client_connect : key_request 0x54C4D100 key_response 0x54C4D101
[mgcam] emm thread started
[mgcamd] tps update started.
/EMU/OpenXCAS/mgcamd/tps.bin error 2: No such file or directory
[newcamd] Connecting to 127.0.0.1:20000...
[newcamd] Connection to 127.0.0.1:20000 failed (3ms)
newcs.xml:

<?xml version="1.0"?>
<newCSconfig>
<readers name="Card Readers">
<device>
<name>upper</name>
<type>azbox</type>
<node>/dev/scard</node>
<export>yes</export>
<enabled>yes</enabled>
<blocksa>no</blocksa>
<blockua>no</blockua>
<blockga>No</blockga>
<newcamd_port>20000</newcamd_port>
<autosid>no</autosid>
<carddetect>yes</carddetect>
<priority>hard</priority>
<PTShandshake>no</PTShandshake>
<mhz>500</mhz>
<boxkey>79FDC0E18D278138</boxkey>
<rsa>9ED52515321F04BCF7772151149D68951 54B559A8D825A4E7D711A9FAFD5C66BF6 4689501B254DF1832F754C21095379CF9 7B4E5BE6E0F1C9CEBF0A0E91D5ACD</rsa>
</device>
</readers>
<xmlserver>
<enabled>0</enabled>
</xmlserver>
<radegastserver>
<enabled>0</enabled>
</radegastserver>
<cache>
<emm>10</emm>
<ecm>-1</ecm>
</cache>
<debug>
<darint39>sintoi51</darint39>
<level>internal</level>
<type>all</type>
<output>console, tcp</output>
<logfile>/tmp/newcs.txt</logfile>
<console_options></console_options>
<file_options></file_options>
<udp_host>172.16.1.1</udp_host>
<udp_port>9000</udp_port>
<udp_options></udp_options>
<tcp_port>1001</tcp_port>
<tcp_options></tcp_options>
</debug>
<newcamdserver>
<enabled>yes</enabled>
<name>local</name>
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
<user>
<name>dummy</name>
<password>dummy</password>
<hostname>127.0.0.1</hostname>
<port>12000</port>
</user>
</newcamd_server>
</newCSconfig>



Azbox Firmware 0.9.2880 TD210


MMP[newcs]$ ./newcs -ver
This is NewCS 1.20 Release Candidate 13 - the New CardServer by Butter-team..
Compiled on Mar 23 2009 at 14:46:00


Any help will be much appreciated.

rtificial
10-09-2009, 10:50 AM
It seems the value for port in newcs.xml does not match the port you assign in mgcamd (20000 <> 12000)

Also I'm not sure about the location of the port.

Personally, I would remove hostname from the user configuration in newcs.

hanswurscht
10-09-2009, 11:08 AM
also unknown Card without Boxkey/RSA

I dont have a Card like this, try to get more Information.
Also try to use it with NewCS 1.67 and external Reader because 1.20R13 is quite old.
And simular to sky it-no it isnt, if it would be an NDS Cards

mp
10-09-2009, 11:33 AM
forget mgcamd for time being even if it does connect its no good unless newcs can read the card so park mgcamd and concentrate on newcs

also get rid of the radegast and xml server sections unless you intend to use them


get rid of the hostname and port in the user section

I beleive theses are the trickiest of all cards to get working I have seen an xml file somewhere on another forum and I beleive they were reading the card but had problems with the client

my suggestion would be to grab that xml file first you need to google as I cant say the forum on here but its starts with euro

with newcs 1.65 1.66 and 1.67 it will read an n d s 3 card without the box key but not sure about v i a s a t

hanswurscht
10-09-2009, 11:48 AM
most ND S need a Box key like 00000000
so no boxkey can also be a Problem

spinmar
10-09-2009, 12:46 PM
It seems from other forums that s*y it is read without problem with MultiCAS_v157E-D04. So you could test it.

mp
10-09-2009, 01:28 PM
most ND S need a Box key like 00000000
so no boxkey can also be a Problem

maybe for azbox but not dreambox

snakie
10-09-2009, 01:49 PM
Viasat card was fixed on 1.67 , especially the new ones are tricky.
You will need to supply the boxkey in the xml file.
If finally doesnt work for now, use Fausto on your pc and create a newcamd server for it to work with your AZ.

Joex
10-09-2009, 04:37 PM
First, thanks all for the help so far.
Replaced newcs with newcs 1.67 RC1. (Both with new and old xml and no change still loops reset failed)
It just loops. Don't you need a USB reader for that version or does it work with the internal reader?

MMP[newcs]$ ./newcs
This is NewCS 1.67 RC1 [Build: 95] - the New CardServer by the Butter-team..
Compiled on Jul 14 2009 at 12:01:50
Reading Config file from newcs.xml
TCP-log password is disabled!
TCP-log set to simple mode
level: internal
type: all
output: console, tcp
logger config: level 16777215 type 255 output 5
Console log options: level 16777215 type 255
TCP log options: level 16777215 type 255
[ 15:13:56 ] [ Box detect ] Box type 15 (Azbox)
[ 15:13:56 ] [ Config ] Option <blockc0> for device 0 (upper) not present, defaulting to NO
[ 15:13:56 ] [ Config ] Option <crypto-special> for device 0 (upper) not present, defaulting to NO
[ 15:13:56 ] [ Config ] Option <Seca-PPV> for device 0 (upper) not present, defaulting to NO
[ 15:13:56 ] [ Config ] Option <parity> for device 0 (upper) not present, defaulting to ODD
[ 15:13:56 ] [ Config ] Option <sid> for device 0 (upper) not present, no static sids added to filter
[ 15:13:56 ] [ Config ] Option <protectedsid> for device 0 (upper) not present, no PIN Code will be sent
[ 15:13:56 ] [ Config ] /dev/scard ECM priority: hard
[ 15:13:56 ] [ Newcamd ] Server name : local
[ 15:13:56 ] [ Newcamd ] Des key : 0102030405060708091011121314
[ 15:13:56 ] [ Config ] Option <au> not present for User: dummy, defaulting to OFF
[ 15:13:56 ] [ Config ] Option <spider> not present for User: dummy, defaulting to NO
[ 15:13:56 ] [ Config ] Option <sidoverride> not present for User: dummy, defaulting to OFF
[ 15:13:56 ] [ Config ] Option <readers> not present for User: dummy, NO reader control enabled
[ 15:13:56 ] [ Newcamd ] User 2: dummy, Pass: dummy, Host 127.0.0.1, Port: 12000, Au: Off, Spider allowed: No, Sidoverride: No, level: 0
[ 15:13:56 ] [ EMM Cache ] Initialising dynamic Cache
[ 15:13:56 ] [ ECM Cache ] Initialising dynamic Cache
[ NewCS ] Process ID is: 999
[ 15:13:56 ] Calibrating delay loops
[ 15:13:56 ] usleep(5) takes: 0 s 15 us
[ 15:13:56 ] usleep(10) takes: 0 s 17 us
[ 15:13:56 ] usleep(100) takes: 0 s 108 us
[ 15:13:56 ] usleep(500) takes: 0 s 584 us
[ 15:13:56 ] Allocation memory for 200 regular users
[ 15:13:56 ] [ Loader ] Starting Telnet on port 1001
[ 15:13:56 ] [ SockSrv ] Server thread started
[ 15:13:56 ] [ Loader ] Reader type 2 on node /dev/scard
[ 15:13:56 ] [ ******* ] Reseting reader parameters
[ 15:13:56 ] [ Phoenix ] Opening device /dev/scard
[ 15:13:56 ] [ Phoenix ] Setting Parity to: ODD
[ 15:13:56 ] [ Phoenix ] Setting 2 Stop bits on node /dev/scard
[ 15:13:56 ] [ Phoenix ] Setting Baud to standard 9600
[ 15:13:57 ] [ Phoenix ] Normal RESET on node /dev/scard
[ 15:13:59 ] [ Loader ] Reset failed ...
[ 15:13:59 ] [ Card queue /dev/scard ] Starting...
[ 15:13:59 ] [ Loader ] Starting Newcamd Server on port 20000
[ 15:13:59 ] [ Newcamd ] Newcamd thread Server started on port 20000
newcamd: main loop
[ 15:13:59 ] [ NewCS ] Ready to GO! :)
MMP[newcs]$ [ 15:13:59 ] [ Loader ] Reader type 2 on node /dev/scard
[ 15:13:59 ] [ ******* ] Reseting reader parameters
[ 15:13:59 ] [ Phoenix ] Opening device /dev/scard
[ 15:13:59 ] [ Phoenix ] Setting Parity to: ODD
[ 15:13:59 ] [ Phoenix ] Setting 2 Stop bits on node /dev/scard
[ 15:13:59 ] [ Phoenix ] Setting Baud to standard 9600
[ 15:14:00 ] [ Phoenix ] Normal RESET on node /dev/scard
[ 15:14:01 ] [ Loader ] Reset failed ...

Tried MultiCAS and ended up with "UNKNOWN CARD"

hanswurscht
10-09-2009, 04:45 PM
huh?
NewCS with scard?
Im sure I have tried that but doesnt recognice.
As I wrote, you need external reader for it like Smargo or FTDI

Leso
10-09-2009, 07:05 PM
I have no problem with my Viasat-card. I use MultiCas v157E-Do4 and firmware 0.93180.

scandinav33
10-09-2009, 07:12 PM
Hi,

It works on my azbox with newcs v1.6 and mgcamd v1.32 (downloaded from azboxworld.com). You just have to delete "<RSA>XXX</RSA>" in the newcs.xml file and edit the boxkey (it should be a 10 digit number).

Duden2002
10-09-2009, 08:04 PM
Well, I have heard that Via**** sweden (nordic?) is replacing old N D S 2 cards with new N D S 3 cards. Maybe you have got the new N D S 3 card?

Joex
11-09-2009, 07:47 AM
I tried with another card and it worked instantly with MultiCAS ,but still trouble with newcs. So i guess its because the card was N D S 3. Also the boxkey is 11 digit (HD)

Thanks all, gonna keep MultiCAS it works very well. Any suggestions for sharing. Mbox?

Btw, does anyone have problems with the sound via HDMI? Every time i change channel its gone and i have to change to HDMI 2 on my TV and then back to 1, so it refreshes. Tried the other HDMI ports on my TV and its the same. Also this happens on Youtube, movie playback etc.

Duden2002
11-09-2009, 08:08 AM
I did some research, the new Via**** N D S 3 cards should work in Newcs 1.67 with Mgcamd 1.30c and 1.30d and correct boxkey inserted.

To get the box key: remove the first and the last numeric (ex. 01234567895 becomes 123456789), then you should have a string of nine numerics. Convert it to hex using for example windows calc in advance mode, insert the number and press the hex button. Now you should have a hex which has seven letters, put a zero in front and thats the boxkey to insert in the newcs xml file.

Do you have the HD-channels as well? Please let me know if they work.

Joex
12-09-2009, 09:03 AM
I did some research, the new Via**** N D S 3 cards should work in Newcs 1.67 with Mgcamd 1.30c and 1.30d and correct boxkey inserted.

To get the box key: remove the first and the last numeric (ex. 01234567895 becomes 123456789), then you should have a string of nine numerics. Convert it to hex using for example windows calc in advance mode, insert the number and press the hex button. Now you should have a hex which has seven letters, put a zero in front and thats the boxkey to insert in the newcs xml file.

Do you have the HD-channels as well? Please let me know if they work.

I don't have an external card reader so I cant use that version.

Anyone have similar issue with the sound? And what to use together with multiCAS ?