PDA

View Full Version : Kali of Raspberry Pi 400 falls off the network



bazcurtis
2022-02-19, 09:55
Hi,

I have installed Kali on a Raspberry Pi 400. I have given it a static IP via the interfaces file. After a few days it will fall off the network and no longer ping. If I locally log on to the machine and run this command it will come back.


sudo systemctl restart networking.service

I can then access the machine via SSH again. Before I added a static IP I tried to add a network configuration via the Network Manager, but that didn't work, so I went back to Interfaces file method. This is a cabled connection.

This is my Interfaces.d file


auto lo iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.0.1.16/24
gateway 10.0.1.1