The AB Electronics UK Knowledge Base provides support solutions, tutorials and troubleshooting guides.
-
Raspberry Pi Tutorials
- PCB Header Assembly Jig
- Raspberry Pi GPIO Pins
- Samba Setup on Raspberry Pi
- Set a static IP Address on Raspberry Pi OS Bookworm
- Set a static IP Address on Raspberry Pi OS Buster
- Set a static IP Address on Raspberry Pi OS Wheezy
- I2C Part 1 - Introducing I2C
- I2C Part 2 - How to Enable I2C on the Raspberry Pi
- I2C Part 3 - I2C tools in Linux
- I2C Part 4 - Programming I2C with Python
- SPI and Python on Raspberry Pi OS
- Using Pythonpath with our Python Libraries
- Connecting Development Boards to the Raspberry Pi 400
- General
- Code & Languages
- Raspberry Pi Pico Tutorials
- 1 Wire Pi Tutorials
- ADC Pi Tutorials
- ADC DAC Pi Zero Tutorials
- ADC Differential Pi Tutorials
- Expander Pi Tutorials
-
IO Pi Plus Tutorials
- IO Pi Plus FAQ
- IO Pi Plus Tutorial 1 - The Blinking LED
- IO Pi Plus Tutorial 2 - Push the Button
- IO Pi Plus Tutorial 3 - Introducing Interrupts
- IO Pi Plus Tutorial 4 - More Interrupts
- IO Pi Plus Tutorial - MQTT Reading the Ports
- IO Pi Plus with Raspberry Pi Pico
- IO Pi Plus Tutorial - MQTT Control
- Driving Relays or Higher Loads with the IO Pi Plus
- 16 Channel Opto-Isolated Input Board
- Relay Board for the IO Pi Plus 2.1
- IO Zero 32 Tutorials
- RTC Pi Tutorials
- Serial Pi
- Servo PWM Pi Tutorials
-
Home Assistant
- Using 1 Wire with Home Assistant and the Raspberry Pi OS
- Using I2C Devices on the Raspberry Pi with Home Assistant
- Using the ADC Differential Pi with Home Assistant on the Raspberry Pi
- Using the ADC Pi with Home Assistant on the Raspberry Pi
- Using the IO Pi Plus with Home Assistant on the Raspberry Pi
-
Legacy Products
- ADC DAC Pi (Discontinued)
- ADC Pi (Discontinued)
- Buffer Pi - Legacy Product
- Com Pi (Discontinued)
- Delta-Sigma Pi (Discontinued)
- Expander Pi (Discontinued)
- IO Pi (Discontinued)
- IO Pi Plus 1.0 (Discontinued)
- IO Pi Zero (Discontinued)
- Logic Level Converter (Discontinued)
- RTC Alarm Pi (Discontinued)
- RTC Pi (Discontinued)
- Serial Pi (Discontinued)
- 1 Wire Pi (Discontinued)
- 1 Wire Pi Plus 1.0 (Discontinued)
- Other Supported Platforms
Set a static IP Address on Raspberry Pi OS Buster
How to use a static network IP Address on the Raspberry Pi
This page details how to set up a static network IP address on the Ethernet connection on the Raspberry Pi OS Buster image from https://www.raspberrypi.org/software/operating-systems/.
For this demo, we will give the Raspberry Pi a static IP address of 10.0.0.220 and a subnet of 24. The router/gateway address will be set at 10.0.0.1, and the DNS server will also be set as 10.0.0.1
You can find the default gateway for your network with the following command.
netstat -nr
Step 1: Download the latest Raspberry Pi OS image and burn it to your SD Card following the instructions on http://elinux.org/RPi_Easy_SD_Card_Setup.
Step 2: Connect your network cable, boot the Raspberry Pi, and log in via the GUI or terminal.
Step 3: Now we need to edit /etc/dhcpcd.conf
sudo nano /etc/dhcpcd.conf
Step 4: Add the following at the end of the file and save your changes. Change the IP address, routers and domain name server to match your network.
interface eth0 static ip_address=10.0.0.220/24 static routers=10.0.0.1 static domain_name_servers=10.0.0.1
Step 5: Reboot to apply the changes:
sudo reboot
Your Raspberry Pi will restart and be accessible on the new IP address
Table of Contents
Related Products

ADC Pi
8 Channel 17-bit Single-Ended Analogue to Digital Converter for the Raspberry Pi
£17.99 ex VAT