Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

gelöst Oscam Samsung H [solved]

    Nobody is reading this thread right now.
And what is the content of the file? :-)
 
#!/bin/sh
####################################################################
## OSCam Samsung script ##
## TDCroPower v20180610 ##
####################################################################
## Environment Variables ##
####################################################################
. /dtv/SGO.env
####################################################################
## CONFIGURATION ##
####################################################################
BINDIR=$DISTROOT/usr/bin # bin directory, $DISTROOT contains /mnt/opt/privateer
OSCAMDIR=$BINDIR/oscam # OScam directory
LIBSODIR=$DISTROOT/usr/libso # libso directory
OSCAMBUILD=$(basename $(ls $OSCAMDIR/oscam-svn*)) # OScam build filename
LIBOSCAMSO=$(basename $(ls $LIBSODIR/libOscamH*.so)) # libOscam filename
LIBLOGFILE=$(basename $(ls $TMPDIR/libOscam*.log)) # libOscam log filename
LIBALERTSO=libAlert.so # libAlert filename
SAMYGOSOBIN=samyGOso # samyGOso filename
NTPCLIENTBIN=ntpclient # ntpclient filename
TIMESERVER=pool.ntp.org # ntp timeserver
TIMEZONE='GMT-2' # Set your timezone
####################################################################
## libAlert popup text displayed on the TV ##
####################################################################
TEXTUSB='STOP file found!' # your STOP popup info text
TEXTMISSINGFILE='not found!' # your MISSING file popup info text
TEXTPERMISSIONS='permissions changed!' # your PERMISSIONS change popup info text
TEXTSTART='OScam starts...' # your OScam start popup info text
TEXTSTART2='OScam starts again...' # your OScam second start popup info text
TEXTSTOP='OScam stops...' # your OScam stop popup info text
TEXTSTOP2='OScam stops immediately...' # your OScam stop kill -9 popup info text
TEXTSTOPFAIL='Oscam stop failed!' # your OScam stop fail popup info text
TEXTSTOPSUCCESS='OScam stopped!' # your OScam stop success popup info text
TEXTSUCCESS='OScam started!' # your OScam success popup info text
TEXTFAIL='OScam start failed!?' # your OScam fail popup info text
TEXTFAILSTATUS='OScam not started!' # your OScam status fail popup info text
###################################################################
## CONFIGURATION END ##
###################################################################
## PROGRAMCODE ##
## !!! Change at your own risk !!! ##
###################################################################
# the stop_bootlogo function checks if a USB stick with the file STOP
# has been inserted into the TV
stop_bootloop()
{
for USB in $TMPDIR/usb/sd* ; do
echo "checking $USB"
if [ -e $USB/STOP ]; then
echo "$TEXTUSB"
alert "$TEXTUSB" 1
exit 1
fi
done
}
# the date_check function checks if the ntpclient is running
# starts it if necessary to correct the time and date
check_date()
{
if ! pidof $NTPCLIENTBIN > /dev/null; then
$NTPCLIENTBIN -s -h $TIMESERVER &> /dev/null
$NTPCLIENTBIN -h $TIMESERVER &> /dev/null &
export TZ="$TIMEZONE"
echo "ntpclient started"
else
echo "ntpclient already running"
fi
}
# the check_file function checks if the required files are available
check_file()
{
if [ ! -e $LIBSODIR/$LIBALERTSO > /dev/null ]; then LIBALERT=" libAlert"; fi
if [ ! -e $BINDIR/$NTPCLIENTBIN > /dev/null ]; then NTPCLIENT=" ntpclient"; fi
if [ ! -e $BINDIR/$SAMYGOSOBIN > /dev/null ]; then SAMYGOSO=" SamyGOso"; fi
if [ "$LIBALERT" ] || [ "$LIBOSCAM" ] || [ "$OSCAMBIN" ] || [ "$NTPCLIENT" ] || [ "$SAMYGOSO" ]; then
echo "File$LIBALERT$NTPCLIENT$SAMYGOSO not found"
MISSINGFILE="File$LIBALERT$NTPCLIENT$SAMYGOSO $TEXTMISSINGFILE"
alert "$MISSINGFILE" 2 # send MISSINGFILE message
exit 1
fi
}
# the check_permission function checks if the permissions
# of the required files are set correctly and corrects them
check_permission()
{
if [ ! -x $LIBSODIR/$LIBALERTSO > /dev/null ]; then
LIBALERT=" libAlert"
chmod 755 $LIBSODIR/$LIBALERTSO # change permissions to -rwxr-xr-x
fi
if [ ! -x $LIBSODIR/$LIBOSCAMSO > /dev/null ]; then
LIBOSCAM=" libOscam"
chmod 755 $LIBSODIR/$LIBOSCAMSO # change permissions to -rwxr-xr-x
fi
if [ ! -x $OSCAMDIR/$OSCAMBUILD > /dev/null ]; then
OSCAMBIN=" OScam"
chmod 755 $OSCAMDIR/$OSCAMBUILD # change permissions to -rwxr-xr-x
fi
if [ ! -x $BINDIR/$NTPCLIENTBIN > /dev/null ]; then
NTPCLIENT=" ntpclient"
chmod 755 $BINDIR/$NTPCLIENTBIN # change permissions to -rwxr-xr-x
fi
if [ ! -x $BINDIR/$SAMYGOSOBIN > /dev/null ]; then
SAMYGOSO=" SamyGOso"
chmod 755 $BINDIR/$SAMYGOSOBIN # change permissions to -rwxr-xr-x
fi
if [ "$LIBALERT" ] || [ "$LIBOSCAM" ] || [ "$OSCAMBIN" ] || [ "$NTPCLIENT" ] || [ "$SAMYGOSO" ]; then
echo "File$LIBALERT$LIBOSCAM$OSCAMBIN$NTPCLIENT$SAMYGOSO permissions changed"
PERMISSIONS="File$LIBALERT$LIBOSCAM$OSCAMBIN$NTPCLIENT$SAMYGOSO $TEXTPERMISSIONS"
alert "$PERMISSIONS" 2 # send PERMISSIONS message
fi
}
# the alert function lets information popups appear directly on the TV
alert()
{
samyGOso -A -B -l $LIBSODIR/$LIBALERTSO "TEXT:$1" # send TEXT to TV screen
sleep $2 # wait for x seconds
}
case $1 in
start) # option start
stop_bootloop # jump to the bootloop check function
check_file # jump to the filcheck check function
check_permission # jump to the permission check function
check_date # jump to the date check function
samyGOso -T -B -r -l $LIBSODIR/$LIBOSCAMSO # start the OScam library
$OSCAMDIR/$OSCAMBUILD -b -c $OSCAMDIR -t $TMPDIR -w 0 # start OScam
alert "$TEXTSTART" 2 # send START message
if ! pidof $OSCAMBUILD > /dev/null; then # check if OScam is not running
alert "$TEXTSTART2" 2 # send START2 message
$OSCAMDIR/$OSCAMBUILD -b -c $OSCAMDIR -t $TMPDIR -w 0 # start OScam a 2nd time
elif pidof $OSCAMBUILD > /dev/null; then # check if OScam is running
alert "$TEXTSUCCESS" 1 # send SUCCESS message
else
alert "$TEXTFAIL" 1 # send FAIL message
fi
exit 0
;;
stop) # option stop
if pidof $OSCAMBUILD && [ ! -e $TMPDIR/stopused ] > /dev/null; then # check if OScam is running
killall $OSCAMBUILD # shutdown OScam
alert "$TEXTSTOP" 2 # send STOP message
elif pidof $OSCAMBUILD && [ -e $TMPDIR/stopused ] > /dev/null; then # check if OScam is running and stop was used
killall -9 $OSCAMBUILD # shutdown OScam immediately
rm $TMPDIR/stopused # remove the used marker
alert "$TEXTSTOP2" 2 # send STOP2 message
exit 0
else
touch $TMPDIR/stopused # marks first use of stop
fi
if pidof $OSCAMBUILD > /dev/null; then alert "$TEXTSTOPFAIL" 1; else alert "$TEXTSTOPSUCCESS" 1; fi
exit 0
;;
status) # option status
[ -f $TMPDIR/$LIBLOGFILE ] && echo -e "$(head -32 $TMPDIR/$LIBLOGFILE)\n[...]" || alert "$TEXTFAILSTATUS" 1
;;
*)
echo "Usage: $0 {start|stop|status}" 1>&2
exit 0
;;
esac
###################################################################
## PROGRAMCODE END ##
###################################################################


Inviato dal mio iPhone utilizzando Tapatalk
 
2020/04/07 11:44:09 51F5604A c (dvbapi) Using SamyGO dvbapi v0.1

Is show when you choose boxtype = samygo.
So please change boxtype = pc-nodmx and save the file and restart oscam and show the log again
 
* 2020/04/07 12:30:37 00000000 s (main) System name = Linux
* 2020/04/07 12:30:37 00000000 s (main) Host name = (none)
* 2020/04/07 12:30:37 00000000 s (main) Release = 3.8.13
* 2020/04/07 12:30:37 00000000 s (main) Version = #1 SMP PREEMPT Wed Oct 1 19:25:34 KST 2014
* 2020/04/07 12:30:37 00000000 s (main) Machine = armv7l
* 2020/04/07 12:30:37 00000000 s (main) creating pidfile /dtv/oscam.pid with pid 22077
* 2020/04/07 12:30:37 00000000 s (emu) OSCam-Emu version 798
* 2020/04/07 12:30:37 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
* 2020/04/07 12:30:37 00000000 s (main) signal handling initialized
* 2020/04/07 12:30:37 00000000 s (reader) ************* [cccam] creating thread for device ***********
* 2020/04/07 12:30:37 00000000 s (reader) emulator [emu] creating thread for device emulator
* 2020/04/07 12:30:37 00000000 s (main) waiting for local card init
* 2020/04/07 12:30:37 4982B5BD r (emu) Stream key delayer initialized
* 2020/04/07 12:30:37 4982B5BD r (emu) Stream relay server initialized
* 2020/04/07 12:30:37 00000000 (emu) INFO: FFDecsa parallel mode = 32
* 2020/04/07 12:30:37 4982B5BD r (reader) emulator [emu] Reader initialized (device=emulator, detect=cd, mhz=357, cardmhz=357)
* 2020/04/07 12:30:37 7B0CA4B9 p (reader) **************: resolved ip=*****************
* 2020/04/07 12:30:37 7B0CA4B9 p (reader) ****************** [cccam] connecting to *****************
* 2020/04/07 12:30:37 4855A2B4 h (webif) webif: decompressed 177058 bytes back into 433080 bytes
* 2020/04/07 12:30:37 4855A2B4 h (webif) HTTP Server running. ip=0.0.0.0 port=8888
* 2020/04/07 12:30:37 7B0CA4B9 p (reader) ************** [cccam] proxy initialized, **********
* 2020/04/07 12:30:38 4982B5BD r (reader) emulator [emu] card detected
* 2020/04/07 12:30:39 4982B5BD r (reader) emulator [emu] found card system emu
* 2020/04/07 12:30:39 4982B5BD r (reader) emulator [emu] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max allotted of 1
* 2020/04/07 12:30:39 4982B5BD r (emu) Key file not found in: /mnt/opt/privateer/usr/bin/oscam
* 2020/04/07 12:30:39 4982B5BD r (emu) Cannot open key file path: /var/keys
* 2020/04/07 12:30:39 4982B5BD r (emu) Total keys in memory: W:0 V:0 N:0 I:0 F:0 G:0 P:0 T:0 A:0
* 2020/04/07 12:30:39 00000000 s (main) init for all local cards done
* 2020/04/07 12:30:39 00000000 s (emmcache) loading emmcache disabled since no reader is using it!
* 2020/04/07 12:30:39 00000000 s (emmcache) loading emmstats disabled since no reader is using it!
* 2020/04/07 12:30:39 51F5604A c (client) plain dvbapi-client granted (dvbapi, au=auto (2 reader))
* 2020/04/07 12:30:39 51F5604A c (dvbapi) dvbapi channelcache loaded from /mnt/opt/privateer/usr/bin/oscam/oscam.ccache
* 2020/04/07 12:30:39 51F5604A c (dvbapi) Using /tmp/camd.socket listen socket, API forced to DVBAPIv3 (0), userconfig boxtype: 12
* 2020/04/07 12:30:39 51F5604A c (dvbapi) PMT mode 6: Connecting to enigma CA PMT listen socket...
* 2020/04/07 12:30:39 51F5604A c (dvbapi) socket connect error (errno=2 No such file or directory)
* 2020/04/07 12:30:40 51F5604A c (dvbapi) PMT mode 6: Connecting to enigma CA PMT listen socket...


Inviato dal mio iPhone utilizzando Tapatalk
 
Zuletzt bearbeitet von einem Moderator:
Looks better now, now the TV just needs to find the liboscam and it should work
Where is the libOscamH_T-MST_build140.so located?
 
Please move the libOscamH_T-MST_build140.so to this path "/mnt/opt/privateer/usr/libso/"
 
Hello guys, I have a problem with Oscam/smart iptv on my h series. Smart iptv not work when oscam started. Where is the problem or incompatibility? Thanks


Inviato dal mio iPhone utilizzando Tapatalk
 
Hi, can anyone share here libOscamH_T-NT file, please?
Oroginal links not available.
 
Zurück
Oben