net.enp0s3

普段Gentoo Linuxを使っていますが、ネットワークインターフェイスの名前がnet.eth0からnet.enp0s3に変わっているみたいです。

eth0関係の削除

# rc-update del /etc/init.d/net.eth0
# rm /etc/init.d/net.eth0

eth0の設定をenp0s3に書き換え

# vi /etc/conf.d/net

enp0s3を追加

# ln -s /etc/init.d/net.lo /etc/init.d/net.enp0s3
# rc-update add /etc/init.d/net.enp0s3

ifconfig -aで確認できます。

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です