Thursday, 9 August 2012

How To Upgrade Amiko Alien 2 Enigma2 Image Via USB

INSTALLING ENIGMA2 USING SPARK PLUGIN IN AMIKO ALIEN/ALIEN 2

Upgrade Enigma2 by USB

Preparation:
1.We only recommend Kingston USB stick, we don’t support USB hard disk, you can try another usb stick.
2.Please make sure your USB stick only have 1 partition and the file system is FAT32
3.Set default booting system to [enigma2].
Upgrade Step:
1.Make sure [C:/engima2] is exist, if not, please create this folder.
2.copy [uImage] and [e2jffs2.img] to [C:/engima2]
3.Connect USB stick to STB
4.Keep Pressing [OK] Button in Front Panel, then power on STB.
5.After 5 seconds, you will see [Forc] in LED, release [OK] button and press [Right] Button.
6.if everything OK, You will see [U LD] shining in LED
7.if upgrade success, You will see [SUCC] and STB reboot automatically
If upgrade not finishes in 5 minutes, then there must be something wrong, please check your configuration and re-try.

Wednesday, 18 July 2012

How to forward CSP profiles cache to Oscam or MCS.

How to forward CSP profiles cache to Oscam or MCS.

How to forward CSP profiles cache to Oscam or MCS.
On CacheCoveragePlugin :
1- Forward to Oscam

<cache-forwarder name="oscam" type="udp" enabled="true">
<host>127.0.0.1</host>
<port>xxxx</port> <!-- where xxx is your Oscam cache port -->
<send-locks>true</send-locks>
<hide-names>false</hide-names>
<profiles>0002-0963</profiles> <!-- black for all profiles or you can write specfic profile name , here we set to sly uk profile -->
</cache-forwarder>
2- Forward to MCS
<cache-forwarder name="Multics" type="udp" enabled="true">
<host>127.0.0.1</host>
<port>xxxx</port> <!-- where xxxx is your MCS cache port -->
<send-locks>true</send-locks>
<hide-names>false</hide-names>
<profiles></profiles> <!-- black for all profiles or you can write specfic profile name -->
</cache-forwarder>
Enjoy ... by Shatanar

How to secure (encrypt) CSP connectors & user xml

How to secure (encrypt) CSP connectors & user xml

The connectors.xml &users.xml can be stored anywhere, as long as it can be accessed via url (e.g file://, http, https, ftp). Optionally, the list can also be blowfish encrypted using the included tool fishenc.jar (found in lib, java -jar fishenc.jar). If encrypted, tracker-key must be correctly set.
In the below example we are going to encypt connectors.xml & users.xml

cd /usr/local/csp/lib
java -jar fishenc.jar /usr/local/csp/config/connectors.xml /usr/local/csp/config/connector.enc 12345 <!-- where 12345 is your tracker key - (password) -->
java -jar fishenc.jar /usr/local/csp/config/users.xml /usr/local/csp/config/users.enc 12345 <!-- where 12345 is your tracker key - (password) -->
Using any ftp program copy the files connectors.xml & users.xml to a different PC rather than your CSP server, then delete the files connectors.xml & users.xml from your CSP server.
Finally update your proxy.xml with:
<user-source name="localusers">
<user-file-url>file:///usr/local/csp/config/users.enc</user-file-url>
<user-file-key>12345</user-file-key>
and
<connector-file-url>file:///usr/local/csp/config/connector.enc</connector-file-url>
<connector-file-key>12345</connector-file-key>
Enjoy..
By Shatanar

HOWTO: Compile OSCAM on Raspberry Pi, Dockstar or similar NAS running Debian

HOWTO: Compile OSCAM on Raspberry Pi, Dockstar or similar NAS running Debian


1. Preparations:

Update apt-list and install required packes:



Code:
apt-get update 
apt-get -y install apt-utils dialog usbutils
apt-get -y install gcc g++ wget
apt-get -y install build-essential subversion libpcsclite1 libpcsclite-dev
apt-get -y install libssl-dev cmake make 
apt-get -y install libusb-1.0-0-dev nano

If you need PCSC support:

Code:
apt-get install pcscd pcsc-tools


2. Get OSCAM source
Now switch to /usr/src, create a directory for oscam and download sources:


Code:
cd /usr/src
svn co http://www.oscam.to/svn/oscam/trunk oscam-svn

3. Compile OSCAM
Now compile oscam for your machine:

Code:
cd oscam-svn
mkdir build
chmod 755 build
cd build
cmake -DWEBIF=1 .. (those 2 dots are required. THIS IS IMPORTANT)
make

NOTE: If you get Errors while compiling e.g.

Code:
--   no libusb 1.0 found. No smartreader support
See the hint at the bottom before proceeding

Now we got our oscam binary
We're gonna move it to /var/local

Code:
cd /usr/src/oscam-svn/build
ls
there should be a file called "oscam"
So lets copy it:

Code:
cp oscam /var/local/
cd /var/local
chmod 755 oscam

4. Make OSCAM start at system startup:
We're adding oscam to rc.local to make it start at system boot.


Code:
nano /etc/rc.local
Now add

Code:
/var/local/oscam &
right above line

Code:
exit 0
Oscam will start everytime the system boots up from now on

5. configs and logfiles
We still need to get some config files.
By default oscam looks in /usr/local/etc for these file

Code:
cd /usr/local/etc
ls
There should be at least 3 files: oscam.user, oscam.server, oscam.conf
If not, copy your configs here

Now we need to create some logfiles and make them writable:


Code:
cd /var/local
mkdir oscam
chmod 755 oscam
cd oscam
mkdir cw
chmod 755 cw
nano oscamuser.log (enter a space and save file)
nano oscam.log (enter a space and save file)
chmod 755 oscamuser.log
chmod755 oscam.log
Thats it

6. Start oscam
You can now run oscam to check if it works

Code:
cd /var/local
./oscam


HINT: Oscam compile error: No smartreader support:
If you get Errors while compiling e.g.

Code:
--   no libusb 1.0 found. No smartreader support
go to /usr/src, get libusb 1.0.6 from sourceforge and compile for your system:

Code:
cd /usr/src/
mkdir libusb
chmod 755 libusb
cd libusb
wget http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.6/libusb-1.0.6.tar.bz2
tar xjf libusb-1.0.6.tar.bz2
make
install
 
After make install of libusb, start over with compiling oscam