Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How can I find 2nd network adapter?
Date: Fri, 18 Jul 2014 16:47:21
Message-Id: 53C94F96.3070803@gmail.com
In Reply to: Re: [gentoo-user] How can I find 2nd network adapter? by Jarry
1 On 07/18/2014 07:42 PM, Jarry wrote:
2 > On 18-Jul-14 18:37, Alexander Kapshuk wrote:
3 >> On 07/18/2014 07:28 PM, Jarry wrote:
4 >>>
5 >>> So how can I find name of the new network adapter?
6 >>>
7 >>
8 >> Example command to get the information for the new interface name
9 >> before booting
10 >> (replace <ifname> with, for example, eth0):
11 >> # udevadm test-builtin net_id /sys/class/net/<ifname> 2> /dev/null
12 >
13 > That's the place to search! I just checked /sys/class/net/ and
14 > found new adapter called "enp11s0" there. With ifconfig I can
15 > bring it now up and cofigure. Thanks!
16 >
17 > Jarry
18 No worries.