First install operating system for Raspi (Raspberry Pi 2 Model B) we installed Rasbian WHEEZY from https://www.raspberrypi.org/downloads/raspbian/. Format SD-card to FAT32.Then install it to SD-card with win32DiskImager which can be found from http://sourceforge.net/projects/win32diskimager/ select rasbian image and your SD-card and start installing.
When installing is ready we can put the card to Raspi and start it with keyboard,screen and ethernetcable with internet access. First give password to root user called pi, we use iptv for password because its easy to remember. Don’t use GUI because terminal is more practical when u get used to it and know a little bit of commands.
Now that we have logged in and see the command line we are gonna install necessary programs.
After every “Type:some commands” rows hit enter
Type: sudo apt-get install mumudvb
Type: sudo apt-get install patchutils libproc-processtable-perl
Type: sudo apt-get install dvb-apps
Type: sudo apt-get install w-scan
sudo is means we use command as admin (sudo=superior user do)
if some reason it don’t find the packages check network and
Typw: sudo apt-get update
okay we use Pinnacle DVB-T usb stick with Raspi now we need to google where the firmware for usb-stick is and copy it
Type: cd /lib/firmware
Type:sudo wget url_to_your_debian_compatible_firmware
Now we need to scan what frequencies we can watch (or is the stick working)
First reboot with
Type: sudo reboot
and wait Raspi to start, login
Check if Raspi finds the stick
Type: lsusb
and look if your dvb-stick is there. If not check firmware and installation guides
start scanning with w_scan
Type: sudo w_scan –X –c FI
where FI is coyntry FI=finland we check only for finnish TV-channels because that’s only TV we want check your coyntry codes at https://countrycode.org/
now look when w_scan finds some channels (if not check if stick is working or coyntry code is right)
and remember the frequencies , they look something like 562000kHz.
Okay now that we have some frequencies we are gonna make configuration file for MuMu.
Type: sudo nano mumu.conf
and text editor should open, you can replace mumu.conf with somethingyouwant.conf but remember the name and its location is /home/pi/yourfilename.conf
start editing the conf file with text editor and write the minium config mumu needs.
Write:
Type: freq=yourwantedfreq
Type: autoconfiguration=full
now hit ctrl+X and Y when its asked if wanted to save progress then enter when it ask for the filename.
Now test mumu with command
Type: sudo mumudvb –d –c /home/pi/your_conf_file_name.conf
it should work fine and find channels if we have the right frequency.
Mumu generates automaticly SAP announces if autoconfiguration=full is in the config file so if everything work we should now be able to watch channels with VLC with computer in the same network. Look in VLC for playlist->SAP. If you wanna watch TV from outside your own network open VLC select Media->Open Network Stream. Mumu shows IP for the streams.
Type: udp://@ip_to_your_stream:1234
Now if everything is working we want mumu to start when pi starts (if you want it or you can start it manually after login with “Type: sudo mumudvb –d –c /home/pi/your_conf_file_name.conf”
create a script first for starting mumu
Type: sudo nano /etc/init.d/autostart_mumu
and write the following to text file
Type: #!/bin/bash
Type: sudo mumudvb –d –c /home/pi/your_conf_file_name.conf
and hit ctrl+X hit Y and enter
Type: sudo chmod +x /etc/init.d/autostart_mumu
Type:sudo update-rc.d autostart_mumu defaults
FINISHED and finally everything should be working fine…for millhouse :D
quick googling should solve any error occurred, but this is how I got it running
usefull links
http://elinux.org/RPi_Setting_up_a_static_IP_in_Debian
http://www.kettering.edu/offices-administration/information-technology/networks-security-storage/remote-desktop/remote
http://www.mumudvb.net/
thumbs up
ReplyDeletelike to do this mumudvb multicast server soon
great blog
samo
Goodluck and have fun with it and while doing it :D
ReplyDeleteAnother advantage is that you can enjoy a lot of other features and services as well, such as Voice over IP, digital video recorder and a lot of other awesome additions. smart iptv
ReplyDelete