All Questions

303
votes
21answers
141k views

Is the Raspberry Pi suitable for running continuously, 24/7?

I would like to run a headless machine to perform some basic automation and statistical generation (e.g. generating netstats, uploading to pvoutput.org), as well as any other trivial batch jobs that ...
291
votes
17answers
398k views

How do I backup my Raspberry Pi?

I have been writing programs for my Raspberry Pi (running Raspbian) for a few weeks now and would like to make sure I protect the work I have done. How can I backup the files I have created? Can I ...
244
votes
14answers
144k views

How can I extend the life of my SD card?

I'm not all that keen to buy a USB hard disk, but I'm aware that SD cards aren't suitable for many repetitions of reading and writing. Are there any steps I can take to extend the life of my SD card ...
235
votes
15answers
510k views

How do I turn off my Raspberry Pi?

Should I just pull the plug? Or is it best if I exit LXDE and any other running processes first?
176
votes
5answers
711k views

How do I set up networking/WiFi/static IP address?

I have followed (any one of hundreds) tutorial, and it does not work. How do I set up networking/WiFi/static IP address on the Raspberry Pi? (This is a Dorothy Dixer to hopefully catch the hundreds ...
169
votes
12answers
655k views

Execute script on start-up

I am trying to execute a script when my Raspberry Pi boots up. I would like the web browser to open up automatically. I have tried to find a simple solution, (like dropping my script in some "...
165
votes
5answers
313k views

How can I resize my / (root) partition?

Even though my SD card is 16GB, the image I flashed onto it was only 2GB and now I can only see 2GB of storage space on the disk. How can I resize the image so that I have more space on my root ...
152
votes
16answers
111k views

Prepare for ssh without a screen

I have a Raspberry Pi model B at home, but I do not have a screen. My plan is to connect it to the Ethernet and then ssh into it. But this means that the SD card with the operating system (Debian ...
137
votes
11answers
187k views

Prepare SD card for Wifi on Headless Pi

I need to SSH my Pi over wifi but because it is a model A board (using a usb hub is not possible - ever) and I have no ethernet, i can't configure the Pi to connect to my secured wifi network. I want ...
130
votes
7answers
27k views

How can I run the Pi on Solar Power?

Has anyone successfully set up their Pi to run on solar power? If so, what would be the cheapest way to sensibly and reliably achieve this, using a combination of solar cells / batteries / voltage ...
129
votes
9answers
525k views

How do I install Google Chrome?

When I go to download Google Chrome from http://www.google.com/chrome in Midori on the Raspberry Pi , I am presented with a modal dialogue box, Please select your download package: 32 bit ....
122
votes
8answers
676k views

How can I reformat my SD card to use it normally again?

I wish to reformat my SD card to use normally again (it currently has one 78 MB FAT32 partition and one 3.9 GB Linux partition). How do I do this (on Windows/Mac/*nix)?
115
votes
1answer
279k views

What is the difference between BOARD and BCM for GPIO pin numbering?

When using the RPi.GPIO library in Python you have to call import RPi.GPIO as GPIO and then GPIO.setmode(GPIO.BOARD) or GPIO.setmode(GPIO.BCM) What is the difference between these two options?
110
votes
5answers
123k views

How to set up swap space?

Raspberry Pi has only 256 MB of RAM, so I would like to use swap space (either on SD card or attached USB storage). How do I set it up?
103
votes
5answers
25k views

Can I use the GPU for calculations?

Is it possible to use the GPU for calculations? (e.g. CUDA/OpenCL)
102
votes
5answers
196k views

How to setup multiple WiFi networks?

I go back and forth from home to school with my Pi. I just got the WiFi working last night at home using wpa.conf instead of wpa_supplicant.conf as the book I was using had the walk thru for that ...
101
votes
11answers
135k views

How do I build a UPS-like - battery backup - system?

As we all know, the Raspberry Pi doesn't really use that much power (5v + 700mA is the spec). I'd like to build a battery backup for power outages in a DIY-ish fashion. I don't need surge protection ...
101
votes
9answers
248k views

How do I supply power through the GPIO?

I have seen some examples of people powering their Raspberry Pis by wiring a DC "barrel plug" style power supply to the 5V and GND GPIO pins. What considerations should be taken when doing something ...
93
votes
5answers
206k views

Can I use the GPIO for pulse width modulation (PWM)?

Can I use the GPIO as a pulse-width modulation output? If so, how would I go about doing it and how many concurrent, distinct PWM outputs can I have?
92
votes
14answers
141k views

How can one control AC power (220V) with a Raspberry Pi?

I though about using the Raspberry Pi to switch on and off other electrical devices which unnecessary consume power in stand-by mode. In short, I'd like to control an AC socket or multiple sockets. ...
91
votes
3answers
163k views

Differences between Raspbian Jessie and Raspbian Jessie Lite

What are the differences between Raspbian Jessie and Raspbian Jessie Lite? What's better for a Owncloud server: Raspbian Jessie or Raspbian Jessie Lite?
90
votes
2answers
180k views

How do I force the Raspberry Pi to turn on HDMI?

I have a Raspberry Pi running Raspbmc connected through HDMI to a dumb HDTV. (Does not support HDMI-CEC). If I power on both the TV (both at source and display through remote) and Raspbmc at the same ...
90
votes
1answer
229k views

How to run Raspbian on VirtualBox?

I have tried Debian on VirtualBox and would like to check out Raspbian. How do I install Raspbian on VirtualBox?
88
votes
14answers
406k views

How to stream video from Raspberry Pi camera and watch it live

I am new to the Raspberry Pi and even new to the Raspberry Pi camera. I have seen a lot of tutorials online for the Raspberry Pi camera but have yet to find on that lets me stream straight from the ...
88
votes
3answers
210k views

How do I update software and firmware?

I understand that the software on the Raspberry Pi is divided into three sections: the closed-source GPU firmware, the patched ARM Linux kernel and the user space software. Is the GPU firmware on the ...
87
votes
4answers
169k views

What does the lightning bolt mean?

There is a lightning bolt icon flashing on the top right of my screen. What does it mean? Here's a picture:
86
votes
6answers
241k views

How can I determine which OS image I am running?

I have been given a pre-installed SD card. It boots fine, and I know it is running some version of Raspbian. Can I determine exactly which release it is running?
86
votes
7answers
169k views

Installing Raspbian from NOOBS without display

I am trying to install Raspbian from NOOBS, but I have no other screen/keyboard available than my laptop screen/keyboard. I find enough information about using a laptop screen/keyboard for a Pi, but ...
86
votes
8answers
87k views

How to uninstall X Server and Desktop Manager when running as headless server?

I'm using my Raspberry Pi as a headless server which I can ssh into. I don't need the X Server, LXDE etc. I'm running Raspbian "wheezy". I've already disabled "Start desktop on boot" using raspi-...
86
votes
3answers
150k views

Boot without starting X-server

During the installation of Raspian I chose "Start X-Server after boot", but now I want to boot it once without starting the X-Server, so I've got more memory to run a program. How do I boot without ...
82
votes
10answers
229k views

Disable WiFi (wlan0) on Pi 3

Got a Pi 3 which will always use ethernet, so trying to figure out how to disable the WiFi such that it does not even turn on after a reboot. If I do an ifconfig I see the wlan0 device. I can do ...
81
votes
4answers
90k views

What should be done to secure Raspberry Pi?

Having tens of thousands of Raspberry Pi's connected to the internet is eventually going to capture the interest of some people who would like to do unsavory things to the little computers especially ...
80
votes
11answers
188k views

Definitive List Of Operating Systems

What is a definitive list of operating systems that work with the Raspberry Pi? I know of the distributions listed on their sites of course, but it could be beneficial to have a complete list of ...
79
votes
8answers
50k views

How do I build a GCC 4.7 toolchain for cross-compiling?

I already asked this question on Stack Overflow, but I would like to know if anyone managed to build a GCC 4.7 toolchain for ARM cross-compilation (for a x86/x86-64 Linux host). There are many ...
77
votes
5answers
168k views

How do I prevent the screen from going blank?

I am running the Debian wheezy beta and using my Pi to display my geckoboard dashboards using midori, as a result I want to prevent the screen from going blank, which it does after 10 minutes (though ...
77
votes
10answers
34k views

What do I need to know to power from batteries?

What voltage range can it accept? What sort of batteries are appropriate?
74
votes
7answers
85k views

Can a Raspberry Pi be used to create a backup of itself?

This question answers the question of how I use an external computer to create a backup of my RPi. I'm wondering whether I can create a backup image of the SD card that is currently in use, and ...
74
votes
12answers
155k views

How to set up Raspberry Pi without a monitor?

I recently bought a Raspberry Pi, type B model. I want to set it up directly to my laptop screen, without any other monitor. I have not set it up yet. How do I connect my laptop's screen as the ...
73
votes
7answers
98k views

Upgrade to Raspbian Jessie

How can I perform an upgrade from Raspbian Wheezy to Jessie?
71
votes
3answers
8k views

Can I use an airtight case?

Is it possible to reliably run a Pi in an airtight (watertight) case or is some form of ventilation required for cooling? I'm assuming it doesn't chuck out too much heat, but am wondering whether ...
70
votes
7answers
122k views

How to automatically reconnect WiFi?

I'm using my pi to monitor my power meters. Data is transferred to PC by WiFi connection using Edimax EW-7811UN USB adapter. When the Wifi connection drops (switched off over night, or shaky ...
69
votes
2answers
129k views

What is the optimum split of main versus GPU memory?

I read that it's possible to allocate either 128MB, 64MB or 32MB to the Raspberry Pi's video memory. Given that my primary use case for this machine is educational: I will be running lightweight ...
69
votes
3answers
102k views

How much energy does the Raspberry Pi consume in a day?

My searching efforts have failed when trying to find this. On average, how much energy does the Raspberry Pi consume in 24 hours (minimal usage vs. max usage in a day and USB vs. Micro-USB powered)?
65
votes
2answers
94k views

How much power can be provided through USB?

I know that my USB powered Hard Drive doesn't work, but what is the minimum power requirement that the Raspberry Pi can fulfil for devices that connect via USB?
64
votes
8answers
98k views

How do I enable Wake On LAN?

My first thought was to simply start broadcasting WOL magic packets over the network, but my Raspberry Pi is not waking up. So I'm assuming it either doesn't support WOL, or I haven't properly ...
64
votes
12answers
239k views

How do I turn on my Raspberry Pi after shutdown?

My Raspberry Pi runs OpenELEC. The XBMC has a Power-button in the left-bottom corner where I can shutdown the Raspberry Pi. That works fine, but I can't figure out how to turn it on again after the ...
64
votes
1answer
125k views

Which SD cards are compatible?

The site http://www.raspberrypi.org/quick-start-guide says: You will need an SD card with an operating system preloaded before you can boot the Raspberry Pi. A brand-name (not generic) Class 4 ...
63
votes
6answers
107k views

Do I still need rpi-update if I am using the latest version of Raspbian?

I have a 512MB Pi. I am trying to make sure I am getting the most out of it. I just downloaded the latest version of Raspbian and installed it on the Pi. Do I also need rpi-update? Is rpi-update ...
63
votes
7answers
46k views

How do I control the system LEDs using my software?

There are 5 LEDs on the RPi: OK, PWR, FDX, LNK, 10M. I'd like to know if it's possible to control any of these from software i.e. turn them on, or change intensity (or even change colour gasp). And ...
63
votes
8answers
85k views

How do I get the serial number?

Where can I find the serial number of the Raspberry Pi I am currently using?

15 30 50 per page