Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.nl.innet.net!INnl.net!feed1.news.innet.be!INbe.net!stns.news.pipex.net!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet From: brian@shift.utell.net (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: etting ethernet address of networkadaptor. Date: 16 May 1997 10:25:11 GMT Organization: Awfulhak Ltd. Lines: 14 Message-ID: <5lhcm7$4ac@ui-gate.utell.co.uk> References: <337C24FF.167E@inferno.phys.tue.nl> Reply-To: brian@awfulhak.org, brian@utell.co.uk NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41022 In article <337C24FF.167E@inferno.phys.tue.nl>, Gert van der Plas <gert@inferno.phys.tue.nl> writes: > I would like to obtain the physical address of the network-adapter. > Does anyone have some code to do this? I had some code for the DEC-Alpha > but that did not work and I could not manage to patch it since I do not > know enough about FreeBSD 2.2.1 to do this. Can some one please help? Hmm, ifconfig does it. I'd suggest looking at the code to figure it out. -- Brian <brian@awfulhak.org> <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour !