From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SKxXH-00064P-HM for garchives@archives.gentoo.org; Thu, 19 Apr 2012 20:00:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7FE8E0CA7; Thu, 19 Apr 2012 20:00:25 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 96532E0C0F for ; Thu, 19 Apr 2012 19:57:00 +0000 (UTC) Received: by bkwj4 with SMTP id j4so7960612bkw.40 for ; Thu, 19 Apr 2012 12:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=47d5GstBObvwGQcLBuYlA2nOmZO0yPd6rvdhfyJcSHQ=; b=sdlSHLfKk1qI5JCCdkqW/cPlFGiyo42qR7RrkborAVifuRpB+CAfp92FhgfaItFMyB oIU9UUyXh+Q9iiU+XWHAWvT4xKHHRIU49z2SVgThLTbvHiV4xQiwOxI8FpGC28qhLlGW 4TDQprW5o1IlJ2v3nh4Xa1MAs0T1ET/S97Dr/hMSHdhrJ+wOkl51z3D1ubHvDU+rR3kD tmmdw2klP9UAfP1QGedyFtdxL4urmsJBT2T8xJjxfNcMt0dbAUdbX1kbasRGX48VtBmS nk/vrwPr/jFNIPXWsO39Q6XVEiGw7htY57TGOd5/kgcovxX3qnG7KhpbQT5Eif9gXLG+ xXYQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.205.125.142 with SMTP id gs14mr1073368bkc.95.1334865419742; Thu, 19 Apr 2012 12:56:59 -0700 (PDT) Received: by 10.204.164.76 with HTTP; Thu, 19 Apr 2012 12:56:59 -0700 (PDT) In-Reply-To: <4F906BF2.6000408@orlitzky.com> References: <20120419214002.3484034f@weird.wonkology.org> <4F906BF2.6000408@orlitzky.com> Date: Thu, 19 Apr 2012 15:56:59 -0400 Message-ID: Subject: Re: [gentoo-user] How to find the MAC address From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: e6253135-9f81-423b-824d-b96c0f95a8a5 X-Archives-Hash: 39b8b0e48f9f218e2a8d56f1796d26cc On Thu, Apr 19, 2012 at 3:48 PM, Michael Orlitzky wrote: > On 04/19/12 15:40, Alex Schuster wrote: >> Hi there! >> >> How am I supposed to find the MAC address of an ethernet interface? I used >> to call ifconfig and grep for HWaddr, but this does not work any more. >> >> I found the 'old-output' USE flag for sys-apps/net-tools, which brings >> back the old behaviour in order not to break old scripts, but I'd like to >> know what the new method is that scripts should use. > > `ip link` > > Learning a new command for something so fundamental was annoying, but > now I'm much happier. > I'll second this. The 'ip' command is far and away a nicer tool than ifconfig, once you get a handle on it. -- :wq