11
ifconfig 命令無(wú)反應(yīng)

如果使用ifconfig命令查看網(wǎng)卡信息是,沒(méi)有反應(yīng),需要我們自己安裝ifconfig

[root@localhost ~]# yum search all ifconfig

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

 * ......

python36-ifcfg.noarch : Python cross-platform network interface discovery (ifconfig/ipconfig/ip)

.................

python36-psutil.x86_64 : A process and system utilities module for Python


[root@localhost ~]# yum install -y net-tools

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

.............                               

Installed:

  net-tools.x86_64 0:2.0-0.25.20131004git.el7                                                        

Complete!


[root@localhost ~]# which ifconfig

/usr/sbin/ifconfig

[root@localhost ~]# ifconfig

em1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

      ........

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

      ......

ovs-ext: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::480d:7fff:febb:9741  prefixlen 64  scopeid 0x20<link>

       ..............

ovs-int: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::cce7:42ff:feee:3c4c  prefixlen 64  scopeid 0x20<link>

        ...............

ovs-tun: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 2403:6a40:0:123:8c6a:64ff:fe08:344c  prefixlen 64  scopeid 0x0<global>

       ...................

phy-ext: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

      ...............

phy-int: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        ..............


以上就是安裝ifconfig 教程

查看版本:cat /etc/redhat-release

升級(jí)系統(tǒng):yum update

安裝wget:yum -y install wget 


這條幫助是否解決了您的問(wèn)題? 已解決 未解決

提交成功!非常感謝您的反饋,我們會(huì)繼續(xù)努力做到更好! 很抱歉未能解決您的疑問(wèn)。我們已收到您的反饋意見,同時(shí)會(huì)及時(shí)作出反饋處理!