Setting up NAS Server and DVB-S2 Streamingserver on BananaPi

First of all. I personally had preferred the Raspberry Pi 2 or 3 over the BananaPi M1 for this purpose, but

as the Raspi just provides us with USB 2.0 and 100mbit Ethernet, it would not really fit the task.

So switching over to BananaPi.

BananaPi got a A20 ARM chip-set in its first version M1.

Although I know there are more then one Versions I thought this model has the best cost/performance quotient.

setup

Here are the things you are going to need to make this work:

  1. BananaPi M1 board: http://www.banana-pi.com/eacp_view.asp?id=35
  2. SD Card : http://www.storagereview.com/samsung_evo_sd_memory_card_review_32gb_mbsp32d
  3. BananaPi Case
  4. Microusb Mobilephone Powersupply
  5. BananaPi SATA Connector for model M1
  6. Hard Disk (hdd or sd does not matter)
  7. Usb DVB-S2 Receiver http://www.technotrend.eu/2982/TT-connect_S2-4600.html

Once you have all things together we start with the operating system.

As we going to need the kernel modules for the TT4600 Receiver I found the armbian os fits best here.

It is packed with the correct modules already.

Download it from here:

http://www.armbian.com/banana-pi/

Install it onto you r sd card.

On windows this is done best with Rufus, at least that is what the guys from armbian told me.

download it here

https://rufus.akeo.ie/

On Linux, what was the way I did it, simply use the dd command like:

dd bs=1M if=filename.raw of=/dev/sdx

with sdx being your sd card. Be cautious and make sure that sdx is really your sdcard!!!

start up your fresh installed bananaPi on armbian, also connect all things to the bananapi,

like hdd with the extra cable, tt4600 dvbs receiver, networking etc..

Make sure to use the correct power port for your bananapi, otherwise the hdd wont start up.

correctpowersupply

Next is the installation of TT4600 receiver firmware.

Although the hardware is already recognized

a compatible firmware is needed in order to make the device work.

I already got a setting up the firmware post here in my Blog, but that was for the DVBSky Receiver.

So in this case we got the TT4600 Receiver, which is much cheaper

download firmware here:

https://www.linuxtv.org/wiki/index.php/TechnoTrend_TT-connect_S2-4600

on this linuxtv page there are also many information included which might be useful.

PLEASE DO NOT COMPILE THE FIRMWARE!!!

just download the package and take all the included .fw files onto the bananapi into this directory:

/lib/firmware

reboot the system. and the device should work probably.

now install tvheadend, which is needed for dvbs streaming.

for this please stick to my guide provided for the raspberry pi.

but it is identical, except from the hardware configuration

follow me here:

TvHeadend 4.x on Raspberry pi

after installing you also to do a little setting up:

guide is here:

Setting up tvheadend on raspberry pi2

next would be setting up the NAS Server

Therefor it is essential that the hard disk is connected to the bananapi through the SATA Port on the left side.

Connecting an usb hdd is also possible , because of the USB 2.0 interface it is only up to 20mbyte/s

file transfer speed.

So connecting it to the SATA port brings us up to 50mbyte/s

100mbyte/s which is max for ethernet so far was not possible in my test cases!

First install the needed SAMBA package for windows share file transfer.

sudo apt-get install samba

nano /etc/samba/smb.conf

now edit your shares as you like … I will do a samba mini configuration tutorial later on.

I will link it here then.

 

So guys… basically .. thats all.

 

have fun with this awesome server!