IP910 PGI v1.0, Kiryu CCCAM using OSCAM

[email protected]

Registered
Messages
17
hello,

I have installed PGI 1.0 and addon using web interface.

I edit the oscam file files inside ver\etc\oscam
with my share server as follow:

global]
logfile = stdout
disablelog = 0
disableuserfile = 0
usrfileflag = 0
clienttimeout = 5000
fallbacktimeout = 2500
clientmaxidle = 120
cachedelay = 120
bindwait = 120
netprio = 0
clientdyndns = 0
resolvedelay = 30
unlockparental = 0
nice = -1
serialreadertimeout = 1500
maxlogsize = 10
waitforcards = 1
preferlocalcards = 0
saveinithistory = 0
readerrestartseconds = 2
lb_mode = 0
lb_save = 0
lb_nbest_readers = 1
lb_nfb_readers = 1
lb_min_ecmcount = 5
lb_max_ecmcount = 500
lb_reopen_seconds = 900
resolvegethostbyname = 0

[newcamd]
port = 0
key = 0102030405060708091011121314
allowed =
keepalive = 1
mgclient = 0

[dvbapi]
enabled = 1
au = 0
boxtype = ipbox-pmt
user = dummy
pmt_mode = 0
priority = 1833,0604,0D03,0D06,0963,093B,0B00,9640,1830,1702,1833,0100, 0500,090F,091F,0D02,092B,092F,1800,1801,1802,1810,0D04,0D00, 0B01,0B02,0603,0606,0608,0622,0664,0628

[webif]
httpport = 8189
httprefresh = 0
httpallowed = 127.0.0.1,192.168.0.0-255.255.255.255
httphideidleclients = 0
httpreadonly = 0


oscam.server:

[reader]
label = server
enable = 1
protocol = cccam
device = ********.dyndns.org,port
account = ********,***********
services =caid = 1833,0963,093B,09cd,0604,0D03,0D06,0B00,9640,1830,1702,1833, 0100,0500,090F,091F,0D02,092B,092F,1800,1801,1802,1803,1810, 183d,1880,0D04,0D00,0B01,0B02,0603,0606,0608,0622,0664,0628, 09C4,0BAA,1F1F,4ae1

chid = 0604:000001,000002,000003,000004,000006,00000E
ident =
group = 1
ecmcache = 1
lb_weight = 100
cccversion = 2.0.11
cccbuild = 2892
cccmaxhops = 4
ccckeepalive = 1
nagra_read = 1


oscam.user:

[account]
user = dummy
pwd = dummy
group = 1
monlevel = 4
au = 1
betatunnel = 1833.FFFF:1702
--------------------------------
started oscam but it isn't working.
tried to connect the box directly to the net (without router)
still no good.

any ideas?
 
Last edited:

[email protected]

Registered
Messages
17
can someone tell me if he got CCCAM working on OSCAM on PGI v1.0?

is ver\etc\oscam is the correct location for the files?

is it enough to set the green botton at the webinterfce plugin as restart oscam in order to start oscam?

can someone post his oscam files?

do i need to change nly my oscam.server file and put my shared server in it?
 

Philphil

Registered
Messages
125
In the PGI image you need to create an scrplg-Oscamstart.sh file like this

cd /var/bin/oscam -c /var/etc/oscam
exit 0

This goes into c:/var/bin

and put oscam (stapi sh4 version) into /var/bin
and config into /var/etc/oscam
Then you run it from the panel by running scripts (2 I think).

And yes it definitely works!
 

jero87

Registered
Messages
53
In the PGI image you need to create an scrplg-Oscamstart.sh file like this

cd /var/bin/oscam -c /var/etc/oscam
exit 0

This goes into c:/var/bin

and put oscam (stapi sh4 version) into /var/bin
and config into /var/etc/oscam
Then you run it from the panel by running scripts (2 I think).

And yes it definitely works!

Hello
Oscam Work but this file scrplg-Oscamstart.sh not work
cd /var/bin/oscam -c /var/etc/oscam
exit 0
 

route

Registered
Messages
54
hi

Does not work any ideas



Oscam Work but this file scrplg-Oscamstart.sh not work
cd /var/bin/oscam -c /var/etc/oscam
exit 0
 

Philphil

Registered
Messages
125
Create this NEW "scrplg-Oscamstartstop.sh" :-

#!/bin/sh
# title:Restart oscam

BIN_NAME="oscam"

do_stop() {
echo -e "Stopping $BIN_NAME...\c"
killall $BIN_NAME &>/dev/null
sleep 3
killall -9 $BIN_NAME &>/dev/null
echo "done!"
}

do_start() {
echo -e "Starting $BIN_NAME...\c"
/var/bin/$BIN_NAME -b -c /var/etc/oscam &>/dev/null
sleep 1
[ -n "$(pidof $BIN_NAME)" ] && echo "done!" || echo -e "\nError: could not start $BIN_NAME!"
}

[ ! -f "/var/bin/$BIN_NAME" ] && echo "$BIN_NAME is not found in /var/bin" && exit 1
[ "$1" != "-q" ] && [ "$1" != "stop" ] && echo -e "web_show_mess 3 \0042Starting $BIN_NAME...\0042" >/dev/commander
[ "$1" = "stop" ] && echo -e "web_show_mess 3 \0042Stopping $BIN_NAME...\0042" >/dev/commander
[ -n "$(pidof $BIN_NAME)" ] && do_stop
[ "$1" != "stop" ] && do_start

Place in /var/bin as before
Make sure the sh file has been chmodded to 755.
Then goto menu (menu button) and plug-ins. Select script plugin
 
Last edited:
Top