Thanks for that, but how do I manually install this file ?
Do not extract the file, ftp it to the tmp folder as it is then install manually using remote.
Green
Yellow
Manual Install BH Packages
Thanks for that, but how do I manually install this file ?
Do not extract the file, ftp it to the tmp folder as it is then install manually using remote.
Green
Yellow
Manual Install BH Packages
Backup your oscam file before you start.
This will update your oscam version only, configs will remain intact.
Cccam 2.2.1 for Egami image
Licher Pils Picons
Update 15.06.2011 for Hotbird 13°E
Update 18.06.2011 for Astra 28.2°E
Since oscam is still under developement and it is constantly updates in terms of SVN's (sub versions numbers).
The updates are after every few hours, to update your system manually can be lengthly procedure.
So i write a simple auto update script, this script will automatically download new version from Streamboard and compile to for you.
To fully automate the procedure use cronjobs, to auto run say 3am every morning.
I compiled oscam on my pc with webif,irdeto guessing abd CW double check support but you can change setting and folder by editing script.
If you have compiled using different folder names etc, please edit script accordingly.
Procedure:
Download the file named "Oscam_update.sh" from the link below.
Copied the file to /emu/script via any FTP.
Chmod 755 via putty
Run via putty with this command /emu/script/./Oscam_update.sh
Download file from Oscam_update.sh
#!/bin/sh
# ###### #### ##### ##### ### ###
# ## ## ## ## ## ## ## ## ##
# ## ## ##### ## ####### ## ## ##
# ## ## ## ## ## ## ## ##
# ###### #### ##### ## ## ## ## R
#
####################################################################
# 1 June 2011
# By: Raja
# Description: Automaticaly Stop Oscam and update to latest oscam version
# Also restart it after update
####################################################################
# - You can modify it to fit your needs :)
# - Add # infront of any line that you don't want to execute
####################################################################
### Checking if Oscam is running, if yes then Stopping it ##########
process=`ps auxwww | grep oscam | grep -v grep | awk '{print $1}'`
if [ -z '$process' ]; then
echo "Oscam was not running"
else
echo "Stopping Oscam"
/etc/init.d/oscam stop
echo "Oscam stopped"
fi
## Opening Oscam directory #####
cd /usr/src
## Removing Old directory ######
rm -rf oscam
### Downloading latest Version in oscam directory #######
echo "downloading latest SVN release of oscam"
svn co http://streamboard.gmc.to/svn/oscam/trunk oscam
sleep 2
## Opening new oscam directory #######
cd oscam/
## Making new directory called build ###
mkdir build
## Opening directory Build
cd build/
## Compiling Oscam #####
echo "Starting compilation of oscam with WEBIF Support,CW double check and irdeto guessing"
cmake -DWEBIF=1 IRDETO_GUESSING=1 -DCS_WITH_DOUBLECHECK=1 ..
sleep 5
echo "Compilation finished"
## Installing new version oscam #####
echo "Now installing"
make install
echo "Finished installing"
sleep 2
## Starting Oscam ######
/etc/init.d/oscam start
sleep 2
## Checking if successfully started ####
echo "Please wait while I check if Oscam started"
sleep 3
process=`ps auxwww | grep oscam | grep -v grep | awk '{print $1}'`
if [ -z '$process' ]; then
echo "Oscam still not running"
echo "Trying again"
/etc/init.d/oscam start
else
echo "Oscam Running OK"
fi
Display More
Thanks to raja for this script
Oscam can be run on windows computer without any virtual PC server etc..
All binaries are built on a cygwin environment and it is already compiled and ready to use.
Compiled with the modules : WebIf, Irdeto Guessing, Anti-Cascading, Debug Messages, Log History and Monitor.
Procedure:
1) Create a folder anywhere you like on your computer e.g c:\oscam
2) Download the oscam file oscam-cygwin-svn-5395.zip
3) File is in .zip format
4) Extract the contents on the archive to newly created folder in step 1
5) Now download cygwin dll file from cygwin-dlls.rar
6) The file is in .rar format
7) Extract content of archive to same folder we created in step 1
8) Now create oscam.user, oscam.server and oscam.config file and copy into same folder we created in step 1
9) Now open the folder we created in step 1 and double click oscam.exe
10) Depending on windows version, firewall message will pop up
11) click unblock to get network access.
12) DOS window should show oscam running
If you not sure how to create oscam.config, oscam.server or oscam.user file. You can download this folder, it has example and samples of every oscam config file.
Download here oscam-doc-examples.rar
If you want to use SMARGO´s you can use this utility to list the devices
download from here List_Smargo.zip and extract the archive to oscam folder.
Also if you have CCcam.cfg file and you want to convert it to oscam files.
use this simple converter CCcam Converter_1.1.zip
N.B: I didnot compile any part of this project so credit goes to the original owner.
Since oscam is under constant developement and new SVN's are coming everyday. New updates can be downloaded from here Oscam for Windows « tek.readers
Try this script and let us know if it works for you, HERE.
Hi all,
I have prepeared a script that automatically checks and updates oscam to the latest version and I want to share it with you...
(I use this on Ubuntu Server 10.10)
In terminal
1) create a file named: oscam_update.sh (or watever you want)
2) insert the following content
###### #### ##### ##### ### ###
## ## ## ## ## ## ## ## ##
## ## ##### ## ####### ## ## ##
## ## ## ## ## ## ## ##
###### #### ##### ## ## ## ## R
####################################################################
# 18 Jan 2011
# By: billyk
# Description: Automaticaly check and update to latest oscam version
# Also restars it after update
####################################################################
# - You can modify it to fit your needs :)
# - Add # infront of any line that you don't want to execute
####################################################################
echo "--> 1rst go to oscam's dir"
cd /usr/local/bin
echo " [ OK ] "
echo "--> Backup previus version"
#you must create a folder named: oscam_backups under /usr/local/bin
sudo mv ./oscam ./oscam_backups/oscam_$(date +%m-%d-%Y-%H:%M)
echo " [ OK ] "
echo "--> Let's remove old folder..."
sudo rm -rf oscam-svn
echo " [ OK ] "
echo "--> Checking for latest version and create oscam-svn dir..."
sudo svn co http://oscam.ump2002.net/svn/oscam/trunk oscam-svn
echo " [ OK ] "
echo "--> Change dir to: oscam-svn"
cd oscam-svn/
echo " [ OK ] "
echo "--> Create new folder: build_dir"
sudo mkdir build_dir
echo " [ OK ] "
echo "Change dir to: build_dir"
cd build_dir
echo " [ OK ] "
echo "--> Compile new version with Smargo smartreader support"
sudo cmake -DHAVE_LIBUSB=1 /usr/local/bin/oscam-svn
# You must have the needed libs to run smartreader with oscam.
# If you do not want smartreader support...
# ...simply remove [-DHAVE_LIBUSB=1]
# so you will have this line:
# sudo cmake /usr/local/bin/oscam-svn
echo " [ OK ] "
echo "--> Now... make!"
sudo make
echo " [ OK ] "
echo "--> Finally we install the latest fersion..."
sudo make install
echo " [ OK ] "
echo "---> ...so it's time to clean..."
sudo make clean
echo "OK. Now you have the latest oscam version!"
#########################################################################
# Also you can stop and start oscam from this script
# The only thing you have to do is to remove the # from following lines...
##########################################################################
if ps x |grep -v grep |grep -c oscam >/dev/null
then
echo "Oscam is running so we will stop it & restart it"
sudo killall -9 oscam
echo "Oscam killed"
sleep 1
echo "...so going to start it"
sudo /usr/local/bin/oscam -b &
echo "Done. Oscam is running!"
echo "If oscam's settings are OK, you will have picture at 5 to 10 seconds!"
echo "Chears! :)"
else
echo "Starting oscam..."
sudo /usr/local/bin/oscam -b &
fi
##########################################################################
Display More
3) chmod oscam_update.sh to 755
4) run it!!!
Also you can add it as cron job and run it in a specific time of the day.
example:
add this line (this runs at 04:00 every day)
Thanks to billyk for this script..
I`ve looked at your configs and they look fine buddy. What image are you using on your DM500 ? Have you downloaded the oscam+CCcam 2.1.3 from the addons panel or have you compiled it yourself and are using a stop/start script ? If all else fails there is a sly uk ready open pli image for the DM500 HERE.
Post your oscam configs here and we can have a look for you. If you say some channels are working then it may be your boxkey, have you added the boxkey to oscam.server with no spaces ( boxid = ******** ) ?
i am going to install this version ubuntu-10.04-server-i386 . is that ok?
I used the normal version but the server should work OK too.
I have tested on Ubuntu server 10.4, installed without errors, have omnikey reader arriving this week so will update whether these are ready to go also.
If you are viewing on the pc you installed on the ip will be 127.0.0.1 , for viewing from another machine use 192.168.1.6.
c line allows connection to the CCcam protocol and n line allows connection to the newcamd protocol.
Oscam doesnt rely on CCcam, it can share on its own. The only problem is you can only give out n lines, so you will need to be more careful who you share with as it can be abused. Even sharing with CCcam isnt secure anymore as your c line can be added to oscam and all restrictions you have set can be bypassed.
The oscam files that need editted are found in folder /etc/tuxbox/config. I`ve attached them so you can replace with whats already there. You will need to open port 34000 & 15001 in your router for the n lines to work. Most important thing to do is change the user and passwords in oscam.user to your own and match them to the n line, i`ve hightlighted them for you.
Oscam.conf
[global]
nice = -1
WaitForCards = 1
ClientTimeout = 5
CacheDelay = 120
[newcamd]
Key = 0102030405060708091011121314
Port = 34000@0100:006C
[webif]
httpport = 8888
httpuser = admin
httppwd = admin
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
# protocols
[global]
nice = -1
WaitForCards = 1
ClientTimeout = 5
CacheDelay = 120
logfile = /usr/local/etc/oscam.log
[newcamd]
Key = 0102030405060708091011121314
Port = 15001@0500:032820
[webif]
httpport = 8888
httpuser = admin
httppwd = admin
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
# protocols
Display More
oscam.server
[reader]
Label = TV Vlaanderen
Protocol = internal
Detect = cd
Device = /dev/sci0
EMMCache = 1,3,2
Group = 1
CAID = 0100
ident = 0100:006C
[reader]
label = CSAT
Protocol = internal
detect = CD
device = /dev/sci1
Group = 2
EMMCache = 1,3,2
CAID = 0500
ident = 0500:032820
Display More
oscam.user
[account]
user = [COLOR='#00FF00']test1[/COLOR]
pwd = [COLOR='#00FF00']test2[/COLOR]
group = 1
AU = TV Vlaanderen
[account]
user = [COLOR='#FFFF00']test3[/COLOR]
pwd = [COLOR='#FFFF00']test4[/COLOR]
group = 2
AU = CSAT
Display More
Top slot TV Vlaanderen
N: 127.0.0.1 34000 test1 test2 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
Bottom slot CSAT
N: 127.0.0.1 15001 test3 test4 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
Yes, this version is the best to use with oscam, any of the versions after this wont show your card as local, it will show hop 10. Can you tell us which encryption your canal+ card uses, is it seca or viaccess ?