「CentOS eth0が認識されない」の版間の差分
ナビゲーションに移動
検索に移動
| 1行目: | 1行目: | ||
| − | ==CentOS eth0が認識されない== | + | ==[[CentOS eth0が認識されない]]== |
[[CentOS]] | | [[CentOS]] | | ||
*http://mukaer.com/archives/2012/08/21/centosniceht0/ | *http://mukaer.com/archives/2012/08/21/centosniceht0/ | ||
| − | # vi /etc/udev/rules.d/70-persistent-net.rules | + | # [[vi]] /etc/udev/rules.d/70-persistent-net.rules |
*SUBSYSTEMから始まり、NAME="eth0"で終わる行をコメントアウト | *SUBSYSTEMから始まり、NAME="eth0"で終わる行をコメントアウト | ||
| 16行目: | 16行目: | ||
# line, and change only the value of the NAME= key. | # line, and change only the value of the NAME= key. | ||
| − | # net | + | # net de[[vi]]ce () |
| − | # SUBSYSTEM=="net", ACTION=="add", | + | # SUBSYSTEM=="net", ACTION=="add", D[[R]]IVE[[R]]S=="?*", ATT[[R]]{address}=="00:15:5d:00:0e:15", ATT[[R]]{type}=="1", KE[[R]]NEL=="eth*", NAME="eth0" |
| − | # net | + | # net de[[vi]]ce () |
| − | SUBSYSTEM=="net", ACTION=="add", | + | SUBSYSTEM=="net", ACTION=="add", D[[R]]IVE[[R]]S=="?*", ATT[[R]]{address}=="00:15:5d:01:11:00", ATT[[R]]{type}=="1", KE[[R]]NEL=="eth*", NAME="eth0" |
2020年2月16日 (日) 04:23時点における最新版
CentOS eth0が認識されない
CentOS |
# vi /etc/udev/rules.d/70-persistent-net.rules
- SUBSYSTEMから始まり、NAME="eth0"で終わる行をコメントアウト
- SUBSYSTEMから始まり、NAME="eth1"で終わる行のeth1をeth0に修正
- 再起動
# This file was automatically generated by the /lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and change only the value of the NAME= key. # net device () # SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5d:00:0e:15", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" # net device () SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5d:01:11:00", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
© 2006 矢木浩人