340
votes
Accepted
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 ...
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 ...
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>
...
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....
17
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 ...
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 ...
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.
...
14
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 ...
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 ...
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 ...
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 = {
'...
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 ...
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 ...
10
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 ...
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 ...
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.
...
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 ...
8
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 ...
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....
6
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.
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*...
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 ...
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 ...
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 ...
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 ...
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-...
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' (...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
raspbian-buster × 496pi-4 × 98
raspbian × 79
networking × 44
wifi × 42
pi-3b+ × 38
pi-3 × 31
apt × 19
raspbian-lite × 17
usb × 16
boot × 16
ssh × 15
python-3 × 15
audio × 13
dhcp × 13
ethernet × 12
software-installation × 12
raspberry-pi-os × 11
update × 11
wpa-supplicant × 11
pi-2 × 10
linux × 10
pi-zero-w × 10
boot-issues × 10
static-ip × 10