Hello everyone.
Unfortunately, I am experiencing some very strange behavior of my Raspberry Pi 4 with DietPi;
For some reason, it does not seem to be accessible via SSH anymore, every time I try to connect to my raspberry pi, I get the error "No route to host". When taking a look into the devices connected to my router, the DietPi shows up, however. Trying to ping it results in the same routing error.
I have not changed anything or installed anything prior to this issue, I noticed because my OwnCloud suddenly lost connection on every one of my devices.
After tinkering around with hard-restarting my raspi, I suddenly was able to connect to my raspi again (via ssh and owncloud) but shortly after it lost connection again after me trying to edit cronjobs via vim.
Since then nothing has changed. Do you guys have an idea how I should proceed debugging this?
EDIT: When disconnecting my Raspberry from power it for some reason stays in the list of connected devices of my router...
"No Route to Host" / Can't get network connection
-
- Posts: 6
- Joined: Sun Jan 31, 2021 5:32 pm
Re: "No Route to Host" / Can't get network connection
Hi,
easiest would be if you would connect a screen and keyboard to check status on your device as soon as it is not reachable. Do you connect via eth0 or wlan0? As well you could switch to FULL log mode to be able check what happen before you reboot your system.
easiest would be if you would connect a screen and keyboard to check status on your device as soon as it is not reachable. Do you connect via eth0 or wlan0? As well you could switch to FULL log mode to be able check what happen before you reboot your system.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 6
- Joined: Sun Jan 31, 2021 5:32 pm
Re: "No Route to Host" / Can't get network connection
Well, then I have to buy a micro-hdmi adapter...
Re: "No Route to Host" / Can't get network connection
as said, you could switch to FULL log mode and try checking logs once rebooted, if they contain information about the hanging situation.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 6
- Joined: Sun Jan 31, 2021 5:32 pm
Re: "No Route to Host" / Can't get network connection
Where do I need to set the appropiate parameter? I can for sure pop out the micro-SD and have a look at log files.
Re: "No Route to Host" / Can't get network connection
Most likely it is the dhcp lease, which won't detect a sudden disconnection of the device due to freeze or power cut.Sir_Photch wrote: ↑Sun Jan 31, 2021 5:49 pm EDIT: When disconnecting my Raspberry from power it for some reason stays in the list of connected devices of my router...
Only if there is a graceful dhcp release it will vanish from the list.
Re: "No Route to Host" / Can't get network connection
Sir_Photch wrote: ↑Sun Jan 31, 2021 8:35 pm Where do I need to set the appropiate parameter? I can for sure pop out the micro-SD and have a look at log files.
dietpi-software
> Log System
> Full
are you using WLAN or Ethernet?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 6
- Joined: Sun Jan 31, 2021 5:32 pm
Re: "No Route to Host" / Can't get network connection
Wifi only
so.. It will disapper after a while?trendy wrote: ↑Sun Jan 31, 2021 8:45 pmMost likely it is the dhcp lease, which won't detect a sudden disconnection of the device due to freeze or power cut.Sir_Photch wrote: ↑Sun Jan 31, 2021 5:49 pm EDIT: When disconnecting my Raspberry from power it for some reason stays in the list of connected devices of my router...
Only if there is a graceful dhcp release it will vanish from the list.
Re: "No Route to Host" / Can't get network connection
probably your device is loosing WiFI connection. You could try setting auto reconnect featureWifi only
dietpi-config
> 7 : Network Options: Adapters
> WiFi
> Auto Reconnect : [On]
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
-
- Posts: 6
- Joined: Sun Jan 31, 2021 5:32 pm
Re: "No Route to Host" / Can't get network connection
Thank you. I already ordered a micro-hdmi to hdmi cable and will get into it when it arrives. Until then 
