1. Technology

Error: /usr/sbin/ifconfig: No such file or directory [SOLVED]

Pre-Flight Check
  • These instructions are intended specifically for solving the error: /usr/sbin/ifconfig: No such file or directory
  • I’ll be working from a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root.

There are several commonly used, but deprecated, Linux networking commands, including: arp, ifconfig, iptunnel, iwconfig, nameif, netstat, and route. Here, we deal with what to do if you run across the error specific to ifconfig: /usr/sbin/ifconfig: No such file or directory.

Option #1: Use the Command ‘ip’

ip a

or

ip addr

Both display details on all network interfaces, just as ifconfig would.

Option #2: Install net-tools

As a matter of best practice we’ll update our packages:

yum -y update

Then let’s install ifconfig, which is apart of the package net-tools, and any other required packages:

yum -y install net-tools

Want to Try This Tutorial?

Launch a Free* Storm Server

*For new customers only

<!– –><!– –>

Thank you. Your request has been submitted and we’ll be sending you a $75 Storm coupon shortly!

No Comments
Comments to: Error: /usr/sbin/ifconfig: No such file or directory [SOLVED]

Recent Articles

Good Reads

Worlwide

Overview VipsPM – Project Management Suite is a Powerful web-based Application. VipsPM is a perfect tool to fulfill all your project management needs like managing Projects, Tasks, Defects, Incidents, Timesheets, Meetings, Appointments, Files, Documents, Users, Clients, Departments, ToDos, Project Planning, Holidays and Reports. It has simple yet efficient layout will make managing projects easier than […]

Trending

Turquoise Jewelry is one of the ancient healing stones used for personal adornment and astrological benefits. The rare greenish blue-colored pectolite is celebrated for its enchanting powers among many crystal lovers. It is a hydrated phosphate of copper and aluminum that ranks 5 to 6 on the Mohs hardness scale. It is deemed a protective […]