OK different problem this time. It may be that I am just way off course with my thinking about newcs and Mgcamd. I am trying to use these two programs because I "hear" that newcs is good for caching requests and mgcamd is faster than CCcam as a client.
I am trying to share one Puxt3l card from a Relook to a DB7025. "At the end of the day".
I understand newcs to BASICALLY be in charge of reading the card and distributing that information to allowed users.
I understand Mgcamd to BASICALLY be in charge of logging onto the newcs server and retrieving information needed to decode signal.
I can get the Relook to share the card locally with itself. Newcs.xml set for serving and newcamd.list set to logon to 127.0.0.1. All seems to work OK. (I get pics YAY!!!)
When I change the newcamd.list file to have local LAN ip address (192.160.0.101) then restart mgcamd, it fails. The IP address is the only thing I change.
I assume that this is why I cannot get the remote DB7025 to logon to the newcs. i.e. If I cannot get local machine IP address (192.168.0.101) to logon to newcs then how is remote 192.168.0.100 DB7025 supposed to logon?
Mgcamd messages with 127.0.0.1 in the newcamd.list file
Code:
relook400s:/var/emu# ./mgcamd
tuxbox mgcamd v1.28 by mixvt (compiled Feb 5 2008 15:03:51)
[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: relook
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 = spence:127.0.0.1:35000
newcamd keep alive: 0, incoming port: 0
relook400s:/var/emu# [mgcam] emm thread started
[mgcamd] tps update started.
[newcamd] Connecting to 127.0.0.1:35000...
[mg0] service 2EE1 index 0 pmt pid 0 (1)
[newcamd] Login to 127.0.0.1:35000 as spence accepted (0ms)
[newcamd] Card data from 127.0.0.1:35000 (1ms):
Userid 4 caid 90B providers 1
Idents: 000000
ECM: CaID: 0x0604 -> CaPID: 0x1771 ProvID: 000000
ECM: CaID: 0x096C -> CaPID: 0x157D ProvID: 000000
ECM: CaID: 0x090B -> CaPID: 0x1389 ProvID: 000000
[mg0] No irdeto2 key(s) found for id 604 keynr 06
[mg0] network can't decode
[mg0] pid 0x1771 failed to decode.
[mg0] No irdeto2 key(s) found for id 604 keynr 06
[mg0] network can't decode
[mg0] pid 0x1771 failed to decode.
[mg0] network can't decode
[mg0] pid 0x157D failed to decode.
[mg0] -> ECM to newcamd 127.0.0.1:35000
[mg0] <- CW from newcamd 127.0.0.1:35000 (353ms)
[mg0] 353 msec -- Wed Jun 3 17:54:47 2009
===== NDS ECM on CaID 0x090B, pid 0x1389 ======
prov: 000000
cw0:0 13 88 2F CA C7 55 83 9F
cw1:0 00 00 00 00 00 00 00 00
[mg0] -> ECM to newcamd 127.0.0.1:35000
[mg0] <- CW from newcamd 127.0.0.1:35000 (360ms)
[mg0] 360 msec -- Wed Jun 3 17:54:52 2009
===== NDS ECM on CaID 0x090B, pid 0x1389 ======
Mgcamd messages with 192.168.0.101 in the newcamd.list file. Also you can see the ifconfig, ping and traceroute:-
Code:
relook400s:/var/emu# ./mgcamd
tuxbox mgcamd v1.28 by mixvt (compiled Feb 5 2008 15:03:51)
[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: relook
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 = spence:192.168.0.101:35000
newcamd keep alive: 0, incoming port: 0
relook400s:/var/emu# [mgcam] emm thread started
[mgcamd] tps update started.
[newcamd] Connecting to 192.168.0.101:35000...
[mg0] service 2EE1 index 0 pmt pid 0 (1)
[newcamd] Connection to 192.168.0.101:35000 failed (52ms)
ECM: CaID: 0x0604 -> CaPID: 0x1771 ProvID: 000000
ECM: CaID: 0x096C -> CaPID: 0x157D ProvID: 000000
ECM: CaID: 0x090B -> CaPID: 0x1389 ProvID: 000000
[mg0] No irdeto2 key(s) found for id 604 keynr 06
[mg0] network can't decode
[mg0] pid 0x1771 failed to decode.
[mg0] No irdeto2 key(s) found for id 604 keynr 06
[mg0] network can't decode
[mg0] pid 0x1771 failed to decode.
[mg0] network can't decode
[mg0] pid 0x157D failed to decode.
[mg0] network can't decode
[mg0] pid 0x1389 failed to decode.
[mgcamd] emm started
relook400s:/var/emu# traceroute 192.168.0.101
traceroute to 192.168.0.101 (192.168.0.101), 30 hops max, 38 byte packets
1 192.168.0.101 (192.168.0.101) 0.573 ms 0.349 ms 0.870 ms
relook400s:/var/emu# ping 192.168.0.101
PING 192.168.0.101 (192.168.0.101): 56 data bytes
64 bytes from 192.168.0.101: icmp_seq=0 ttl=64 time=0.6 ms
relook400s:/var/emu# ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:18:01:24:51
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:35058 errors:0 dropped:0 overruns:0 frame:0
TX packets:34007 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:29 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4941 errors:0 dropped:0 overruns:0 frame:0
TX packets:4941 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:363523 (355.0 KiB) TX bytes:363523 (355.0 KiB)
And newcs.xml file for completion:-
Code:
<?xml version="1.0"?>
<newCSconfig>
<globals>
<listening-ip>127.0.0.1</listening-ip>
</globals>
<readers name="SCI">
<device>
<name>Lower</name>
<type>sci</type>
<mhz>357</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-camkey>0000000000000000</irdeto-camkey>
<irdeto-camkey-data>000000000000000</irdeto-camkey-data>
<crypto-special>No</crypto-special>
<!-- <ipk>000000000000000000000000</ipk> -->
<!-- <ucpk>00000000000000000000000</ucpk> -->
<PTShandshake>No</PTShandshake>
<carddetect>yes</carddetect>
<newcamd_port>35000</newcamd_port>
<autosid>Yes</autosid>
<Seca-PPV>no</Seca-PPV>
<pincode>0000</pincode>
<sid>
<allow>
<id>0000</id><id>0001</id><id>0002</id>
</allow>
<deny>
<id>0000</id><id>0001</id><id>0002</id>
</deny>
</sid>
<priority>round</priority>
</device>
<device>
<name>upper</name>
<type>sci</type>
<mhz>357</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-camkey>0000000000000000</irdeto-camkey>
<irdeto-camkey-data>000000000000000</irdeto-camkey-data>
<crypto-special>No</crypto-special>
<!-- <ipk>000000000000000000000000</ipk> -->
<!-- <ucpk>00000000000000000000000</ucpk> -->
<PTShandshake>No</PTShandshake>
<carddetect>yes</carddetect>
<newcamd_port>35001</newcamd_port>
<autosid>Yes</autosid>
<Seca-PPV>no</Seca-PPV>
<pincode>0000</pincode>
<sid>
<allow>
<id>0000</id><id>0001</id><id>0002</id>
</allow>
<deny>
<id>0000</id><id>0001</id><id>0002</id>
</deny>
</sid>
<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>8080</port>
<enabled>yes</enabled>
</server>
<user>
<name>admin</name>
<password>newcs</password>
<accesslevel>admin</accesslevel>
</user>
</httpd>
<debug>
<password>newcs</password>
<level>verbose</level>
<type>all</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>
<readers>
<allow>lower</allow>
</readers>
<spider>No</spider>
<rate>0</rate>
<cardlevel>1</cardlevel>
</user>
<user>
<name>spence</name>
<password>spence</password>
<port>35000</port>
</user>
</newcamdserver>
</newCSconfig>
WHEW!!!!! Gotta be my longest post ever.
Can anyone help?
Thanks for your time.
Bookmarks