Raspberry Pi and Oscam

one thing ive noticed is ram over a while gets used up so i have my clear free memory every 1hr

#free up memory

cd /etc
nano crontab

#add this line

05 * * * * root echo 3 > /proc/sys/vm/drop_caches
 
one thing ive noticed is ram over a while gets used up so i have my clear free memory every 1hr

#free up memory

cd /etc
nano crontab

#add this line

05 * * * * root echo 3 > /proc/sys/vm/drop_caches

So do you have to keep adding these lines every hour or does this make it automated to clear the ram?

Thanks
 
does it automatically every hour at 5 mins past the hour

Right have been on hols & thought would give this a go now but I get write permissions denied, here is pic of it.

Thanks

Pi.jpg
 
Good evening guys, this thread is what brought me here. Has anybody tested if it can take around 20 - 30 C & F lines ?
I am stil waiting for my Pi. Thanks for the info and tutorial. The question has being asked before, but no answer yet.
 
Last edited:
Well finally had a chance to try this out on Sat, booted everything up & was waiting for it not to work & 1st try, everything up & running, could not believe it, getting ECM times around.098, so think that quite good. Thanks to all the people who took there time to help out :)
 
Must get one of these on order to have play with...RS have got like 16 weeks expected dispatch date though... Considering a DM500 is capabale of running 20 clients with a Slower CPU and less RAM.. A Rasberry PI should easily handle it. RPI has a much smaller physical size as well.
 
hi, is there a script that will restart oscam at a certain time everyday please?
 
sudo apt-get install update-manager-core
sudo apt-get update
sudo apt-get update
sudo apt-get install proftpd

sudo chown pi /usr/local/bin
sudo chown pi /usr/local/etc

sudo apt-get install openssl
sudo apt-get install libssl-dev
sudo apt-get install cmake build-essential
sudo apt-get install gcc g++ cmake libpcsclite1 libpcsclite-dev subversion
sudo wget h**p://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.8/libusb-1.0.8.tar.bz2 #replace ** with tt
sudo tar xjvf libusb-1.0.8.tar.bz2
cd libusb-1.0.8
sudo ./configure --enable-shared=no
sudo make
sudo make install
cd /usr/src
sudo svn co h**p://www.oscam.to/svn/oscam/trunk oscam #replace ** with tt
cd oscam
sudo mkdir build
cd build
sudo cmake -DWEBIF=1 ..
sudo make
sudo cp oscam /usr/local/bin
sudo chmod 755 /usr/local/bin/oscam

# put oscam files in /usr/local/etc
cd

sudo apt-get install pcscd
sudo apt-get install pcsc-tools

# test card reader
cd
pcsc_scan

#start oscam
cd /usr/local/bin
sudo oscam -b

Me again. Finally my pi is here, i am using this tutorial for oscam but i hit a problem.
When i use the command cd oscam i get the error :

root@raspberrypi:/usr/src# cd oscam
-bash: cd: oscam: No such file or directory

I followed the tutorial exactly, where could be the problem ?
 
Me again. Finally my pi is here, i am using this tutorial for oscam but i hit a problem.
When i use the command cd oscam i get the error :

root@raspberrypi:/usr/src# cd oscam
-bash: cd: oscam: No such file or directory

I followed the tutorial exactly, where could be the problem ?

well it basically means that you haven created an directory called oscam or there is not one by that name. not sure if it helps.

raspberry pi is great little machine but to be honest they are pretty slow when loaded with clients. that being said they make decent proxy readers for a main server!!.
 
Loads of people using these now if setup correctly should not have any problems, there are a few tweaks available for it like clearing the cache every hour with cron tab and freeing up more memory by assigning 16mb to the graphics, mines been working a treat.
 
what kind of ECMs you getting digi?


Around the same as what i have on a dedicated debian server i built, to be honest never really pushed it too much had around 20 peers on it with exchanges and it never flinched so cant complain. It is now relegated as a backup.
 
Loads of people using these now if setup correctly should not have any problems, there are a few tweaks available for it like clearing the cache every hour with cron tab and freeing up more memory by assigning 16mb to the graphics, mines been working a treat.

Have you got a script running on yours for restarting oscam if it stops please?
 
Have you got a script running on yours for restarting oscam if it stops please?

I dont sorry the only 2 cron jobs i had working on mine is one to clear the cache every hour and one to reboot the Pi at 5:45am every morning

here is the commands if needed, all Thanks to Musogeek for these.

Code:
You don't have permission to view the code content. Log in or register now.


I was also told to use at least a minimum of a Class10 SD card on the pi as rumours of lower classes actually melting
 
I dont sorry the only 2 cron jobs i had working on mine is one to clear the cache every hour and one to reboot the Pi at 5:45am every morning

here is the commands if needed, all Thanks to Musogeek for these.

Code:
You don't have permission to view the code content. Log in or register now.


I was also told to use at least a minimum of a Class10 SD card on the pi as rumours of lower classes actually melting

Thanks m8, have got the cache one but will add the reboot one ;-)
 
Back
Top