Raspberry Pi oder Pogoplug

skapi
IPC Interessierter
Beiträge: 93
Registriert: Mo 23. Mai 2011, 20:32
Kontaktdaten:

Re: Raspberry Pi oder Pogoplug

Beitrag 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).
Benutzeravatar
Alx83
Entwickler Team
Beiträge: 660
Registriert: Mo 12. Mär 2012, 22:48
Has thanked: 14 times
Been thanked: 7 times
Kontaktdaten:

Re: Raspberry Pi oder Pogoplug

Beitrag von Alx83 »

Die keys sind in der von mir kompilierten Oscam-Emu schon enthalten und brauchen nicht eingebunden werden
Auf den Alkohol! Die Ursache und Lösung aller Probleme - Homer J. Simpson
skapi
IPC Interessierter
Beiträge: 93
Registriert: Mo 23. Mai 2011, 20:32
Kontaktdaten:

Re: Raspberry Pi oder Pogoplug

Beitrag von skapi »

D.h. wenn sich die keys ändern muss neu kompiliert werden?!
Benutzeravatar
Alx83
Entwickler Team
Beiträge: 660
Registriert: Mo 12. Mär 2012, 22:48
Has thanked: 14 times
Been thanked: 7 times
Kontaktdaten:

Re: Raspberry Pi oder Pogoplug

Beitrag 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.
Auf den Alkohol! Die Ursache und Lösung aller Probleme - Homer J. Simpson
skapi
IPC Interessierter
Beiträge: 93
Registriert: Mo 23. Mai 2011, 20:32
Kontaktdaten:

Re: Raspberry Pi oder Pogoplug

Beitrag 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?
Benutzeravatar
jensebub
IPC Meister
Beiträge: 1133
Registriert: So 1. Mai 2011, 09:34
Been thanked: 1 time
Kontaktdaten:

Re: Raspberry Pi oder Pogoplug

Beitrag von jensebub »

Wenn du dir mal die README von OScam-emu anschaust, dann siwhst du, dass keyfilesupport noch auf der todo-list steht.
Spoiler
Show
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
skapi
IPC Interessierter
Beiträge: 93
Registriert: Mo 23. Mai 2011, 20:32
Kontaktdaten:

Re: Raspberry Pi oder Pogoplug

Beitrag 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..
Spoiler
Show
make: *** Keine Regel, um »config« zu erstellen. Schluss.
Nach dem README kann ich jetzt auch nicht vorgehen, da das streamboard down ist :x

Vorgehensweise...
Spoiler
Show
1. svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn
2. Patch file downloaded und ins oscam Verzeichnis
3. patch -p1 < ../oscam-emu.patch
4. ./config.sh -g
5. make
6. Fertig oder?
Benutzeravatar
jensebub
IPC Meister
Beiträge: 1133
Registriert: So 1. Mai 2011, 09:34
Been thanked: 1 time
Kontaktdaten:

Re: Raspberry Pi oder Pogoplug

Beitrag 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 :x
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:
Spoiler
Show
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
skapi
IPC Interessierter
Beiträge: 93
Registriert: Mo 23. Mai 2011, 20:32
Kontaktdaten:

Re: Raspberry Pi oder Pogoplug

Beitrag 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
Spoiler
Show
root@raspberrypi /var/emu/OSEmu > OSEmu -a server:passwd -p 12345 -b
-bash: OSEmu: Kommando nicht gefunden.
Benutzeravatar
jensebub
IPC Meister
Beiträge: 1133
Registriert: So 1. Mai 2011, 09:34
Been thanked: 1 time
Kontaktdaten:

Re: Raspberry Pi oder Pogoplug

Beitrag 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

Code: Alles auswählen

./OSEmu -a server:passwd -p 12345 -b
machen müssen,... und die Rechte müssen stimmen. ;)

Gruß
jensebub
Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast