Anyone got an invite to a private site?
Posts by Henkske
-
-
I have a problem getting this to work.
I installed the second oscam ( named USERCAM ) and it works perfect. I can start/stop/restart etc with the script but i have a problem regarding the oscam check.
I have a script called OscamCheck.sh and it checks every 5 minutes if oscam is running (for the original).
However if i close the first oscam the script still thinks that oscam is running because of the second instance although it has the name USERCAM.Does anyone know how i can fix this issue so that the OscamCheck.sh wil ONLY check for the MAIN oscam and not for the seconds oscam ( usercam ? ). I want to create a seperate script for the 2nd oscam.
The script has the following lines:
Bash
Display More#!/bin/sh process=`ps auxwww | grep oscam | grep -v grep | awk '{print $1}'` if [ -z '$process' ]; then echo "Couldn't find oscam running. Restarting server-binary" >> /var/log/oscam.check nohup /usr/local/bin/oscam >> /var/log/oscam.log & else echo "oscam is still OK!" >> /var/log/oscam.check fi
Thanks in advance
-
Hello all,
Last week i started to "play" with a CSP server. The installation went fine ( i think ) but im struggling with CSP.
Im running Oscam 6465 and CSP CSP 0.9.0r224
I have the following config in oscam:
[newcamd]
port = 3434@0100:00006A
serverip = 192.168.0.123
key = 0102030405060708091011121314
keepalive = 1[account]
user = Test123
pwd = Test456
group = 1
services = lokaal
caid = 0100
cccmaxhops = 2
cccreshare = 2
cccignorereshare = 0
keepalive = 1
numusers = 1In CSP i added the following:
<profile name="myprofile" ca-id="0100" network-id="0035" enabled="true" require-provider-match="true" debug="true">
<newcamd listen-port="34">
<card-data type="config" ca-id="0100">
<providers>00 00 00, 00 00 6a, 00 00 6c</providers>
</card-data>
</newcamd>
<max-cache-wait> 1500ms</max-cache-wait>
<max-cw-wait>3500ms</max-cw-wait>
<filter-cards>provider</filter-cards>
<services-file format="cccam" ca-id="0100" filter="00006a, 00006c">/var/etc/CCcam.channelinfo</services-file>
</profile>
</ca-profiles><newcamd-connector name="test1" profile="myprofile" enabled="true">
<host>192.168.0.123</host>
<port>3434</port>
<user>Test123</user>
<password>Test456</password>
<des-key>01 02 03 04 05 06 07 08 09 10 11 12 13 14</des-key>
<asynchronous>true</asynchronous>
</newcamd-connector>In the Oscam user overview it states that the user is connected but i don't see anything is CSP.
CA-Profile: myprofile (0035)
CA-Id: Seca:0100 Sessions: 0 Local services: 0 (0)
Network-id: 0035
Ca-id: Seca:0100
Provider-idents: [00 00 6A]
Require-provider-match: true (provider-ident in requests must exist on connector for forwards to proceed)
Debug: true (backlog of 100 transactions kept for every session - memory intensive)
Estimated capacity: 0
Estimated load: 0
Locally mapped services: 0 (0 parsed from services file, with 0 conflicts)
Max-cw-wait: 3500 ms (congestion-limit at 3000 ms)
Max-cache-wait: 3500 msListen-ports:
N34 {card-data.providers=00 00 00, 00 00 6a, 00 00 6c, card-data.type=config, card-data.ca-id=0100}
NewcamdCws: test1 Status: connected Profile: myprofile Services: 0 0% (0)
Host: 192.168.0.123
Provider-idents: [00 00 6A]
Connected: 2012-04-13 22:13:12
Uptime: 1m 38s
Card-data: UserID [47] CaID [0100] Providers [1] [00 00 6A] Anonymous [Yes]
Processing time: -1 ms (avg: -1 ms)
Utilization: 0% (total: 0%)
Estimated capacity: -1
Queue size: 0
ECM count: 0
ECM load: 0 (over the last cw-max-age period)
Timeouts: 0Do i have to enable something in Oscam and or CSP so CSP sees any services?