ANy one PLEASE?
Oscam server setup guide - Raspberry Pi from scratch.
-
- Article
- musogeek
- Thread is marked as Resolved.
-
-
If you follow this tutorial your in should be in var/local, for oscam to start you should do this sudo nano /etc/rc.local and add at the end before exit 0: /var/local/oscam &
To save it Ctrl and x, Y and enter, this way oscam should stat on boot.
Checked /etc/init.d but there is no file called oscam.sh
Oscam binary is in Var/local
and configs are in /usr/loca/etc/
Where are the other two files you mentioned located?
-
the main thing is the script, where there are the commands to start oscam /etc/init.d/oscam.sh (chmod 755)
Code
Display More### BEGIN INIT INFO # Provides: oscam # Required-Start: $all # Required-Stop: $all # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/stop Oscam # Description: Start/stop Oscam ### END INIT INFO case "$1" in start) ulimit -s 512 exec start-stop-daemon -S -x /home/madatther/OScam/oscam -- -b -r 2 -c /home/madatther/OScam/ ;; stop) exec start stop-daemon -K -R 2 -x /home/madatther/OScam/oscam & sleep 2 killall -9 oscam 2>/dev/null rm -rf /tmp/.oscam ;; restart|reload) $0 stop sleep 1 $0 start ;; version) echo "1.20" ;; info) echo "oscam" ;; *) echo "Usage: $0 start|stop|restart" exit 1 ;; esac exit 0
adjust your path /home/madatther/OScam/
the best thing is to insert both configuration files that bin file in same folder /home/madatther/OScam/ -
If my Oscam binary is usr/bin/local
Change the madhatter path to that?
Sent from my SM-N9005 using Tapatalk
-
If you follow this tutorial your in should be in var/local, for oscam to start you should do this sudo nano /etc/rc.local and add at the end before exit 0: /var/local/oscam &
To save it Ctrl and x, Y and enter, this way oscam should stat on boot.
Is it better to use sumo nan or via windup?
Sent from my SM-N9005 using Tapatalk
-
Done all of the above and still nothing, really frustrating as followed the tutorial to the letter
-
It seems to be running now but taking ages to start and its due to this
cs357x: Bind request failed
Any ideas / help?
-
For anyone else who has problems with the PI. Using the very latest build of Wheezy led to network freezes and only way to restart was power down. These could be 30 minutes to an hour and were erratic so no way of knowing.
In the end used wheezy build I first build from last year and touch wood everything is fine now.
-
can anyone tell me how to update this part of the tuto?
apt-get -y install libusb-1.0-0-dev nano
&
ln -s /usr/lib/arm-linux-gnueabihf/libusb-1.0.a /usr/local/lib/libusb-1.0.a
to work with the latest libusb-1.0.9
thanks
fozdoes it need the latest 1.0.9?
would this grab the latest packages:- apt-get install libusb-dev -
Any built this on the PI2 as 5:45 reboot is not happening, any ideas for a fix?
- - - Updated - - -
can anyone tell me how to update this part of the tuto?
apt-get -y install libusb-1.0-0-dev nano
&
ln -s /usr/lib/arm-linux-gnueabihf/libusb-1.0.a /usr/local/lib/libusb-1.0.a
to work with the latest libusb-1.0.9
thanks
fozdoes it need the latest 1.0.9?
would this grab the latest packages:- apt-get install libusb-devdid you find the answer to this Foz?
-
-
Oscam is working but the reboot is not.
I gave up in the end as doing my head in reading all the sites:34_002:
Friend who is more knowledgeable about linux said cron had been changed and as I have a RP2 put it down to that.
Just rebuilt everything again and see what happens now.
-
-
is it possible to run Raspberry in client mode with an smart card emu(rs232 or usb) interface hooked up directly to the cam on the back of the tv?
its viaccess encryption -
Are you saying that you have a cam viaccess on tv, I suppose that cam is working
how your card is working on TV, there is oscam installed ?
In this case you can put card on raspberry and configure TV as oscam client
I don't think it's possible the other way
-
yes i have an Samsung Smart TV with a CAM slot in the back and an viaccess module, i have an subscription to my local Digital provider
dont really want to buy a new Digital reciever, cause then i get 2 remotes to find every time i wanna watch TV... :)
want to share my own card to 2 other rooms in the house.and because i allready have an raspberry pi and an season rs232 emulator/interface , and an card reader..
first device: raspberry Pi with Oscam server and card reader
second/third device: raspberry pi with some sort of client software??? and an season interface serial connection to Pi.
has this been done anyone???
-
- put your card on raspberry , configure rasp as oscam server
- install oscam on Samsung TV (series E - F), configure it as client
- install oscam on other decoders that you have in the rooms, configure them as clientI hope this help :hello:
-
Musogeek - thanks! It works a treat and first time too! I have started using my oscam with cachex as well and it is certainly making it much quicker on channel changes as well.
Thanks again :78: -
Hi all
I have a problem with my oscam after restart.
After 5min it stops reading the card:
(reader) Reader-0 [conax] usb bulk write failed : ret = -12015/09/15 05:30:10 5B86F672 r (reader) Reader-0 [conax] usb bulk write failed : ret = -12015/09/15 05:30:10 403C6A37
This is for both readers and if I restart it all is well again.
Have someone got the same problem ?Thanks in aedvance for your help
Best regards
-
To add reboot to /etc/crontab
41 4 * * 1 root /sbin/shutdown -r now #Restart weekly on Monday 04:41am
This also helps
reboot root /var/local/oscam & #Oscam start on bootAlso with the latest versions of wheezy etc to change network to static you need to edit:
/etc/dhcpcd.conf
Add lines at the bottom
interface eth0
inform 192.168.1.101
static routers=192.168.1.234**** where "inform" is the IP you want and "static routers" is your gateway
They changed the way the networking is configured (made it much more unnecessarily complicated for no reason at all)
OSCam Support Forum
Configs, discussion, downloads and guides for OSCam Softcam.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!