[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Setting MAC of ethernet at boot



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

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?

I can set the HWaddr temporarily using

ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx

but DHCP won't work even if I use

/etc/init.d/dhcp stop-start.

My objective is to connect the laptop to my cable internet provider,
using the MAC of my desktop.  At this stage I cannot network the laptop
via the destop as I don't have an ethernet PCI card on the desktop, and
the onboard port is used by the cable internet.

I'm using Debian Woody rev1 (want to dist-upgrade to unstable), and
2.4.18 (yes, I intend to get a more recent kernel as well, I'm aware of
the security issues).

I know an option is to buy a PCI NIC but would like to try the MAC
approach first.

If anyone can help, I'd appreciate your suggestions.

Thank you.

Tim Beauregard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAN7cYsUUdIDHrdAURAg90AJ4np7wZTFNYLma9mA7PmarJtzQaYgCePvgy
J1P+rCpwGgLWhW1o9KMOpOc=
=CXnN
-----END PGP SIGNATURE-----



Reply to: