餐馆特色装修:/etc/udev/rules.d/70
来源:百度文库 编辑:中财网 时间:2024/04/28 20:11:11
etc/udev/rules.d/70-persistent-net.rules 文件内容2009-04-11 19:23
# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4c:90:06:83", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4c:10:cd:ab", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
ggy@darkstar:~$ cat /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4c:90:06:83", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
这个文件是关于网卡的。
说明一下.这个文件的使用情况.适用的情况是
当网卡变动时.比如说我主板集成一个网卡,现在在cmos中启用后.这个文件就会发生变化.
当新加网卡时.或换网卡时.这个文件都会有变化.
对应的修改mac 或eth 0 这个名字.来调整.
我只改name="eth0"
以下是我的二块网卡同时在的文件。
ggy@darkstar:~$ cat /etc/udev/rules.d/70-persistent-net.rules# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4c:90:06:83", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:e0:4c:10:cd:ab", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
/etc/pam.d/login是什么文件?
school rules
school rules
Rules Analyst
Typhoon rules
求linux /etc/rc.d/目录的详解
/etc/rc.d/rc.sysinit 启动文件损坏
ETC.是什么
Australian Rules Football (Aussie Rules) 中文怎么说?
rugby's rules
rules 的意思
红色警戒 rules.ini 下载
difficulty是什么意思?rules是什么意思?
~rules.ini下载
Rules for school
帮忙翻译Syntax rules
rules around us
Are rules necessary?
House Rules Committee 是什么?
etc.vvv是什么意思
etc什么意思?
ETC中文意思
chinese tradition(custom etc.)
etc.是什么的缩写?