Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [raspbian]

DO NOT use this tag, use the more specific Raspbian-Stretch or Raspbian-Jessie.

152
votes
5answers
608k 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 ...
164
votes
12answers
609k 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 "...
39
votes
3answers
42k 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: ...
10
votes
2answers
5k views

Log output of background or boot script

I have a short script which is executed by a system daemon for particular events. I know the event is occurring and the script is executing, but it does not do what I intend. Strangely, it does when ...
285
votes
17answers
390k 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 ...
7
votes
2answers
4k views

How do I set Raspbian to use the primary time server time.nist.gov?

I have several Rpi3s running Raspbian. They collect data and I use FileZilla to copy data from one to another. Ideally, I am only copying files that have changes or are new. FileZilla can be ...
7
votes
1answer
5k views

Reverse the expand root FS

When installing Raspbian, the first thing you're told to do is to expand the file system to stretch across the whole SD card. Works great. But what if I want to save space when doing a disk image. Can ...
9
votes
1answer
11k views

How can I access Raspbian Jessie packages from Wheezy?

I need a package that's in jessie, the newer version of Raspbian, but not in wheezy, the one I have installed. Can I use it somehow? Can/should I just upgrade to jessie?
2
votes
2answers
9k views

How can I disable autoconfigured networking on Raspbian?

I need to configure my network connection using some low level commands, but I believe the autoconfiguration in Raspbian is complicating this. How can I disable it? And if I do, can I easily restore ...
17
votes
5answers
115k 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 ...
3
votes
2answers
9k views

/etc/init/d/tightvncserver script fails at boot

This is the tightvncserver init.d script, tightvncserver, in /etc/init.d: ============ ### BEGIN INIT INFO # Provides: tightvncserver # Required-Start: $remote_fs $syslog # Required-Stop: $...
73
votes
6answers
95k views

Upgrade to Raspbian Jessie

How can I perform an upgrade from Raspbian Wheezy to Jessie?
59
votes
6answers
113k 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 ...
123
votes
11answers
163k 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 ...
53
votes
6answers
99k 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 ...
2
votes
1answer
2k views

How can I set up my G-Mouse USB GPS for use with Raspbian?

Here is the receiver, a G-Mouse USB GPS unit. First thing is to find the tty port it uses. Start by opening a terminal window. Look at the devices, then plug in the GPS unit and look again: I can ...
1
vote
2answers
4k views

Running a script after an internet connection is established

I am trying to run a very small python script AFTER internet has been established. I am currently editing /etc/network/if-up.d/upstart by adding the following code directly under all_interfaces_up(): ...
6
votes
4answers
10k views

How to share my internet connection on a (Windows) computer with a Raspberry Pi?

I have a Raspberry Pi directly connected to my Windows laptop through Ethernet, so I can make a SSH connection with PuTTy, everything works fine except that my Pi has no access to the internet. ...
83
votes
14answers
387k 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 ...
85
votes
4answers
147k 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:
24
votes
2answers
57k 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 ...
21
votes
2answers
40k views

How can I start X11 only for a single application?

I am planning to use my RPi only for one application, which needs X server to be started. This application is chromium, which requires A LOT of resources already. I would like to start only the bare ...
25
votes
9answers
98k 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 ...
9
votes
3answers
16k views

How to set up “kiosk” mode in Raspbian?

I want to set up my Raspberry Pi in a sort of "kiosk" mode where it boots up into a single full screen application. I know my way around the command line, but am a novice when it comes to customizing ...
60
votes
6answers
102k 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 ...
89
votes
3answers
160k 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?
2
votes
1answer
796 views

How to switch the current draw to 1.2A instead of 600mA?

On the website of raspberry pi 2 I read that the current draw for usb ports can be switched from 600mA to 1.2A. I searched around and I couldn't find anything that shows how to do that, I went to ...
68
votes
10answers
204k 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 ...
60
votes
11answers
94k 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 ...
8
votes
3answers
15k views

Can I view/copy the contents of an img file from Windows?

I have a backup .img file of an old Raspbian installation that I used to have running as a webserver. I'm unable to get the Raspberry Pi to boot from it any more, I think due to running out of space ...
5
votes
1answer
7k views

Will pulling pin 5 low will make the pi boot up again

As mentioned in a comment to https://raspberrypi.stackexchange.com/a/19701/8697 and also in a few other places on this Forum "when the pi is shut down, pulling pin 5 low will make it boot up again" I ...
43
votes
10answers
58k 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,...
85
votes
3answers
146k 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 ...
30
votes
2answers
63k 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
1answer
65k 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 ...
11
votes
4answers
19k views

Automatically accepting Bluetooth connections on a Pi 3

I'm looking to develop a platform for my car which automatically connects any device which attempts to connect to the Pi via bluetooth. Currently it requires a pairing accept by the Pi but in this ...
11
votes
2answers
31k views

Run a GUI without the desktop

I would like to run a web browser or a simple GUI without running the whole desktop. I want to use my Raspberry Pi as a simple web server, but still have a very simple GUI for controlling my 3-D ...
11
votes
4answers
11k views

How to boot into own python script (GUI) only?

I have the following problem: Using a RaspPi 3B running Raspbian Jessie (version 4.4.26-v7+) I would like the GUI of a self-written python script to be executed on startup. I know that this question ...
17
votes
6answers
127k views

Installing Chrome on Raspbian

I am following a tutorial that is based on a Chrome extension so I have to install Chrome. When I tried the following command: sudo apt-get install chromium I get the following error: E: Package '...
3
votes
3answers
9k views

How can I backup my whole SD to an img file usable with Etcher to restore later?

My question is related to the part towards the end of this short article ("SD card image"): https://www.raspberrypi.org/documentation/linux/filesystem/backup.md My question is how can I backup ...
3
votes
1answer
6k views

Now that Raspbian Stretch has been released, should Jessie users rush out and do the upgrade? Is it safe?

It has taken a while, but RaspberryPi.org has now announced the official release of Stretch to replace Jessie. Does this mean everybody should start changing their repos and doing the upgrade? ...
1
vote
1answer
2k views

pi-3b+ ubuntu-core boot problem [duplicate]

i've a pi-3b+ it boots raspbian but does not boot ubuntu-core. When i write ubuntu-core image for pi-3 stable from here the red led lights only. When i write ubuntu-core image for pi-3 edge from here ...
5
votes
2answers
2k views

How to relogin to same session

I'm running an install task on Pi and my connection to pi dropped. How can I relogin to previous session so can view install progress. In future I should log output to file (so can view progress by ...
5
votes
4answers
6k views

How can I control the red LED again

I just acquired the latest Pi-3. In the Pi B+ and Pi 2 it was possible to access both the red and green LED through /sys/class/leds/led0 and /sys/class/leds/led1. After setting up the Pi 3, I have ...
4
votes
2answers
848 views

How to set up dashboard for monitoring PI processes

I have PIs that use a schedule to play videos on loop. The PIs also use a daemon file 'surround.sh' to control the video player, and the daemon script allows the user to check the service status of ...
85
votes
8answers
85k 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-...
58
votes
9answers
244k 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.
36
votes
4answers
45k 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 ...
14
votes
4answers
40k views

Spotify for RPI

Spotify is a versatile and open platform for music worldwide. It is heavy on encryption and very high on CPU usage. Anyone aware of a yum/apt-get Spotify version for RPI running raspbian? Even ...
12
votes
5answers
112k views

How to change user pi sudo permissions; how to add other accounts with different permissions?

Since I occasionally use my Pi over SSH, I have learned that it is dangerous to allow SSH to access sudo commands. Thus, I plan to turn off this permission in the near future. But, when I install ...