Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2000 10:17:15 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Rasmus Skaarup <rasmus@gal.dk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: MAC address
Message-ID:  <20000607101715.A17973@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.21.0006071853510.20965-100000@skaarup.org>; from rasmus@gal.dk on Wed, Jun 07, 2000 at 06:56:46PM %2B0200
References:  <Pine.BSF.4.21.0006071853510.20965-100000@skaarup.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Rasmus Skaarup <rasmus@gal.dk> [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




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