Linux基础 ·

Vmware启动网卡时提示警告信息

1.提示:Module off not found.

[root@node1 ~]$ service network restart
正在关闭接口 eth1:                                        [确定]
关闭环回接口:                                             [确定]
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Module off not found.
弹出环回接口:                                             [确定]
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
弹出界面 eth1:                                            [确定]
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Module off not found.

2.解决方法:

[root@node1 /]$ mv /etc/modprobe.conf /etc/modprobe.conf.OLD
[root@node1 ~]$ find /etc/modprobe.d/ -type f ! -name "*.conf" -exec mv "{}" "{}.conf" \;

3.提示:FATAL: Module off not found

[root@node2 network-scripts]$ service network restart
正在关闭接口 eth0:                                        [确定]
关闭环回接口:                                             [确定]
FATAL: Module off not found.
弹出环回接口:                                             [确定]
弹出界面 eth0:                                           [确定]
FATAL: Module off not found.

4.解决方法:

Centos 6 关闭ipv6 在 /etc/modprobe.d/dist.conf增加如下内容

***************************

alias ipv6 off   替换成   options ipv6 disable=1

***************************

[root@node1 network-scripts]$ vim /etc/modprobe.d/dist.conf 
[root@node1 network-scripts]$ service network restart
正在关闭接口 eth0:                                        [确定]
关闭环回接口:                                             [确定]
弹出环回接口:                                             [确定]
弹出界面 eth0:                                           [确定]

评论已关闭