Home > OS >  Everyone a great god, vi to change card information does not display what reason be?
Everyone a great god, vi to change card information does not display what reason be?

Time:03-02

Rookie one, in your computer installed a virtual machine, the operating system is centos 7, ifconfig card information, use the vi/etc/sysconfig/network - scripts/ifcfg - eth0 command to edit, did not show:
DEVICE=eth0
HWADDR=00:0 C: 29:11:30:39
TYPE=Ethernet
UUID=5 ab36190 d8 bf1 a5df - 4-94-6 c126afd05f1
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=DHCP
Information, such as

This is what reason, or is the lack of what things will only be shown in the picture above,, every brother please show

CodePudding user response:

This is a new file! Sure didn't knock file name wrong?

CodePudding user response:

reference 1st floor shiyuehai response:
this is a new file! Sure didn't knock file name wrong?

No,


Whether the network CARDS can't, I don't show that ens33, virbr0, things don't appear,
This situation also appeared on the server in the maintenance of entity, is really don't know is what reason,

CodePudding user response:

The/etc/sysconfig/network - scripts/ifcfg - eth0 this is the link file? How to open is virbr0 file

CodePudding user response:

You CD/etc/sysconfig/network - scripts/below, ls know which file is just have a glance at the rest, you are open a new file, the name is wrong, look at your description, should be ifcfg - ens33 files, but you open ens33, front ifcfg - has been omitted
  • Related