Identical NICs, One Unknown to System

Posted on 2006-04-12
Last Modified: 2008-01-09

I recently installed a second NIC in my file server (Gentoo Linux 2.6.15-r1).  The first network card works fine and comes up in lspci accurately. (Ethernet controller: D-Link System Inc (Gigabit Ethernet Adapter (rev 11))  The second identical card (DGE-530T) comes up in lspci as D-Link System Inc Unknown Device 4b01 (rev 11).  

I'm pretty sure that this is just a resource conflict, but I don't know how to go about fixing it in Gentoo. (bit of a newbie.)   Any help will be appreciated.

Question by:darksinclair
    LVL 14

    Expert Comment


    The 1st network card should known as eth0 and 2nd known as eth1.

    Check if it is recognised by Linux with this command:

    ifconfig -a

    If you can see both eth0 and eth1 listed, then they are both detected. You just need to configure the 2nd network card for IP address, etc.

    To configure, use this command in Gentoo:

    net-setup eth1

    LVL 27

    Expert Comment

    Create another alias with the same value as eth0 in /etc/modules.conf:

    alias eth0 ...
    alias eth1 ...

    reboot, then look for resource conflict (if any):
    LVL 5

    Author Comment


    There is no eth1.  I would love to be able to do net-setup on eth1, however the device is not there.  It doesn't recognize what the card is (even though it recognizes what the other card is.)

    As well, this is not a problem with the card.  If I take out the first card, then the second card will show up and become eth0.  it's fine detecting it.

    It's a problem having two of them, I'm sure it's a resource conflict, however any other suggestions I am willing to try.

    So to answer your question, ifconfig -a does not show eth1.  only eth0 and lo.

    LVL 5

    Author Comment

    Nopius, i did read that somewhere and tried myself, however on reboot it deleted it from modules.conf.

    Do u know what exact commands I would give it?  I think the ones I used were specific to the NE2000 driver that I was following from an online documentation,

    LVL 27

    Expert Comment

    If you have Linux kernel sources you may find all parameters for your driver module in


    below kernel sources directory

    It's from there:
    '4. cp dl2k.ko /lib/modules/`uname -r`/kernel/drivers/net
    5. Add the following line to /etc/modprobe.conf:
            alias eth0 dl2k
    6. Run "netconfig" or "netconf" to create configuration script ifcfg-eth0
       located at /etc/sysconfig/network-scripts or create it manually.
       [see - Configuration Script Sample]
    7. Driver will automatically load and configure at next boot time.'

    Here is a list of NICs supported by this driver (also from that document):

    D-Link DGE-550T Gigabit Ethernet Adapter.
    D-Link DGE-550SX Gigabit Ethernet Adapter.
    D-Link DL2000-based Gigabit Ethernet Adapter.

    Also there are examples for 2 cards:
       example: insmod dl2k.o media=100mbps_hd
       or       insmod dl2k.o media=3
       or       insmod dl2k.o media=3,2     ; for 2 cards

      Please reference the list of the command line parameters supported by
      the Linux device driver below.

      The insmod command only loads the driver and gives it a name of the form
      eth0, eth1, etc. To bring the NIC into an operational state,
      it is necessary to issue the following command:

      ifconfig eth0 up

      Finally, to bind the driver to the active protocol (e.g., TCP/IP with
      Linux), enter the following command:

      ifup eth0

    LVL 27

    Expert Comment

    oops, for 2.6.x kernels, edit /etc/modprobe.conf, not /etc/modules.conf

      2. Locate the boot module configuration file, most commonly modprobe.conf
         or modules.conf (for 2.4) in the /etc directory. Add the following lines:

         alias ethx dl2k
         options dl2k <optional parameters>

         where ethx will be eth0 if the NIC is the only ethernet adapter, eth1 if
         one other ethernet adapter is installed, etc.
    LVL 27

    Expert Comment

    If the card exactly the same and you have correct driver.
    Try this:
     ifconfig eth1 up
    after adding 'alias eth1'
    and then look for ifconfig -a
    LVL 8

    Expert Comment

    I once got a 2nd card working by changing the pci slot.  I doubt if this would work on a newer mobo which should handle resource conflicts more gracefully, but it's worth trying.
    LVL 5

    Accepted Solution

    lspci "recognizes" devices by their IDs, so my guess is that if the second card is not recognized as the first one, then it's a different model.

    If you look here,  at the 4b01 entry, that's your board and it seems to be a new entry in the pci ids list (the one lspci uses to map PCI device IDs to vendor:product names).

    Here is a driver for that model (I haven't tested it, since i don't have such card)  
    LVL 5

    Author Comment

    Thanks so much Dragon_Krome,

    I didn't think that they would be recognized different and was trying to use the drivers from the first card (which is the exact same make and model but apparently a different firmware -- even though revision number is the same...).  After reviewing your list, they are identified differently and the downloaded drivers seem to work.

    Thanks for the help all,

    LVL 5

    Expert Comment

    Glad I could be of assistance.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now