Voici une config de base pour faire fonctionner TNTSAT sur une DM500(S) Image Gemini :


1° Placer le fichier binaire oscam dans /var/bin renommer en oscam (attribut 755)
2° Placer le script de lancement oscam suivant dans /var/script (attribut 755)

oscam.sh

Code PHP:
#!/bin/sh
CAMNAME="OSCam"
USERNAME=""
ZAPTIME=6
CAMID
=1797
DVBSET
=0
INFOFILE
="ecm.info"
INFOFILELINES=
# end
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}
case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
/var/bin/oscam -c /var/tuxbox/config
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
kill `pidof `
killall -9 oscam 2>/dev/null
sleep 2
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac
exit 0


3° Placer les fichiers suivants dans /var/tuxbox/config (attribut 644)
oscam.conf


Code PHP:
[global]
logfile = /tmp/oscam.log
maxlogsize
= 50
cachedelay
= 120
nice
= -10
saveinithistory
= 1
lb_mode
= 1
lb_save
= 200

[webif]
httpport = 8888
httpuser
= root
httppwd
= oscam
httprefresh
= 30
httpallowed
= 127.0.0.1,192.168.0.0-192.168.255.255
httphideidleclients
= 1
httpreadonly
= 0
httpsavefullcfg
= 0

[dvbapi]
enabled = 1
boxtype
= dreambox
user
= localuser


oscam.dvbapi


Code PHP:
I: 0500:030B00:2009 # TNTSat - Canal+
I: 0500:030B00:200A # TNTSat - Canal+ Decale
I: 0500:030B00:200B # TNTSat - Canal+ Cinema
I: 0500:030B00:200C # TNTSat - Canal+
I: 0500:030B00:200D # TNTSat - Canal+ Family
I: 0500:030B00:2010 # TNTSat - Canal+ Sport
I: 0500:030B00:2261 # TNTSat - Canal+ HD
I: 0500:030B00:2262 # TNTSat - Canal+ DECALE HD
I: 0500:030B00:2263 # TNTSat - Canal+ CINEMA HD
I: 0500:030B00:2264 # TNTSat - Canal+ SPORT HD
I: 0500:030B00:2265 # TNTSat - Canal+ FAMILY HD
I: 0500:030B00:2275 # TNTSat - Canal+ HD
I: 0500:030B00:2276 # TNTSat - Canal+ DECALE HD
I: 0500:030B00:2277 # TNTSat - Canal+ CINEMA HD
I: 0500:030B00:2278 # TNTSat - Canal+ SPORT HD
I: 0500:030B00:2279 # TNTSat - Canal+ FAMILY HD
I: 0500:030B00:227F # TNTSat - Canal+ HD
I: 0500:030B00:4284:1788 # TNTSat - NT1
I: 0500:030B00:4290:1788 # TNTSat - NT1
P: 0500:030B00 # TNTSAT


oscam.server


Code PHP:
[reader]
label = tntsat
protocol
= internal
device
= /dev/sci0
detect
= cd
mhz
= 500
cardmhz
= 357
caid
= 0500
ident
= 0500:030B00
aeskeys
= 0500@030B00:43********43,A7********26,EF********E3 ----> ( A compléter )
group = 1
lb_weight
= 1000


oscam.user


Code PHP:
[account]
user = localuser
group
= 1
uniq
= 1


4° Rebooter la Dream et lancer Oscam par le BluePanel