Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to find the MAC address
Date: Thu, 19 Apr 2012 20:00:59
Message-Id: CA+czFiAMKPV4mhb3cs21MVEfz-=Q9_gAv5DNNj7-Nu19FUMyzQ@mail.gmail.com
In Reply to: Re: [gentoo-user] How to find the MAC address by Michael Orlitzky
1 On Thu, Apr 19, 2012 at 3:48 PM, Michael Orlitzky <michael@××××××××.com> wrote:
2 > On 04/19/12 15:40, Alex Schuster wrote:
3 >> Hi there!
4 >>
5 >> How am I supposed to find the MAC address of an ethernet interface? I used
6 >> to call ifconfig and grep for HWaddr, but this does not work any more.
7 >>
8 >> I found the 'old-output' USE flag for sys-apps/net-tools, which brings
9 >> back the old behaviour in order not to break old scripts, but I'd like to
10 >> know what the new method is that scripts should use.
11 >
12 > `ip link`
13 >
14 > Learning a new command for something so fundamental was annoying, but
15 > now I'm much happier.
16 >
17
18 I'll second this. The 'ip' command is far and away a nicer tool than
19 ifconfig, once you get a handle on it.
20
21 --
22 :wq

Replies

Subject Author
Re: [gentoo-user] How to find the MAC address Peter Humphrey <peter@××××××××××××××.org>