Questions tagged [raspbian]

Raspbian renamed Raspberry Pi OS (32-bit) is a family of GNU/Linux operating systems derived from Debian. Version numbering follows that of Debian and the current stable is 11 (Bullseye). Raspbian is the most widely used Pi based distro and the one recommended by the Foundation, who distribute their own customised images.

Filter by
Sorted by
Tagged with
217
votes
12answers
912k 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 "...
16
votes
5answers
53k views

Should I install NOOBS or Raspbian?

The Foundation site states "Beginners should start with NOOBS – New Out Of the Box Software."
52
votes
4answers
78k 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: ...
11
votes
2answers
8k 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 ...
323
votes
18answers
446k 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 ...
4
votes
1answer
3k views

How to Backup/Shrink the image of my working Raspbian SD Card

I want to shrink the image to minimise storage and to efficiently distribute this image to others who may have smaller SD Cards.
3
votes
1answer
4k views

Rpi3 LIRC Library and UART IR Transceiver Setup Problem

I installed the lirc library and I tried to use it, I need this for a project sudo mode2 -d/dev/lirc0 Using driver default on device /dev/lirc0 Trying device: /dev/lirc0 Please use the --raw option ...
8
votes
2answers
12k 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 ...
81
votes
6answers
190k 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 ...
31
votes
6answers
212k 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 ...
8
votes
4answers
11k 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 ...
11
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?
3
votes
2answers
14k 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 ...
3
votes
2answers
13k 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: $...
74
votes
7answers
104k views

Upgrade to Raspbian Jessie

How can I perform an upgrade from Raspbian Wheezy to Jessie?
64
votes
6answers
124k 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 ...
2
votes
2answers
2k views

Simple openVPN with static keys

For private use I only want to use a simple peer-to-peer openVPN connection without maintaining a complete Public Key Infrastructure. I have heard it can be simplified by using static keys, but how ...
6
votes
1answer
9k views

Easy backups and snapshots of a running system with LVM

LVM (Logical Volume Manager) has some useful enhancements. You can make a snapshot, then check new programs and if they don't work as expected or you don't like them you can simply revert to your ...
2
votes
1answer
9k views

Setting up Wifi direct (wifi p2p) and DHCP server

So I have a fresh pi zero w up and running raspbian stretch lite. How can I enable Wifi direct/p2p where the Pi is GO and where it has a static ip i can connect to, and install/configure a DHCP ...
192
votes
11answers
303k 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 ...
31
votes
10answers
142k 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 ...
35
votes
2answers
100k 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 ...
71
votes
6answers
140k 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 ...
113
votes
4answers
267k 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:
3
votes
1answer
10k 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 ...
14
votes
6answers
19k views

Use /boot/cmdline.txt for creating first-boot script

Many questions have been asked about how to find my Pi on my network. Others - including myself - have time consuming issues while trying to deploy a batch of fresh Pi's. While the creation of ...
6
votes
4answers
12k 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. ...
3
votes
1answer
4k views

How can Rpi SPI python read the MFRC522 RFID / NFC module?

Trying to read my RFID MFRC522 using a Mifare blue tag and it is not working. Wondering if i could get any help on this as when i put the tag to read it doesn't show up as quick? using: https://...
24
votes
2answers
61k 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 ...
6
votes
2answers
5k 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 ...
112
votes
15answers
521k 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 ...
171
votes
11answers
428k 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 ...
6
votes
3answers
24k 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(): ...
10
votes
3answers
19k 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 ...
3
votes
2answers
11k views

How to fix audio after December 2020 update

I recently updated my Pi4 to the latest version of Raspberry Pi OS, following all the steps to change the audio software to pulseaudio - from the instructions on the website. https://www.raspberrypi....
2
votes
1answer
5k views

ECG monitoring using ADS8232 and MCP3008 noise problem

I am making a project of Real-time ECG monitoring device using Raspberry Pi 3B+, Heart monitor AD8232 sensor by Keyes, MCP3008 ADC and 7" HDMI LCD. I am giving supply to RPi using 5V DC charger ...
21
votes
2answers
14k views

Temporarily disable expand filesystem during first boot

I'd like to build an in-house Raspberry Pi image based on Raspbian Lite which is already configured with the correct locale, timezone, etc. Unfortunately for me, current releases of Raspbian images ...
12
votes
9answers
54k views

How to install latest Scipy version on Raspberry Pi

I currently have Raspbian OS and I tried: sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose which worked fine but ...
9
votes
4answers
32k 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 ...
2
votes
1answer
991 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 ...
6
votes
4answers
2k views

Does dhcpcd prevent a remote DHCP server serving an IP address that is declared static?

Dhcpcd is a DHCP client and asks a remote DHCP server for an IP address. The DHCP server selects one free IP address from its pool and gives it to the client. Now in /etc/dhcpcd.conf of the client I ...
6
votes
1answer
11k 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 ...
4
votes
2answers
3k 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 ...
-1
votes
1answer
4k views

Rpi Bluetooth Android Device Connection Pairing Problem

I'm trying to connect my rpi0 w to any android device via Bluetooth LE(low energy) , i can pair but i can't connect them ,an error always showed (Connection failed,No usable services on this device ) ...
99
votes
3answers
175k 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 ...
76
votes
16answers
396k 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.
75
votes
11answers
126k 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 ...
96
votes
3answers
177k 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?
14
votes
5answers
29k 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 ...
19
votes
4answers
144k views

Raspbian root default password

I tried to modify the sudoers file on Raspbian /etc/sudoers, and it looks like I made a mistake, as I'm unable to modify it again. I am also unable to call any command that requires sudo permissions. ...

1
2 3 4 5
18