红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

Change the order of eth in Debian

Change the order of eth in Debian

Edit the file of "/etc/udev/rules.d/70-persistent-net.rules" to corresponde what you want.

eg.

# PCI device 0x1106:0x3065 (via-rhine)

SUBSYSTEM=="net", DRIVERS=="forcedeth", ATTRS{vendor}=="0x1106", ATTRS{device}=="0x3065", NAME="eth0"

you could change the Value of NAME to eth1 or others.

TOP

发新话题