340 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 ...
Milliways's user avatar
  • 58.1k
107 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 ...
Milliways's user avatar
  • 58.1k
48 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> ...
Ingo's user avatar
  • 41.7k
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....
Danica Panica's user avatar
16 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 ...
Malvineous's user avatar
  • 1,794
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
14 votes
Accepted

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

Sometimes the actual official Raspberry Pi Foundation forum, among whose members are RPi Foundation staffers, is worth a visit. There is an issue affecting the Raspberry Pi 4 and certain USB devices. ...
Michael Harvey's user avatar
13 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 ...
Dougie's user avatar
  • 5,251
12 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 ...
miimote's user avatar
  • 341
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
  • 41.7k
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 = { '...
CzBiX's user avatar
  • 116
10 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 ...
jake's user avatar
  • 1,329
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 ...
Bryan's user avatar
  • 341
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 ...
Artifex's user avatar
  • 91
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. ...
kcrk's user avatar
  • 161
9 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 ...
Red's user avatar
  • 129
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 ...
rohtua's user avatar
  • 459
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....
snailhead's user avatar
7 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 ...
Milliways's user avatar
  • 58.1k
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.
David González Blazman's 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*...
Ingo's user avatar
  • 41.7k
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 [email protected] outputs a suggested configuration file. I ...
Milliways's user avatar
  • 58.1k
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 ...
ArjenR's user avatar
  • 101
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 ...
Milliways's user avatar
  • 58.1k
5 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 ...
jake's user avatar
  • 1,329
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-...
jdonald's user avatar
  • 2,884
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' (...
Rob Bricheno's user avatar
5 votes

How to increase mic input volume?

Hey so I know that this is late but I actually found a good answer! This is my first post too so I am going to try my best. I found this information on the website PiMyLifeUp. The link to the article ...
Tylan's user avatar
  • 51
5 votes
Accepted

How to pre-configure raspbian for ssh key-only access?

Raspbian is installed on two partitions: a fat32 boot partition for kernel and firmware and an ext4 partition for the root filesystem. To disable password authentication and only use public/private ...
Ingo's user avatar
  • 41.7k
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

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