On 07/18/2014 07:28 PM, Jarry wrote:
> Hi Gentoo-users,
>
> I added the 2nd network adapteer to my gentoo-box and I want
> to use it. But... I do not know how it is called!
>
> ifconfig shows only the one adapter I had, called "enp3s0".
> I remember some time ago I moved from "human" network names
> (i.e. eth0) to this and now I see the first disadvantage:
> while before I could guess new network name (probably eth1,
> eth2, etc), now I can not. I tried "enp4s0", "enp3s1",
> "enp4s1" but I always get only "No such device" error.
>
> I checked gentoo-handbook but it works with those old & good
> network devices (eth0, eth1).
>
> So how can I find name of the new network adapter?
>
> Jarry
Here's the QA message for sys-fs-udev-215 that might be helpful:

 Messages for package sys-fs/udev-215:
 Starting from version >= 197 the new predictable network interface
names are
 used by default, see:
 
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
 http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c
 
 Example command to get the information for the new interface name
before booting
 (replace <ifname> with, for example, eth0):
 # udevadm test-builtin net_id /sys/class/net/<ifname> 2> /dev/null
 
 You can use either kernel parameter "net.ifnames=0", create empty
 file /etc/systemd/network/99-default.link, or symlink it to /dev/null
 to disable the feature.
 
 You need to restart udev as soon as possible to make the upgrade go
 into effect.
 The method you use to do this depends on your init system.
 For sys-apps/openrc users it is:
 # /etc/init.d/udev --nodeps restart
 
 For more information on udev on Gentoo, upgrading, writing udev rules,
and fixing known issues visit:
 http://wiki.gentoo.org/wiki/Udev
 http://wiki.gentoo.org/wiki/Udev/upgrade


Reply via email to