From owner-freebsd-questions Wed Jun 7 10:17:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6549037B90C for ; Wed, 7 Jun 2000 10:17:28 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e57HHG106764; Wed, 7 Jun 2000 10:17:16 -0700 (PDT) Date: Wed, 7 Jun 2000 10:17:15 -0700 From: Alfred Perlstein To: Rasmus Skaarup Cc: freebsd-questions@FreeBSD.ORG Subject: Re: MAC address Message-ID: <20000607101715.A17973@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from rasmus@gal.dk on Wed, Jun 07, 2000 at 06:56:46PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Rasmus Skaarup [000607 09:58] wrote: > > Hi, > > I found a tool to change the MAC of a NIC: > > http://www.freebsd.org/~wpaul/mac.tar.gz > > I wanted to bypass a nasty "feature" in the Intel NIC on some Compaq > systems, which demand that you use the Compaq driver for Win32 systems. > > Unfortunately, my FreeBSD 4.0 system core dumps when running the tool > like so: > > $ ./setmac fxp0 ef:ef:ef:ef:ef:ef > Bad system call (core dumped) > $ > > Maybe my syntax is wrong, I don't know, I can't find any > documentation.. The tool was apparently written for FreeBSD, but I > don't know which version. Can you help me with this, or otherwise help me > change the MAC address of my NIC? Ok, the setmac tarball contains a kernel module that you need to load to enable the "setmac" syscall, you need to do this: cd module_3.2/ make kldload ./setmac.ko cd ../setmac/ make ./setmac fxp0 00:90:27:3c:77:aa I think this utility should be in the base system, any arguments why not? -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message