Hot answers tagged

25

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 ...


16

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

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/;...


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

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


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

You could use qemu (http://wiki.qemu.org/Main_Page) to emulate a Raspberry Pi on your computer, and feed your SD card as the boot device in the command line options of qemu. QEMU can be used on Windows/Linux/Mac. More resources about this : http://www.smallbulb.net/2012/225-emulating-raspberry-pi (Windows again) http://www.cnx-software.com/2011/10/18/...


7

Your original config was ok, except for the comma's in your first line. So use auto lo eth0 wlan0 instead... My config: auto lo wlan0 iface lo inet loopback iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet static address 10.0.0.81 network 10.0.0.0 netmask 255.255.254.0 gateway 10.0....


7

you need a TV set that supports CEC (Consumer Electronics Control) protocol over HDMI. it might be a good idea to consult your TV manual or company web site to find details regarding your particular case, also quick search for "TV_model + CEC" might give you a few pointers. basically, if your TV set is made just a few years ago, there's a good chance you ...


6

None of the answers here worked for me, so I am writing a new one referencing https://pimylifeup.com/raspberry-pi-torrentbox/ which worked great for me and allowed me to run transmission as pi user to access my USB drive. This is not directly answering the OP but this question is very popular (first Google result) for this sort of problem so I put it here. ...


6

Please note that Plex no longer supports a Netflix channel (thus the following only has historical interest). You could also use the Plex Media Server (PMS) - unlike PlayOn, it's free. As far as I know, the server needs to be able to play Netflix though. I use Windows 7 as the Plex Media Server. I don't know if using the Netflix-on-Ubuntu workaround ...


6

Due to people exposing SSH without changing the default password, I added some basic rules that restrict network access to LAN only. In a couple of days there'll be an option to disable these from Raspbmc's XBMC settings plugin, but for now, you can see this thread for advice http://forum.stmlabs.com/showthread.php?tid=6726 Cheers


6

You can try adding hdmi_ignore_cec_init=1 config option to your /boot/config.txt. It should, in theory, disable sending initial active source message by RaspberryPi which is probably responsible for changing input source to HDMI in your case.


6

In addition to @Krzystof 's excellent answer, I would quote what I read in this post: Include the hdmi_ignore_cec_init=1 switch in /boot/config.txt. Then in Settings>System>Input devices>Peripherals>CEC turn off the option: "Make XBMC the active source at start".


6

The iptables "rules" commands in secure-rmc are very simplistic: logger -t iptables "Configuring ip tables for interface $IFACE" if [ "$IFACE" != "lo" ]; then NETMASK=$(get_subnet $IFACE) iptables -A INPUT -s $NETMASK -i $IFACE -j ACCEPT iptables -A INPUT -i $IFACE -j DROP fi (get_subnet is a function that extracts the subnet of interface $...


6

This sounds very much like some of your AVI files have video encoded with MPEG-2 or VC1 (or possibly some other unsupported codec) and you don't have the MPEG-2 or VC1 codec installed (only h.264/MPEG-4 content can be played by default). I had exactly the same issue when I first installed RaspBMC and tried to play DVD content (it plays like an audio file, in ...


6

With Raspbmc, exit XBMC from the shutdown menu (choose exit, not shutdown). At the blue screen press Esc and you will be greeted with a login prompt. The default username is "pi", the default password is "raspberry". I believe you can also press Esc during boot to access the console. Alternatively you could log in via SSH. This will not work on OpenELEC.


6

You could try this. It is best used on the Raspberry Pi 2, because this is pure software rendered and will use a lot of CPU. You need to have Chromium installed. wget http://odroidxu.leeharris.me.uk/PepperFlash-12.0.0.77-armv7h.tar.gz tar -xzf PepperFlash-12.0.0.77-armv7h.tar.gz cd PepperFlash chmod +x * sudo cp * /usr/lib/chromium/plugins sudo nano /etc/...


5

You can just use the standalone image, which does not require a network connection for installation, as all components are included in the image. This is accessible from the RaspBMC download page


5

I have been able to run Netflix on the Raspberry Pi using playon.tv. All you need is a PC running. Have a look at the post Netflix on Raspbmc.


5

Right at the top of the raspmc homepage it says: The firewall that we added in the release can now be enabled and disabled via Raspbmc Settings. They claim elsewhere the firewall is iptables and the system is debian based, so if you can't find Settings or it doesn't work, look thru the list returned by service --status-all for "iptables". If it's ...


5

iptables -F iptables -X should do the trick of cleaning your current setup, or you may use the particular chain name you don't like: iptables -F INPUT I'd recommend to add these commands at the top of your script issuing iptables commands, so every time you start from a known situation. Also, could you please elaborate more about what is your goal? the ...


5

Research. Research. Research. After extensively researching this on the web. Trying out many solutions. Here's the one that worked for me. Steps: 1. Install lxde-core sudo apt-get install lxde-core xserver-xorg xinit 2. Fix the Putty X11 proxy: wrong authorization protocol Refer my own answer here on superuser Bonus Tip: Since a lot of packages needed to be ...


4

There is an undocumented option in /boot/config.txt that might help you: hdmi_blanking=1 Tried and tested under Raspbian "Jessie" (not Raspbmc). The display goes to sleep after about 10 minutes of inactivity. Source: https://github.com/raspberrypi/linux/issues/487 [Note that the Pi itself cannot sleep like grown-up PC-s do.] Edit: Turns out that this ...


4

No. Simply put, Moonlight (Silverlight Linux library) does not support DRM. So no Netflix under Linux at all.


4

Netflix for Chrome is for Chromebooks and relies on hardware for DRM, therefore we cannot use it on "proper" Linux or ChromeOS running on anything other than a Chromebook...


4

You can use single-command mode like this: echo "standby 0" | cec-client -s (for power off TV) echo "on 0" | cec-client -s (for power on TV)


4

I solved with Apt-Pinning. In that way you can choose to use jessie's repository to obtain an update (!not the latest!) version of transmission, actually is 2.82-1.1. Here how you can do it: sudo apt-cache show transmission-daemon | grep Version Will show you only one version (the wheezy's version), right? Add jessie repository to /etc/apt/sources.list: ...


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