ifconfig command not found
Call me old fashioned, but I still prefer using ifconfig command. It’s not as cool as the ip command found in recent Linux distros, but familiar and universal enough to be found pretty much everywhere. This post shows how to install packages to make ifconfig working again.
/sbin/ifconfig: no such file or directory
Yep, that’s the error message I’m seeing on most recent distros. This simply means that ifconfig is no longer a core functionality installed with a base OS. You can still get it by installing net-tools package in your environment.
Here’s how my attempt looked on Debian 9 (Stretch) VM just a few minutes ago:
Install net-tools package for ifconfig and more
Simple enough step (I just know and remember that ifconfig is in net-tools package):
You need to have superuser powers, and by default Debian 9 doesn’t have sudo installed – so I’m just using su command to become root:
And now we install the net-tools package:
That’s it, ifconfig should start working right away:
See Also
Call me old fashioned, but I still prefer using ifconfig command. It’s not as cool as the ip command found in recent Linux distros, but familiar and universal enough to be found pretty much everywhere. This post shows how to install packages to make ifconfig working again.
/sbin/ifconfig: no such file or directory
Yep, that’s the error message I’m seeing on most recent distros. This simply means that ifconfig is no longer a core functionality installed with a base OS. You can still get it by installing net-tools package in your environment.
Here’s how my attempt looked on Debian 9 (Stretch) VM just a few minutes ago:
Install net-tools package for ifconfig and more
Simple enough step (I just know and remember that ifconfig is in net-tools package):
You need to have superuser powers, and by default Debian 9 doesn’t have sudo installed – so I’m just using su command to become root:
And now we install the net-tools package:
That’s it, ifconfig should start working right away: