SATFANS Forum Index SATFANS
Forum for Linux television decoders Triple Dragon, Reelbox, VU+, AZbox, Relook, DGS, Ipbox, Dreambox
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Oscam CCcam2.1.4 Open pli

 
Post new topic   Reply to topic    SATFANS Forum Index -> [VU] General
View previous topic :: View next topic  
Author Message
bba34
Regular
Regular


Joined: 26 Feb 2010
Posts: 84

PostPosted: 23 Jul 2010 - 20:13    Post subject: Oscam CCcam2.1.4 Open pli Reply with quote

bonjour,
CArte tntsat
j'aimerais savoir si quelqu'un a réussi a faire tourner oscam et cccam en même temps sur Open pli?
J'ai tout essayer sa n'a pas l'aire de marcher!
Dans les extension, impossible de télécharger oscam-cccam comme sur vti.
De plus lorsque j'installe oscam manuellement, je télécharge la dernière version de oscam, je la met dans /usr/bin et chmod 755

J'ai crée un fichier softcam.oscam dans /etc/init.d:
Code:

#!/bin/sh
case "$1" in
start)
     exec start-stop-daemon -S -b -x /usr/bin/oscam
     exit
     ;;
stop)
     exec start-stop-daemon -K -R 2 -x /usr/bin/oscam
     exit
     ;;
restart|reload)
     $0 stop
     sleep 1
     $0 start
     ;;
version)
     echo "Oscam"
     ;;
info)
     echo "Oscam"
     ;;
*)
     echo "Usage: $0 start|stop|restart"
     exit 1
     ;;
esac
exit 0


j'ai modifier le fichier /etc/init.d/softcam.cccam , en rajoutant sleep 10:
Code:

 
#!/bin/sh
case "$1" in
start)
     sleep 10
     exec start-stop-daemon -S -x /usr/bin/CCcam
     ;;
stop)
     exec start-stop-daemon -K -R 2 -x /usr/bin/CCcam
     ;;
restart|reload)
     $0 stop
     sleep 10
     $0 start
     ;;
version)
     echo "2.1.4"
     ;;
info)
     echo "CCcam 2.1.4"
     ;;
*)
     echo "Usage: $0 start|stop|restart"
     exit 1
     ;;
esac
exit 0


Je reboot, il n'y que cccam qui se lance!
Lorsque je kill cccam et lance oscam en telnet , j'ai ce message:
Code:


root@vuduo ~ # /usr/bin/oscam
/usr/bin/oscam: line 1: ELF�]@4�W
                                      4: not found
/usr/bin/oscam: line 2: syntax error: "(" unexpected (expecting ")")


merci d'avance de votre aide



ps: j'ai pris la dernière version mips tuxbox: http://www.ump2002.net/index.php?&direction=0&order=mod&directory=OSCam

_________________
Samsung PS42C96HDX - 107cm - HD ready
Vu+Duo - Vti 0.8 - Hypercam 2.0 - HDD Western Digital Caviar Green 500Go - Cle usb Samsung 4go
Dm500s - OpenPLi - /
Linksys Nslu2 - Cle usb kingston DT 4go
Csat 039 - Bis Tv Ultimum - SRG HD - TNT sat HD
Back to top
View user's profile Send private message
loulou2000
Expert
Expert


Joined: 29 Jul 2007
Posts: 1049

PostPosted: 23 Jul 2010 - 20:54    Post subject: Reply with quote

salut attention mips et mipsel ne sont pas les meme cpu,c'est pour sa que sa démarre pas,tu a du prendre le mauvais binaire
_________________
Dragon triple, Aston Xena 1800hdu, dreambox 7025, ipbox9000, VU + Duo

Mon forum sur les IPBOX 9xxx et le Duo + VU

http://dreamisers.xooit.com/index.php
Back to top
View user's profile Send private message Visit poster's website
bba34
Regular
Regular


Joined: 26 Feb 2010
Posts: 84

PostPosted: 24 Jul 2010 - 12:16    Post subject: Reply with quote

j'ai essayer: oscam-0.99.4-SB-svn2587-mipsel-tuxbox-linux-trunk-webif.zip

Code:
/usr/bin/oscam: line 2: syntax error: "(" unexpected (expecting ")")

_________________
Samsung PS42C96HDX - 107cm - HD ready
Vu+Duo - Vti 0.8 - Hypercam 2.0 - HDD Western Digital Caviar Green 500Go - Cle usb Samsung 4go
Dm500s - OpenPLi - /
Linksys Nslu2 - Cle usb kingston DT 4go
Csat 039 - Bis Tv Ultimum - SRG HD - TNT sat HD
Back to top
View user's profile Send private message
k2k2000
Member
Member


Joined: 26 Oct 2008
Posts: 42

PostPosted: 25 Jul 2010 - 01:01    Post subject: Reply with quote

Code:

/usr/bin/oscam: line 2: syntax error: "(" unexpected (expecting ")")

verifie tes fichiers de configuration
/etc/tuxbox/config/
EXAMPLE DE CONFIG POUR TNTSAT
oscam.conf
Code:

[global]
nice         = -1
WaitForCards  = 1
ClientTimeout = 5
LogFile = stdout
Level = 15
CacheDelay = 120

[newcamd]
key = 1112131415161718191011121314
port = 32200@0500:030B00
keepalive = 1

#[dvbapi]
#enabled = 1
#user =user
#au = 1
boxtype = dreambox

oscam.server
Code:

[reader]
label    = reader1
Protocol = internal
detect = CD
device = /dev/sci0
group = 1
emmcache = 1,3,2
caid = 0500
IDENT = 0500:030B00
EMMCache = 1,3,2
Fallback = 0
AESKey   = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#mhz = 357
#cardmhz = 368

oscam.user
Code:

[account]
user = user
pwd = pass
group = 1
au = 1
caid = 0500
ident = 0500:030B00

_________________
ipboxhd900 ;humax5400;skystar2


Last edited by k2k2000 on 25 Jul 2010 - 01:06; edited 1 time in total
Back to top
View user's profile Send private message
k2k2000
Member
Member


Joined: 26 Oct 2008
Posts: 42

PostPosted: 25 Jul 2010 - 01:03    Post subject: Reply with quote

si tu veux lance oscam et ccam sous pli.
cree un fichier
/etc/init.d/cardserver.oscam
Code:

#!/bin/sh
case "$1" in
start)
   exec start-stop-daemon -S -b -x /usr/bin/oscam
   exit
   ;;
stop)
   exec start-stop-daemon -K -R 2 -x /usr/bin/oscam
   exit
   ;;
restart|reload)
   $0 stop
   sleep 1
   $0 start
   ;;
version)
   echo "oscamserver"
   ;;
info)
   echo "oscamserver"
   ;;
*)
   echo "Usage: $0 start|stop|restart"
   exit 1
   ;;
esac
exit 0


et depuis softcam panel ,tu lance
softcam > cccam
cardserver > oscamsever

_________________
ipboxhd900 ;humax5400;skystar2
Back to top
View user's profile Send private message
bba34
Regular
Regular


Joined: 26 Feb 2010
Posts: 84

PostPosted: 25 Jul 2010 - 13:02    Post subject: Reply with quote

k2k2000 wrote:

Code:

/usr/bin/oscam: line 2: syntax error: "(" unexpected (expecting ")")

verifie tes fichiers de configuration
/etc/tuxbox/config/

EXAMPLE DE CONFIG POUR TNTSAT
oscam.conf
Code:

[global]
nice         = -1
WaitForCards  = 1
ClientTimeout = 5
LogFile = stdout
Level = 15
CacheDelay = 120

[newcamd]
key = 1112131415161718191011121314
port = 32200@0500:030B00
keepalive = 1

#[dvbapi]
#enabled = 1
#user =user
#au = 1
boxtype = dreambox


Mon oscam.conf:
Code:

[global]
nice = -1
WaitForCards = 1
saveinithistory = 1


[newcamd]
key = 0102030405060708091011121314
port = 15000@0500:030B00


[webif]
httpport = 8080
httpuser = root
httppwd = oscam
httpcss =
httptpl =
httpscript =
httprefresh = 0
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
httphideidleclients = 0
httpreadonly = 0



k2k2000 wrote:

oscam.server
Code:

[reader]
label    = reader1
Protocol = internal
detect = CD
device = /dev/sci0
group = 1
emmcache = 1,3,2
caid = 0500
IDENT = 0500:030B00
EMMCache = 1,3,2
Fallback = 0
AESKey   = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#mhz = 357
#cardmhz = 368


Mon oscam.server:
Code:

[reader]
label = tntsat
protocol = internal
device = /dev/sci0
group = 1
AESKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
emmcache = 1,3,2
ecmcache = 1



k2k2000 wrote:

oscam.user
Code:

[account]
user = user
pwd = pass
group = 1
au = 1
caid = 0500
ident = 0500:030B00


Mon oscam.user:
Code:

[account]
user                = user
pwd                 = pass
disabled = 0
group = 1
uniq = 0
monlevel = 0
au = tntsat
caid = 0500
ident = 0500:030B00
keepalive = 1


Donc ma config est plus tot bonne puisque sous vti cela marche parfaitement!
C'est sous open pli que sa bloque!

_________________
Samsung PS42C96HDX - 107cm - HD ready
Vu+Duo - Vti 0.8 - Hypercam 2.0 - HDD Western Digital Caviar Green 500Go - Cle usb Samsung 4go
Dm500s - OpenPLi - /
Linksys Nslu2 - Cle usb kingston DT 4go
Csat 039 - Bis Tv Ultimum - SRG HD - TNT sat HD
Back to top
View user's profile Send private message
bba34
Regular
Regular


Joined: 26 Feb 2010
Posts: 84

PostPosted: 25 Jul 2010 - 13:07    Post subject: Reply with quote

k2k2000 wrote:
si tu veux lance oscam et ccam sous pli.
cree un fichier
/etc/init.d/cardserver.oscam
Code:

#!/bin/sh
case "$1" in
start)
   exec start-stop-daemon -S -b -x /usr/bin/oscam
   exit
   ;;
stop)
   exec start-stop-daemon -K -R 2 -x /usr/bin/oscam
   exit
   ;;
restart|reload)
   $0 stop
   sleep 1
   $0 start
   ;;
version)
   echo "oscamserver"
   ;;
info)
   echo "oscamserver"
   ;;
*)
   echo "Usage: $0 start|stop|restart"
   exit 1
   ;;
esac
exit 0


et depuis softcam panel ,tu lance
softcam > cccam
cardserver > oscamsever


J'ai crée ce fichier!
Maintenant j'ai:
/etc/init.d/cardserver.oscam
/etc/init.d/softcam.CCcam

Chmod 755.

Est ce que tu pourrais me donner version de oscam compatible open pli et tnt sat?
Actuellement sur VTI, j'utilises: OSCAM 0.99.4svn build #2090
merci

_________________
Samsung PS42C96HDX - 107cm - HD ready
Vu+Duo - Vti 0.8 - Hypercam 2.0 - HDD Western Digital Caviar Green 500Go - Cle usb Samsung 4go
Dm500s - OpenPLi - /
Linksys Nslu2 - Cle usb kingston DT 4go
Csat 039 - Bis Tv Ultimum - SRG HD - TNT sat HD
Back to top
View user's profile Send private message
k2k2000
Member
Member


Joined: 26 Oct 2008
Posts: 42

PostPosted: 25 Jul 2010 - 13:52    Post subject: Reply with quote

voici la version que j utilise sous pli
version: 0.99.4svn#2612

[url]
http://rapidshare.com/files/408966136/oscam.rar
[/url]

_________________
ipboxhd900 ;humax5400;skystar2


Last edited by k2k2000 on 25 Jul 2010 - 15:44; edited 1 time in total
Back to top
View user's profile Send private message
bba34
Regular
Regular


Joined: 26 Feb 2010
Posts: 84

PostPosted: 25 Jul 2010 - 14:11    Post subject: Reply with quote

ok merci est ce que chez toi oscam se lance avant cccam?
_________________
Samsung PS42C96HDX - 107cm - HD ready
Vu+Duo - Vti 0.8 - Hypercam 2.0 - HDD Western Digital Caviar Green 500Go - Cle usb Samsung 4go
Dm500s - OpenPLi - /
Linksys Nslu2 - Cle usb kingston DT 4go
Csat 039 - Bis Tv Ultimum - SRG HD - TNT sat HD
Back to top
View user's profile Send private message
k2k2000
Member
Member


Joined: 26 Oct 2008
Posts: 42

PostPosted: 25 Jul 2010 - 15:49    Post subject: Reply with quote

je n' utilise pas cccam ,je tourne avec oscam+mbox.
en principe quand tu configure
/etc/init.d/cardserver.oscam
/etc/init.d/softcam.CCcam
ils devraient se lancer en meme temps; 15seconds plus ou moins Cool

_________________
ipboxhd900 ;humax5400;skystar2
Back to top
View user's profile Send private message
bba34
Regular
Regular


Joined: 26 Feb 2010
Posts: 84

PostPosted: 26 Jul 2010 - 19:22    Post subject: Reply with quote

Merci mais non ya que cccam qui est lancée!
_________________
Samsung PS42C96HDX - 107cm - HD ready
Vu+Duo - Vti 0.8 - Hypercam 2.0 - HDD Western Digital Caviar Green 500Go - Cle usb Samsung 4go
Dm500s - OpenPLi - /
Linksys Nslu2 - Cle usb kingston DT 4go
Csat 039 - Bis Tv Ultimum - SRG HD - TNT sat HD
Back to top
View user's profile Send private message
k2k2000
Member
Member


Joined: 26 Oct 2008
Posts: 42

PostPosted: 26 Jul 2010 - 20:14    Post subject: Reply with quote

tu as bien copié oscam dans /usr/bin/oscam
et chmod 755
??
et
les script aussi dans /etc/init.d/
n oublie pas qu on peut pas acceder au meme lecteur de carte avec deux emus en meme temps.
si c est une carte tnt ,seul oscam doit avoir accé a /dev/sci0

_________________
ipboxhd900 ;humax5400;skystar2
Back to top
View user's profile Send private message
bba34
Regular
Regular


Joined: 26 Feb 2010
Posts: 84

PostPosted: 26 Jul 2010 - 20:39    Post subject: Reply with quote

Oui jai mis oscam dans /usr/bin et les script dans /etc/init.d

Le problème c'est que oscam ne se lance pas du tout au boot contrairement a cccam

a++

_________________
Samsung PS42C96HDX - 107cm - HD ready
Vu+Duo - Vti 0.8 - Hypercam 2.0 - HDD Western Digital Caviar Green 500Go - Cle usb Samsung 4go
Dm500s - OpenPLi - /
Linksys Nslu2 - Cle usb kingston DT 4go
Csat 039 - Bis Tv Ultimum - SRG HD - TNT sat HD
Back to top
View user's profile Send private message
k2k2000
Member
Member


Joined: 26 Oct 2008
Posts: 42

PostPosted: 26 Jul 2010 - 23:22    Post subject: Reply with quote

verifie que tu peux lancé oscam depuis telnet,pour voir
s il y a pas un probleme avec tes fichiers de config oscam /etc/tuxbox/config/

softcam panel
softcam setup
select softcam >> cccam
select card server >> oscamsever
restart both

et reboot Smile

_________________
ipboxhd900 ;humax5400;skystar2
Back to top
View user's profile Send private message
bba34
Regular
Regular


Joined: 26 Feb 2010
Posts: 84

PostPosted: 27 Jul 2010 - 00:55    Post subject: Reply with quote

En telnet il se lance!
Car quand je lance oscam puis cccam manuellement sous telnet aucun problème

Je vais tester ce que tu ma dis Wink
Pour le softcam setup
merci a toi

_________________
Samsung PS42C96HDX - 107cm - HD ready
Vu+Duo - Vti 0.8 - Hypercam 2.0 - HDD Western Digital Caviar Green 500Go - Cle usb Samsung 4go
Dm500s - OpenPLi - /
Linksys Nslu2 - Cle usb kingston DT 4go
Csat 039 - Bis Tv Ultimum - SRG HD - TNT sat HD
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SATFANS Forum Index -> [VU] General All times are GMT + 1 Hour
Page 1 of 1

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group


Anti Bot Question MOD - phpBB MOD against Spam Bots
Blocked registrations: 382
Thème réalisé par SGo