Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!paladin.american.edu!howland.reston.ans.net!cs.utexas.edu!convex!not-for-mail From: grefen@convex.com (Stefan Grefen) Newsgroups: comp.os.386bsd.questions Subject: Re: finding out about enetaddr Date: 2 Sep 1994 06:26:10 -0500 Organization: Engineering, Convex Computer Corporation, Richardson, Tx USA Lines: 25 Message-ID: <34724i$9in@hydra.convex.com> References: <346pan$84h@urmel.informatik.rwth-aachen.de> NNTP-Posting-Host: hydra.convex.com In article <346pan$84h@urmel.informatik.rwth-aachen.de>, Christoph Kukulies <kuku@acds.physik.rwth-aachen.de> wrote: [...] > >Does anyone have an idea how to niceley extract the ethernet address >of a given interface out of the kernel? [...] Getting the ethernet-addr works through ioctl's . For a good reference how to do it look at src/usr.sbin/pppd/sys-bsd.c:get_ether_addr(). Stefan > >-- >--Chris Christoph P. U. Kukulies kuku@acds.physik.rwth-aachen.de >FreeBSD 1.1.0(Current) (GILSYSCONS) #12: Fri Jun 3 13:36:12 MET DST 1994 -- Stefan Grefen Convex Computer GmbH, Frankfurt, Germany grefen@convex.com Phone: +49-69-665270