Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758955AbXLaLMH (ORCPT ); Mon, 31 Dec 2007 06:12:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756993AbXLaLL4 (ORCPT ); Mon, 31 Dec 2007 06:11:56 -0500 Received: from moutng.kundenserver.de ([212.227.126.179]:56647 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754498AbXLaLL4 (ORCPT ); Mon, 31 Dec 2007 06:11:56 -0500 From: Bodo Eggert <7eggert@gmx.de> Subject: Re: Get physical MAC address To: Theewara Vorakosit , linux-kernel@vger.kernel.org Reply-To: 7eggert@gmx.de Date: Mon, 31 Dec 2007 12:11:46 +0100 References: <9Gmk2-1M1-5@gated-at.bofh.it> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-Id: X-be10.7eggert.dyndns.org-MailScanner-Information: See www.mailscanner.info for information X-be10.7eggert.dyndns.org-MailScanner: Found to be clean X-be10.7eggert.dyndns.org-MailScanner-From: 7eggert@gmx.de X-Provags-ID: V01U2FsdGVkX1+oKIu7/JEa6NQPMNXweGAcUfDmjeLRCBlLioH 3mhz/UMUojJpekrXc1X1G3cMgKPo0tUxkLEgcqyAaXMzIOUdRv JubV7ycJOM8azoeoMIPeg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 677 Lines: 10 Theewara Vorakosit wrote: > I get MAC address from ioctl. However, ifconfig can change this MAC > address. Can I get a real physical MAC address of the NIC? First, get a network card having a physical MAC. Most cards have only a (currently configured) default MAC address, maybe you'll be lucky with some old ISA cards ... Then, don't worry about sb changing it, since these cards don't support that. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/