Network Status

I tried to use ifconfig to view the network status but got a ‘command not found’.

What is the right way to view network status in DietPi?

Hi,
many thanks for your report.

You could use ip a to show your interfaces or you are going to use dietpi-config to show the status and connectivity

Hi, thanks for that. I had not realised that ifconfig was depreciated. Just wanted a quick way to check the assigned IPs.

Cheers

Jep, basically the net-tools package has been deprecated, which includes the route and the netstat commands as well. iproute2 is the replacement, with its ip commands set, e.g. ip a, ip r, ip l

I install iftop which is a nice breakdown of inbound/outbound traffic for ports and IP’s

However I didn’t know that ifconfig was depreciated…wow
https://ubuntu.com/blog/if-youre-still-using-ifconfig-youre-living-in-the-past