OScam & Gbox auf einem Receiver

TiMo92o

Newbie
Registriert
28. Dezember 2017
Beiträge
10
Reaktionspunkte
1
Punkte
235
Hallo,
mein Name ist Timo und ich bin neu hier. Wenn ich irgendwas falsch mache oder etwas nicht passt sagt es mir ruhig

Ich habe folgendes Problem:
Auf meiner VU+ Solo² mit VTI 13 habe ich OScam und Gbox installiert
GBox: zur Entschlüsselung der HD04 Karte
OScam: zur Entschlüsselung von MTV durch einen Kollegen

Um nun nicht immer hin und her zu schalten wollte ich die HD+ Karte über Gbox an OScam weiterleiten. Es müssten somit 2 Cams gleichzeitig laufen. Dies funktioniert auch, ABER NUR wenn ich Gbox und OScam manuell über telnet starte.
Wenn ich aber ein Startscript benutzte, wird nur HD+ hell aber MTV nicht. Es scheint so als wollte OScam nichts entschlüsseln da garkeine Anfragen gestellt werden. Wenn ich jetzt aber OScam über das WebInterface neu starte, funktioniert manchmal alles aber manchmal auch nur MTV und kein HD+ mehr.
Vielleicht kann mir der ein oder andere etwas weiterhelfen. Ich bin seit 2 Tagen nur damit beschäftigt und kurz vorm verzweifeln
Falls gebraucht sagt mir ruhig welche Logs / Configs ich euch zur Verfügung stellen soll.

Vielen Dank schonmal
 
Hi,

dann mal alle Konfigs + Startlog in Spoilern posten.

Gruß

Gesendet von meinem SM-G920F mit Tapatalk
 
Gut dann fang ich mal mit den Konfigs von Gbox an

cwshare.cfg
I: { 06 }
N: { 00 01 03 1F 4000 6000 }
X: { 05 }
M: { 127.0.0.1 { 3399BDCF }}
D: { 127.0.0.1 { 8019 8020 { CD444552 { 06 16 }}}}
gbox.cfg
Z: { 01 12 } 192.168.1.2 8024
G: { 03 }
C: { 01 }
M: { 01 }
A: { 03 }
U: { 01 }
H: { 01 }
T: { 00 }
O: { 00 } 192.168.0.3 coolstream
L: { 00 } 192.168.0.251 7025
#V: { 00 10 } #Slot 1
#V: { 00 20 } #Slot 2
V: { 00 30 } #Slot 1+2
#V: { 00 3F } #Slot 1+2+SC8in1
R: { 00 } 9600
W: { 00 00 } 9600
#F: { 51 } 02 // irdeto
#F: { 52 } 03 // seca
#F: { 53 } 03 // viaccess
#F: { 54 } 03 // nagra
#F: { 55 } 03 // crypto
#F: { 57 } 03 // conax
#F: { 58 } 03 // nds
F: { A1 } 1
#F: { AA } 1
softcam.cfg
L: { 00 }
F: { 0000 }
B: { 0000 }
Y: { 01 }
E: { 01 }
I: { 00 00 00 } Irdeto All SA UA
V: { 00 00 00 } Via - SA UA
S: { 00 00 00 } Seca - SA UA
N: { 00 00 00 } Nagra All SA UA
C: { 00 00 00 } Crypto All SA UA
O: { 00 00 00 } Conax - SA UA
D: { 01 01 01 } NDS All SA UA
T: { 00 02 02 } ATR timeout (normal*X), instruction timeout (normal*X)
T: { 01 00000 000 } Irdeto : byte delay (1e-6 s), instruction delay (1e-3 s)
T: { 02 00000 000 } Seca
T: { 03 00000 000 } Viaccess
T: { 04 00000 000 } Nagra
T: { 05 00000 000 } CryptoWorks
T: { 06 00000 000 } Geldkarte
T: { 07 00000 000 } Conax
T: { 08 00000 000 } NDS

[generic]
reset_rs232_buffer = 1

[slot-1]
disable_pts = 0
enable_ice = 0
alternative_frequency = 0
alternative_baudrate = 0
# ungeblockte Karte z.B. HD+
enable_unique_emm = 1
enable_shared_emm = 1
enable_global_emm = 1
block_unique_emm = 0
block_shared_emm = 0
block_global_emm = 0
block_user_emm = 0
save_processed_emm = 1
save_rejected_emm = 1

[slot-2]
disable_pts = 0
enable_ice = 0
alternative_frequency = 0
alternative_baudrate = 0
# ungeblockte Karte z.B. HD+
enable_unique_emm = 1
enable_shared_emm = 1
enable_global_emm = 1
block_unique_emm = 0
block_shared_emm = 0
block_global_emm = 0
block_user_emm = 0
save_processed_emm = 1
save_rejected_emm = 1

Nun zu Oscam:
oscam.conf
[global]
logfile = /var/log/oscam.log
pidfile = /tmp/oscam.pid
unlockparental = 1
nice = -10
maxlogsize = 100
waitforcards = 0
usrfile = /var/log/user.log
cwlogdir = /var/log/
emmlogdir = /var/log/

[cache]

[gbox]
port = 8020
hostname = 127.0.0.1
my_password = CD444552
my_vers = 2A

[dvbapi]
enabled = 1
pmt_mode = 0
delayer = 60
user = local
read_sdt = 2
write_sdt_prov = 1
boxtype = dreambox

[webif]
httpport = 83
httphideidleclients = 0
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255,10.0.0.0-10.255.0.255,255.255.255.255
httposcamlabel = Oscam WebInterface
oscam.server
[reader]
label = gbox
description = gbox
protocol = gbox
device = 127.0.0.1,8019
user = gbox
password = 3399BDCF
gbox_reshare = 1
group = 1
emmcache = 1,1,2,0
cccreshare = 4
ccchop = 1

[reader]
label = MTV
protocol = cccam
device = dyndns,port
user = XXXXXXXX
password = XXXXXX
inactivitytimeout = 30
group = 1
cccversion = 2.3.0
ccckeepalive = 1
audisabled = 1
oscam.user
[account]
user = gbox
description = gbox
group = 1
preferlocalcards = 0

[account]
user = local
group = 1

Meinst du mit Startlog eines von den Cams oder vom Receiver?
 
Hi,
ich denke, du solltest das andersherum versuchen.
Sende die MTV zu Gbox.

Bei Oscam kann man die dvbapi deaktivieren.
Ich glaube, das geht bei Gbox nicht und deshalb behindern sich die beiden garade bei dir
 
Aber wieso geht es dann, wenn ich oscam manuell über das WebInterface neu starte?
Bzw geht es ja auch, wenn keines der Cams gestartet ist und ich die Startscripts nacheinander über Telnet ausführe?
 
Hi,
da müsste man sich die Startlogs mal anschauen bzw. müsste man auch dein Startscript mal sehen.

Grundsätzlich gilt aber:
Zwei Emus die beide auf die bzw. per dvbapi zugreifen, werden sich immer behindern.
Deshalb meine Empfehlung bei einer von beiden dvbapi zu deaktivieren.
Ob und wie das bei Gbox geht, weiß ich nicht.
 
Hier mal das Startscript
#!/bin/sh
########################################
###### Powered by Vu+ Image Team ######
## ##
########################################


CAMNAMED="gbox 811.K"
BINARY="gbox.811k"
CAMNAME="OScam 1.20 rev: 11277"
CAMNAMEX="OScam 1.20 rev: 11377"

remove_tmp () {
rm -rf /tmp/cainfo.* /tmp/camd.* /tmp/sc.* /tmp/*.info* /tmp/*.tmp* /tmp/oscam*
[ -e /tmp/.oscam ] && rm -rf /tmp/.oscam
[ -e /tmp/.emu.info ] && rm -rf /tmp/.emu.info
[ -e /tmp/oscam.mem ] && rm -rf /tmp/oscam.mem
}

case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAMEX"
remove_tmp
touch /tmp/.emu.info
echo "OScam 1.20 rev: 11377" > /tmp/.emu.info
/usr/bin/oscam_1.20-unstable-11377 -b -r 2 -c /etc/tuxbox/config
sleep 10
echo "[SCRIPT] $1: $CAMNAMED"
remove_tmp
touch /tmp/.emu.info
echo "gbox 811.K" > /tmp/.emu.info
/usr/bin/$BINARY > /dev/null 2>&1 &

;;
stop)
echo "[SCRIPT] $1: $CAMNAMED"
kill `pidof $BINARY`
remove_tmp
sleep 3
echo "[SCRIPT] $1: $CAMNAMEX"
kill `pidof oscam_1.20-unstable-11377`
remove_tmp
;;
restart)
$0 stop
sleep 2
$0 start
exit
;;
*)
$0 stop
exit 0
;;
esac

exit 0
Ich habe gerade festgestellt, dass mit diesem Script erst OScam und danach Gbox gestartet wird. Wenn ich es manuell starte mache ich es anderes herum und dann funktioniert es wie es soll.
Ich weiß es wäre leicher dvbapi zu deaktivieren, aber dann müsste ich auf MTV da ich das ja nicht in Gbox bekomme.


Und anbei noch das Startlog von OScam
2018/01/27 18:20:43 00000000 s (main) System name = Linux
  • 2018/01/27 18:20:43 00000000 s (main) Host name = vusolo2
  • 2018/01/27 18:20:43 00000000 s (main) Release = 3.13.5
  • 2018/01/27 18:20:43 00000000 s (main) Version = #1 SMP Fri Nov 3 00:40:40 CET 2017
  • 2018/01/27 18:20:43 00000000 s (main) Machine = mips
  • 2018/01/27 18:20:43 00000000 s (main) Stb model = dm8000
  • 2018/01/27 18:20:43 00000000 s (main) Stb vumodel = vusolo2
  • 2018/01/27 18:20:43 00000000 s (main) Stb boxtype = vusolo2
  • 2018/01/27 18:20:43 00000000 s (main) creating pidfile /tmp/oscam.pid with pid 754
  • 2018/01/27 18:20:43 00000000 s (config) userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
  • 2018/01/27 18:20:43 00000000 s (main) signal handling initialized
  • 2018/01/27 18:20:43 00000000 s (config) 7 provid's loaded
  • 2018/01/27 18:20:43 00000000 s (config) 16 service-id's loaded in 1 ms
  • 2018/01/27 18:20:43 00000000 s (net) gbox: initialized (fd=6, port=8020)
  • 2018/01/27 18:20:43 00000000 s (reader) gbox [gbox] creating thread for device 127.0.0.1
  • 2018/01/27 18:20:43 00000000 s (reader) MTV [cccam] creating thread for device dyndns
  • 2018/01/27 18:20:43 00000000 s (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
  • 2018/01/27 18:20:43 00000000 s (anticasc) anti cascading disabled
  • 2018/01/27 18:20:43 17FD1F55 p (gbox) we are online - 1 ports to monitor
  • 2018/01/27 18:20:43 47BC3BDB c (client) plain dvbapi-client granted (local, au=off)
  • 2018/01/27 18:20:43 17FD1F55 p (reader) 127.0.0.1: resolved ip=127.0.0.1
  • 2018/01/27 18:20:43 17FD1F55 p (gbox) proxy 127.0.0.1 (fd=7, peer id=8E56, my id=8816, my hostname=127.0.0.1, peer's listen port=8019)
  • 2018/01/27 18:20:43 17FD1F55 p (gbox) <- HelloL to gbox
  • 2018/01/27 18:20:43 17FD1F55 p (reader) gbox [gbox] proxy initialized, server 127.0.0.1:8019
  • 2018/01/27 18:20:43 47BC3BDB c (dvbapi) dvbapi channelcache loaded from /etc/tuxbox/config/oscam.ccache
  • 2018/01/27 18:20:43 47BC3BDB c (dvbapi) Detected /dev/dvb/adapter0/demux0 Api: 0, userconfig boxtype: 1 maximum amount of possible filters is 32 (oscam limit is 32)
  • 2018/01/27 18:20:43 27F91A6F h (webif) webif: decompressed 177547 bytes back into 437176 bytes
  • 2018/01/27 18:20:43 27F91A6F h (webif) HTTP Server running. ip=0.0.0.0 port=83
  • 2018/01/27 18:20:46 163D1003 p (reader) dyndns: resolved ip=123456789
  • 2018/01/27 18:20:46 163D1003 p (reader) MTV [cccam] connecting to dyndnsort
  • 2018/01/27 18:20:46 163D1003 p (reader) MTV [cccam] proxy initialized, server dyndnsort
  • 2018/01/27 18:21:24 5B9E0698 c (gbox) new connection from 127.0.0.1
  • 2018/01/27 18:21:24 5B9E0698 c (client) encrypted gbox-client 127.0.0.1 granted (gbox, au=off)
  • 2018/01/27 18:21:24 5B9E0698 c (gbox) Couldn't open /tmp/.oscam/sc.info: No such file or directory
  • 2018/01/27 18:21:24 5B9E0698 c (gbox) peer 8E56 authenticated successfully
  • 2018/01/27 18:21:24 5B9E0698 c (gbox) -> HelloS from gbox (127.0.0.1:8019) v2.2A with 1 cards
  • 2018/01/27 18:21:24 5B9E0698 c (gbox) <- HelloR total cards 0 to gbox
  • 2018/01/27 18:21:24 5B9E0698 c (gbox) <- HelloS total cards 0 to gbox
  • 2018/01/27 18:21:24 5B9E0698 c (gbox) Couldn't open /tmp/.oscam/share.onl: No such file or directory
  • 2018/01/27 18:21:24 5B9E0698 c (gbox) Couldn't open /tmp/.oscam/share.info: No such file or directory
  • 2018/01/27 18:21:26 5B9E0698 c (gbox) -> HelloR from gbox (127.0.0.1:8019) v2.2A with 1 cards
  • 2018/01/27 18:21:26 5B9E0698 c (gbox) <- HelloC my checkcode to gbox (127.0.0.1:8019)
  • 2018/01/27 18:21:26 5B9E0698 c (gbox) Couldn't open /tmp/.oscam/share.info: No such file or directory
  • 2018/01/27 18:21:34 5B9E0698 c (gbox) -> HelloS from gbox (127.0.0.1:8019) v2.2A with 1 cards
  • 2018/01/27 18:21:34 5B9E0698 c (gbox) <- HelloR total cards 0 to gbox
  • 2018/01/27 18:21:34 5B9E0698 c (gbox) Couldn't open /tmp/.oscam/share.info: No such file or directory
  • 2018/01/27 18:21:35 5B9E0698 c (gbox) -> HelloC checkcode from gbox - 127.0.0.1

Edit: Habe das Script angepasst, damit Gbox zuerst startet. Wenn ich es jetzt manuell über das Camcenter starte hat es schonmal geklappt. Teste jetzt ein paar Neustarts
 
Zuletzt bearbeitet:
Ich habe gerade festgestellt, dass mit diesem Script erst OScam und danach Gbox gestartet wird
Dann passe es im Script halt an und gut ist.
Zwar gepfuscht aber aus irgendeinem Grund willst du anscheinend nicht auf das hören was janni dir sagt.

-supraracer
 
Ich würde gerne dvbapi bei gbox deaktivieren aber es geht ja scheinbar nicht. Google spuckt auch nix aus.
Bei nur Gbox müsste ich auf MTV verzichten
und bei nur OScam müsste ich auf HD+ verzichten.
oder kann man intern von OScam zu Gbox sharen? Also ich bekomme MTV über OScam und leite es einfach an Gbox weiter?
 
Zuletzt bearbeitet von einem Moderator:
Hi,
es wäre auch kein Problem die MTV von Oscam auf Gbox zu sharen.
 
Auch wenn ich MTV schon von auserhalb bekomme?
 
Zuletzt bearbeitet von einem Moderator:
Für die Nutzung dieser Website sind Cookies erforderlich. Du musst diese akzeptieren, um die Website weiter nutzen zu können. Erfahre mehr…