From owner-freebsd-hackers Thu Feb 7 18:45:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.numachi.com (numachi.numachi.com [198.175.254.2]) by hub.freebsd.org (Postfix) with SMTP id 74AFF37B419 for ; Thu, 7 Feb 2002 18:45:28 -0800 (PST) Received: (qmail 16168 invoked by uid 3001); 8 Feb 2002 02:45:24 -0000 Received: from natto.numachi.com (198.175.254.216) by numachi.numachi.com with SMTP; 8 Feb 2002 02:45:24 -0000 Received: (qmail 94612 invoked by uid 1001); 8 Feb 2002 02:45:24 -0000 Date: Thu, 7 Feb 2002 21:45:24 -0500 From: Brian Reichert To: "Vladislav V. Anikiev" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: MAC address Message-ID: <20020207214524.N2872@numachi.com> References: <200202072224.BAA19085@neo.spbnit.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200202072224.BAA19085@neo.spbnit.ru>; from vladani@mail.spbnit.ru on Thu, Feb 07, 2002 at 10:45:01PM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 07, 2002 at 10:45:01PM +0300, Vladislav V. Anikiev wrote: > > Hello everyone, > > I'm writing some license management software. It needs to be node-locked. > I would like to use an ethernet MAC address. There are two addresses > (default hardware address and current physical address). I would prefer to > use the default hardware address, because it can't be changed by setting in > software. Depending on the NIC, the MAC address _can_ be changed. Unless I've completely misunderstood you... And, what if you have two NICs? > How can I take this default hardware address (I'm using FreeBSD 4.4 > curently)? The output from 'dmesg' seems to record the device's MAC address before it mght get changed via ifconfig. But, that's not preserved forever... > I've found out the way how it works in "ifconfig", but in this case I've > got the current physical address, I think (right?), which can be changed. > > Help me, please > > Vladislav -- Brian 'you Bastard' Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA Intel architecture: the left-hand path To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message