Strange network issues - RP4 - only LAN devices are reachable

Hi,

I am running Dietpi 8.6 on RPi 4 Model B (armv7l).
It happend before that I have suddenly strange network issues.

I use Pihole with unbound.

My RPi was running hot for a while so I deciced to uninstall Mate (caja was using much CPU) and install xfce. When I tried to install the network connection check failed.

Pings to devices in my LAN work but external pings fail and the strange thing is where they are sent from.

Something in the ethernet config got broken somehow but it looks good in ifconfig.
I can get a working connection via WLAN.

I installed Xfce via WLAN but now it gets even worse. XVNC seems to eat up all CPU.
Navigating on the Raspi with RealVNC is now nearly impossible. The grafics do not load properly.

Any ideas how I can fix my eth interface?

Thanks,
Hyper

Unfortunately I allowed to add only one picture to the post.

Can you share following

ip a
cat /etc/network/interfaces

Btw ifconfig depreciated on Linux world and has been replaced by ip command suite :wink:

Sure!

I can’t get ip -a to work, it shows the help then. But no idea how to use this new tool :sweat:

cat /etc/network/interfaces
grafik

When I start dietpi-config, there’s always this entry in the terminal:
grafik

No idea if this has to do with it.

Sorry typo. It’s ip a

Please also check:

dmesg -l emerg,alert,crit,err

Sorry, I forgot to mention that I also have PiVPN installed, which could be relevant.

Here is the IP which the ping is sent from:
VNC-Viewer_xzCBmq3BTl

What does this mean?

VNC-Viewer_JIoHVXFznR
Undervoltage :smile: I did not undervolt anything and the power supply should be very well.

The undervoltage message is critical and you should take it seriously. Did you have an external HDD connected? Probably without own PSU?

Can you share following?

cat /etc/network/interfaces

There is only a M2 SSD connected via USB.
The power supply has 5V 3.4A 17W. Should this not be more than enough?
VNC-Viewer_Sv7G1v5gQ6

The IP 169.254.226.169 in the screenshot is the one where pings are sent from.
Does this entry maybe have to be deleted? And if yes, where could it come from…

USB ports of an RPi are not designed to power SSD or HDD. @MichaIng could explain the technical as well as physical limitations. We have seen quite a lot of cases where this caused data corruption. Therefore we highly recommend to use own power supply for everything lager than a pen stick.

Yes that may be the case, all USB ports share an overall 1.2A/6W max power, which is often not sufficient for the peak power consumption of 2.5" drives and SSDs during power up or I/O peaks, even when the manufacturer states a lower power consumption.

For the PSU, assure that it is not a charger, which isn’t designed to hold voltage tightly, but use a PSU designed for actually powering running devices. Also the USB/power cable alone can be the cause of undervoltage, when it’s too long or bad quality with too high voltage drop.

Ok shit. Strange that it ran well now for many months.

Do you have an idea whats the thing with the IP 169.254.226.169?
I have normal internet access if I enable WLAN, so something about the eth config must be faulty.

I use a short cable now to attach the m2 and the undervolt message is gone.
What is this other error message with the driver?

I must say, RP boards really suck. They get to hot and the shitty MicroSD cards produce so many issues.
This is why I attached an m2 SSD.

Which SMBs do you think are the best?

I’m using a USB3 micro USB stick to host my DietPi. No need to any SD card :slight_smile:

That is indeed a good alternative!

could you share following pls

ip r
dpkg -l dhcp*

VNC-Viewer_dvTVCVZNxq

The issue might be caused by the dhcpcd5 package installed. Any sense for have it installed? Usually it should not be needed as you are having a STATIC IP. If not, I would recommend to purged the package.

WTF!! It works after I uninstalled this package. Is this a bug?

Whats with this 169.254 entry seen in “ip r”. is this normal?
Because this range was always displayed in pings that failed.

Thank you so much!