解决debian下eth0,eth1,eth2...
时间:2010-06-23 来源:zhengsheng2010
编辑 /etc/udev/rules.d/70-persistent-net.rules
可以看到eth的历史记录,我们全部删掉。根据
# PCI device 0x1106:0x3065 (via-rhine) 来修改文件
SUBSYSTEM=="net", DRIVERS=="forcedeth", ATTRS{vendor}=="0x1106", ATTRS{device}=="0x3065", NAME="eth0"
其中的两个0x根据自己的情况而不同。
reboot就可以了。
可以看到eth的历史记录,我们全部删掉。根据
# PCI device 0x1106:0x3065 (via-rhine) 来修改文件
SUBSYSTEM=="net", DRIVERS=="forcedeth", ATTRS{vendor}=="0x1106", ATTRS{device}=="0x3065", NAME="eth0"
其中的两个0x根据自己的情况而不同。
reboot就可以了。
相关阅读 更多 +
排行榜 更多 +