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
try
sudo nano crontab
as you need to be running as root
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 ?
what kind of ECMs you getting digi?
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?
You don't have permission to view the code content. Log in or register now.
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
We use essential cookies to make this site work, and optional cookies to enhance your experience.