Seite 2 von 3
Re: Raspberry Pi oder Pogoplug
Verfasst: Sa 23. Nov 2013, 12:22
von skapi
Mir geht's eig. nur um die oscam-emu. Der Rest ist relativ klar....
Im speziellen geht's um die keys (woher bekomm ich sie) bzw die miteinbingung (config).
Re: Raspberry Pi oder Pogoplug
Verfasst: Sa 23. Nov 2013, 12:35
von Alx83
Die keys sind in der von mir kompilierten Oscam-Emu schon enthalten und brauchen nicht eingebunden werden
Re: Raspberry Pi oder Pogoplug
Verfasst: Sa 23. Nov 2013, 13:35
von skapi
D.h. wenn sich die keys ändern muss neu kompiliert werden?!
Re: Raspberry Pi oder Pogoplug
Verfasst: Sa 23. Nov 2013, 13:47
von Alx83
So ist es. Aber die Keys für AustriaSat/ORF haben soch schon lange nicht mehr geändert. Da wird eher bald due CAID 0D05 ganz zu sein.
Re: Raspberry Pi oder Pogoplug
Verfasst: Sa 23. Nov 2013, 14:00
von skapi
kann das keyfile ausgelagert werden?
Soll heissen, sollte sich das file ändern, damit man nur des keyfile erneuert ohne die komplette oscam erneuern zu müssen?
Re: Raspberry Pi oder Pogoplug
Verfasst: Sa 23. Nov 2013, 15:29
von jensebub
Wenn du dir mal die README von
OScam-emu anschaust, dann siwhst du, dass keyfilesupport noch auf der todo-list steht.
OSCam-emu: Open Source Conditional Access Module Emulator
=========================================================
OSCam-emu is an Oscam addon module to include emulator support and other functionality that collides with the goal of the original oscam developers.
This patch creates functional emulator support on a client base so keys can't be reshared over the net, if you want a "shareable" EMU use OSEmu instead and add it as a reader to your plain oscam server.
OSEmu can be found at
https://github.com/oscam-emu/OSEmu
Supported systems
=================
Currently only the following crypto systems are available:
- Cryptoworks
- NDS
- Viaaccess-2.3
All of these are basicly working but far from complete so anyone filling in blanks is welcome...
TODO
====
Work has to be done on the following items:
- Add other encryption systems
- Add keyfile support
- More keys
Version history
===============
OSCam-emu history is accessible through GitHub commits at:
https://github.com/oscam-emu/oscam-emu
Building OSCam-emu from source
==========================
- Get the lastest oscam sources from SVN:
svn checkout
http://www.streamboard.tv/svn/oscam/trunk oscam-svn
- save the oscam-emu.patch file
- Go to oscam-svn directory.
- Patch the source with the EMU patch:
patch -p1 < ../oscam-emu.patch
- Run `./config.sh -g` to choose the features you want. (make sure to include at least all readers, constcw and emu support besides the wanted protocols)
- Run `make` to compile OSCam.
Help and Support
================
You may visit our issues system for filling in bug reports regarding EMU issues.
https://github.com/oscam-emu/oscam-emu/issues
Configuration wiki:
http://www.streamboard.tv/wiki/index.php/OSCam/
Configuring the EMU part is easy, there is none, currently all keys are inside the source…
Gruß
jensebub
Re: Raspberry Pi oder Pogoplug
Verfasst: Sa 23. Nov 2013, 17:25
von skapi
sooo.... noch mal zum Verständnis OSEmu dient als keyserver den ich als reader mit einbinden kann.
OScam-emu ist eine gepatchte oscam version mit emu support.
wenn ich nach deiner Anleitung vorgehe, scheitere ich ab dem Punkt "make config"
schaut dann so aus..
make: *** Keine Regel, um »config« zu erstellen. Schluss.
Nach dem README kann ich jetzt auch nicht vorgehen, da das streamboard down ist
Vorgehensweise...
Re: Raspberry Pi oder Pogoplug
Verfasst: Sa 23. Nov 2013, 17:54
von jensebub
skapi hat geschrieben:sooo.... noch mal zum Verständnis OSEmu dient als keyserver den ich als reader mit einbinden kann.
OScam-emu ist eine gepatchte oscam version mit emu support....
genau so ist es, steckt ja schon in dem Unterschied im Namen
skapi hat geschrieben:...Nach dem README kann ich jetzt auch nicht vorgehen, da das streamboard down ist
auch das ist richtig, da NUR dort die source für OScam liegt,... und ohne die kann man nicht den EMU-Support hinzupatchen.
skapi hat geschrieben:...wenn ich nach deiner Anleitung vorgehe, scheitere ich ab dem Punkt "make config"
schaut dann so aus...
Da das strwamboard im Moment down ist, spielt es keine Rolle, nach welcher Anleitung du vorgegangen bist, ohne OScam-source wird es wohl nicht funktionieren.
Die Vorgehensweise zum patchen und kompilieren siehe
oben in der README
ODER
Du machst dir ein OSemu selber wie in der README beschrieben:
Here is a working sample for such a simple (micro) emu.
It includes the basic needed Camd35 UDP functionality and is really very simple and compact.
Build: Just enter "make", there are no options necessary as long as you don't crosscompile (but as it's standard c code with no dependencies it should work quite easy on all plattforms)
Start: Start the built OSEmu binary. The necessary options will get displayed as usage info (a single user account and the port). It automatically listens on all IP addresses on the machine, including localhost.
Use in OSCam: Create a camd35 reader with caid/ident defined accordingly to what you emulate and maybe also services if you want. Use the user/password/port that you specified on start of OSEmu and it should start to get decoded.
Credits go to "Admin" for this…
svn checkout
https://github.com/oscam-emu/OSEmu/trunk OSEmu
You use the program with the following options:
- -a user:password
- -p portnumber
- -b (start in background/daemon mode)
An example would be:
- /usr/bin/OSEmu -a server:passwd -p 12345 -b
And the corresponding oscam reader entry:
[reader]
label = OSEmu
protocol = camd35
device = 127.0.0.1,12345
user = server
password = passwd
caid = 0D00,0D02,0D03,0D05
group = 1
Hierbei bist du OScam-Source unabhängig
Gruß
jensebub
Re: Raspberry Pi oder Pogoplug
Verfasst: Sa 23. Nov 2013, 18:51
von skapi
irgendwie scheint heute nichts recht zu funktionieren
Ich hab mich für die OSEmu Variante entschieden und diesen im /var/emu/OSEmu angelegt.
Dateiberechtigungen hab ich auch vergeben, leider lässt er sich nicht starten
root@raspberrypi /var/emu/OSEmu > OSEmu -a server:passwd -p 12345 -b
-bash: OSEmu: Kommando nicht gefunden.
Re: Raspberry Pi oder Pogoplug
Verfasst: Sa 23. Nov 2013, 18:55
von jensebub
An example would be:
- /usr/bin/OSEmu -a server:passwd -p 12345 -b
wenn du dich schon in dem Verzeichniss befindest, wirst du wohl
machen müssen,... und die Rechte müssen stimmen.
Gruß
jensebub