Sponsored links


Go Back   Sat Industry Forums > Dreambox > DB Images > Plugins
Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-26-2004
Registered User
 
Join Date: Dec 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
apmav is on a distinguished road
Cardserver on Linux problem

I have configured cardserver on linux which works fine with one Irdeto card and phoenix programmer. I am trying to configure a seconde server with second card (on separate pc) but I have tried 3 different phoenix readers with no success. The card will be recognized as irdeto card, (reset) but it will fail to initialise. If I connect the phoenix programmer from the first server it works fine. It seems that it is the only programmer that works. The other 3 work fine if a test them with other software. The difference is that this programmer that works has transistors as rs232 line drivers, while the other 3 have max232 chip. I have a feeling it has something to do with handshake timing/buffers. Is there any timing parameters I can use in cardserver.conf?

Has anyone experienced similar problems?
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 08-15-2004
Registered User
 
Join Date: Apr 2004
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
uaepast is on a distinguished road
Hi,

if you're that far , it means u have experince many problmes in creating the server, which makes u in somehow expert!

so can you explain to me how to creat a linux server working with newcamd server to share my cards please?

i just need to start , so tell me what to do plz?
equipments, hardware, softwares?

i know about networking and computer, i can understand very quickly, so dont worry, tell me how to start it and leave the rest to me

thankx
regards,
uaepast@hotmail.com
Reply With Quote
  #3 (permalink)  
Old 08-15-2004
jpm jpm is offline
Registered User
 
Join Date: Jun 2003
Posts: 1,147
Thanks: 0
Thanked 1 Time in 1 Post
jpm is on a distinguished road
Check if the other Phoenix is in Smartmouse mode!!!
Reply With Quote
  #4 (permalink)  
Old 08-15-2004
meg's Avatar
meg meg is offline
Registered User
 
Join Date: Dec 2003
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
meg is on a distinguished road
Question Cardserver

So do I !
I need to start.
I have made many tries only with radegast server.

I would like to watch two video channels with two DB in a LAN.
What is very interesting for Olympic Games !
The 1rst DB is perfectly working with a C* smartcard. I would like to watch scramble channel on the 2nd one without change the smartcard.

As far as I understood
- 1st DB is running camd and rdgd
* camd unscrambled video with operational Key
* rdgd server read smartcard and provide operational key to camd

- 2nd DB is running camd, rdgd and netpilot
* camd unscrambled video with operational Key
* rdgd server read management key from netpilot and provide operational key to camd
* netpilot manage communication between both rdgd servers throught network

I did read radegast documentation (http://www.dreamsat.ru/radweb/internals.html) several times but I don't know if I am right or wrong !
I didn't see any radegast.cfg example file from the net.
Did anybody setup this configuration ?
Any help is welcome.

Reply With Quote
  #5 (permalink)  
Old 08-15-2004
jpm jpm is offline
Registered User
 
Join Date: Jun 2003
Posts: 1,147
Thanks: 0
Thanked 1 Time in 1 Post
jpm is on a distinguished road
Quote:
Originally Posted by meg
So do I !
As far as I understood
- 1st DB is running camd and rdgd
* camd unscrambled video with operational Key
* rdgd server read smartcard and provide operational key to camd

- 2nd DB is running camd, rdgd and netpilot
* camd unscrambled video with operational Key
* rdgd server read management key from netpilot and provide operational key to camd
* netpilot manage communication between both rdgd servers throught network
No! No keys are read (that's virtually impossible)
The softcam in the server intercepts the communication between smartcard and CAM, detects the CW (the final OK to the box to show a picture) and sends it to the client box

That's all
Reply With Quote
  #6 (permalink)  
Old 08-15-2004
meg's Avatar
meg meg is offline
Registered User
 
Join Date: Dec 2003
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
meg is on a distinguished road
Thanks a lot for your express answer jpm !
You mean, I misunderstood rdgd and camd roles.
Thank you !

Do you have any radegast.cfg example to provide ?
Reply With Quote
  #7 (permalink)  
Old 08-15-2004
jpm jpm is offline
Registered User
 
Join Date: Jun 2003
Posts: 1,147
Thanks: 0
Thanked 1 Time in 1 Post
jpm is on a distinguished road
Thumbs up Here you go

#
# radegast.conf
#
# $Id: radegast.cfg,v 1.28 2004/06/23 00:38:13 kingtut & The_Hydra Exp $
#
# Sample of configuration file for radegast project
#

# ---------------------------------------
# Client configuration (for rdgc or camd)
# ---------------------------------------
[camd]
#pmt = own|file|socket
pmt = file
#debug = 0

# PMT table magic
#ecm caid remove = caid:provid
# * Filter specified ECM stream off. Usefull when simulcrypt
# is used and is known that some of the ECM stream is unsupported
# (ie. when new cards are testing but not already at customers)

ecm caid remove = 1801:0000

#ecm caid remap = caid:provid:pid-old:pid-new
# * Remap ECM pid for some service. Usable
# - when provider sends fake ECM PID entry
# - when provider uses the same DW for more services
#ecm caid priority = ciad:provid (unimplemented)
#ecm caid fixed dw = caid:provid:dw_16hex (unimplemented)

dvb api = 2
# * DVB API version: 2 or 3
descr mode = v3api
# * Descrambler feeding method: v2api, file, v3api

demux index = 1
# * index = 1 for working timeshifting/recording
# on dreambox. But not works now because

#ecm flood lock = 0
#ecm flood release = 100

# -------------------------------
# Server configuration (for rdgd)
# -------------------------------
[rdgd]
#log file = /hdd/radegast.log
ecm op mode = both
emm op mode = local
# * filter EMM suport based on remote/local access. And possibility to disable
# EMM support at all

#ecm preffer = card
# * ECM processing order (card or softemu)

#emu mode = on
# * on/off softemu mode

#card mode = on
# * on/off card mode

sw cache = 0
ca cache = 0
# * cache level for softemu and card mode. 0 = cache off

#log level = 0

net port = 666
# * TCP port waiting for remote connection. As (by default) this port
# can handle _ONLY_ONE_ (!!!) remote connection the main use is
# for connecting netpilot to the rdgd. But in "2-boxes only"environment
# this port can be used directly for serving one remote connect.
# In this case, howewer, "net ip" has to be changed to real IP address
# of the box.

#net ip = 127.0.0.1
# * IP address where rdgd is waiting for network connection.
# By default, only connect from the same box is allowed.

local cmd pipe = /var/tmp/rdgd.cmd

#sottemu
softcam file = /var/keys/SoftCam.Key
conax file = /var/keys/Conax.Key
autoroll file = /var/keys/AutoRoll.Key
mkeys file = /var/keys/MK.Key

#slots
atr timeout = 2000
# * Timeout waiting for ATR. If rdgd has problems detecting card type
# then this value has to be increased.
# Warning: Using too high value may corrupt a normal rdgd processing!
# Use with caution.

sc card detect = 1
# * Possibility of use normal card detection mechanism.
# Warning: Usable only on newer boxes or harware (sc resistors) patched ones!


#slots
readers = 0
#reader 1 type = sc
#reader 1 name = /dev/sci0
#reader 1 speed = 9600
#reader 1 parity = E
#reader 1 timeout = 1000
#reader 1 log mask = 0
#reader 1 nagra boxkey =
reader 1 blocker = off
#reader 2 type = sc
#reader 2 name = /dev/sci1
#reader 2 speed = 9600
#reader 2 parity = E
#reader 2 timeout = 1000
#reader 2 log mask = 0
#reader 2 nagra boxkey =
reader 2 blocker = off
#reader 3 type = phoenix
#reader 3 name = /dev/tts/0
#reader 3 speed = 9600
#reader 3 parity = E
#reader 3 timeout = 1000
#reader 3 log mask = 0
#reader 3 nagra boxkey =
reader 3 blocker = off

# reader 1 special = tunnel
# * special features, like tunneled cards (ie. conax tunneled over via)

#remote boxes
net routes = 2
net route 1 = 17:0:192.168.0.10:678:0:username:password:11223344 55667788
net route 2 = 17:0:someserver.com:678:0:username:password:112233 4455667788
#net route 3 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 4 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 5 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 6 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 7 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 8 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 9 = 0D:0d01:192.168.1.202:666:0:username:password:key

net timeout = 1000
# * Timeout for network I/O operations when rdgd
# acts as client

#max clients = 1
# * Possibility to enable remote multi-access
# to rdgd. But note: without authentication
# and encryption support !!!

# ----------------------
# NetPilot configuration
# ----------------------
[netpilot]
#shared port = 678
netpilot daemon = /var/bin/netpilot
rdgd daemon = /var/bin/rdgd

#Popups from Netpilot to enigma
# Address is localhost by default
# port should be 80 (the HTTP port of enigma)
enigma address = 127.0.0.1
enigma port = 80
show popups = off

#shared info file = /var/tmp/shared.info (unimplemented)

authentication = off

stat time = 0
# * transaction statistics
# statistics interval in minutes (0 = disable)
Reply With Quote
  #8 (permalink)  
Old 08-16-2004
Registered User
 
Join Date: Dec 2003
Posts: 164
Thanks: 0
Thanked 0 Times in 0 Posts
zigzag2 is on a distinguished road
Quote:
Originally Posted by apmav
I have configured cardserver on linux which works fine with one Irdeto card and phoenix programmer. I am trying to configure a seconde server with second card (on separate pc) but I have tried 3 different phoenix readers with no success. The card will be recognized as irdeto card, (reset) but it will fail to initialise. If I connect the phoenix programmer from the first server it works fine. It seems that it is the only programmer that works. The other 3 work fine if a test them with other software. The difference is that this programmer that works has transistors as rs232 line drivers, while the other 3 have max232 chip. I have a feeling it has something to do with handshake timing/buffers. Is there any timing parameters I can use in cardserver.conf?

Has anyone experienced similar problems?
The max232 is quite power consuming, do u have a extra power adapter connected to it? i think u need that to make it work properly
Reply With Quote
  #9 (permalink)  
Old 08-16-2004
meg's Avatar
meg meg is offline
Registered User
 
Join Date: Dec 2003
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
meg is on a distinguished road
Question

First of all, thank you jpm !

It doesn't work anymore but a lot of progresses have been done.
I survey the network communication with a protocol analyser. I can see the DB client (192.168.0.15) connecting to the DB server (192.168.0.5). When the conection is established, I can see several [PSH, ACK] paquets from client and several [ACK] answers from server. Unfortunately, the data section in Ethernet frame is unreadable.

I can watch the TV connected to DB server. The TV connected to DB client still stay black.

Here are both configuration files (client first, then server).
#
# radegast.conf
#
# $Id: radegast.cfg,v 1.28 2004/06/23 00:38:13 kingtut & The_Hydra Exp $
#
# My configuration file for radegast client
#

# ---------------------------------------
# Client configuration (for rdgc or camd)
# ---------------------------------------
[camd]
#pmt = own|file|socket
pmt = file
debug = 0

# PMT table magic
#ecm caid remove = caid:provid

ecm caid remove = 1801:0000

#ecm caid remap = caid:provid:pid-old:pid-new
# * Remap ECM pid for some service. Usable
# - when provider sends fake ECM PID entry
# - when provider uses the same DW for more services
#ecm caid priority = ciad:provid (unimplemented)
#ecm caid fixed dw = caid:provid:dw_16hex (unimplemented)

dvb api = 2
# * DVB API version: 2 or 3
descr mode = v3api
# * Descrambler feeding method: v2api, file, v3api

demux index = 1

#ecm flood lock = 0
#ecm flood release = 100

# -------------------------------
# Server configuration (for rdgd)
# -------------------------------
[rdgd]
log file = /tmp/radegast.log
ecm op mode = both
emm op mode = local
# * filter EMM suport based on remote/local access. And possibility to disable
# EMM support at all

#ecm preffer = card
# * ECM processing order (card or softemu)

#emu mode = on
# * on/off softemu mode

#card mode = on
# * on/off card mode

sw cache = 0
ca cache = 0
# * cache level for softemu and card mode. 0 = cache off

#log level = 0

net port = 666

#net ip = 127.0.0.1

local cmd pipe = /var/tmp/rdgd.cmd

#sottemu
softcam file = /var/keys/SoftCam.Key
conax file = /var/keys/Conax.Key
autoroll file = /var/keys/AutoRoll.Key
mkeys file = /var/keys/MK.Key

#slots
atr timeout = 2000

sc card detect = 1

#slots
readers = 0
#reader 1 type = sc
#reader 1 name = /dev/sci0
#reader 1 speed = 9600
#reader 1 parity = E
#reader 1 timeout = 1000
#reader 1 log mask = 0
#reader 1 nagra boxkey =
reader 1 blocker = off
#reader 2 type = sc
#reader 2 name = /dev/sci1
#reader 2 speed = 9600
#reader 2 parity = E
#reader 2 timeout = 1000
#reader 2 log mask = 0
#reader 2 nagra boxkey =
reader 2 blocker = off
#reader 3 type = phoenix
#reader 3 name = /dev/tts/0
#reader 3 speed = 9600
#reader 3 parity = E
#reader 3 timeout = 1000
#reader 3 log mask = 0
#reader 3 nagra boxkey =
reader 3 blocker = off

# reader 1 special = tunnel

#remote boxes
net routes = 2
net route 1 = 01:0:192.168.0.5:666:0:meg:password:11223344556677 88
net route 2 = 05:0:192.168.0.5:666:0:meg:password:11223344556677 88
#net route 3 = 18:0:192.168.0.5:666:0:meg:password:11223344556677 88
#net route 4 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 5 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 6 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 7 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 8 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 9 = 0D:0d01:192.168.1.202:666:0:username:password:key

net timeout = 1000

#max clients = 1

# ----------------------
# NetPilot configuration
# ----------------------
[netpilot]
#shared port = 678
netpilot daemon = /var/bin/netpilot
rdgd daemon = /var/bin/rdgd

enigma address = 127.0.0.1
enigma port = 80
show popups = off

authentication = off

stat time = 0
# End of client config

#
# radegast.conf
#
# $Id: radegast.cfg,v 1.28 2004/06/23 00:38:13 kingtut & The_Hydra Exp $
#
# My configuration file for radegast server
#

# ---------------------------------------
# Client configuration (for rdgc or camd)
# ---------------------------------------
[camd]
#pmt = own|file|socket
pmt = file
debug = 0

# PMT table magic
#ecm caid remove = caid:provid
# * Filter specified ECM stream off. Usefull when simulcrypt
# is used and is known that some of the ECM stream is unsupported
# (ie. when new cards are testing but not already at customers)

ecm caid remove = 1801:0000

#ecm caid remap = caid:provid:pid-old:pid-new
# * Remap ECM pid for some service. Usable
# - when provider sends fake ECM PID entry
# - when provider uses the same DW for more services
#ecm caid priority = ciad:provid (unimplemented)
#ecm caid fixed dw = caid:provid:dw_16hex (unimplemented)

dvb api = 2
# * DVB API version: 2 or 3
descr mode = v3api
# * Descrambler feeding method: v2api, file, v3api

demux index = 1
# * index = 1 for working timeshifting/recording
# on dreambox. But not works now because

#ecm flood lock = 0
#ecm flood release = 100

# -------------------------------
# Server configuration (for rdgd)
# -------------------------------
[rdgd]
log file = /tmp/radegast.log
ecm op mode = both
emm op mode = local

#ecm preffer = card
# * ECM processing order (card or softemu)

#emu mode = on
# * on/off softemu mode

#card mode = on
# * on/off card mode

sw cache = 0
ca cache = 0
# * cache level for softemu and card mode. 0 = cache off

#log level = 0

net port = 666

net ip = 192.168.0.5

local cmd pipe = /var/tmp/rdgd.cmd

#sottemu
softcam file = /var/keys/SoftCam.Key
conax file = /var/keys/Conax.Key
autoroll file = /var/keys/AutoRoll.Key
mkeys file = /var/keys/MK.Key

#slots
atr timeout = 2000

sc card detect = 1

#slots
readers = 1
reader 1 type = sc
reader 1 name = /dev/sci0
#reader 1 speed = 9600
#reader 1 parity = E
#reader 1 timeout = 1000
#reader 1 log mask = 0
#reader 1 nagra boxkey =
reader 1 blocker = off
#reader 2 type = sc
#reader 2 name = /dev/sci1
#reader 2 speed = 9600
#reader 2 parity = E
#reader 2 timeout = 1000
#reader 2 log mask = 0
#reader 2 nagra boxkey =
reader 2 blocker = off
#reader 3 type = phoenix
#reader 3 name = /dev/tts/0
#reader 3 speed = 9600
#reader 3 parity = E
#reader 3 timeout = 1000
#reader 3 log mask = 0
#reader 3 nagra boxkey =
reader 3 blocker = off

# reader 1 special = tunnel
# * special features, like tunneled cards (ie. conax tunneled over via)

#remote boxes
net routes = 0
#net route 1 = 01:0:192.168.0.15:678:0:username:password:11223344 55667788
#net route 2 = 05:0:192.168.0.15:678:0:username:password:11223344 55667788
#net route 3 = 18:0:192.168.0.15:678:0:username:password:11223344 55667788
#net route 4 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 5 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 6 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 7 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 8 = 0D:0d01:192.168.1.202:666:0:username:password:key
#net route 9 = 0D:0d01:192.168.1.202:666:0:username:password:key

net timeout = 1000

#max clients = 1

# ----------------------
# NetPilot configuration
# ----------------------
[netpilot]
shared port = 678
netpilot daemon = /var/bin/netpilot
rdgd daemon = /var/bin/rdgd

enigma address = 127.0.0.1
enigma port = 80
show popups = off

authentication = on

stat time = 0
# End of server config


Any further help is welcoime !
Reply With Quote
  #10 (permalink)  
Old 08-19-2004
Registered User
 
Join Date: Nov 2003
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
venom is on a distinguished road
Here is my configuration files that worked with an I2 card. I did had some card date update (I think) problems that caused my card to freeze every almost 24H, and I was needed to insert the card to my good old humax to force update and then back to dreambox server. Anyway I believe this problem is due to nature of I2 cards, other CA systems my work as expected.

Here comes Server radegast.cfg :

[camd]
pmt = file
ecm caid remove = 1801:0000
dvb api = 2
descr mode = v3api
demux index = 1
ecm flood lock = 5
ecm flood release = 200

[rdgd]
ecm op mode = both
emm op mode = local
ecm preffer = card
sw cache = 3
ca cache = 3
net port = 666
local cmd pipe = /var/tmp/rdgd.cmd
softcam file = /var/keys/SoftCam.Key
conax file = /var/keys/Conax.Key
autoroll file = /var/keys/AutoRoll.Key
mkeys file = /var/keys/MK.Key
atr timeout = 2000
sc card detect = 1
readers = 1
reader 1 type = sc
reader 1 name = /dev/sci1
reader 1 blocker = off
reader 2 blocker = off
reader 3 blocker = off
net routes = 0
net timeout = 10000

[netpilot]
shared port = 678
netpilot daemon = /var/bin/netpilot
rdgd daemon = /var/bin/rdgd
enigma address = 192.168.0.150
enigma port = 80
show popups = on
authentication = off

stat time = 1






And Clients Radegast.cfg :

[camd]
pmt = file
ecm caid remove = 1801:0000
dvb api = 2
descr mode = v3api
demux index = 1
ecm flood lock = 5
ecm flood release = 200

[rdgd]

ecm op mode = both
emm op mode = local
ecm preffer = card
sw cache = 3
ca cache = 3
net port = 666
local cmd pipe = /var/tmp/rdgd.cmd
softcam file = /var/keys/SoftCam.Key
conax file = /var/keys/Conax.Key
autoroll file = /var/keys/AutoRoll.Key
mkeys file = /var/keys/MK.Key
atr timeout = 2000
sc card detect = 1
readers = 0
net routes = 1
net route 1 = 06:0:192.168.0.150:678:0
net timeout = 10000

[netpilot]
shared port = 678
netpilot daemon = /var/bin/netpilot
rdgd daemon = /var/bin/rdgd

enigma address = 192.168.0.151
enigma port = 80
show popups = off
authentication = off
stat time = 1



I was using both on server and on six clients radegast beta 10.
I was switched to newcamd when 5.14 version released.
I believe that newcamd works better in network enviroment but has a bit more difficult configuration.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newcamd problem when cardspider running on separate linux DK1122 Dreamulators 15 08-20-2007 05:20 PM
linux cardserver en updates han12345 Dreambox Forum 0 01-29-2005 01:54 AM
Linux Cardserver & Dreambox client PROBLEM! nonodream Dreambox Development 8 01-18-2005 04:57 AM
Linux cardserver Big Ben Dreambox Hardware 5 12-29-2004 10:16 PM
multiple phoenix interfaces with cardserver in linux stickman Plugins 12 10-19-2004 06:16 AM


All times are GMT +10. The time now is 08:30 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Page generated in 0.54810 seconds with 10 queries