OSCam (Raspberry): Unterschied zwischen den Versionen
(→Links) |
|||
(57 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
{{note| | == Benötigte Pakete installieren == | ||
<pre> | |||
sudo apt-get install gcc make libc-bin subversion dialog libssl-dev | |||
</pre> | |||
== Checkout == | |||
<pre> | |||
cd /usr/src | |||
sudo svn co https://svn.streamboard.tv/oscam/trunk oscamsvn | |||
</pre> | |||
== Kompilieren == | |||
Starten des Tool zum Konfigurieren von OSCAM vor dem Kompilieren als root (alle AddOns wählen, mit der Ausnahme von ''TOUCH'', ''WITH_NEUTRINO'' und ''IPV6SUPPORT'': | |||
<pre> | |||
sudo su | |||
cd /usr/src/oscamsvn | |||
./config.sh --gui | |||
</pre> | |||
Kompilieren starten mit ''make'': | |||
<pre> | |||
make | |||
</pre> | |||
Erzeugtes Binary: | |||
<pre> | |||
/usr/src/oscamsvn/Distribution/oscam-1.20_svn11711-aarch64-linux-gnu-ssl | |||
</pre> | |||
Ausgabename setzt sich folgendermaßen zusammen: | |||
<pre> | |||
oscam-VERSVN_REV-TARGET | |||
VER: 1.20_svn | |||
SVN_REV: 11711 | |||
TARGET: aarch64-linux-gnu-ssl | |||
</pre> | |||
<pre> | |||
exit | |||
</pre> | |||
=== Links === | |||
[https://wiki.streamboard.tv/wiki/OSCam/de/Self-made#Erkl.C3.A4rungen_zur_men.C3.BCgef.C3.BChrten_Konfiguration https://wiki.streamboard.tv/wiki/OSCam/de/Self-made#Erkl.C3.A4rungen_zur_men.C3.BCgef.C3.BChrten_Konfiguration] | |||
== Binary kopieren == | |||
<pre> | |||
sudo cp /usr/src/oscamsvn/Distribution/oscam-1.20_svn11711-aarch64-linux-gnu-ssl /usr/local/bin | |||
cd /usr/local/bin | |||
sudo ln -sfn oscam-1.20_svn11711-aarch64-linux-gnu-ssl oscam | |||
</pre> | |||
Danach ist das Binary direkt mittels ''oscam'' aufrufbar: | |||
<pre> | |||
which oscam | |||
</pre> | |||
liefert: | |||
<pre> | |||
/usr/local/bin/oscam | |||
</pre> | |||
== Service erstellen == | |||
<pre> | |||
sudo vi /lib/systemd/system/oscam.service | |||
</pre> | |||
<pre> | |||
[Unit] | |||
Description=Oscam Service | |||
[Service] | |||
ExecStart=/usr/local/bin/oscam | |||
[Install] | |||
WantedBy=multi-user.target | |||
</pre> | |||
<pre> | |||
sudo systemctl enable oscam.service | |||
</pre> | |||
{{note|Deprecated}} | |||
<pre> | |||
cd /etc/systemd/system/ | |||
sudo ln -sfn /lib/systemd/system/oscam.service oscam.service | |||
</pre> | |||
== Webinterface == | |||
<pre> | |||
http://<server ip>:8888 | |||
</pre> | |||
== PID-File == | |||
<pre> | |||
sudo ls -la /tmp/.oscam/ | |||
total 16 | |||
drwx------ 2 root root 4096 Jun 6 12:32 . | |||
drwxrwxrwt 11 root root 4096 Jun 6 12:39 .. | |||
-rw-r--r-- 1 root root 4 Jun 6 12:32 oscam.pid | |||
-rw-r--r-- 1 root root 3360 Jun 6 12:32 oscam.version | |||
</pre> | |||
== Konfiguration == | |||
<pre> | |||
ConfigDir: /usr/local/etc/ | |||
</pre> | |||
Siehe: [[OSCam-Konfiguration (Cardsharing)|OSCam-Konfiguration]] | |||
== Kartenleser fix verlinken == | |||
Siehe: [[Easymouse2_USB#Fix_verlinken|Easymouse2 USB#Fix verlinken]] | |||
== Picons == | |||
Siehe: [[Picons_(Oscam_Webif)|Picons (Oscam_Webif)]] | |||
== CSP (Card Sharing Proxy) == | |||
=== Links === | |||
[https://sat-sharing.info/forum/showthread.php?t=45306 https://sat-sharing.info/forum/showthread.php?t=45306] | |||
[https://sat-sharing.info/forum/showthread.php?t=252324 https://sat-sharing.info/forum/showthread.php?t=252324] | |||
[https://svn.streamboard.tv/CSP/trunk/config/proxy-reference.html https://svn.streamboard.tv/CSP/trunk/config/proxy-reference.html] | |||
== Überwachen == | |||
Siehe dazu: [[Oscam Cardserver überwachen (Rapberry)|OSCam Cardserver überwachen]] | |||
== Links == | == Links == | ||
[https:// | [https://trac.streamboard.tv/oscam/wiki/BuildingOscam https://trac.streamboard.tv/oscam/wiki/BuildingOscam] | ||
[https://trac.streamboard.tv/oscam/browser/trunk/README.build https://trac.streamboard.tv/oscam/browser/trunk/README.build] | |||
[https://de.paperblog.com/raspberry-pi-2-als-oscam-server-einrichten-update-957526/ https://de.paperblog.com/raspberry-pi-2-als-oscam-server-einrichten-update-957526/] | |||
[https://trac.streamboard.tv/oscam https://trac.streamboard.tv/oscam] | |||
[https://wiki.streamboard.tv/wiki/OSCam/de https://wiki.streamboard.tv/wiki/OSCam/de] | |||
Zurück zu [[Raspbian#Allgemein|Raspbian]] | Zurück zu [[Raspbian#Allgemein|Raspbian]], [[OSCam (Satreceiver)#Cardsharing|OSCam]] |
Aktuelle Version vom 10. März 2024, 13:48 Uhr
Benötigte Pakete installieren
sudo apt-get install gcc make libc-bin subversion dialog libssl-dev
Checkout
cd /usr/src sudo svn co https://svn.streamboard.tv/oscam/trunk oscamsvn
Kompilieren
Starten des Tool zum Konfigurieren von OSCAM vor dem Kompilieren als root (alle AddOns wählen, mit der Ausnahme von TOUCH, WITH_NEUTRINO und IPV6SUPPORT:
sudo su cd /usr/src/oscamsvn ./config.sh --gui
Kompilieren starten mit make:
make
Erzeugtes Binary:
/usr/src/oscamsvn/Distribution/oscam-1.20_svn11711-aarch64-linux-gnu-ssl
Ausgabename setzt sich folgendermaßen zusammen:
oscam-VERSVN_REV-TARGET VER: 1.20_svn SVN_REV: 11711 TARGET: aarch64-linux-gnu-ssl
exit
Links
Binary kopieren
sudo cp /usr/src/oscamsvn/Distribution/oscam-1.20_svn11711-aarch64-linux-gnu-ssl /usr/local/bin cd /usr/local/bin sudo ln -sfn oscam-1.20_svn11711-aarch64-linux-gnu-ssl oscam
Danach ist das Binary direkt mittels oscam aufrufbar:
which oscam
liefert:
/usr/local/bin/oscam
Service erstellen
sudo vi /lib/systemd/system/oscam.service
[Unit] Description=Oscam Service [Service] ExecStart=/usr/local/bin/oscam [Install] WantedBy=multi-user.target
sudo systemctl enable oscam.service
Deprecated
cd /etc/systemd/system/ sudo ln -sfn /lib/systemd/system/oscam.service oscam.service
Webinterface
http://<server ip>:8888
PID-File
sudo ls -la /tmp/.oscam/ total 16 drwx------ 2 root root 4096 Jun 6 12:32 . drwxrwxrwt 11 root root 4096 Jun 6 12:39 .. -rw-r--r-- 1 root root 4 Jun 6 12:32 oscam.pid -rw-r--r-- 1 root root 3360 Jun 6 12:32 oscam.version
Konfiguration
ConfigDir: /usr/local/etc/
Siehe: OSCam-Konfiguration
Kartenleser fix verlinken
Siehe: Easymouse2 USB#Fix verlinken
Picons
Siehe: Picons (Oscam_Webif)
CSP (Card Sharing Proxy)
Links
https://sat-sharing.info/forum/showthread.php?t=45306
https://sat-sharing.info/forum/showthread.php?t=252324
https://svn.streamboard.tv/CSP/trunk/config/proxy-reference.html
Überwachen
Siehe dazu: OSCam Cardserver überwachen
Links
https://trac.streamboard.tv/oscam/wiki/BuildingOscam
https://trac.streamboard.tv/oscam/browser/trunk/README.build
https://de.paperblog.com/raspberry-pi-2-als-oscam-server-einrichten-update-957526/
https://trac.streamboard.tv/oscam