OsCam compiled on Raspberry Pi and use for Ziggo TV
2 min read
I started of with the latest raspbian lite image since I don’t need a GUI for this.
After the image is created you need to copy an empty file with the name ‘ssh’ to the boot partition ( else you can’t ssh into the Pi)
Let’s upgrade it before we start compiling:
sudo apt update && sudo apt dist-upgrade -y sudo rpi-update reboot
And some extra packages that should avoid errors when we start to compile:
We're using a smardcard reader so we first need to compile the library for it. Let's grab te latest source and extract it:sudo apt-get install subversion cmake build-essential libssl-dev libpcsclite1 libpcsclite-dev dialog libudev-dev -y
Now we can build it:cd ~ wget https://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.21/libusb-1.0.21.tar.bz2 tar xjvf libusb-1.0.21.tar.bz2
Let's grab the latest OsCam source:cd libusb-1.0.21/ ./configure make sudo make install
Goto ‘Readers’ and deselect ‘READER_CRYPTOWORKS’. ( it will fail to compile with this reader and we don’t use it.) select save to exit the menu.cd ~ svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn
cd oscam-svn./config.sh -g
OsCam should now be installed in /usr/local/bin/mdkir build cd build/ cmake .. make sudo make install
Place your config files in /usr/local/etc/ and start oscam:
More to come../usr/local/bin/oscam &