327 votes
Accepted

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

This tutorial describes how to setup networking using the default network manager dhcpcd included in Raspbian since 2015-05-05 and Raspberry Pi OS. It applies to the Foundation releases of Raspberry ...
user avatar
  • 53.5k
104 votes

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

This tutorial describes how to setup networking using the default network manager dhcpcd included in Raspbian since 2015-05-05 and Raspberry Pi OS. It applies to the Foundation releases of Raspberry ...
user avatar
  • 53.5k
43 votes
Accepted

How to disable wifi in Raspberry Pi 4

Raspbian is managing hardware with overlays. In /boot/overlays/README you will find: Name: pi3-disable-wifi Info: Disable Pi3 onboard WiFi Load: dtoverlay=pi3-disable-wifi Params: <None> ...
user avatar
  • 39.6k
41 votes

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

For a static IP address on an Ethernet connection: sudo nano /etc/dhcpcd.conf Type in the following lines on the top of the file: interface eth0 static ip_address=192.168.1.XX/24 static routers=192....
user avatar
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 ...
user avatar
  • 583
13 votes
Accepted

SATA 3 SSD too slow on raspberry pi 4, even with external power

Sometimes the actual Raspberry Pi Foundation forum is worth a visit. There is an issue affecting the Raspberry Pi 4 and certain USB devices. How to tell if your drive is affected, and what to do ...
user avatar
11 votes

Watchdog on the RPi4

To check if the watchdog is available, you can run wdctl which gives you a bit more info than just looking at /dev/watchdog. To start using the watchdog, you can still use the old watchdog daemon ...
user avatar
  • 1,644
10 votes
Accepted

update-command-not-found gives « KeyError: 'rpi' » after upgrading to Rapsbian Buster (testing)

Dirty Fix: Add a line of 'rpi': 10, to the end of list component_priorities in /usr/share/command-not-found/CommandNotFound/db/creator.py. Result should like this: component_priorities = { '...
user avatar
  • 116
10 votes
Accepted

Problem with iptables on buster - neither legacy or nft work

One of those days ... although the pi was recently booted, it seems that it needed a reboot - probably after some update? When I was troubleshooting, I had ls /lib/modules/$(uname -r) ls: cannot ...
user avatar
  • 341
10 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 ...
user avatar
  • 39.6k
9 votes

Xorg not working after upgrading to buster

I had this problem as well and got around it by manually building and installing the fbturbo module from source after which I had my desktops back When I tried to to the install the missing package ...
user avatar
  • 91
9 votes
Accepted

Automatically Create Hotspot if no Network is Available

The following can also easily be installed from a github repository that I created here . First we need to change over completely to systemd (which might be the future anyway), as Ingo has explained ...
user avatar
  • 1,079
9 votes

PiHole not resolving local DNS entries

I would try to change the domain to .lan. This is possibly an issue with mDNS (Avahi, Bonjour, etc) that use the .local domain. It could be that Windows tries to resolve the .local domain using mDNS. ...
user avatar
  • 161
9 votes

kernel types in Raspbian 10 - Buster

kernel.img is 32-bit for BCM2835 (RPi1 & Zero) kernel7.img is 32-bit for BCM2836 (RPi2) and BCM2837 (RPi3) kernel7l.img is 32-bit for BCM2711 (RPi4) kernel8.img is 64-bit for BCM2837 (RPi3) or ...
user avatar
  • 4,851
9 votes
Accepted

Text editor for Raspbian Lite

The simplest way would be to use nano. It comes as standard on the majority of Linux distributions. To use it, simply type nano followed by the name/path to the file you want to edit. For example, to ...
user avatar
  • 459
8 votes

ufw and iptables on buster

I found the solution. Buster comes with two iptables flavours > $ update-alternatives --list iptables /usr/sbin/iptables-legacy /usr/sbin/iptables-nft By default it uses iptables-nft. When ...
user avatar
  • 251
7 votes

Xorg not working after upgrading to buster

I had the same issue. My root cause was that I forgot to update: /etc/apt/sources.list.d/raspi.list from stretch to buster sudo apt update reported an additional ~ 200 packages that could be upgraded....
user avatar
6 votes
Accepted

How can I make dhcpcd ignore an interface?

See Prevent dhcpcd from configuring an interface in How to set up networking/WiFi Add denyinterfaces eth1 to the end of /etc/dhcpcd.conf (but above any other added interface lines). NOTE eth1 may ...
user avatar
  • 53.5k
5 votes

How to disable wifi in Raspberry Pi 4

Use rfkill block wifi and reboot to disable and rfkill unblock wifi and reboot to enable it again.
user avatar
5 votes
Accepted

How can i install OpenCV on Raspberry Pi 4 (Raspbian Buster)?

You should use OpenCV from the default Raspbian Repository. It is tested and fits best into the Raspbian distribution without errors (I hope :). On Buster you will find with: rpi ~$ apt list python*...
user avatar
  • 39.6k
5 votes
Accepted

Cannot send mail from Buster

Apparently ssmtp is deprecated in Buster I managed to get mail working by installing msmtp and msmtp-mta msmtp --configure XXXXXXXX.raspberry.pi@gmail.com outputs a suggested configuration file. I ...
user avatar
  • 53.5k
5 votes

Pi 4 X-Display resolution doesn't match frame buffer

The syntax for HDMI related settings in config.txt on a Raspberry Pi 4B appears to have changed, likely because the Pi4B has two HDMI outputs (numbered 0 and 1 in technical documentation, and somewhat ...
user avatar
  • 91
5 votes
Accepted

Stopping a new Raspbian Stretch install from upgrading to Buster

Raspbian will NEVER upgrade to a different OS. NOOBS, on the other hand always installs the latest version (or the copy included with NOOBS) - I might add that very few experienced users of this site ...
user avatar
  • 53.5k
5 votes
Accepted

autoreconf: command not found

apt-cache search only searches for packages by name and description, not what they contain. For your intended use case you probably should use apt-file: $ sudo apt install -y apt-file ... $ sudo apt-...
user avatar
  • 2,804
5 votes
Accepted

Information about network GUI in Raspbian

To answer my own question, this is an lxpanel plugin called lxplug-network and the source code is found here: https://github.com/raspberrypi-ui/lxplug-network It is based on 'Network Configurator' (...
user avatar
5 votes
Accepted

Xorg doesn't start after upgrade from Stretch to Buster

After enabling ssh, I could figure out that the xserver did not start. startx said "no screens found". So I tried out all the ways to config the pi in headless mode Editing the config.txt ...
user avatar
  • 89
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 ...
user avatar
4 votes

My Raspberry Pi will not open the pi directory

The command you need to enter is cd ~ The $ is just a common prompt from the shell that it is awaiting a command, it is not meant to be typed as part of the command.
user avatar
  • 66.5k
4 votes
Accepted

Raspbian Buster - Keep network interface down on boot

There a different ways you could achieve what you want. Method 1 – use systemd-networkd If you want to use systemd just follow step 1 and step 3 of this tutorial. Just omit this command systemctl ...
user avatar
  • 1,079
4 votes

I can't get the OSD with omxplayer

Alternatively, install the package containing those fonts: sudo apt install -y fonts-freefont-ttf (Found by searching the list of font-related packages on debian.org) Note: For earlier versions of ...
user avatar
  • 161

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