Re: Ethernet ID on linux

From: Moe Trin (ibuprofin_at_painkiller.example.com)
Date: 07/28/04


Date: Tue, 27 Jul 2004 18:51:21 -0500

In article <12a9b4b2.0407260433.32383be7@posting.google.com>,
Pushkar Naik wrote:
>I'm working with an application that tries to detect the
>ethernet id of the machine. My PC does not have an ethernet card.

Solution 1: install a 3 Rs used ethernet card. It's got to be
easier than hacking the code. The card doesn't even have to work.
It need only load the driver.

>The same application on same PC on windows works fine because the
>machine returns the ethernet id as 000000000000 and not a null string.

I can't help it if microsoft wants to lie and say that you have an
experimental card from Xerox (00:00:00 is assigned to them). But
then, they also lie and tell you that ALL interfaces (including the
loopback and serial ports) have a MAC address of 000000000000
which is so obviously false.

>Is there any way i can make linux return the ethernet id as
>000000000000 when the ehternet card is not present on the machine ?

Create a dummy card module? Like I say, choice one is above.

>I guess virtual ethernet adaptor could be one possible way

Choice three is to take a Clue by Four to the head of the fool who
designed/wrote your application.

        Old guy



Relevant Pages

  • problem starting up Fedora on an IBM Thinkpad 600E using Xircom card
    ... Redhat Fedora working on my laptop. ... >> ethernet after booting. ... > network service before the pcmcia service. ... > card is recognized then you should be able to use it for networking. ...
    (comp.os.linux.setup)
  • Re: cPCI Hotplug support
    ... Card: Zynx ZX412 dual 10/100 card and DEC/Intel 21143 chipset ... media: Ethernet autoselect ... vendor = 'Digital Equipment Corporation' ... But these drivers don't work for me. ...
    (freebsd-current)
  • only first PCMCIA card works
    ... card is plugged on the first PCMCIA slot and I inserted my FC card ... second slot, be it ethernet card or FC card adapter, doesn't work. ... # Power management support ... <Parallel port bus> on ppc0 ...
    (freebsd-questions)
  • Re: 3Com 3C05 adapter on 43P running 4.3
    ... > card out, and the ent0 PCI adapter still shows up. ... So the on-board adapter goes through the PCI ... device driver for the OS to make it usable. ... ethernet card, or get a different ethernet adapter... ...
    (comp.unix.aix)
  • multiport ethernet cards
    ... going to buy a spare PCI ethernet card. ... except on Ebay (where I can now only see one two port card). ... These two multiport ethernet adapters deliver excellent performance at ...
    (Debian-User)