Network Status Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
baz123
Posts: 166
Joined: Thu Jan 12, 2017 9:23 pm

Network Status

Post by baz123 »

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?
User avatar
Joulinar
Posts: 2025
Joined: Sat Nov 16, 2019 12:49 am

Re: Network Status

Post by Joulinar »

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
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
baz123
Posts: 166
Joined: Thu Jan 12, 2017 9:23 pm

Re: Network Status

Post by baz123 »

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

Cheers
User avatar
MichaIng
Site Admin
Posts: 2262
Joined: Sat Nov 18, 2017 6:21 pm

Re: Network Status

Post by MichaIng »

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
User avatar
WarHawk
Posts: 606
Joined: Thu Jul 20, 2017 8:55 am

Re: Network Status

Post by WarHawk »

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- ... n-the-past
Post Reply