MAC address & rc.conf

Brooks Davis brooks at one-eyed-alien.net
Mon Jun 13 16:52:18 GMT 2005


On Mon, Jun 13, 2005 at 12:49:37PM -0400, Adam Gregoire wrote:
> You need to create a file called start_if.[interface name] and set the
> mac there.
> 
> Like this:
> 
> ebola$ cat /etc/start_if.de0
> #!/bin/sh
> ifconfig de0 ether c0ffeec0ffee
> ifconfig de0 media 10baseT/UTP

This is pretty much what you'll need to do in 4 and 5.  In 6 you can
just put a line like this in /etc/rc.conf:

ifconfig_de0="ether c0ffeec0ffee media 10baseT/UTP DHCP"

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20050613/bc34083f/attachment.bin


More information about the freebsd-net mailing list