Hot answers tagged

100

Add these two lines to /boot/config.txt and reboot Raspbmc: hdmi_force_hotplug=1 hdmi_drive=2 hdmi_force_hotplug=1 sets the Raspbmc to use HDMI mode even if no HDMI monitor is detected. hdmi_drive=2 sets the Raspbmc to normal HDMI mode (Sound will be sent if supported and enabled). Without this line, the Raspbmc would switch to DVI (with no audio) mode by ...


46

There are a lot of Embedded Linux boards/systems available, here is an overview. (This list is by no means complete, anyone that is missing something please add it to the list to make it as complete as possible.) x86 based VIA ARTiGO A1200 CPU: 1.0GHz VIA Eden™ X2 processor, GPU: VIA Chrome 9 RAM Memory: Up to 4GB of DDR3 1066 SODIMM RAM, NAND Flash: ...


24

This essentially boils down to getting Netflix on Linux; which (except for Android) is intentionally not supported and difficult. I haven't seen any solution yet (for any Linux, RPi aside) that didn't involve serious and unstable hacks or some type of Windows emulation/re-implementation (which is not going to be a viable option with the ARM/x86 architecture ...


23

Per the instructions found here: 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....


20

The images of OpenELEC and Raspbmc I found don't work well yet on my RPI. I have tried them and they either crash or don't boot, etc. If you want to play around, while waiting for those two distribution to become more mature, you can use the following debian image with xbmc precompiled: http://rpi-developers.com/projects/xbmc/ [UPDATE (Dec 2, 2012)]: I gave ...


18

After lots of reading and frustration. First of all, make sure the normal user has read and write acces to the USB drive. The correct 'non-root' fix for having write acces to the USB drive is: Step 1: Stop transmission daemon sudo service transmission-daemon stop Step 2: Add pi to debian-transmission group sudo usermod -a -G debian-transmission pi Step ...


17

Raspberry Pi is quite enough hardware for XBMC. Most of the problems are in the XBMC software implementation, just wait them to be resolved. However, raymii.org does have a nice list of Linux compatible PCs here: http://raymii.org/cms/p_Small_Linux_PCs_overview http://java.net/downloads/mobileandembedded/Assets/SBC_comparison44-1.pdf


16

I changed auto to allow-hotplug for wlan0 in my /etc/network/interfaces, see below: pi@raspbmc:~$ cat /etc/network/interfaces #auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf That worked for me! I'm really not sure why this worked. The Debian documentation at this link is confusing to me because ...


15

something like this might help: $ ssh pi@192.168.1.XXX 'echo raspberry | sudo shutdown -r now' this command connects to your raspberry using SSH and issues the reboot command, make sure you replace 192.168.1.XXX with the real address and pi/raspberry with your real login/password.


14

A solution would be to configure a DHCP static lease, if your router allows it. I like this solution because: I can set all of my connected devices' IP address and DNS configuration in a unique place. The Raspberry Pi won't get a taken IP address I can bring my Raspberry Pi to a friend's place without reconfigure it I can have multiple OS on the Raspberry ...


14

I'm using Raspbian “wheezy”. Setup sudo apt-get update; sudo apt-get install gcc autoconf libtool pkg-config libselinux1-dev liblockdev1-dev gawk g++ c++ libgudev-1.0-dev libudev-dev; mkdir -p $HOME/distr/libcec; wget -P $HOME/distr/libcec https://github.com/Pulse-Eight/libcec/archive/master.zip; unzip $HOME/distr/libcec/master.zip -d $HOME/distr/libcec/;...


13

It is tricky to rename an account while you are logged in to it, and easy to accidentally lock yourself out of your Pi, so first enable the root account with $ sudo passwd root Use a secure password, even if you intend to lock the root account again later. Then log out and log back in as root. The rest supposes a desired username of "myuname" - replace ...


12

I think you should look into doing this so you can take and restore backups of your card from time to time. Once you get a second card and as long as you don't destroy the original one, it should be easy to experiment. And yes, it should work. Some instructions on how to set up a card image can be found on the RPI wiki "easy SD card setup". There's also a ...


12

I run the RPi as my media station with Xbmc (now named Kodi) on Arch Linux. I have an external 1TB HDD (with external power supply) attached which holds my movie/series collection. Library Xbmc has Library features for Movies, Pictures, Series and Music with extended functionality (order by year, actor, whatever). But, before creating a library in Xbmc, ...


12

Ugg. I wasn't able to solve my own problem the other day, but when I typed out the question, then I got inspired to search the interwebs in a different way that yielded a solution. My issue was that iptables is configured to block traffic that isn't on my subnet. You can test that this is the issue by running this command on your raspbmc: sudo iptables --...


12

As @lenik's answer says, your TV needs to support CEC. I installed a compiled version of libcec which included the command line utility cec-client from SourceForge using the following commands: wget http://sourceforge.net/projects/selfprogramming/files/libCEC.deb/libcec_2.1.0-1_armhf.deb/download -O libcec_2.1.0-1_armhf.deb sudo dpkg -i libcec_2.1.0-...


11

First, stop xbmc pi@raspbmc:~$ sudo initctl stop xbmc go and get fbset pi@raspbmc:~$ sudo apt-get install fbset take a look to the current framebuffer settings pi@raspbmc:~$ fbset mode "1920x1080" geometry 1920 1080 1920 1080 16 timings 0 0 0 0 0 0 0 rgba 5/11,6/5,5/0,0/16 endmode enable hardware acceleration, maybe to improve the xbmc ...


11

Update the host name in the following files /etc/hostname /etc/hosts Change the name, and it will change on network-restart (or full reboot, of course). Updating /etc/hosts is necessary to avoid the following error sudo: unable to resolve host <new-hostname>


11

The default password is raspberry ... you're leaving off the "p".


10

I'm no linux expert, but you could try this, might work. Most of this is info came from http://www.superfecta.ca/?p=44 sudo service transmission-daemon stop sudo nano /etc/init.d/transmission-daemon change USER=debian-transmission to USER=root ctrl-x Y # hit enter to overwrite sudo service transmission-daemon start I know running as root is a big linux ...


10

The problem was the way the USB disk was automonted. I mounted it manualy with mount -t ntfs-3g and it started working.


10

If you want use your RPi as NAS you should read this: http://elinux.org/R-Pi_NAS If you want use your RPi as Media Center you should read this: http://elinux.org/RPi_XBMC You can do all this in one system.


9

How I did it INSTALLING NFS http://technonstop.com/tutorial-setup-nfs-server-windows Followed the instructions from several websites. 1) Firstly, Grab the "Services for unix for windows" from : http://www.microsoft.com/en-gb/download/details.aspx?id=274 2) Do a custom install, selecting only NFS -> Server for NFS Authentication tools for NFS -> User ...


9

I use OpenELEC, and it is working very fine as a media center. Therefore it doesn't allow you to use it as a "normal" Linux. It doesn't have a window manager; only XBMC is started on boot. It also allows you to use it through SSH, but it doesn't have apt-get.


9

For normal users I would say they are somehow similar, and the differences are not that huge. However, for advance users they are different. OpenELEC has a huge disadvantage for people who like to further customize their Pi since the system come as a read-only image, e.g. you cannot disable or enable services and you cannot even change the root password ...


8

I've solved it: Set video at 30Hz, do not adjust rate to match played files. Turns out enabling passthrough, BUT setting audio at 2.0 gives me uninterrupted 5.1 AC3 and DTS on my receiver!


8

If everything is installed correctly, you should just type: sudo update-rc.d transmission-daemon defaults


7

To answer your question, any H.264 encoding will work perfectly on the Raspberry Pi. So you have to select (whatever profile you pick, best high profile or normal) the H.264 option in the tab Video under Video codec. For audio use AAC (supported) and pick stereo (Dolby surround doesn't work). Using those settings (tested it myself) everything plays nice and ...


7

Is it crashing or just hanging? You can try the top command it will show the usage of your resources CPU: 34.3% usr 10.8% sys 54.0% nic 0.0% idle 0.0% io 0.1% irq 0.5% sirq Load average: 5.66 4.22 3.35 4/110 24166 I am using OpenELEC which is oriented on XBMC for small devices, it is not stable yet, but it worth the try (running OpenELEC-RPi.arm-...


Only top voted, non community-wiki answers of a minimum length are eligible