Raspberry Pi is running Raspbmc and is connected to a TV by HDMI. If the TV and Raspbmc are powered on at the same time, then everything works fine. However, if the Raspbmc is powered on first and the TV much later, then there is no video or audio on the TV!
During boot, if Raspbmc sees through HDMI that the TV is off then it switches its video-audio signals to the analog outputs. To force Raspbmc to always use HDMI even if no HDMI display is detected, add the line hdmi_force_hotplug=1 to /boot/config.txt and reboot Raspbmc.
Now, if you boot Raspbmc first and power on the TV later, you will find that video works. However, there is no audio! This is because when forced to use HDMI and no HDMI display is detected, Raspbmc only outputs video and no audio. To force Raspbmc to pick the full HDMI mode where both video and audio are sent, add hdmi_drive=2 to /boot/config.txt and reboot Raspbmc.
You can control your Raspbmc from the browser of any computer connected to the home network. This remote control is but one of the many web interface addons that can be added to your Raspbmc.
If you install any other addons which provide a web interface, you can view and access these addons from the browser. If the IP address of your Raspbmc is 192.168.0.10, you can view its web interface addons at: http://192.168.0.10/addons
If you notice that your Raspberry Pi which is running Raspbmc is showing the wrong time, it may be set to a wrong timezone.
To set the correct timezone go to System → Settings → Appearance → International and set the correct timezone in the Timezone country field. The clock displayed at the top right corner should update immediately to the correct time.
Raspberry Pi running Raspbmc is an awesome HTPC. If you have videos, music or photos on one of your home Windows computers, then it might be convenient to access or view the media right from your Raspbmc over the home network. The easiest way to do this is to share the media files in a Windows shared folder and access that from Raspbmc using SMB. I am assuming that the Windows computer and Raspbmc are connected to the same wireless router or the same home network.
First setup the Windows computer:
Your Raspbmc will access your Windows computer using its IP address. So, it might be convenient to configure a static IP address for the Windows computer. In any case, note down the IP address of the Windows computer.
Create a folder and make sure the folder name has no spaces in it. Drop all the media files you want to share into this folder. Make it a shared folder. Add Everyone as a user who has read access to this folder.
Next setup the Raspbmc to access the shared folder:
Make sure you can ping the Windows computer from the Raspbmc. You can do this by SSH to Raspbmc (here is how) and pinging the IP address of the Windows computer.
Assuming you want to access the video files in the shared folders. In XBMC, go to Videos > Files > Add videos > Browse > Add network location.
In the Add network location dialog, choose Protocol as Windows network (SMB). For Server name enter the IP address of the Windows computer. For Shared folder enter the name of the shared folder on the Windows computer. Fill the Username and Password fields with the credentials of a user on your Windows computer. Press OK.
The Windows computer shared folder now appears in the listing, choose OK. Press OK in the next dialog. Now the shared folder is visible in the Files listing and you should be able to browse through the media files inside it and play them whenever needed.
Have fun playing the content from your Windows computer on your Raspbmc 🙂
Raspberry Pi running Raspbmc is an awesome HTPC. If you have connected your Raspbmc to your home wireless router, it is most probably getting a dynamic IP address from it using DHCP. This is quite a hassle if you control your Raspbmc using your cellphone or browser or use FTP or SSH with it, since the IP address keeps changing. Due to these reasons, it is better to assign a static IP address to your Raspbmc.
Assigning a static IP address to Raspbmc is easy:
In XBMC, go to Programs → Raspbmc settings → Wired network configuration.
Uncheck the Automatic DHCP option.
Provide a static IP address. Make sure the IP address is far away from the IP addresses typically assigned by the router to the networked devices at home. For example, if a router assigns addresses starting from 192.168.0.10, then pick a static IP like 192.168.0.50
Scroll down and check the Update Now option. Raspbmc will take a few seconds to apply the new configuration.
Make sure you can ping the static IP address you assigned. Voila, your Raspbmc now has a fixed IP address! 🙂
Note: Do not muck around with the /etc/network/interfaces file to assign a static IP address. That does not work with Raspbmc.
Ensure you have a Raspberry Pi installed with Raspbmc and connected to your home network. See this post for how to do this.
Note down the IP address of your Raspbmc. (For example: 192.168.0.12) Follow step 1 of this post to find the IP address of your Raspbmc.
From the computer you want to FTP, ensure that you can ping the Raspbmc. For example: ping 192.168.0.12. If the Raspbmc is not reachable, check the settings of your wireless router or home network.
Open a FTP program and connect to the IP address of your Raspbmc using Secure FTP (SFTP).
Login using the default username (pi) and password (raspberry) of Raspbmc. For example, I open Filezilla → Site manager. In Host enter the Raspbmc IP address, choose Server Type as SFTP, Logon Type as Normal, enter the username and password and click Connect.
Transfer the files you want between your computer and your Raspbmc. For example, if you have a USB thumbdrive or harddisk plugged and mounted in your Raspbmc, you could transfer files to the drive directly from your computer using FTP.
You may need root access to transfer to certain directories and mounted drives. The root account is disabled by default on Raspbmc. To enable it, SSH into your Raspbmc (see this post on how) and follow the directions here to get root access. FTP into your Raspbmc using root account and you can do these file transfers.
You have installed Raspbmc on your Raspberry Pi, converting it into a cool little HTPC. (Here is how to do that.) The Pi is running Linux after all and it is connected to the home network. Now, you want to SSH into it to explore its internals. That is easy.
In your Raspbmc, navigate to System → System info → Summary. Take note of the IP address (for example: 192.168.0.12) that has been assigned to your Raspbmc.
Ping your Raspbmc to make sure it is reachable from the computer you want to SSH from. For example: ping 192.168.0.12. If the ping does not work, check the settings of your wireless router.
Use PuTTY and SSH to your Raspbmc using its IP address and port 22.
At the login prompt presented by your Raspbmc use the username pi and password raspberry.
Bingo! You are inside your Raspbmc now. Have fun playing around with it 🙂