Date: Sat, 7 Jun 2003 20:39:37 +0200 (CEST) From: =?ISO-8859-1?Q?Sondre_R=F8njom?= <s1465@lstud.ii.uib.no> To: Dan Nelson <dnelson@allantgroup.com>, Adam Maas <mykroft@explosive.mail.net> Cc: questions@freebsd.org Subject: Re: set of ethernet adress on boot Message-ID: <Pine.LNX.4.44.0306072038440.28080-100000@havengel.ii.uib.no>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0306072038440.28080-100000>
