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 1SLKeg-0006ra-SH for garchives@archives.gentoo.org; Fri, 20 Apr 2012 20:42:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C27D8E0B23; Fri, 20 Apr 2012 20:41:41 +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 76159E0AFB for ; Fri, 20 Apr 2012 20:39:18 +0000 (UTC) Received: by bkcjm2 with SMTP id jm2so734649bkc.40 for ; Fri, 20 Apr 2012 13:39:17 -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=QKLV2gUzmm8t77YKc6YrObL1KbjBlt5pMmbRbAOQaj0=; b=UdSzV+J92vUW1sDv09NgHNMNLXLohG6hhbYxbJXRnzklaWAIGSAf/jFQNUh/ZVCbDj bHkGyzi4VM6zDR1Liqs/NTtVKflEihDhpiS/5e4bx+lyEe/0QI1rH8j+l3lsoVGaQF1y Dv9R4BvOHaLX3Lb56jqzYuybAUfleM783vnouW0ddQNtROk4pF/PN0qJotVEisrQhrEa QawIIIA147a+5DygF1NuSrVk0Dwnvo0ZYaAMC2AsFwqK+4pHcRxPvfSFIBwnadECa8T+ Twpbjn0UyPQwr/6ofYugGMy3eE4zVORpW6OcVZORhOJLF7ITyeYahyghPQFyVHmDbuOU SltA== 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.204.155.152 with SMTP id s24mr284545bkw.91.1334954357396; Fri, 20 Apr 2012 13:39:17 -0700 (PDT) Received: by 10.204.164.76 with HTTP; Fri, 20 Apr 2012 13:39:17 -0700 (PDT) In-Reply-To: <201204201943.48456.michaelkintzios@gmail.com> References: <20120419214002.3484034f@weird.wonkology.org> <201204201943.48456.michaelkintzios@gmail.com> Date: Fri, 20 Apr 2012 16:39:17 -0400 Message-ID: Subject: Re: [gentoo-user] Re: 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: 09c5e204-cefa-4374-918c-5298b682866e X-Archives-Hash: ff0147d69281d8046408b6b3e2c30e15 On Fri, Apr 20, 2012 at 2:43 PM, Mick wrote: > On Friday 20 Apr 2012 16:22:10 James wrote: >> Alex Schuster wonkology.org> writes: >> > How am I supposed to find the MAC address of an ethernet interface? >> >> nmap -sP 192.168.2.0/24 >> >> might be of interest too, >> >> ymmv, >> James > > Hmmm ... current versions use -sn instead of -sP for no port scan. > > BTW, this would only work if you scan (as root) the target from another box. > It will not reveal a MAC address if you scan localhost. 'localhost' resolves to either 127.0.0.1 or ::1, which is almost invariably assigned to the 'lo' interface. It *might* work if you ran it against a public IP of the machine you're on. Depends on how much optimization there is in the network stack, I suppose. -- :wq