Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2001 18:55:52 -0400
From:      Chris Faulhaber <jedgar@fxp.org>
To:        Michael VanLoon <MichaelV@EDIFECS.COM>
Cc:        "'hackers@freebsd.org'" <hackers@freebsd.org>
Subject:   Re: Finding MAC address of interface - programming question
Message-ID:  <20010731185552.A61247@peitho.fxp.org>
In-Reply-To: <36F7B20351634E4FBFFE6C6A216B30D54C7F@ecx1.edifecs.com>
References:  <36F7B20351634E4FBFFE6C6A216B30D54C7F@ecx1.edifecs.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Jul 31, 2001 at 03:56:40PM -0700, Michael VanLoon wrote:
> Please point me to a more appropriate forum if there is one.  I'm kinda out
> of my depth on this question.  Pseudo code is fine. :-)
> 
> What I'm looking for is how to enumerate the network interfaces and get the
> Ethernet MAC address of one programmatically.  Can anyone point me in the
> right direction?
> 

/usr/src/sbin/ifconfig

-- 
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: FreeBSD: The Power To Serve

iEYEARECAAYFAjtnN3gACgkQObaG4P6BelAc6wCePgdeyZdr5Q37i3Zwex4hdWzQ
daYAn1qobTPMW2k5W1l+kGbC2pVaHq45
=RBMv
-----END PGP SIGNATURE-----
help

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