Davoud Teimouri

Virtualization & Datacenter

[Linux]: /etc/sysconfig/network – No Such File or Directory

/etc/sysconfig/network – Missing!


Sometimes, you did install Linux on a virtual machine that the virtual machine has no NIC, when installation has been completed, you will face with the below error during “ifdown”, “ifup” or restarting network services:

This is the usual error, because operating system doesn’t detect any NIC during installation and “Networking” feature is disabled on server.

Solution!


The networking should be enabled manually, run the below command on terminal:

Rebooting machine is recommended after that change.

8,122 total views, 6 views today

[Linux]: /etc/sysconfig/network – No Such File or Directory
5 (100%) 1 Votes

Davoud Teimouri is as a professional blogger, vExpert 2015/2016/2017/2018, VCA, MCITP. This blog is started with simple posts and now, it has large following readers.

Updated: 26/08/2017 — 11:58 am

3 Comments

Add a Comment
  1. can’t create /etc/sysconfig/network: nonexistent directory

  2. # echo “NETWORKING=yes” >/etc/sysconfig/network
    -sh: can’t create /etc/sysconfig/network: nonexistent directory

  3. Let me know, what’s your Linux distribution and its version as well.

Leave a Reply

Your email address will not be published. Required fields are marked *

Teimouri.net © 2012 Frontier Theme
Read previous post:
PowerCLI
[Script]: Find ESXi HBA WWN via PowerCLI

You know, PowerCLI is one of vSphere scripting and automation tools and most of administrators using it for automation and...

Close