Skip to main content
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.5k
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.3k
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
Accepted

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

This is a useful guide, Raspberry Pi OS is basically Debian, with Bookwork being largely the same as the Debian Bookworm release. This guide was helpful for me. - https://itslinuxfoss.com/set-up-...
Ben Bird's user avatar
  • 152
4 votes

Headless Wi-Fi setup without the RPi Imager: bootfs/wpa_supplicant.conf not supported since Bookworm

With Raspberry Pi OS bookworm you can configure WiFi via a custom.toml that you place in the bootfs partition (first boot only). Note that this feature is experimental and will be replaced by cloud-...
de1's user avatar
  • 141
2 votes

Headless Wi-Fi setup without the RPi Imager: bootfs/wpa_supplicant.conf not supported since Bookworm

Bookworm now uses NetworkManager for networking. If you preconfigure during the imaging process you can set the hostname, user/password, Locale, wireless networking and enable ssh. For some time ...
Milliways's user avatar
  • 60.5k
2 votes

Raspberry Pi 5 won't sychronize date and time

This is a networking issue not a time issue (possibly external to your Pi unless you have an error in network configuration). If you set time (and have a RTC battery) it should work until the ...
Milliways's user avatar
  • 60.5k
2 votes

Headless Wi-Fi setup without the RPi Imager: bootfs/wpa_supplicant.conf not supported since Bookworm

I'm sharing my steps, which helped me to correctly configure Wifi connection profile for headless RPI installation with Bookworm OS. This was tested on Raspberry Pi ZERO. download and install ...
Matho's user avatar
  • 21
1 vote

How to programatically determine Raspberry Pi OS or Raspberry Pi OS Lite?

I am doing some automated configuration of Raspberry Pis. I'd like to do things differently depending on if the OS image flashed was Raspberry Pi OS or Raspberry Pi OS Lite. I'm assuming you mean on ...
goldilocks's user avatar
  • 59.3k
1 vote
Accepted

What networking system is my Pi using?

I have a number of Pi (mostly headless) running a range of Operating Systems and different network managers. I had a number of code fragments to check networking but a different set is needed for each ...
Milliways's user avatar
  • 60.5k
1 vote

Why is PIN24 (and others) sending binarys on fresh system

On an unmodified system GPIO 8 (pin 24) will be configured as an input. It will have weak pulls to ground enabled but in effect it is floating - especially if your probe wires are acting like an ...
joan's user avatar
  • 71.2k
1 vote

Autostart a GUI application as user after this user is logged in (automatically)

For Debian 12.4 Bookworm on RPi4 only the "Traditional" methods of this link How to Use Autostart for Desktop worked for me. I created a .desktop file and it executed in both /etc/xdg/...
DavidJ's user avatar
  • 23
1 vote

Problem installing centos7 on raspberry pi 4b

When the Pi powers up, the first thing the SoC does is look for a (v)fat formatted partition at the beginning of the MBR style formatted SD card (unless you have configured it to use a different boot ...
goldilocks's user avatar
  • 59.3k
1 vote
Accepted

Raspberry Pi 4 crashes at startup then boot loops

HDMI cable had a short in it, that's why multiple monitors had the same problem as well, but having no other HDMI, I had to configure the image before flashing (in the imager) and connect with a ...
Tudor Szabo's user avatar
1 vote
Accepted

Automatic execution of a Python script using a Raspberry Pi 4

If I understand your issue, you want to start your Python script when your RPi starts (boots) - not when you log in... is that correct? If so, then the crontab is a proper way to do that. This would ...
Seamus's user avatar
  • 22.3k
1 vote

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

The first Raspberry Pi OS that supports Raspberry Pi 5 manages the network settings by default with NetworkManager, as per https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/ ...
aleb's user avatar
  • 113
1 vote
Accepted

How can I find out the current official version of Raspberry Pi OS?

You could check the codename in http://raspbian.raspberrypi.org/raspbian/dists/stable/Release stable in that URL always points to the latest stable release.
user0086's user avatar
1 vote

How can I find out the current official version of Raspberry Pi OS?

"the current official version of Raspberry Pi OS" is meaningless; the OS is regularly updated. Maybe every few months or so the latest is packaged into an image so those doing a fresh ...
Milliways's user avatar
  • 60.5k
1 vote

How to tether the Internet from a RPi through a USB cable?

Is this what you are talking about? Raspberry Pi Zero Internet connection through USB
papatrexas's user avatar
1 vote

Unable to locate package raspberrypi-kernel-headers

Now it's working, I guess there was some maintenance going on. If you know the reason that package wasn't available this morning please share :)
Sanjo's user avatar
  • 21
1 vote

Raspberry Pi remote control. Cannot log in as root user

You need to run the su command with elevated privilegies. The command ; sudo su - will give you a root shell. But this is highly discouraged use sudo when you want to execute a command with elevated ...
MatsK's user avatar
  • 2,811
1 vote

How to solve segmentation fault error on raspberry pi 4

Downgrading torch and torchvision worked for me. pip uninstall torch torchvision pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 You can read more about this issue at https://github....
HotGreenPeas's user avatar
1 vote

Raspberry pi's pins state at boot unknown

"whenever I boot-up my pi, it enables all of its pins and then grounds them" No it doesn't. On boot ALL pins are INPUTS; pins 0-8 have pullup, others pull down. Rather than being "...
Milliways's user avatar
  • 60.5k
1 vote

Raspberry Pi 3 has only 128MB memory available at OS level

I suspect that you allocated almost all of your memory to the GPU. If you run raspi-config, (Performance Options -> GPU Memory) you can change the GPU memory to a lower number and then the ...
user0086's user avatar
1 vote
Accepted

uname -m does not give correct answer

Just to collect the comments so as to provide a "proper" answer to your question: This was discussed extensively in the RPi forum back in March of 2023. You can read all the details there ...
Seamus's user avatar
  • 22.3k
1 vote

uname -m does not give correct answer

"I have … a … 32bit Raspberry Pi OS" so why are you surprised that it is 32 bit! If you want 64 bit install a 64 bit OS.
Milliways's user avatar
  • 60.5k

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