The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [raspbian]

Raspbian is a GNU/Linux operating system derived from Debian. Version numbering follows that of Debian and the current stable is 9 (Stretch). Raspbian is the most widely used Pi based distro and the one recommended by the Foundation, who distribute their own images of it.

Filter by
Sorted by
Tagged with
296
votes
17answers
410k 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 ...
216
votes
5answers
923k 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 ...
188
votes
12answers
744k 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 "...
160
votes
11answers
227k 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 ...
109
votes
10answers
278k 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 ...
99
votes
7answers
268k 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?
97
votes
4answers
201k 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:
94
votes
1answer
238k 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?
93
votes
14answers
435k 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 ...
93
votes
3answers
170k 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?
91
votes
3answers
157k 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 ...
88
votes
8answers
91k 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-...
74
votes
7answers
101k views

Upgrade to Raspbian Jessie

How can I perform an upgrade from Raspbian Wheezy to Jessie?
66
votes
6answers
116k 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 ...
65
votes
11answers
103k views

How can I remove the GUI from Raspbian/Debian?

I would like to know how to completely remove X.org and all GUI-related components from Raspbian or soft-float Debian. The most obvious solution would be sudo apt-get purge xorg, but I am afraid that ...
63
votes
11answers
300k views

How to force NTPD to update date/time after boot?

The Raspberry Pi lacks a hardware clock. How do I force NTPD to update date/time immediately after every boot? I'm running Raspbian and the Raspberry Pi is connected using an Ethernet cable.
63
votes
6answers
118k views

Disable screen blanking in X-Windows on Raspbian [duplicate]

We intend to use a RPi at work to drive a status display panel - it will show our project's bug status and a few other statistics of vital importance. I've been trying stop the screen-saver from ...
63
votes
6answers
129k views

Differences between /etc/dhcpcd.conf and /etc/network/interfaces?

I have this configuration in /etc/network/interfaces: auto lo iface lo inet loopback allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf allow-hotplug ...
62
votes
16answers
249k views

Easiest way to show my IP address?

After I've booted up, what's the easiest way to obtain and display the IP address that the device is currently using? I'm using Raspbian, and ifconfig doesn't appear to be installed. Are there any ...
62
votes
7answers
103k views

Does Raspbian's repository have a browsable package list?

Raspbian claims to have "35,0000 Raspbian packages", which is great, but I'm only looking for a package or two before I install it. Is there a browsable repository package list that I can search ...
58
votes
3answers
18k views

Is the Raspberry Pi vulnerable to the Spectre or Meltdown exploit?

There are two new serious security flaws discovered, Spectre and Meltdown. Is the Raspberry Pi vulnerable for Spectre and/or Meltdown?
51
votes
8answers
66k views

Raspbian moving to 64-bit mode

In this page, the official RPi3 announcement states: You’ll need a recent NOOBS or Raspbian image from our downloads page. At launch, we are using the same 32-bit Raspbian userland that we use on ...
48
votes
4answers
54k views

SSH not working with fresh install

I recently liberated an old model B from the loft, put NOOBS on an SD card, and installed the latest version of Raspbian on it. I booted it up, attempted to SSH to it from my Mac, but got: ssh: ...
47
votes
11answers
61k views

How can I prevent my Pi's SD card from getting corrupted so often?

I get an I/O error at boot and then get this 'error': (I am running the latest version of Raspbian) Entering kdb (current=0xca82ac80, pid 1) due to keyboard entry kdb> _ And I have seen it before,...
46
votes
3answers
110k views

error - problem connecting to Raspberry Pi 3 with xrdp

I ran: sudo apt-get update sudo apt-get install xrdp I wen't to Windows 10 remote desktop connection and connected to my Raspberry Pi 3: Then I entered default credentials credentials (pi/raspberry)...
45
votes
6answers
120k views

How can I keep my Raspbian “Wheezy” up to date?

Is there a sort of update tool for my Raspbian Debian 7 (Wheezy) package? I installed php and lighttpd, and I want to keep those automatically updated for when bugs are found.
42
votes
2answers
78k views

Raspberry Pi not reachable via its hostname in LAN [closed]

My Raspberry Pi is not discoverable via its hostname in my LAN. I have a couple of other Ubuntu machines in the LAN, and they are all pingable via their hostnames. On my Raspberry Pi: pi@...
40
votes
4answers
56k views

Can I use Raspberry Pi in commercial production?

I'm quite new to Raspberry Pi. I recently started hacking my new RPI with raspbian and working on a video streaming project. I finished my prototype and things are ready for production. RPI is ...
39
votes
5answers
73k views

How do I update my RPi3 to Python 3.6?

Python 3.6 just came out. I tried following these instructions to build from a tarball, but it got hung up on the make command, so I terminated the process after 20 minutes or so. I also noticed that ...
38
votes
7answers
72k views

Cannot connect to raspbian jessie lite but to raspbian jessie

I've installed Raspbian Jessie with dd to my Pi1-B. Everything works fine and I can connect to it via ssh. I do not need any graphical system and want to keep the machine as simple as possible. ...
36
votes
1answer
75k views

“connect: Network is unreachable” on a working (connected) wlan0 interface

I finally managed to make wlan0 (an Edimax EW-7811Un USB WiFi dongle) connect to my router, but after an apt-get update I discovered that the Raspberry can't see outside the local network. My ...
34
votes
2answers
76k views

Setting up a kiosk with Chromium

I'd like to put my Raspberry Pi into a kiosk mode with Chromium directed to my website but I can't seem to figure out how to get it to work. I've been following a few different guides, and the code ...
33
votes
4answers
50k views

How do I set my Raspberry Pi to automatically update/upgrade?

Currently, to get things up to date on my Raspberry Pi, I have to type in sudo apt-get update and sudo apt-get upgrade. Is there a way to set it up to automatically do this? I am running Raspbian ...
32
votes
10answers
137k views

Raspberry Pi sleep mode, how to avoid

I use "wheezy" latest release. The device provides some web service features and supposes to be active 24/7. However if the server wasn't requested for certain amount of time (it is hard to tell exact ...
31
votes
2answers
64k views

How to install unrar-nonfree?

I installed unrar-free, but I cannot extract a multi-file .rar archive (my_archive.part01.rar, my_archive.part02.rar, etc.): $ ls my_archive.part01.rar my_archive.part02.rar my_archive.part03.rar $ ...
30
votes
1answer
235k views

Virtual keyboard activation

I bought a raspberry pi2 and 7 inch waveshare touchscreen. The SD card came along with the system already flashed. It turns on and everything works, but how do I activate the virtual keyboard. Do I ...
30
votes
2answers
62k views

How to get Wi-Fi to connect on boot?

Raspberry Pi Model B OS: Raspbian I am running my Pi headless (currently through a direct Ethernet connection). I have a USB WiFi dongle. I would like to have the WiFi start up at boot and connect ...
29
votes
3answers
58k views

How do I use the command line to check which WiFi network I am connected to?

I'm doing a headless setup, where we use the Pis in field work (tracking movement of seals via camera in the Cape Cod area), and so we can only monitor it headless, without a separate display (to save ...
29
votes
7answers
104k views

Can I install Git on Raspbian?

Can I get Git on Raspbian to back-up my C/C++ files? Do I need to download anything to use Git on my Raspberry Pi? Where can I learn to use it?
29
votes
9answers
117k views

Running a Python script at startup

This question has been asked quite a few times before but I didn't seem to get it working using the existing information. My Pi runs Raspbian. I have a Python script named dnscheck.py which loops ...
29
votes
1answer
36k views

How do I update OpenSSL on Raspbian

It seems like Raspbian has not been updated yet to deal with the Heartbleed bug. sudo apt-get update then sudo apt-get upgrade doesn't update anything (this is a system which was freshly updated ...
28
votes
9answers
116k views

Getting NPM installed on Raspberry Pi (Wheezy Image)

I was lucky enough to get a Raspberry Pi under the tree this year and I've had a bit of fun playing with Node.js on the device. However, Node.js is much more interesting when you can pull down ...
28
votes
2answers
4k views

Why is very little capacity available on my 8GB SD card?

I'm using an 8GB SD card and installed Raspbian which is 3.9GB large. I suppose that about 4GB should be available, but it isn't. When I type 'df -ah' on my Raspberry pi, it shows Only 65MB is ...
28
votes
2answers
71k views

Sharing the Pi's WiFi connection through the Ethernet port

I have a pi running the latest release of raspbian and it's connected to the Internet using a wireless USB dongle. What I would like to do, is to share the pi's wifi connection so that any computer ...
28
votes
1answer
40k views

Raspberry Pi 2 GDBus.Error on start up

I just got my new Raspberry Pi 2 and installed RASPBIAN using NOOBs. On start up I get this error. Its in a message box in the middle of the screen. If I hit ok the GUI seems to work find anyway. ...
26
votes
6answers
153k views

Kernel panic-not syncing: VFS: unable to mount root fs on unknown- block(179,6) running Raspbian on top of NOOBS

When booting, the sequence stops at the following: Kernel panic-not syncing: VFS: unable to mount root fs on unknown-block(179,6) What can I do to get my Raspberry Pi 2 to boot again using the ...
25
votes
8answers
42k views

Copy existing Raspbian installation to smaller SD card

Is it possible to copy an existing and configured Raspbian installation to a smaller SD card? When I first installed Raspbian I only had a 32 GB card at hand which obviously is bigger than needed.
24
votes
5answers
19k views

Shutting down the Pi safely without SSH or a monitor?

My Pi is currently not responding to SSH, and the only HDMI monitor I have is a large TV several meters away. I've heard bad things about unplugging it, but do I have any other option? Currently ...
24
votes
4answers
50k views

Which locale should I select during the Raspbian setup?

I've downloaded the newest Raspbian release and it is a little bit different than the original one. In particular, it gives a whole bunch of options to configure it the first time you boot it up. I'm ...
24
votes
2answers
41k views

Which key types the “|” symbol? [duplicate]

With the default Raspberry Pi keyboard layout and a US keyboard, when I press Shift+| the result would be ~ and if I press on ~ or Shift+~ I would get a different symbol.