kennyboy
25-10-2010, 01:29 AM
i hope some1 can help me ere ive just installed the said cam and changed it
#!/bin/sh
CAMNAME="CCcam_2.1.3/NewCs_1.67"
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}
case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
/usr/bin/newcs_167 &
sleep 10
/usr/bin/CCcam_213 &
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
killall -9 newcs_167 CCcam_213 2>/dev/null
sleep 1
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0
it now says cccam fisrt my next problem is the newcs.xml this is how it looks but it will not work
<?xml version="1.0" ?>
- <newCSconfig>
- <globals>
- <!--
valid value for listening-ip are:
IPv4 adress of local interface.
-->
<listening-ip>127.0.0.1</listening-ip>
</globals>
- <readers name="Dreambox SCI">
- <device>
<name>SCI Lower Slot</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>
<blockC0>Yes</blockC0>
<carddetect>Yes</carddetect>
<newcamd_port>15050</newcamd_port>
<autosid>Yes</autosid>
<boxkey>00 00 00 00</boxkey> ( i know box key sly)
<pincode>0000</pincode>
<priority>round</priority>
</device>
- <device>
<name>SCI Upper Slot</name>
<type>sci</type>
<mhz>358</mhz>
<node>/dev/sci1</node>
<parity>odd</parity>
<reset>normal</reset>
<export>Yes</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<blockC0>Yes</blockC0>
<carddetect>Yes</carddetect>
<newcamd_port>15050</newcamd_port>
<autosid>Yes</autosid>
<boxkey>0000</boxkey>
<pincode>0000</pincode>
<priority>round</priority>
</device>
</readers>
- <radegastserver>
<enabled>Yes</enabled>
<port>10001</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>newcs</name>
<password>newcs</password>
<accesslevel>admin</accesslevel>
</user>
</httpd>
- <debug>
<password>NewCSpwd</password>
<mode>simple</mode>
<level>internal</level>
<type>all</type>
<output>console,tcp</output>
<tcp_port>1001</tcp_port>
<tcp_options>normal,init</tcp_options>
</debug>
- <newcamdserver>
<enabled>Yes</enabled>
<name>xxxxxxxx</name> (do i put paswd ere)
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
- <user>
<name>xxxxx</name> ( and ere )
<password>xxx</password> <?xml version="1.0" ?>
- <newCSconfig>
- <globals>
- <!--
valid value for listening-ip are:
IPv4 adress of local interface.
-->
<listening-ip>127.0.0.1</listening-ip>
</globals>
- <readers name="Dreambox SCI">
- <device>
<name>SCI Lower Slot</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>
<blockC0>Yes</blockC0>
<carddetect>Yes</carddetect>
<newcamd_port>15050</newcamd_port>
<autosid>Yes</autosid>
<boxkey>00 00 00 00</boxkey> i know
<pincode>0000</pincode>
<priority>round</priority>
</device>
- <device>
<name>SCI Upper Slot</name>
<type>sci</type>
<mhz>358</mhz>
<node>/dev/sci1</node>
<parity>odd</parity>
<reset>normal</reset>
<export>Yes</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<blockC0>Yes</blockC0>
<carddetect>Yes</carddetect>
<newcamd_port>15050</newcamd_port>
<autosid>Yes</autosid>
<boxkey>0000</boxkey>
<pincode>0000</pincode>
<priority>round</priority>
</device>
</readers>
- <radegastserver>
<enabled>Yes</enabled>
<port>10001</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>newcs</name>
<password>newcs</password>
<accesslevel>admin</accesslevel>
</user>
</httpd>
- <debug>
<password>NewCSpwd</password>
<mode>simple</mode>
<level>internal</level>
<type>all</type>
<output>console,tcp</output>
<tcp_port>1001</tcp_port>
<tcp_options>normal,init</tcp_options>
</debug>
- <newcamdserver>
<enabled>Yes</enabled>
<name>xxxxxxxx</name> do i put name in ere
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
- <user>
<name>xxxxx</name> and ere
<password>xxx</password> and ere
<au>on</au>
<sidoverride>off</sidoverride>
<spider>No</spider>
<cardlevel>1</cardlevel>
</user>
</newcamdserver>
- <chameleon2>
- <server>
<port>1234</port>
<enabled>yes</enabled>
<realm>myShares</realm>
</server>
- <peer>
<hostname>remote</hostname>
<port>1234</port>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</peer>
- <user>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</user>
</chameleon2>
</newCSconfig>
<au>on</au>
<sidoverride>off</sidoverride>
<spider>No</spider>
<cardlevel>1</cardlevel>
</user>
</newcamdserver>
- <chameleon2>
- <server>
<port>1234</port>
<enabled>yes</enabled>
<realm>myShares</realm>
</server>
- <peer>
<hostname>remote</hostname>
<port>1234</port>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</peer>
- <user>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</user>
</chameleon2>
</newCSconfig>
been at this a couple of hours dont seem to be getting anywhere db500hd black hole multiboot version can some1 please look and see where im going wrong thanks
#!/bin/sh
CAMNAME="CCcam_2.1.3/NewCs_1.67"
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}
case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
/usr/bin/newcs_167 &
sleep 10
/usr/bin/CCcam_213 &
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
killall -9 newcs_167 CCcam_213 2>/dev/null
sleep 1
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0
it now says cccam fisrt my next problem is the newcs.xml this is how it looks but it will not work
<?xml version="1.0" ?>
- <newCSconfig>
- <globals>
- <!--
valid value for listening-ip are:
IPv4 adress of local interface.
-->
<listening-ip>127.0.0.1</listening-ip>
</globals>
- <readers name="Dreambox SCI">
- <device>
<name>SCI Lower Slot</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>
<blockC0>Yes</blockC0>
<carddetect>Yes</carddetect>
<newcamd_port>15050</newcamd_port>
<autosid>Yes</autosid>
<boxkey>00 00 00 00</boxkey> ( i know box key sly)
<pincode>0000</pincode>
<priority>round</priority>
</device>
- <device>
<name>SCI Upper Slot</name>
<type>sci</type>
<mhz>358</mhz>
<node>/dev/sci1</node>
<parity>odd</parity>
<reset>normal</reset>
<export>Yes</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<blockC0>Yes</blockC0>
<carddetect>Yes</carddetect>
<newcamd_port>15050</newcamd_port>
<autosid>Yes</autosid>
<boxkey>0000</boxkey>
<pincode>0000</pincode>
<priority>round</priority>
</device>
</readers>
- <radegastserver>
<enabled>Yes</enabled>
<port>10001</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>newcs</name>
<password>newcs</password>
<accesslevel>admin</accesslevel>
</user>
</httpd>
- <debug>
<password>NewCSpwd</password>
<mode>simple</mode>
<level>internal</level>
<type>all</type>
<output>console,tcp</output>
<tcp_port>1001</tcp_port>
<tcp_options>normal,init</tcp_options>
</debug>
- <newcamdserver>
<enabled>Yes</enabled>
<name>xxxxxxxx</name> (do i put paswd ere)
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
- <user>
<name>xxxxx</name> ( and ere )
<password>xxx</password> <?xml version="1.0" ?>
- <newCSconfig>
- <globals>
- <!--
valid value for listening-ip are:
IPv4 adress of local interface.
-->
<listening-ip>127.0.0.1</listening-ip>
</globals>
- <readers name="Dreambox SCI">
- <device>
<name>SCI Lower Slot</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>
<blockC0>Yes</blockC0>
<carddetect>Yes</carddetect>
<newcamd_port>15050</newcamd_port>
<autosid>Yes</autosid>
<boxkey>00 00 00 00</boxkey> i know
<pincode>0000</pincode>
<priority>round</priority>
</device>
- <device>
<name>SCI Upper Slot</name>
<type>sci</type>
<mhz>358</mhz>
<node>/dev/sci1</node>
<parity>odd</parity>
<reset>normal</reset>
<export>Yes</export>
<enabled>Yes</enabled>
<blocksa>No</blocksa>
<blockua>No</blockua>
<blockga>No</blockga>
<blockC0>Yes</blockC0>
<carddetect>Yes</carddetect>
<newcamd_port>15050</newcamd_port>
<autosid>Yes</autosid>
<boxkey>0000</boxkey>
<pincode>0000</pincode>
<priority>round</priority>
</device>
</readers>
- <radegastserver>
<enabled>Yes</enabled>
<port>10001</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>newcs</name>
<password>newcs</password>
<accesslevel>admin</accesslevel>
</user>
</httpd>
- <debug>
<password>NewCSpwd</password>
<mode>simple</mode>
<level>internal</level>
<type>all</type>
<output>console,tcp</output>
<tcp_port>1001</tcp_port>
<tcp_options>normal,init</tcp_options>
</debug>
- <newcamdserver>
<enabled>Yes</enabled>
<name>xxxxxxxx</name> do i put name in ere
<deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey>
- <user>
<name>xxxxx</name> and ere
<password>xxx</password> and ere
<au>on</au>
<sidoverride>off</sidoverride>
<spider>No</spider>
<cardlevel>1</cardlevel>
</user>
</newcamdserver>
- <chameleon2>
- <server>
<port>1234</port>
<enabled>yes</enabled>
<realm>myShares</realm>
</server>
- <peer>
<hostname>remote</hostname>
<port>1234</port>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</peer>
- <user>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</user>
</chameleon2>
</newCSconfig>
<au>on</au>
<sidoverride>off</sidoverride>
<spider>No</spider>
<cardlevel>1</cardlevel>
</user>
</newcamdserver>
- <chameleon2>
- <server>
<port>1234</port>
<enabled>yes</enabled>
<realm>myShares</realm>
</server>
- <peer>
<hostname>remote</hostname>
<port>1234</port>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</peer>
- <user>
<name>myname</name>
<password>mypassword</password>
<realm>myShares</realm>
</user>
</chameleon2>
</newCSconfig>
been at this a couple of hours dont seem to be getting anywhere db500hd black hole multiboot version can some1 please look and see where im going wrong thanks