Internet problems with Homebridge and Raspberry Pi
### Current Situation

Hello everyone, I’ll try to explain this as best as I can since I’m not an expert on the topic. I had Homebridge installed on a Raspberry Pi, and I formatted everything to install Docker so I could set up Scrypted and Homebridge there. Initially, it worked, and I was able to restore the backup I made of Homebridge before wiping everything.

The problem I’m facing now is that I can access the Raspberry Pi via SSH and briefly access the Scrypted UI, but after a few minutes, it stops responding. I can’t access the Homebridge control panel through homebridge.local or any other variant. The only way to regain SSH and Scrypted access for a few minutes is by disconnecting the Raspberry Pi from power and reconnecting it, which resolves the issue for just a few fleeting minutes.

Any Idea to try? Please let me know if you need me to run any specific commands to provide more information.

### Logs

```markdown
ip route
default via 192.168.0.1 dev eth0 proto dhcp src 192.168.0.217 metric 202 
default via 192.168.0.1 dev wlan0 proto dhcp src 192.168.0.157 metric 303 
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown 
192.168.0.0/24 dev eth0 proto dhcp scope link src 192.168.0.217 metric 202 
192.168.0.0/24 dev wlan0 proto dhcp scope link src 192.168.0.157 metric 303 


cat /etc/resolv.conf
# Generated by resolvconf
nameserver 192.168.0.1


ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=4.15 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=3.63 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=116 time=3.69 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=116 time=4.09 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=116 time=3.60 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=116 time=3.66 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=116 time=3.83 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=116 time=3.79 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=116 time=3.75 ms
and more.


 ping google.com -c 4
PING google.com (142.250.185.14) 56(84) bytes of data.
64 bytes from mad41s11-in-f14.1e100.net (142.250.185.14): icmp_seq=1 ttl=116 time=3.36 ms
64 bytes from mad41s11-in-f14.1e100.net (142.250.185.14): icmp_seq=2 ttl=116 time=3.59 ms
64 bytes from mad41s11-in-f14.1e100.net (142.250.185.14): icmp_seq=3 ttl=116 time=4.07 ms
64 bytes from mad41s11-in-f14.1e100.net (142.250.185.14): icmp_seq=4 ttl=116 time=3.93 ms

--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 3.359/3.737/4.073/0.281 ms


~ $ sudo systemctl restart homebridge
Failed to restart homebridge.service: Unit homebridge.service not found.


 docker ps
CONTAINER ID   IMAGE                    COMMAND                  CREATED      STATUS        PORTS     NAMES
dcde22265730   koush/scrypted           "/init /bin/sh -c 'u…"   3 days ago   Up 25 hours             cranky_albattani
58f5453a24be   oznu/homebridge:latest   "/init"                  3 days ago   Up 25 hours             homebridge-homebridge-1
```


### Configuration

```json
I dont have any.
```


### Environment

- OS:
- Software: Raspberry Pi OS (Legacy, 64-bit)
- Node:v12.22.12
- npm:7.5.2

### Process Supervisor

hb-service

### Additional Context

_No response_