if files seems readonly file:
sudo mount -o remount,rw /root_bypass_ramdisksset configurations
sudo raspi-configcheck DHCPCD status
sudo service dhcpcd statusenable and activate DHCPCD
sudo service dhcpcd start
sudo systemctl enable dhcpcdfrom configure file
sudo nano /etc/dhcpcd.confset the following configurations for eth0 ethernet or wlan0 wifi interfaces
interface eth0
static ip_address=192.168.1.4/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1try ping to check the IP results
ping raspberrypi.local