handdator

Visa fullständig version : gemini cs



lethl
2008-02-26, 13:53
Hejsan har börjat om från början flashat om med gemini 4.2.
Mgcamd1.29 +Newcs1.50 Även följt guiden kortdelings ABC http://www.dreamboxx.nu/download.php?view.1033 (http://www.dreamboxx.nu/download.php?view.1033) norsk guide.
Känns som jag lagt flera 100 tim men ser fortarande inte ljuset i tunneln.Har läst varenda guide jag hittat.Får inte klienten att funka.
Server 192.168.0.20 klient 192.168.0.30.

Server 192.168.0.20

var/keys/mg.cfg:


# EMM messages
# 00 don't show any EMMs (default)
# 01 show only valid EMMs
# 02 show valid and bad EMMs with complete data display
M: { 01 }

# ECM messages
# 00 don't show anything about ecm
# 01 normal mode, show pids processed, decoded ecm and cw
# 02 verbose mode, show valid and bad ECMs with data
C: { 01 }

# AU
# 00 disable, no emm pids processed
# 01 enable, emm pids always processed for soft-au and shared cards
# 02 auto, emm started only if channel cant be decoded
# 03 process emm pids for network cards update only
A: { 01 }

# key update (sum 01 or 02 with 04)
# 01 update only new keys, default setting
# 02 update all keys (used for valid PMK checking)
# 04 enable TPS au
U: { 01 }

# config files folder (softcam, autoroll, ignore/priority)
# 00 files in /var/keys
# 01 files in /tmp
T: { 00 }

# network mode, use summ for several clients
# 00 no network (default)
# 01 newcamd netclient
# 02 radegast netclient
# 04 camd3 netclient
# 08 gbox netclient
G: { 01 }

# network retry, use summ for several options
# 00 disable
# 01 retry every new ecm
# 02 try to connect to offline shares every Q: seconds
# 04 try to detect and fast reconnect to lost (and not used atm) server
# + XX messages number and YY seconds to reconnect
# mg will reconnect to server, if no answer to last XX ecm/keepalive or
# if no answer for last ecm or keepalive sent for YY seconds
# set to 0 to disable
N: { 07 } 5 30

# network ecm timeout in seconds
K: { 05 }

# newcamd dead routes connect retry, sec
Q: { 60 }

# network shares priority
# 00 gbox, newcamd, radegast, camd3 (default)
# 01 camd3, radegast, newcamd, gbox
# 02 newcamd, camd3, gbox, radegast
P: { 00 }

# on screen display type
# 00 No OSD (default)
# 01 neutrino
# 02 enigma
# 03 relook
# + user password for http auth
O: { 00 } username password

# on screen display Options, summ of:
# 01 show emu ecm
# 02 show network shares messages
# 04 show decoding failed / fta
# 08 show emm keys update
# + web port to use for osd
S: { 03 } 80

# Log option, summ of:
# 00 off
# 01 network udp log
# 02 log to console
# 04 file, appended ! delete it by yourself, before it eat all your hdd
# + IP udp-port log-file-name
L: { 03 } 172.16.1.1 28007 /tmp/mgcamd.log

# keep ecm cache, seconds
# every cache entry takes 28 bytes, so 24h cache will take *only* 240-400kb of memory,
# for openbox/elanvision users with remote shares make sense to set it higher than default value,
# to not hammer cards while timeshifting or playing crypted recordings.
E: { 15 }

# cache option, summ of:
# 00 Off (default)
# 01 Ecm pids cache, store pids used to decode in /tmp/ca_cache.list at exit, load at startup, same syntax as restore.list
# 02 Ecm data cache, remember CW for (Ehttp://www.maxteknik.se/forum/images/smiles/icon_smile.gif time
# 04 Emm cache for network cards, do not resend the same emm twice, cache not cleared until restart
H: { 07 }

# reread files, summ of:
# 00 No (default)
# 01 reread config file on channel change (including priority and ignore, but not replace/cache)
# 02 reread SoftCam.Key on channel change
# 04 reread SoftCam.Key if file changed
R: { 00 }

# debug, summ of
# 00 off (default)
# 01 debug ecm
# 02 debug emm
# 04 debug network ecm
# 08 debug network emm
# 16 debug network login
# 32 show mem/cpu stats every 1 min
# 64 add timestamp to log messages
D: { 00 }

# box type
# 00 autodetect, change only if you think wrong type detected.
# 01 dbox2
# 02 dreambox
# 03 triple-dragon
# 04 relook
# 05 openbox
B: { 00 }


var/keys/newcamd.list:


CWS = 127.0.0.1 10000 local local 55 11 55 04 05 06 07 12 14 14 15 16 19 20 lan cardserv
CWS = 127.0.0.1 10001 local local 55 11 55 04 05 06 07 12 14 14 15 16 19 20 lan cardserv

var/keys/newcamd-client.txt:


[127.0.0.1]
port = 10000
key = 55 11 55 04 05 06 07 12 14 14 15 16 19 20
username = local
password = local
[127.0.0.1]
port = 10001
key = 55 11 55 04 05 06 07 12 14 14 15 16 19 20
username = local
password = local

var/tuxbox/config/newcs.xml:


xml version="1.0"?>
<newCSconfig>
<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>no</crypto>
<carddetect>yes</carddetect>
<newcamd_port>10000</newcamd_port>
<priority>hard</priority>
<autosid>yes</autosid>
<Seca>no</Seca>
<sid>
<allow>
<id></id>
</allow>
<deny>
<id></id>
</deny>
</sid>
</device>
<device>
<name>upper</name>
<type>Sci</type>
<node>/dev/sci1</node>
<export>yes</export>
<enabled>yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<PTShandshake>no</PTShandshake>
<crypto>no</crypto>
<carddetect>yes</carddetect>
<newcamd_port>10001</newcamd_port>
<priority>hard</priority>
<autosid>yes</autosid>
<Seca>no</Seca>
<sid>
<allow>
<id></id>
</allow>
<deny>
<id></id>
</deny>
</sid>
</device>
</readers>
<radegastserver>
<enabled>no</enabled>
<port>10011</port>
<allow>ALL</allow>
</radegastserver>
<cache>
<emm>10</emm>
<ecm>10</ecm>
</cache>
<debug>
<level>normal</level>
<type>all</type>
<output>file,all</output>
<logfile>/tmp/newcs_log.txt</logfile>
<console_options></console_options>
<file_options>init,ecm,emm</file_options>
<udp_host>192.168.1.20</udp_host>
<udp_port>1000</udp_port>
<udp_options></udp_options>
<tcp_port>3001</tcp_port>
<tcp_options></tcp_options>
</debug>
<newcamdserver>
<enabled>yes</enabled>
<name>cardserv</name>
<deskey>55 11 55 04 05 06 07 12 14 14 15 16 19 20</deskey>
<userfile>/tmp/users.txt</userfile>
<user>
<name>local</name>
<password>local</password>
<au>on</au>
</user>
<user>
<name>user1</name>
<password>1234</password>
<au>on</au>
</user>
<user>
<name>user2</name>
<password>1234</password>
<au>on</au>
</user> </newcamdserver>
</newCSconfig>

var/script/mgcamd_1.29_newcs_1.50_cam.sh:


#!/bin/sh
########################################
###### Powered by The Gemini Team ######
### http://www.i-have-a-dreambox.com (http://www.i-have-a-dreambox.com/) ###
########################################
# camid #
# 0000 = Commom Interface #
# 0001->0199 = for User Experiment #
# 0199 = Dccamd #
# 0200->0299 = Fbiss #
# 0300->0399 = Camd3 #
# 0400->0499 = Camx #
# 0500->0599 = Camx-Radegast-CS #
# 0600->0699 = Evocamd -OLD #
# 0700->0799 = Evocamd_ronlad_cs -OLD #
# 0800->0899 = Mgcamd -OLD #
# 0900->0999 = Mgcamd_ronald_cs -OLD #
# 1000->1099 = Newcamd -OLD #
# 1100->1199 = Newcamd-ronald_CS -OLD #
# 1200->1299 = Newcamd-spider -OLD #
# 1300->1399 = Radegast #
# 1400->1499 = Ronald-CS #
# 1500->1599 = Scam #
# 1600->1699 = Scam-Ronald-CS #
# 1700->1799 = MPCardserver #
# 1800->1899 = NewCS #
# 2000->2099 = Camd3 #
# 2300->2399 = Camd3-NewCS #
# 2600->2699 = Camd3-MPCardserver #
# 3000->3099 = Evocamd #
# 3100->3199 = Evocamd-Ronald-CS #
# 3200->3299 = Evocamd-NewCS #
# 3300->3399 = Evocamd-MPCardserver #
# 4000->4099 = Mgcamd #
# 4100->4199 = Mgcamd-Ronald-CS #
# 4200->4299 = Mgcamd-NewCS #
# 4300->4399 = Mgcamd-MPCardserver #
# 5000->5099 = Newcamd-Betad #
# 5100->5199 = Newcamd-Cardserver #
# 5200->5299 = Newcamd-Spider #
# 5300->5399 = Newcamd-NewCS #
# 5400->5499 = Newcamd-MPCardserver #
# 5500->5599 = OpenCam #
# 5600->5699 = RqCamd #
# 6000->6099 = CCcam #
# 6100->6199 = CCcam-Capmtserver #
# 6200->6299 = CCcam-NewCS #
# 9500->9599 = reserved #
# 9600->9699 = reserved #
# 9700->9799 = reserved #
# 9800->9899 = reserved #
# 9900->9999 = reserved #
########################################

CAMNAME="MgCamd 1.29/NewCS 1.50"
USERNAME=""
ZAPTIME=6
CAMID=4268
DVBSET=0
INFOFILE="ecm.info"
INFOFILELINES=
# end

remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp* /tmp/*mgcamd*
}

case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
/var/bin/newcs_1.50 &
sleep 20
/var/bin/mgcamd_1.29 &
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
killall -9 mgcamd_1.29 newcs_1.50 2>/dev/null
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac

exit 0

klient 192.168.0.30

var/keys/mg.cfg:


# EMM messages
# 00 don't show any EMMs (default)
# 01 show only valid EMMs
# 02 show valid and bad EMMs with complete data display
M: { 01 }

# ECM messages
# 00 don't show anything about ecm
# 01 normal mode, show pids processed, decoded ecm and cw
# 02 verbose mode, show valid and bad ECMs with data
C: { 01 }

# AU
# 00 disable, no emm pids processed
# 01 enable, emm pids always processed for soft-au and shared cards
# 02 auto, emm started only if channel cant be decoded
# 03 process emm pids for network cards update only
A: { 01 }

# key update (sum 01 or 02 with 04)
# 01 update only new keys, default setting
# 02 update all keys (used for valid PMK checking)
# 04 enable TPS au
U: { 01 }

# config files folder (softcam, autoroll, ignore/priority)
# 00 files in /var/keys
# 01 files in /tmp
T: { 00 }

# network mode, use summ for several clients
# 00 no network (default)
# 01 newcamd netclient
# 02 radegast netclient
# 04 camd3 netclient
# 08 gbox netclient
G: { 01 }

# network retry, use summ for several options
# 00 disable
# 01 retry every new ecm
# 02 try to connect to offline shares every Q: seconds
# 04 try to detect and fast reconnect to lost (and not used atm) server
# + XX messages number and YY seconds to reconnect
# mg will reconnect to server, if no answer to last XX ecm/keepalive or
# if no answer for last ecm or keepalive sent for YY seconds
# set to 0 to disable
N: { 07 } 5 30

# network ecm timeout in seconds
K: { 05 }

# newcamd dead routes connect retry, sec
Q: { 60 }

# network shares priority
# 00 gbox, newcamd, radegast, camd3 (default)
# 01 camd3, radegast, newcamd, gbox
# 02 newcamd, camd3, gbox, radegast
P: { 00 }

# on screen display type
# 00 No OSD (default)
# 01 neutrino
# 02 enigma
# 03 relook
# + user password for http auth
O: { 00 } username password

# on screen display Options, summ of:
# 01 show emu ecm
# 02 show network shares messages
# 04 show decoding failed / fta
# 08 show emm keys update
# + web port to use for osd
S: { 03 } 80

# Log option, summ of:
# 00 off
# 01 network udp log
# 02 log to console
# 04 file, appended ! delete it by yourself, before it eat all your hdd
# + IP udp-port log-file-name
L: { 03 } 172.16.1.1 28007 /tmp/mgcamd.log

# keep ecm cache, seconds
# every cache entry takes 28 bytes, so 24h cache will take *only* 240-400kb of memory,
# for openbox/elanvision users with remote shares make sense to set it higher than default value,
# to not hammer cards while timeshifting or playing crypted recordings.
E: { 15 }

# cache option, summ of:
# 00 Off (default)
# 01 Ecm pids cache, store pids used to decode in /tmp/ca_cache.list at exit, load at startup, same syntax as restore.list
# 02 Ecm data cache, remember CW for (Ehttp://www.maxteknik.se/forum/images/smiles/icon_smile.gif time
# 04 Emm cache for network cards, do not resend the same emm twice, cache not cleared until restart
H: { 07 }

# reread files, summ of:
# 00 No (default)
# 01 reread config file on channel change (including priority and ignore, but not replace/cache)
# 02 reread SoftCam.Key on channel change
# 04 reread SoftCam.Key if file changed
R: { 00 }

# debug, summ of
# 00 off (default)
# 01 debug ecm
# 02 debug emm
# 04 debug network ecm
# 08 debug network emm
# 16 debug network login
# 32 show mem/cpu stats every 1 min
# 64 add timestamp to log messages
D: { 00 }

# box type
# 00 autodetect, change only if you think wrong type detected.
# 01 dbox2
# 02 dreambox
# 03 triple-dragon
# 04 relook
# 05 openbox
B: { 00 }

var/keys/newcamd.list:


CWS = 192.168.1.30 10000 user1 1234 55 11 55 04 05 06 07 12 14 14 15 16 19 20 lan cardserv
CWS = 192.168.1.30 10001 user1 1234 55 11 55 04 05 06 07 12 14 14 15 16 19 20 lan cardserv
CWS = 127.0.0.1 10000 local local 55 11 55 04 05 06 07 12 14 14 15 16 19 20 lan cardserv
CWS = 127.0.0.1 10001 local local 55 11 55 04 05 06 07 12 14 14 15 16 19 20 lan cardserv

var/keys/newcamd-client.txt:


[127.0.0.1]
port = 10000
key = 55 11 55 04 05 06 07 12 14 14 15 16 19 20
username = local
password = local
[127.0.0.1]
port = 10001
key = 55 11 55 04 05 06 07 12 14 14 15 16 19 20
username = local
password = local

var/tuxbox/config/newcs.xml:

<xml>
<newCSconfig>
<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>no</crypto>
<carddetect>yes</carddetect>
<newcamd_port>10000</newcamd_port>
<priority>hard</priority>
<autosid>yes</autosid>
<Seca>no</Seca>
<sid>
<allow>
<id></id>
</allow>
<deny>
<id></id>
</deny>
</sid>
</device>
<device>
<name>upper</name>
<type>Sci</type>
<node>/dev/sci1</node>
<export>yes</export>
<enabled>yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<PTShandshake>no</PTShandshake>
<crypto>no</crypto>
<carddetect>yes</carddetect>
<newcamd_port>10001</newcamd_port>
<priority>hard</priority>
<autosid>yes</autosid>
<Seca>no</Seca>
<sid>
<allow>
<id></id>
</allow>
<deny>
<id></id>
</deny>
</sid>
</device>
</readers>
<radegastserver>
<enabled>no</enabled>
<port>10011</port>
<allow>ALL</allow>
</radegastserver>
<cache>
<emm>10</emm>
<ecm>10</ecm>
</cache>
<debug>
<level>normal</level>
<type>all</type>
<output>file,all</output>
<logfile>/tmp/newcs_log.txt</logfile>
<console_options></console_options>
<file_options>init,ecm,emm</file_options>
<udp_host>192.168.0.20</udp_host>
<udp_port>1000</udp_port>
<udp_options></udp_options>
<tcp_port>3001</tcp_port>
<tcp_options></tcp_options>
</debug>
<newcamdserver>
<enabled>yes</enabled>
<name>cardserv</name>
<deskey>55 11 55 04 05 06 07 12 14 14 15 16 19 20</deskey>
<userfile>/tmp/users.txt</userfile>
<user>
<name>local</name>
<password>local</password>
<au>on</au>
</user>
</newcamdserver>
</newCSconfig>

var/script/mgcamd_1.29_newcs_1.50_cam.sh:


#!/bin/sh
########################################
###### Powered by The Gemini Team ######
### http://www.i-have-a-dreambox.com (http://www.i-have-a-dreambox.com/) ###
########################################
# camid #
# 0000 = Commom Interface #
# 0001->0199 = for User Experiment #
# 0199 = Dccamd #
# 0200->0299 = Fbiss #
# 0300->0399 = Camd3 #
# 0400->0499 = Camx #
# 0500->0599 = Camx-Radegast-CS #
# 0600->0699 = Evocamd -OLD #
# 0700->0799 = Evocamd_ronlad_cs -OLD #
# 0800->0899 = Mgcamd -OLD #
# 0900->0999 = Mgcamd_ronald_cs -OLD #
# 1000->1099 = Newcamd -OLD #
# 1100->1199 = Newcamd-ronald_CS -OLD #
# 1200->1299 = Newcamd-spider -OLD #
# 1300->1399 = Radegast #
# 1400->1499 = Ronald-CS #
# 1500->1599 = Scam #
# 1600->1699 = Scam-Ronald-CS #
# 1700->1799 = MPCardserver #
# 1800->1899 = NewCS #
# 2000->2099 = Camd3 #
# 2300->2399 = Camd3-NewCS #
# 2600->2699 = Camd3-MPCardserver #
# 3000->3099 = Evocamd #
# 3100->3199 = Evocamd-Ronald-CS #
# 3200->3299 = Evocamd-NewCS #
# 3300->3399 = Evocamd-MPCardserver #
# 4000->4099 = Mgcamd #
# 4100->4199 = Mgcamd-Ronald-CS #
# 4200->4299 = Mgcamd-NewCS #
# 4300->4399 = Mgcamd-MPCardserver #
# 5000->5099 = Newcamd-Betad #
# 5100->5199 = Newcamd-Cardserver #
# 5200->5299 = Newcamd-Spider #
# 5300->5399 = Newcamd-NewCS #
# 5400->5499 = Newcamd-MPCardserver #
# 5500->5599 = OpenCam #
# 5600->5699 = RqCamd #
# 6000->6099 = CCcam #
# 6100->6199 = CCcam-Capmtserver #
# 6200->6299 = CCcam-NewCS #
# 9500->9599 = reserved #
# 9600->9699 = reserved #
# 9700->9799 = reserved #
# 9800->9899 = reserved #
# 9900->9999 = reserved #
########################################

CAMNAME="MgCamd 1.29/NewCS 1.50"
USERNAME=""
ZAPTIME=6
CAMID=4268
DVBSET=0
INFOFILE="ecm.info"
INFOFILELINES=
# end

remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp* /tmp/*mgcamd*
}

case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
/var/bin/newcs_1.50 &
sleep 20
/var/bin/mgcamd_1.29 &
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
killall -9 mgcamd_1.29 newcs_1.50 2>/dev/null
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac

exit 0

Var även inne och petade i newcamd.conf enligt manual "använda orginalkort"


#CWS = uds 1 premiere premiere
#CWS = 127.0.0.1 10001 local local 01 02 03 04 05 06 07 08 09 10 11 12 13 14 wan cardserv
CWS = 127.0.0.1 34000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
#CWS = 127.0.0.1 34001 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
#

Ursäkta all text.
jag hoppas någon vänlig själ har lust att kika på eländet.
Tackar på förhand

admin
2008-02-26, 15:33
Nu tog jag mig tiden å lade in allt i [code]-taggar. Något du kan göra själv nästa gång :)

admin
2008-02-26, 15:38
Kan f.ö kommentera att du inte riktigt förstått vilka filer som ska ligga var. Du lägger för många filer på cardserversidan och klientsidan.

Cardservern ska ha följande filer:
var/tuxbox/config/newcs.xml
och en körbar fil från newcs som ligger vart du vill på servern.
Du tar detta arkiv och lägger upp på servern: http://www.comhit.net/downloads.php?do=file&id=76

Och på klienten, om du installerar mgcamd från blåa panelen, så ska du bara in och editera:
var/keys/newcamd.list

eventuellt ta en titt så mg_cfg finns och är korrekt.

Men annars behöver du inte fler filer (jag kanske missa nån, rätta mig isåfall).
Du har lagt alldeles för många filer på klientsidan (och serversidan) att det nog inte blir så bra.

Balders-balle
2008-02-26, 15:39
Prova med att ändra ipnummret.
var/keys/newcamd.list:

CWS = 192.168.0.20 10000 local local 55 11 55 04 05 06 07 12 14 14 15 16 19 20 lan cardserv
CWS = 192.168.0.20 10001 local local 55 11 55 04 05 06 07 12 14 14 15 16 19 20 lan cardserv

lethl
2008-02-26, 17:15
Tack men det funkade inte att ändra ip.
Ledsen admin men jag tror inte jag fattar riktigt.Följde abc guiden med ändringar till egna ip antog att vissa ändringar ar finjusteringar som norrmannen ville ha till. Provat tidigare med endast newcamd + cardserver klantade mej väl då med.

admin
2008-02-26, 18:52
Du får bestämma dig.

Ska du använda dig av newcs(cardserver) och mgcamd(klienten)?
Blanda då inte i något alls som heter newcamd (förutom att du måste editera i en fil kallad newcamd.list)

lethl
2008-02-26, 22:13
hejsan hittade ngra fel hade skrivit 1 istället för 0 i ipadress på ngra ställen ändrat hjälper ej http://www.comhit.net/images/icons/icon13.gif:'(

lethl
2008-02-28, 17:29
Hej igen nytt försök städat lite kör nu gemini 4.2
Server 192.168.0.20 mgcamd1.29+ newcs1.50
Klient 192.168.0.30 mgcamd1.29
Filer jag ändrat:

Server 192.168.0.20:

var/keys/mg.cfg


A: { 01 }

var/tuxbox/config/newcs.xml



<newCSconfig>
<readers>
<device>
<name>lower</name>
<type>sci</type>
<mhz>358</mhz>
<node>/dev/sci0</node>
<parity>odd</parity>
<reset>normal</reset>
<export>Yes</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<!-- <boxkey>0000000000</boxkey> -->
<!-- <rsa>0000000000</rsa> -->
<irdeto>0000000000000000</irdeto>
<irdeto>00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000</irdeto>
<crypto>No</crypto>
<ipk>00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000</ipk>
<ucpk>00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000</ucpk>
<PTShandshake>No</PTShandshake>
<carddetect>yes</carddetect>
<newcamd_port>34000</newcamd_port>
<autosid>Yes</autosid>
<Seca>no</Seca>
<pincode>0000</pincode>
<priority>round</priority>
</device>
<device>
<name>upper</name>
<type>sci</type>
<mhz>600</mhz>
<node>/dev/sci1</node>
<parity>odd</parity>
<reset>normal</reset>
<export>Yes</export>
<enabled>No</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<!-- <boxkey>0000000000</boxkey> -->
<!-- <rsa>0000000000</rsa> -->
<irdeto>0000000000000000</irdeto>
<irdeto>00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000</irdeto>
<crypto>No</crypto>
<ipk>00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000</ipk>
<ucpk>00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000 000000</ucpk>
<PTShandshake>No</PTShandshake>
<carddetect>yes</carddetect>
<newcamd_port>34001</newcamd_port>
<autosid>Yes</autosid>
<Seca>no</Seca>
<pincode>0000</pincode>
<priority>round</priority>
</device>
</readers>
<radegastserver>
<enabled>No</enabled>
<port>16000</port>
<allow>
<hostname>localhost</hostname>
</allow>
</radegastserver>
<cache>
<emm>20</emm>
<ecm>-1</ecm>
</cache>
<httpd>
<server> <Port>
<port>8080</port>
<enabled>yes</enabled>
</server>
<user>
</name>
<password>newcs</password>
<valid>
<accesslevel>admin</accesslevel>
</user>
</httpd>
<debug>
<password>NewCSpwd</password>
<level>normal</level>
<type>init</type>
<output>console,tcp</output>
<console_options>normal,init</console_options>
<tcp_port>1001</tcp_port>
<tcp_options>normal,init</tcp_options>
</debug>
<newcamdserver>
<enabled>Yes</enabled>
<name>newcs</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>localhost</hostname>
<port>12000</port>
<au>on</au>
<sidoverride>off</sidoverride>
<spider>No</spider>
<rate>2</rate>
</user>
<user>
<name>user1</name>
<password>user1</password>
<au>on</au>
</user>
<user>
<name>user2</name>
<password>user2</password>
<au>on</au>
</user>
</newcamdserver>
</newCSconfig>

var/tuxbox/config/newcamd.conf:



#CWS = uds 1 premiere premiere
#CWS = 127.0.0.1 10001 local local 01 02 03 04 05 06 07 08 09 10 11 12 13 14 wan cardserv
CWS = 127.0.0.1 34000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
#CWS = 127.0.0.1 34001 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
#

var/keys/newcamd.list:


CWS = 127.0.0.1 34000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs

Klient:192.168.0.30:
Newcamd.list


CWS = 192.168.0.20 34000 user1 user1 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
CWS = 127.0.0.1 34000 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 lan newcs
På servern är Mgcamd/Newcs startad och omstartad.
På servern endast Mgcmd startad och omstartad
Med andra ord misslyckats igen.

Loggfiler:
Newcs server:



17:15:52 ] [ Loader ] Reset failed ...
[ 17:15:52 ] [ Loader ] Reader type 5 on node /dev/sci0
[ 17:15:52 ] [ Sci ] Opening device /dev/sci0
[ 17:15:52 ] [ Sci ] Could not find device
[ 17:15:52 ] [ Loader ] Clearing all autosids on reader ...
[ 17:15:52 ] [ Loader ] Reset failed ...
[ 17:15:52 ] [ Loader ] Reader type 5 on node /dev/sci0
[ 17:15:52 ] [ Sci ] Opening device /dev/sci0
[ 17:15:52 ] [ Sci ] Could not find device
[ 17:15:52 ] [ Loader ] Clearing all autosids on reader ...
[ 17:15:52 ] [ Loader ] Reset failed ..


Logg mgcamd server:

[

newcamd] 127.0.0.1:34000: problem, will try to reconnect
[newcamd] Connecting to 127.0.0.1:34000...
[newcamd] Login to 127.0.0.1:34000 as dummy accepted (8ms)
[newcamd] Card data from 127.0.0.1:34000 (49ms):
EMM enabled: UA yes SA yes GA yes, Card serial: C17915F7
Userid 1 caid 500 providers 6
Idents: FFF510 020500 020510 020520 020530 020540
ids: C17915F7 C17915F7 C17915F7 C17915F7 C17915F7 C17915F7


Logg mgcamd klient:



root@dreambox:~> killall -9mgcamd_1.29
root@dreambox:~> mgcamd_1.29
tuxbox mgcamd v1.29a by mixvt (compiled Feb 17 2008 16:08:10)
[mg] Net:1:7:0:5s Show ecm:1, emm:1 Up:1 Au:2 Dir:0 Osd:no:80:0 Cache:7 Log:3:172.16.1.1:28007 Reread:0
[mg] Ecm cache time: 15
Box type: dreambox
/dev/dvb/card0/ca0 error 16: Device or resource busy
Conax.Key error 2: No such file or directory
SoftCam.Key error 2: No such file or directory
AutoRoll.Key error 2: No such file or directory
Conax.Key error 2: No such file or directory
[config] newcamd route = user1:192.168.0.20:34000 server newcs
[config] newcamd route = dummy:127.0.0.1:34000 server newcs
newcamd keep alive: 0, incoming port: 0
root@dreambox:~> [mgcam] emm thread started
[mgcamd] tps update started.
[newcamd] Connecting to 192.168.0.20:34000...
[newcamd] Connecting to 127.0.0.1:34000...
[newcamd] Connection to 127.0.0.1:34000 failed (41ms)
[newcamd] Connection to 192.168.0.20:34000 failed (3000ms)

Känns som att jag är nära men uppenbarligen klantar jag mej nånstans.
Hoppas på hjälp.

admin
2008-02-28, 17:37
Hur svårt är det egentligen att använda sig av [code]-taggar? tyckte jag försökte vara tydlig å be dig använda det förra gången!

lethl
2008-02-28, 20:02
ledsen

lethl
2008-03-01, 15:25
Har fått igång det nu