Subj : Re: Ethernet HW address on linux To : comp.os.linux From : Chuck Ross Date : Sat Jul 31 2004 01:07 am On Fri, 29 Jul 2004, Pushkar Naik wrote: > mjt wrote in message news:... > > Pushkar Naik wrote: > > > > > Is there any way i can make linux return the ethernet id as > > > 000000000000 when the ethernet card > > > > ... do you mean the MAC address? > > . > > Hello mjt, > Yes, i mean the MAC address, how can i make linux return a > mac address of 000000000000 when there is no physical ethernet NIC on > my pc ? > > The problem is, the application i'm using is a licensed software hence > no source code available, and it expects a numeric form of MAC address > where as linux is returning a null string. I have obtained a license > for mac address 000000000000 of this app., as i dont have a NIC. But > when this app. querries linux for the mac address, linux returns a "", > and as "" is not equal to 000000000000, the app. refuses to start > saying mac address do not match. > > Your help shall prove valuable to me, as i'm stuck up with an > important work ! > > Regards, > Pushkar. > Try this (or something like it): ifconfig eth0 hw ether 00:00:00:00:00:00 the interface must be down for this command to work (ifdown eth0, or ifconfig eth0 down). After entering the command, bring the interface back up and you should be set. .