Re: Ethernet HW address on linux

From: Chuck Ross (cross_at_epsilon.mokeski.net)
Date: 07/31/04


Date: Sat, 31 Jul 2004 00:07:30 GMT


On Fri, 29 Jul 2004, Pushkar Naik wrote:

> mjt <mjtobler@removethis_mail.ru> wrote in message news:<w3CNc.694$cK.597@newsread2.news.pas.earthlink.net>...
> > 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.



Relevant Pages

  • Re: Newbie (Mac Addict) interesed in SGI.?.?
    ... < major snip of coder/advanced-advanced commandline junk> ... Is a genuine "Mac-like point/clik GUI" W/O need for COMMAND LINE entry?? ... Any person with half a brain --can immediately start working a Mac ... Also want to know if the SCSI drives on the SGI's are 50-pin regular ...
    (comp.sys.sgi.misc)
  • Re: Mounting a problem hard drive
    ... unless I am missing some command in this program. ... was using the hard drive with my Mac Mini-Intel computer with EyeTV ... Once these sections were edited out of the recording, ... In my OS X books I note a mention of the MOUNT command ...
    (comp.sys.mac.system)
  • Re: Open .html file from java application? How?
    ... we support for Windows 2000 and higher as well as any Linux that is ... As a Mac supporter, I do some occasional testing on my PowerBook ... This allows me to let the user indicate what command to use ... Steve W. Jackson ...
    (comp.lang.java.programmer)
  • Re: Evolutionary Humour
    ... Remember, Windows was designed for lusers, not users. ... in Windows is ipconfig and pinging my Linux machine to see if iptables ... AFAIK you have to run a DOS command to find out how your netwanking is ... You can find the MAC address ...
    (talk.origins)
  • Re: card reader
    ... or even smart folders based on metadata. ... Far too many times I've wanted to save a file from a Mac to a directory ... according to the app's idea of my favourites. ... For instance most Mac users I know have no idea what a command line is, ...
    (rec.photo.digital)