Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 21:45:24 -0500
From:      Brian Reichert <reichert@numachi.com>
To:        "Vladislav V. Anikiev" <vladani@mail.spbnit.ru>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: MAC address
Message-ID:  <20020207214524.N2872@numachi.com>
In-Reply-To: <200202072224.BAA19085@neo.spbnit.ru>; from vladani@mail.spbnit.ru on Thu, Feb 07, 2002 at 10:45:01PM %2B0300
References:  <200202072224.BAA19085@neo.spbnit.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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		<reichert@numachi.com>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020207214524.N2872>