Skip to main content
Share Your Experience: Take the 2024 Developer Survey
108 votes

How do I set up networking/WiFi/static IP address on Raspbian/Raspberry Pi OS?

Raspberry Pi OS Bookworm uses Network Manager by default so this Answer is no longer current. This tutorial describes how to setup networking using the default network manager dhcpcd included in ...
Milliways's user avatar
  • 60.3k
21 votes
Accepted

Should I install NOOBS or Raspbian?

To install either NOOBS or Raspberry Pi OS (previously called Raspbian) you need access to a computer with a SD Card writer; NOOBS installation requires more steps and is slower than installing ...
Milliways's user avatar
  • 60.3k
21 votes

Will Raspberry Pi OS update `sudo` to address a recent security vulnerability?

This vulnerability can be trivially tested: To test whether your version of sudo is vulnerable, the following command can be used: sudoedit -s / A vulnerable version of sudo will either prompt for ...
Dmitry Grigoryev's user avatar
20 votes
Accepted

Will Raspberry Pi OS update `sudo` to address a recent security vulnerability?

While there are exceptions, generally stable releases of Linux distros backport important security fixes rather than packaging new upstream versions. They do this because the new upstream versions ...
Peter Green's user avatar
  • 6,486
18 votes
Accepted

How can I see Raspberry Pi OS Version (32bit or 64 bit)?

I believe you can check what bit size Linux kernel is using for LONG type with the following command: pi@raspberrypi:~ $ getconf LONG_BIT 32 And it might give insight about your OS version :)
vaha's user avatar
  • 1,240
16 votes

Standard Passwort not Accepted – Headless Setup

There is no standard user and password anymore in the new Raspberry Pi OS image. https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/ To create one a file named userconf has to be ...
jake's user avatar
  • 1,347
14 votes

How do I set up networking/WiFi/static IP address on Raspbian/Raspberry Pi OS?

Short and foolproof method how to do this with: Raspbian Jessie, Stretch, Buster This will set a fixed IP and enable the ssh daemon: Stick the sd card in your pc and find that it has two ...
MadMike's user avatar
  • 593
13 votes
Accepted

Uninstall Python2 in Raspberry Pi

Is it safe to uninstall Python2 and only keep Python3? To be "safe" as in "don't break anything"? Probably not. But Python2 doesn't occupy much space - about 3MB on your SD card. ...
Seamus's user avatar
  • 22.2k
13 votes
Accepted

Turn off screen reader in Raspberry Pi OS?

Hold down the Caps Lock key and press the S key. It should say Speech Enabled/Disabled.
Dave's user avatar
  • 146
11 votes
Accepted

Run 64-bit Raspberry Pi OS beta test version

You can find the image of the 64 bit Raspberry Pi OS at https://downloads.raspberrypi.org/raspios_arm64/images/ You can download and flash it to a SD Card like any other image of the operating ...
Ingo's user avatar
  • 42.2k
8 votes
Accepted

Can you use a 5V Relay Module with the Pi?

There are a number of poorly-designed relay modules on the market. They may work with Arduino (and TTL logic) BUT ARE A LOUSY DESIGN even for that purpose and totally unsuitable for the Pi as they are ...
Milliways's user avatar
  • 60.3k
8 votes

How can I restore my raspberry pi sources list

These are the default entries from an unmodified image: rpi ~$ cat /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi # Uncomment line ...
Ingo's user avatar
  • 42.2k
7 votes

How to emulate Raspberry Pi in QEMU?

You can use qemu-system-arm -machine type=raspi2 -m 1024 -kernel vmlinux -initrd initramfs qemu-system-aarch64 -machine type=raspi3 -m 1024 -kernel vmlinux -initrd initramfs The kernel and initramfs ...
Goswin von Brederlow's user avatar
7 votes
Accepted

Unable to ssh into headless raspberry pi?

Most of what you have done is unnecessary but should work however current Raspberry Pi OS DO NOT have a default user nor ssh enabled. The current setup process is different. You need to boot the Pi ...
Milliways's user avatar
  • 60.3k
6 votes

What step am I missing in my installation schema for Raspberry Pi OS on my headless RPI 1 to enable encryption?

As far as I understand you want to have an encrypted storage for the complete operating system that can only be started if you enter a password to boot it. Please note that this only protects against ...
Ingo's user avatar
  • 42.2k
6 votes

Turn off screen reader in Raspberry Pi OS?

espeak is a speech synthesizer, it transforms text into sound but will not grab text from your screen and read it aloud. This is a function of screen reader. You have to find out which one you have ...
Dmitry Grigoryev's user avatar
6 votes

SSH connection status indication through GPIO LED

Add this to your ~/.profile file, where <pin> refers to the pin number where the LED is connected: if [[ -n $SSH_TTY ]] ; then gpio mode <pin> out trap 'gpio write <pin> 0' ...
Dmitry Grigoryev's user avatar
6 votes

How to set up a Static IP on Raspberry Pi 5 with Raspbian - dhcpcd.conf missing

I see you've found an answer, so this is just FYI: The people who run the RPi manufacturing operation decided to replace dhcpcd with nmcli as the default DHCP client program for the bookworm release. ...
Seamus's user avatar
  • 22.2k
5 votes
Accepted

How to install Oracle JDK 14 on my Rasberry Pi 4B?

Is it even possible to install orcale jdk 14 on raspbian? The versions on the oracle site currently all appear to be x86-64 (for version 14). Oracle java is not open source, so no one else could ...
goldilocks's user avatar
  • 59.1k
5 votes

rc.local shell script to run socket program

One comment or idea to the subject is: don't use /etc/rc.local anymore! Debian/Raspbian/Raspberry Pi OS uses systemd instead of deprecated SysV since years as init system to start and manage services. ...
Ingo's user avatar
  • 42.2k
5 votes
Accepted

Will RaspiOS Lite (no Desktop environment) be able to start a software with GUI made with Tkinter?

I assume Tkinter requires a “window manager” from an OS that has a desktop environment. To clarify a few terms that have a specific technical meaning in GNU/Linux based operating systems: Window(ing)...
goldilocks's user avatar
  • 59.1k
5 votes
Accepted

What am I missing in regards to "Raspberry Pi Imager"?

The options menu is hidden by default. You need to type ctrl shift X. This blog post has some additional details about telemetry, and this post has the details about the submenu.
Steve Robillard's user avatar
5 votes

I am not able to use sudo-apt upgrade whenever i try this error shows up like this how can i fix it?

Change the repository server by editing below file using sudo nano /etc/apt/sources.list Try another repository from the list given in https://www.raspbian.org/RaspbianMirrors change the below line ...
SivaAnna's user avatar
5 votes

How does Raspberry Pi OS installer know my WiFi password?

Found out myself digging through the source code: https://github.com/raspberrypi/rpi-imager/blob/b49408781a3c347bd6f6c057c68bb34d6c06ad10/src/windows/winwlancredentials.cpp The WinWlanCredentials ...
InfiniteLoop's user avatar
4 votes

Should I install NOOBS or Raspbian?

Installing using Raspbian Iso is much easier as and saves your SD card memory too, rather than using NOOBS Download the ISO file from the Offical Website Also download software such as Etcher, or ...
Sharath Mohan's user avatar
4 votes

Should I install NOOBS or Raspbian?

If you want to evaluate the different OS available for a Raspberry use NOOBS. But as soon as you know which OS is best for you immediately install the plain OS without NOOBS. Why? If you have any ...
framp's user avatar
  • 900
4 votes

How do I set up networking/WiFi/static IP address on Raspbian/Raspberry Pi OS?

First thing you should do is make your Raspberry pi's IP static. So that whenever you power up your Raspberry pi it should connect to your access point(Hotspot). Connect to your Access point. Type ...
SMshrimant's user avatar
4 votes

Uninstall Python2 in Raspberry Pi

Type sudo apt -s remove python2 and check out the list of packages which would have to be removed. You'll most likely see that half of your system will be gone if you do remove it.
Dmitry Grigoryev's user avatar
4 votes

Raspberry pi OS is 32bit?

The raspberry OS (Raspbian) is 32 bits, the 64bits version with the 64bits user land is in beta right now. If you need 64 bits kernel with userland you will need other OS, like Ubuntu, Gentoo or Arc. ...
Chocolim's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible