Questions tagged [raspbian]

DO NOT use this tag for new questions; Identify actual OS e.g. Raspberry Pi OS-Buster 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
17 votes
5 answers
57k views

Should I install NOOBS or Raspbian?

The Foundation site used to state states "Beginners should start with NOOBS – New Out Of the Box Software." Raspberry Pi Ltd. now hides NOOBS from unsuspecting novices. Only unscrupulous ...
Milliways's user avatar
  • 58.7k
225 votes
12 answers
931k 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 "...
Tyler Murry's user avatar
  • 2,353
56 votes
5 answers
95k 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: ...
Pezholio's user avatar
  • 675
11 votes
2 answers
9k 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 ...
goldilocks's user avatar
  • 58.5k
332 votes
18 answers
455k 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 ...
Steve Robillard's user avatar
5 votes
1 answer
6k 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.
Milliways's user avatar
  • 58.7k
3 votes
1 answer
5k 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 ...
Teofil Sandu's user avatar
9 votes
2 answers
13k 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 ...
SDsolar's user avatar
  • 2,328
37 votes
7 answers
243k 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 ...
Vlad Schnakovszki's user avatar
85 votes
6 answers
215k 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 ...
CuriousGuy's user avatar
10 votes
4 answers
14k 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 ...
Paolo Vacirca's user avatar
11 votes
1 answer
12k 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?
goldilocks's user avatar
  • 58.5k
3 votes
2 answers
16k 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 ...
goldilocks's user avatar
  • 58.5k
3 votes
2 answers
14k 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: $...
Ric Steinberger's user avatar
75 votes
7 answers
105k views

Upgrade to Raspbian Jessie

How can I perform an upgrade from Raspbian Wheezy to Jessie?
Fragmentation Needed's user avatar
65 votes
6 answers
127k 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 ...
Salim Fadhley's user avatar
6 votes
1 answer
12k 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 ...
Ingo's user avatar
  • 41.9k
2 votes
2 answers
3k 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 ...
Ingo's user avatar
  • 41.9k
113 votes
20 answers
256k views

Find Raspberry PI address on local network

I need to find the Raspberry PI IP address on local network without connect the Raspberry to a monitor. How do I do it on Linux or Mac OS systems?
J. Costa's user avatar
  • 2,483
3 votes
1 answer
14k 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 ...
motash's user avatar
  • 171
200 votes
11 answers
326k 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 ...
11chubby11's user avatar
  • 4,764
33 votes
10 answers
147k 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 ...
Vlad Schnakovszki's user avatar
121 votes
4 answers
284k 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:
j0h's user avatar
  • 2,453
74 votes
7 answers
146k 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 ...
Scoop's user avatar
  • 2,681
35 votes
3 answers
108k 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 ...
user avatar
18 votes
6 answers
26k 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 ...
EDP's user avatar
  • 1,681
3 votes
1 answer
14k 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 ...
SDsolar's user avatar
  • 2,328
6 votes
4 answers
13k 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. ...
Kil'jaeden's user avatar
3 votes
1 answer
7k 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://...
627117717.pr's user avatar
197 votes
11 answers
465k 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 ...
Evan's user avatar
  • 2,072
81 votes
16 answers
421k 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.
Alessandro Da Rugna's user avatar
25 votes
2 answers
69k 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 ...
DrakaSAN's user avatar
  • 437
7 votes
3 answers
30k 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(): ...
user8951490's user avatar
6 votes
2 answers
6k 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 ...
blue-sky's user avatar
  • 327
118 votes
15 answers
546k 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 ...
BuddingEngineer's user avatar
10 votes
3 answers
20k 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 ...
Andrew's user avatar
  • 422
6 votes
3 answers
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 ...
Ingo's user avatar
  • 41.9k
6 votes
1 answer
12k 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 ...
Milliways's user avatar
  • 58.7k
2 votes
1 answer
7k 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 ...
Umer Farooq's user avatar
36 votes
3 answers
82k 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 $ ...
Morgan Courbet's user avatar
14 votes
9 answers
63k 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 ...
zurfyx's user avatar
  • 269
11 votes
4 answers
36k 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 ...
Jamie Bull's user avatar
  • 1,097
4 votes
2 answers
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 ...
Kai's user avatar
  • 41
2 votes
1 answer
1k 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 ...
Ahmed Al-haddad's user avatar
-1 votes
1 answer
5k 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 ) ...
ninpi's user avatar
  • 1
103 votes
3 answers
182k 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 ...
Stein's user avatar
  • 1,768
97 votes
3 answers
180k 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?
user avatar
81 votes
12 answers
138k 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 ...
fouric's user avatar
  • 1,789
21 votes
4 answers
7k views

How accurate is Raspberry Pi's timekeeping?

I realize that since Raspberry Pi doesn't have a hardware real-time clock built in, some issues with accurate timekeeping may present themselves, even when persistence across reboots is not a ...
user avatar
19 votes
5 answers
151k 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. ...
Dani's user avatar
  • 469

1
2 3 4 5
19