vidrus
Posts: 30
Joined: Tue Apr 17, 2012 12:06 pm

XBMC on Raspberry without OpenELEC?

Tue Jul 10, 2012 5:54 pm

Hello,

Is it possible to install XBMC on Sqweez or Wheezy without using the OpenElec package? To run it from Debian itself? If possible please guide me how to do that.

What i want to do:

RPI installed by my grandparents. Send photo's to local folder on RPI from my home location (don't know how to do yet hope Filezilla gives me options to sync by ftp) couse dropbox wont run on rpi for sofar i know. So they can run it easily on there tv. If i got it working with your help, i will personal give you a kiss from my grandmother ;-)

User avatar
nadnerb
Posts: 175
Joined: Sun May 13, 2012 11:22 am

Re: XBMC on Raspberry without OpenELEC?

Tue Jul 10, 2012 6:53 pm

Is there a reason why you need a full OS?
If you install Raspbmc (or OpenELEC) you could set XBMC to look at a remote location/cloud which you could also access and upload the photos.
Alternatively, you could just SSH into your grandparents pi as and when and transfer the photos that way.

All that is possible via Raspbmc/OpenELEC which may be better for your grandparents as it boots straight to XBMC. Unless you need the OS for another reason...?

vidrus
Posts: 30
Joined: Tue Apr 17, 2012 12:06 pm

Re: XBMC on Raspberry without OpenELEC?

Tue Jul 10, 2012 7:01 pm

I need to put the files on there sd card, from miles and miles away (my pc) is that possible the way you say? So yes can you explain me how to do that? i'm a newbee

p.s. they must be on there card, not streaming from a server

ntadej
Posts: 33
Joined: Sat Apr 21, 2012 10:28 am
Contact: Website

Re: XBMC on Raspberry without OpenELEC?

Wed Jul 11, 2012 8:18 am

You can enable ssh access in OpenELEC and then use SFTP option in FileZilla to copy files to the RPi at your grandparents.

vidrus
Posts: 30
Joined: Tue Apr 17, 2012 12:06 pm

Re: XBMC on Raspberry without OpenELEC?

Wed Jul 11, 2012 2:37 pm

ntadej wrote:You can enable ssh access in OpenELEC and then use SFTP option in FileZilla to copy files to the RPi at your grandparents.
Can you explain how to do that? Does it auto-overwrite excisting files? I can let Filezilla run in background when xbmc is running?

ntadej
Posts: 33
Joined: Sat Apr 21, 2012 10:28 am
Contact: Website

Re: XBMC on Raspberry without OpenELEC?

Thu Jul 12, 2012 6:30 am

How to enable SSH:
http://wiki.openelec.tv/index.php?title ... re._Why.3F

In FileZilla select SFTP instead of FTP when setting up the server.

This will enable a deamon on OpenELEC which will run side by side with XBMC. You can use FileZilla then to copy files to RPi as any FTP server. FileZilla will ask you if you want to overwrite files. Note that copying files may use resources on Pi and cause lower XBMC performance at that time.

vidrus
Posts: 30
Joined: Tue Apr 17, 2012 12:06 pm

Re: XBMC on Raspberry without OpenELEC?

Thu Jul 12, 2012 12:40 pm

I've been trying it. But only thing i can find is to use it local. Need a guide how to setup a connection on my provider ip not on local.

ddg
Posts: 31
Joined: Tue Jul 10, 2012 2:18 pm

Re: XBMC on Raspberry without OpenELEC?

Thu Jul 12, 2012 4:56 pm

You'll need to find out how to set up port forwarding in your specific gateway/router to send tcp port 22 to The internal network ip address for the raspberry pi. You also need the external ip address for the raspberry pi. If there is another computer there you can just google "what's my ip" to get the external ip. Then you should be able to ssh username@xxx.xxx.xx.xx
The x's being the external ip. I hope this helps you sort it out.

ddg
Posts: 31
Joined: Tue Jul 10, 2012 2:18 pm

Re: XBMC on Raspberry without OpenELEC?

Thu Jul 12, 2012 5:09 pm

Also your ISP may change the external ip address time to time at there own will, due to maintenance or whatever. Power outages will do this too, if they are long enough in duration. There may be some service you can run to monitor for ip changes like dyndns, but I am not familiar with doing this in Linux.

vidrus
Posts: 30
Joined: Tue Apr 17, 2012 12:06 pm

Re: XBMC on Raspberry without OpenELEC?

Thu Jul 12, 2012 5:25 pm

Problem is that the location of the rpi is variable (different city's) i cannot open every time the ports on the router...

ddg
Posts: 31
Joined: Tue Jul 10, 2012 2:18 pm

Re: XBMC on Raspberry without OpenELEC?

Thu Jul 12, 2012 5:34 pm

Once you open the port with port forwarding on the router it should stay open until you close it. My port forwarding always persists even through boots. You should only have to set the rules once.

Your router may also have a remote administration option.

SimplyRyan
Posts: 18
Joined: Fri Aug 03, 2012 12:56 pm

Re: XBMC on Raspberry without OpenELEC?

Sat Sep 29, 2012 2:53 pm

sounds like what you need is a DNS service like no-ip or dynDNS. Set up a DNS (domain name server) on your RPi's network(s). I recommend using no-ip because it is free and easy to set up. you just go to their website www.no-ip.com and create an account with at least one DNS, something like 'mydns.no-ip.com'. The way it works is the no-ip software will query your network's external IP address which is dynamic (meaning it changes randomly at an irregular interval, so the IP you used an hour ago to remotely access your RPi's network would no longer work). Then it posts that IP address to your DNS you've set up. So instead of trying to figure out what the external IP of the network you are trying to SSH to is, you simply SSH into the DNS you set up, eg;
'ssh yourusername@mydns.no-ip.biz'
It really is a very elegant and effective solution. Then once you have your DNS set up, you will need to forward the SSH and FTP protocols (typically ports 21 and 22) in your RPi's network's router so that it is accessible from outside the local LAN the RPi is on. Then assuming you've already installed ssh and ftp on your RPi, you should be able to use FileZilla or any other FTP client to access the RPi from any internet connected device.

Return to “Media centres”