Messages in this thread |  | | Date | Tue, 20 Nov 2001 14:58:16 -0700 | From | Andreas Dilger <> | Subject | Re: A return to PCI ordering problems... |
| |
On Nov 20, 2001 21:20 +0000, Dale Amon wrote: > I presume IEEE station address == MAC... > > I haven't really much choice. I can't use modules for > security reasons; I have to assign the motherboard MAC > to eth0 because a commercial package we are installing > licenses on the MAC address of eth0.
Hmm, the drawbacks of such a licensing system are numerous under Linux, and are virtually unenforcable. Simply set the eth0 MAC address to be whatever you like. It shouldn't be too hard, and it will also ensure that your expensive software will continue to be available if you should ever have to swap the motherboard because of hardware problems, or an upgrade.
Looking at ifconfig(8), it looks like the following will work:
ifconfig eth0 hw ether 01:23:45:67:89:ab
I just tested this and it appears to work on my card (xirc2ps_cs) after I unconfigured the interface (couldn't do it while up), and I checked on a remote host that it also appears with this MAC to arp. This is ifconfig 1.39 (1999-03-18) and kernel 2.4.13.
Note that I'm not advocating stealing the software (or using more than the number of licensed copies), just in making the situation much more convinient for you.
This is, once again, is a situation where describing the real goal, as opposed to the immediate problem, is much more likely to get you a usable solution.
Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |