NewCS+Newcamd+Kaapelikortti ei pelitä

Sivustoa
		sponsoroi SatShop.fi

legenda

Huoltovalikon jäsen
NewCS+Newcamd+Kaapelikortti ei pelitä

Elikä yritän saada toimimaan TTV:n kaapelikorttia Newcamd+NewCS-yhdistelmällä. Newcamd raportoi OSD:lle vain "can't decode". NewCS tuntuisi löytävän kortin, muttei jostain syystä avaa porttia yhteydenottoja varten. Miten tässä pitäisi edetä? Imagena uusin PLi (Helenite) ja uusimmat Newcamd ja NewCS.

Liitän mukaan lokia:

Koodi:
==== NewCS output ====
root@dreambox ~ # newcs
Reading Config file from /var/tuxbox/config/newcs.xml
TCP-log password is disabled.
level: normal
type: init
output: all
logger config: level 1 type 3 output 255
Console log options: level 1 type 3
log file:
logger: cant open file , file log disabled
udp log: host 192.168.1.10 port 1000
UDP log options: level 1 type 3
tcp port: 3001
TCP log options: level 1 type 3
[ 23:55:01 ] [ Box detect ] Box type 2
[ 23:55:01 ] [ Config ] Option <mhz> for device 0 (lower) not present, defaulting to 357
[ 23:55:01 ] [ Config ] /dev/sci0 ECM priority: round
[ 23:55:01 ] [ EMM Cache ] Initialising Cache with 10 entries
[ 23:55:01 ] [ ECM Cache ] Initialising Cache with 10 entries
[ NewCS ] Process ID is: 1167
[ 23:55:01 ] [ Loader ] Reader type 5 on node /dev/sci0
[ 23:55:01 ] [ Sci ] Opening device /dev/sci0
[ 23:55:06 ] [ ATR ] T=0  1etu=372.00us  Guardtime:12etu  WWT:9600etu
[ 23:55:06 ] [ ATR ] Historical bytes: 0 B 0 0
[ 23:55:06 ] [ Loader ] Init Conax card
[ 23:55:06 ] [ Keyman ] Adding key 50F98372 type 0 on Provider 000000 for caid 0B00 ID=0
[ 23:55:06 ] [ Keyman ] Adding key 287CC1 type 1 on Provider 000000 for caid 0B00 ID=0
[ 23:55:06 ] [ Loader ] Card 0B00 on port /dev/sci0 ready
[ 23:55:06 ] [ NewCS ] Ready to GO. :)

Koodi:
==== Newcamd output ====
root@dreambox ~ # newcamd
[newcamd-v6.10 23:57:23] compiled May  9 2006, 17:19:17
[newcamd-v6.10 23:57:23] loading keys and roms
[newcamd-v6.10 23:57:23] nagra au supports roms: none
[newcamd-v6.10 23:57:23] keys and roms loaded
[newcamd-v6.10 23:57:23] cws 127.0.0.1:34000: Connection refused
[newcamd-v6.10 23:57:23] start decoding servid 1b8a, pmt 1906.
[newcamd-v6.10 23:57:23] can't decode

Koodi:
==== /var/tuxbox/config/newcs.xml ====
<?xml version="1.0"?>
<.--

For setup-issues, look in readme.txt.
If there are other troubles, try different forums or irc channels around :o)

-->



<newCSconfig>
	
	<readers name="Card Readers">
		<device>
			<name>lower</name>
			<type>Sci</type>
			<node>/dev/sci0</node>
			<export>yes</export>
			<enabled>yes</enabled>
			<blocksa>No</blocksa>
			<blockua>No</blockua>
			<blockga>No</blockga>
			<PTShandshake>no</PTShandshake> 
			<crypto-special>no</crypto-special>
			<carddetect>yes</carddetect>
			<newcamd_port>34000</newcamd_port>
			<priority>round</priority> 
			<autosid>yes</autosid>
			<Seca-PPV>yes</Seca-PPV>
		</device>

	</readers>
	
	<radegastserver>
			<.-- valid value for enable are: 
				 0,1 - Enable or Disable radegast server.	-->	
			<enabled>no</enabled>
			
			<.-- valid value for port are: 
				 0,65535 - Which port to listen for incomming connections.	-->
			<port>10001</port>
			
			<.-- valid value for allow are: 
				 ALL - Not active yet.	-->			
			<allow>
			<hostname>127.0.0.1</hostname>
                        </allow>
	</radegastserver>
	
	
	<cache>
		<emm>10</emm>
		<ecm>10</ecm>
	</cache>	
	<debug>
		<level>normal</level>	
		<type>init</type>
		<output>all</output>
		<logfile></logfile>
		<console_options></console_options>
		<file_options></file_options>
		<udp_host>192.168.1.10</udp_host>
		<udp_port>1000</udp_port>
		<udp_options></udp_options>
		<tcp_port>3001</tcp_port>
		<tcp_options></tcp_options>
	</debug>
	
	
	<newcamdserver>
		<enabled>1</enabled>
		<name>newcs</name>
		<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
		<userfile>/tmp/users.txt</userfile>
		<user>
			<name>local</name>
			<password>local</password>
			<au>on</au>
			<readers>
			  <allow>lower</allow>
			  <allow>Card Readers</allow>
			</readers>
			<allow>upper</allow>
		</user>
		
		<user>
			<name>local</name>
			<password>secret</password>
			<hostname>127.0.0.1</hostname>
			<port>12000</port>
		</user>
		
	</newcamdserver>
	
</newCSconfig>

Koodi:
==== /var/tuxbox/config/newcamd/newcamd.conf ====
# /var/tuxbox/config/newcamd/newcamd.conf
#
# newcamd mandatory settings
# 
# Use emulator?
EMU = yes
# if both control word server and emulator keys are available for the
# channel, which method should be tried first?
PREFER_EMU = yes
# Autoupdate for Emu and Control Word Servers
# AU is always yes if there are betad UDS control word server
# connected to newcamd
AU = yes
#
# OSD
#
# number of seconds to show the newcamd OSD, works on enigma only
# 0 seconds -> OSD off
# 1 second  -> show "Can't decode" messages only
OSD_TIMEOUT = 1
# Recent Enigma versions come with a new option "Use http authentication"
# in the Expert Setup menu. If this option is enabled, the Enigma web server
# requires all clients to authorize themselves with username (root) and
# password (usually dbox2 or dreambox). The following option tells newcamd
# about the authentication username and password to use for the web server
# in order to be able to display its on screen information.
OSD_WEB_LOGIN = root:dreambox
#
# newcamd debug options
#
# dumps all ca systems used by a channel on the console
SHOW_ALL_CA_SYSTEMS = no
# print debug messages about ECM handling
DEBUG_ECM = yes
# print debug messages about EMM handling
DEBUG_EMM = no
# print debug messages about Control Word Server (CWS)
DEBUG_CWS = yes
# print debug messages about dbox2 CAM (cam-alpha.bin)
DEBUG_CAM = no
# hex dump of entire PAT
SHOW_PAT = no
# hex dump of entire PMT
SHOW_PMT = no
# hex dump of entire ECM
SHOW_ECM = no
# hex dump of entire CAT
SHOW_CAT = no
# hex dump of entire EMM (AU)
SHOW_EMM = no
# show network ECM messages being sent and received from/to the cardservers
SHOW_CWS_ECM = no
# show network EMM messages being sent and received from/to the cardservers
SHOW_CWS_EMM = no
# hex dump of EMMs with wrong signature
EMM_REPORT_WRONG_SIG = no
#
# newcamd optional settings
#
# Delay between reception of new control word and writing them into
# the CSA registers
# this is a default, can be changed for each individual key in keylist
DEFAULT_CW_DELAY = 0
# reload config on every channel zap
RELOAD_CONFIG_ON_ZAP = yes
# reload keylist on every channel zap
RELOAD_KEYLIST_ON_ZAP = no
# write osd ca info to file
CA_INFO_FILE = /tmp/cainfo.txt
#
# newcamd mandatory settings for control word servers (cws)
#
# Cardserver list
# 
# <hostname> <port> <username> <password> <14 byte triple-des key in hex> <lan/wan> <cardserver name> [noecm]
#
# wan connections will be dropped and rebuild if newcamd is told so by camdcmd
# (see admin options)
#
# If the last word in the CWS line is noecm, newcamd will not attempt to send
# any ecms to that card, it will only send EMMs (AU) if userid is 1. Useful if
# you want to merge several cards of one provider into one port using
# cardspider.
#
# hostname = uds to use betad, port is the serial port in that case
#
# CWS = uds 1 dummy dummy
# CWS = linux.domain.com 10000 dummy2 dummy2 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan cardserver
# CWS = 127.0.0.1 10000 dummy3 dummy3 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan cardserver
#CWS = uds 0 local local
#CWS_MULTIPLE = 127.0.0.1 10000:10001 local local 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan cardserver
CWS = 127.0.0.1 34000 local local 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
#
# newcamd optional settings for using control word servers (cws)
#
# Timeout for cardserver login in 100ms
CWS_CONNECT_TIMEOUT = 20
# Port to listen for incoming cardserver connections (reverse login)
# and/or admin connections
CWS_INCOMING_PORT = 12000
# Port to get a list of all connected cardservers, just telnet to it
CWS_DEBUG_PORT = 12001
# send keep alive messages to servers to keep connections from dying by
# unreasonable router NAT timeouts, make sure all cardservers/spiders you
# conntect to are v5.25 or newer, otherwise you'll loose connection to them,
# if set to yes
# seems this feature is commonly misunderstood, it only keeps connections
# open even if no data packets are using it for while (NAT routers tend to
# forget about established tcp connections when they are inactive), it is
# NOT to automatically reconnect to servers, see also Q&A in readme.txt
CWS_KEEPALIVE = no
#
# newcamd admin control options
# (incoming port is the same as CWS_INCOMING_PORT)
#
# <password> <14 byte des key>
#
ADMIN_PASSWORD = secret 01 02 03 04 05 06 07 08 09 10 11 12 13 14
 
Ylös