Re: Determining eth -> driver mapping

From: Sebastian Kapfer (sebastian_kapfer_at_web.de)
Date: 09/27/03

  • Next message: Thomas Krennwallner: "Re: pppd daemon dies"
    Date: Sat, 27 Sep 2003 19:01:49 +0200
    To: debian-user@lists.debian.org
    
    

    On Sat, 27 Sep 2003 00:10:08 +0200, michf wrote:

    > I would rather try to detect which interface is mapped to the driver
    > instead of assuming the active one is always on eth0. Is there a way to
    > do that?

    Have a look the nameif utility. It assigns names by MAC addresses, i.e. it
    can recognize which card is which even if they have the same driver and
    you change their order on the PCI bus. MAC addresses are unique, there
    should be no two cards with the same.

    -- 
    Best Regards,   |   Wer Windows-Rechner ins Internet lässt,
     Sebastian      |   braucht nicht über SWEN stänkern!
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Thomas Krennwallner: "Re: pppd daemon dies"

    Relevant Pages

    • Re: Fake eth0
      ... I have a new LAN-card on my machine but MAC-addresss of old card is registered so I have to fake MAC address of the new to be able to use LAN. ... /sbin/ifconfig eth0 hw ether xxxxxxxxxxxxx ...
      (Fedora)
    • Fake eth0
      ... registered so I have to fake MAC address of the new to be able to use LAN. ... /sbin/ifconfig eth0 hw ether xxxxxxxxxxxxx ... but after that card seem to not work. ... When I restart computer Lan-card work again but with his ...
      (Fedora)
    • Re: Fake eth0
      ... registered so I have to fake MAC address of the new to be able to use LAN. ... /sbin/ifconfig eth0 hw ether xxxxxxxxxxxxx ... but after that card seem to not work. ... When I restart computer Lan-card work again but with his ...
      (Fedora)
    • RE: eth0/eth1 which one?
      ... dmesg, which should give you the vendor details, but that would break down ... The MAC address always exists on Ethernet cards. ... > I have two network cards on my machine How do I tell which one is eth0 ... Each and every ethernet card has its own unique MAC number, ...
      (Debian-User)
    • Re: 3C515 - Knoppix 5 - setup
      ... pnpdump shows the card as well. ... that the I/O and IRQ match what isapnp is setting the card to. ... ifconfig does not show eth0 as an option ... iface lo inet loopback ...
      (comp.os.linux.setup)