-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Xavier Andrade wrote: | On Sat, 21 Feb 2004, Tim Beauregard wrote: |>I wish to set my own MAC for an ethernet interface on my laptop at boot |>time. What file should I use, or what software utility might do this |>for me?
| You can use a pre-up sentence in your card's entry in | /etc/network/interfaces, it runs a command before bringing the interface | up.
Such a simple solution. My /etc/network/interfaces file now looks like:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp pre-up ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx address 192.168.1.1 network 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255
Thank you Carl, Xavier.
Love Debian!!
Tim -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAN+fjsUUdIDHrdAURApHaAKCMuSGoZ6AQKSOJtCrUJkqqg3tC5gCeJkrq qgPjiMINp++AshK7euQgPDM= =VELA -----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]