From owner-freebsd-questions@FreeBSD.ORG Sat Jun 7 11:39:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09C0537B401 for ; Sat, 7 Jun 2003 11:39:47 -0700 (PDT) Received: from smtp.ii.uib.no (eik.ii.uib.no [129.177.16.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D2D743FBF for ; Sat, 7 Jun 2003 11:39:45 -0700 (PDT) (envelope-from s1465@lstud.ii.uib.no) Received: from havengel.ii.uib.no ([129.177.122.5]) by smtp.ii.uib.no with esmtp (Exim 4.12) id 19OibJ-0003XD-00; Sat, 07 Jun 2003 20:39:37 +0200 Received: (from s1465@localhost) by havengel.ii.uib.no (8.11.6/8.11.6) id h57IdbD28089; Sat, 7 Jun 2003 20:39:37 +0200 Date: Sat, 7 Jun 2003 20:39:37 +0200 (CEST) From: =?ISO-8859-1?Q?Sondre_R=F8njom?= To: Dan Nelson , Adam Maas Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -21.3 (---------------------) X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *19OibJ-0003XD-00*De9WyMbSfMQ* cc: questions@freebsd.org Subject: Re: set of ethernet adress on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2003 18:39:47 -0000 On Saturday 07 June 2003 20:30, Dan Nelson wrote: > In the last episode (Jun 07), Adam Maas said: > > > > +-- Moritz Fromwald [freebsd] [06-06-03 20:32 +0200]: > > > > | Is it possible to set the ethernet adress automatically at boot > > > > | time > > > > > > > > before | dhclient attempts to contact a DHCP? | thx & regards | | > > > > moritz fromwald > > > > yes. btw, why r u running dhclient if u r using static > > > > ip? > > > > > > Hello, > > > Well, I need to set the MAC adress before I contact > > > the DHCP! > > > regards > > > moe > > > > You can't set the MAC address, that's hard coded into the card. MAC > > Addresses are unique 48 bit ID's, no 2 cards have the same MAC, and it is > > assigned at the factory. > > Lots of NICs do allow you to change the MAC address on the fly: > > ifconfig fxp0 ether 01:02:03:04:05:06 The LAN-Address is stored in EEPROM(ElectronicalErasableProgrammableReadOnlyMemmory) which can be flashed realatively easy. But mark that this is ordinarily not a nice thing to do. I think KingPin from L0pht-group wrote a paper on how to do this some years ago. Sondre