Ethernet ID on linux

From: Pushkar Naik (pushkar.naik_at_gmail.com)
Date: 07/26/04


Date: 26 Jul 2004 05:33:01 -0700

Hello,
       I'm working with an application that tries to detect the
ethernet id of the machine. My PC does not have an ethernet card. So
when the application querries, it returns a null string. The same
application on same PC on windows works fine because the machine
returns the ethernet id as 000000000000 and not a null string.
Is there any way i can make linux return the ethernet id as
000000000000 when the ehternet card is not present on the machine ?

I guess virtual ethernet adaptor could be one possible way, can
someone give me a step by step procedure for going about using this
method, if this is the best solution.

Thanx in advance.

Regards,
Pushkar.



Relevant Pages

  • Broadcom 5782 not connecting to eth0
    ... eth0 is properly configured for my network: ... product: NetXtreme BCM5782 Gigabit Ethernet ... info.subsystem = 'pci' (string) ... Obviously nothing is happening on the network. ...
    (Ubuntu)
  • Re: Ethernet HW address on linux
    ... > Pushkar Naik wrote: ... >> ethernet hw address of the machine for validating a user. ... >> when the application querries, linux returns a null string, and the ... > multiple OS's (not just Linux). ...
    (comp.os.linux.networking)
  • Re: Network failure with 2.6.23-git14
    ... network via my Ethernet connection. ... What is eth1? ... info.product = 'CK804 Ethernet Controller' (string) ...
    (Linux-Kernel)
  • Re: Ethernet HW address on linux
    ... Pushkar Naik wrote: ... > ethernet hw address of the machine for validating a user. ... > when the application querries, linux returns a null string, and the ... why not just accept/interpret the null string to ...
    (comp.os.linux)
  • Re: Ethernet ID on linux
    ... My PC does not have an ethernet card. ... > when the application querries, it returns a null string. ...
    (linux.redhat)