Asta e newcs.xml pe care l-am folosit.Code:<?xml version="1.0"?> <newCSconfig> <readers name="Phoenix"> <device> <name>Phoenix Interface</name> <type>phoenix</type> <mhz>357</mhz> <node>/dev/ttyS0</node> <export>Yes</export> <enabled>Yes</enabled> <blocksa>No</blocksa> <blockua>No</blockua> <blockga>No</blockga> <boxkey>bk</boxkey> <rsa>rsa</rsa> <crypto-special>No</crypto-special> <PTShandshake>Yes</PTShandshake> <carddetect>Yes</carddetect> <newcamd_port>34000</newcamd_port> <autosid>No</autosid> <Seca-PPV>No</Seca-PPV> <sid> <allow> <id></id> </allow> <deny> <id></id> </deny> </sid> <priority>round</priority> </device> </readers> <radegastserver> <!-- valid value for enable are: 0,1 - Enable or Disable radegast server. --> <enabled>Yes</enabled> <!-- valid value for port are: 0,65535 - Which port to listen for incomming connections. --> <port>18000</port> <!-- valid value for allow are: ALL - Not active yet. --> <allow> <hostname>127.0.0.1</hostname> <hostname>all</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> <level>normal</level> <type>all</type> <output>file</output> <logfile>/tmp/newcs.txt</logfile> <console_options>normal</console_options> <file_options>file</file_options> <udp_host>192.168.1.65</udp_host> <udp_port>1000</udp_port> <udp_options>normal</udp_options> <tcp_port>3001</tcp_port> <tcp_options>normal</tcp_options> </debug> <newcamdserver> <enabled>yes</enabled> <deskey>01 02 03 04 05 06 07 08 09 10 11 12 13 14</deskey> <name>newcs</name> <userfile>/tmp/newcamdserver.txt</userfile> <user> <name>user_local</name> <password>pass_local</password> <hostname>127.0.0.1</hostname> <port></port> <au>on</au> <spider>no</spider> <allow>Phoenix</allow> </user> </newcamdserver> </newCSconfig>




Reply With Quote