From owner-freebsd-hackers Wed Oct 23 13:40:17 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA09778 for hackers-outgoing; Wed, 23 Oct 1996 13:40:17 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA09767 for ; Wed, 23 Oct 1996 13:40:12 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA10355; Wed, 23 Oct 1996 13:37:08 -0700 From: Terry Lambert Message-Id: <199610232037.NAA10355@phaeton.artisoft.com> Subject: Re: Linux emulation, gethostid() To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Wed, 23 Oct 1996 13:37:08 -0700 (MST) Cc: hackers@freebsd.org In-Reply-To: <199610230354.NAA23453@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Oct 23, 96 01:24:19 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > gethostid() under linux is implemeted using the SIOCGIFHWADDR ioctl > to get a network hardware address. We don't support this yet. > > Netstat gets the hardware address by grubbing around in the kernel > (what a frightening piece of code that is to read 8( ), but I also > recall someone posting wrt. getting mathematica to run with a "more > correct" method. > > Do we want an ioctl to get the hardware address? If not, any > suggestions on a _tidy_ way to get it? Check the list archives. The Mathematica "correct method" included patches to implement the interface without the kernel grubbing. I am suprised that the patches were not integrated. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.