Gentoo no longer uses eth0.

Technical Q&A involving operating systems, networking, software, and hardware issues.

Moderator: jasonb

Post Reply
User avatar
jasonb
Site Administrator
Posts: 105
Joined: Tue Apr 22, 2003 1:54 pm
Location: Toronto, Canada
Contact:

Gentoo no longer uses eth0.

Post by jasonb »

With the latest incarnation of udev, eth0 may not longer be used. To find out the new name of your NIC, check in /sys/class/net. It mght also be obtained from the output of either /bin/ip link show or /sbin/ipmaddr. Once you have the new name:
  1. Rename /etc/init.d/net.eth0 to /etc/init.d/net.$NEW_INTERFACE_NAME.
  2. Remove /etc/runlevels/net.eth0 and create a symlink in /etc/runlevels pointing to /etc/init.d/net.$NEW_INTERFACE_NAME.
Post Reply